-
Notifications
You must be signed in to change notification settings - Fork 435
Expand file tree
/
Copy pathpackage.json
More file actions
207 lines (207 loc) · 13.6 KB
/
Copy pathpackage.json
File metadata and controls
207 lines (207 loc) · 13.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "agentnative",
"version": "1.0.0",
"private": true,
"description": "Don't choose between rich user interfaces and autonomous agents. Every Agent-Native app is both.",
"keywords": [],
"homepage": "https://github.com/BuilderIO/agent-native#readme",
"bugs": {
"url": "https://github.com/BuilderIO/agent-native/issues"
},
"license": "ISC",
"author": "",
"repository": {
"type": "git",
"url": "git+https://github.com/BuilderIO/agent-native.git"
},
"directories": {
"doc": "docs"
},
"type": "module",
"main": "index.js",
"scripts": {
"postinstall": "node scripts/prebuild-workspace-packages.ts postinstall",
"setup": "pnpm install",
"build": "pnpm -r build",
"dev": "node scripts/dev-lazy.ts",
"typecheck": "tsx scripts/workspace-run.ts typecheck",
"fmt": "oxfmt --write .",
"fmt:check": "oxfmt --check .",
"fix:imports": "oxfmt --write .",
"test": "tsx scripts/workspace-run.ts test",
"test:fast": "tsx scripts/workspace-run.ts test -- --exclude \"**/*.db.test.ts\" --exclude \"**/*.integration.spec.ts\" --exclude \"**/*.integration.test.ts\" --exclude \"**/*.e2e.spec.ts\" --exclude \"**/*.e2e.test.ts\" --exclude \"**/e2e/**\" --exclude \"**/*.live.spec.ts\" --exclude \"**/*.live.test.ts\" --exclude \"**/*.perf.spec.ts\" --exclude \"**/*.perf.test.ts\" --exclude \"**/create-e2e.spec.ts\"",
"test:content-db": "pnpm --filter content exec vitest --run actions/bind-content-database-source-field.db.test.ts actions/blocks-seeding.db.test.ts actions/builder-source-review-gates.db.test.ts actions/content-database-lifecycle.db.test.ts actions/database-row-batch-actions.db.test.ts actions/list-content-databases.db.test.ts actions/migrate-content-database-rows.db.test.ts actions/move-document.db.test.ts actions/resync-content-database-source.db.test.ts actions/slack-correction-identity.db.test.ts actions/stage-builder-source-bulk-update.db.test.ts actions/submit-content-database-form.db.test.ts actions/update-document.db.test.ts actions/upsert-database-item-by-key.db.test.ts --config vitest.config.ts",
"test:content-row-mutations-postgres": "test -n \"$CONTENT_ROW_MUTATION_POSTGRES_URL\" && pnpm --filter content exec vitest --run actions/upsert-database-item-by-key.db.test.ts --config vitest.config.ts",
"test:content-db-postgres": "pnpm --filter content exec vitest --run actions/migrate-content-database-rows.postgres.integration.test.ts --config vitest.config.ts",
"test:core-integration": "pnpm --filter @agent-native/core exec vitest --run src/agent/engine/translate-ai-sdk.integration.spec.ts src/agent/run-loop-with-resume.integration.spec.ts src/client/extensions/AgentNativeExtensionFrame.e2e.spec.ts src/client/session-replay-iframe.e2e.spec.ts src/scripts/db/migrate-encrypt-credentials.e2e.spec.ts src/scripts/db/scope-isolation.e2e.spec.ts src/server/csrf-plugin-ordering.integration.spec.ts src/server/embedded.integration.spec.ts --passWithNoTests",
"test:ci-change-scope": "tsx --test scripts/ci-change-scope.test.ts",
"test:netlify-prebuilt-workflow": "tsx --test scripts/guard-netlify-prebuilt-workflow.test.ts",
"test:package-release-workflow": "tsx --test scripts/package-release-workflow.test.ts scripts/create-release-changeset.test.ts scripts/release-everything-workflow.test.ts",
"test:oauth-postgres": "pnpm --filter @agent-native/core exec vitest --run src/oauth-tokens/lifecycle.postgres.integration.spec.ts --config vitest.config.ts",
"test:plan-e2e": "pnpm --filter plan exec vitest --run actions/create-visual-recap.e2e.spec.ts --passWithNoTests",
"test:trusted-acceptance": "tsx --test scripts/trusted-acceptance.spec.ts scripts/guard-trusted-acceptance-workflow.spec.ts scripts/trusted-acceptance/*.spec.ts",
"test:brain-evals": "pnpm --filter brain eval:ci",
"test:brain-privacy-evals": "pnpm --filter brain privacy:eval",
"test:content-parity": "pnpm --filter content test:parity-capabilities",
"qa:cli": "tsx scripts/qa-cli-smoke.ts",
"qa:headless-onramp": "tsx scripts/qa-headless-onramp-smoke.ts",
"qa:standalone-chat-dev": "tsx --test scripts/qa-standalone-chat-dev-smoke-readiness.test.ts && tsx scripts/qa-standalone-chat-dev-smoke.ts",
"qa:composer-geometry": "tsx scripts/qa-composer-geometry-smoke.ts",
"qa:dispatch-workspace-resources": "tsx scripts/qa-dispatch-workspace-resources-smoke.ts",
"qa:dispatch-automations": "tsx scripts/qa-dispatch-automations-smoke.ts",
"qa:chat-first-workbench": "tsx scripts/qa-chat-first-workbench-smoke.ts",
"qa:template-routes": "tsx scripts/qa-template-route-matrix.ts",
"qa:sign-in": "tsx scripts/qa-sign-in-matrix-smoke.ts",
"actions:audit": "node scripts/audit-template-actions.mjs",
"test:mcp:e2e": "tsx scripts/e2e-mcp-test.ts",
"lint": "pnpm fmt:check && pnpm oxlint && pnpm typecheck",
"oxlint": "oxlint --config .oxlintrc.json .",
"dev:cli": "tsx packages/core/src/cli/index.ts",
"guard:hooks-registered": "node scripts/guard-hooks-registered.mjs",
"guard:no-drizzle-push": "node scripts/guard-no-drizzle-push.mjs",
"guard:no-pnpm-patches": "tsx scripts/guard-no-pnpm-patches.ts",
"guard:chat-first-shared-ui": "tsx scripts/guard-chat-first-shared-ui.ts",
"guard:no-empty-migrations": "tsx scripts/guard-no-empty-migrations.ts",
"guard:release-schema-complete": "tsx scripts/guard-release-schema-complete.ts",
"guard:no-unscoped-queries": "node scripts/guard-no-unscoped-queries.mjs",
"guard:no-env-credentials": "node scripts/guard-no-env-credentials.mjs",
"guard:env-documentation": "tsx scripts/guard-env-documentation.ts",
"guard:no-unscoped-credentials": "node scripts/guard-no-unscoped-credentials.mjs",
"guard:no-env-mutation": "node scripts/guard-no-env-mutation.mjs",
"guard:no-localhost-fallback": "node scripts/guard-no-localhost-fallback.mjs",
"guard:google-auth-redirects": "node scripts/guard-google-auth-redirects.mjs",
"guard:db-tool-scoping": "node scripts/guard-db-tool-scoping.mjs",
"guard:template-list": "node scripts/guard-template-list.mjs",
"guard:netlify-private-env": "tsx scripts/guard-netlify-private-env.ts",
"guard:netlify-release-migrations": "tsx scripts/guard-netlify-release-migrations.ts",
"guard:netlify-prebuilt-workflow": "tsx scripts/guard-netlify-prebuilt-workflow.ts",
"guard:trusted-acceptance": "tsx scripts/guard-trusted-acceptance-workflow.ts",
"guard:content-product-conformance": "tsx scripts/validate-content-product-impact-workflow.ts",
"guard:content-product-docs": "tsx scripts/validate-content-product-docs.ts",
"test:content-product-docs": "tsx --test scripts/validate-content-product-docs.test.ts",
"content-product-impact": "tsx scripts/validate-content-product-impact.ts",
"test:content-product-impact": "tsx --test scripts/validate-content-product-impact.test.ts scripts/validate-content-product-impact-workflow.test.ts",
"guard:workspace-skills": "tsx scripts/sync-workspace-core-skills.ts --check",
"guard:config-docs": "tsx scripts/sync-config-docs.ts --check",
"guard:no-legacy-config": "node scripts/guard-no-legacy-config.mjs",
"sync:template-standard": "tsx scripts/template-standard/index.ts",
"guard:template-standard": "tsx scripts/template-standard/index.ts --check",
"guard:public-packages": "tsx scripts/guard-public-packages.ts",
"guard:shared-ui-singletons": "tsx scripts/guard-shared-ui-singletons.ts",
"guard:no-core-client-barrel-imports": "tsx scripts/guard-no-core-client-barrel-imports.ts",
"guard:toolkit-must-not-import-core": "tsx scripts/guard-toolkit-must-not-import-core.ts",
"guard:template-ui-imports": "tsx scripts/guard-template-ui-imports.ts",
"guard:controller-boundaries": "tsx scripts/guard-controller-boundaries.ts",
"guard:migration-manifest": "tsx scripts/guard-migration-manifest.ts",
"guard:eject-manifests": "tsx scripts/guard-eject-manifests.ts",
"guard:no-generated-artifacts": "node scripts/guard-no-generated-artifacts.mjs",
"guard:extension-no-public": "node scripts/guard-extension-no-public.mjs",
"guard:no-one-off-mcp-app-html": "node scripts/guard-no-one-off-mcp-app-html.mjs",
"guard:i18n-catalogs": "tsx scripts/guard-i18n-catalogs.ts",
"guard:i18n-changed-copy": "tsx scripts/guard-i18n-changed-copy.ts",
"guard:plan-marketplace": "tsx scripts/sync-plan-marketplace.ts --check",
"guard:plan-skills": "tsx scripts/sync-plan-skills.ts --check",
"guard:no-error-string-returns": "node scripts/guard-no-error-string-returns.mjs",
"guard:no-action-twin-routes": "node scripts/guard-no-action-twin-routes.mjs",
"guard:provider-action-factories": "tsx scripts/guard-provider-action-factories.ts",
"guard:agent-chat-context": "tsx scripts/guard-agent-chat-context.ts",
"guard:request-storms": "tsx scripts/guard-request-storms.ts",
"guard:ssr-cache-shell": "node scripts/guard-ssr-cache-shell.mjs",
"guard:ssr-cache-artifact": "tsx scripts/guard-ssr-cache-artifact.ts",
"guard:route-chunk-recovery": "node scripts/guard-route-chunk-recovery.mjs",
"guard:one-sign-in": "node scripts/guard-one-sign-in.mjs",
"guard:no-secret-literals": "node scripts/guard-no-secret-literals.mjs",
"guard:additive-migrations": "node scripts/guard-additive-migrations.mjs",
"guard:no-silent-coercion": "node scripts/guard-no-silent-coercion.mjs",
"guard:no-raw-colors": "node scripts/guard-no-raw-colors.mjs",
"guard:persistent-compositing": "node scripts/guard-persistent-compositing.mjs",
"guard:help-icon-scale": "node scripts/guard-help-icon-scale.mjs",
"guard:no-default-chrome": "node scripts/guard-no-default-chrome.mjs",
"guard:no-boot-data-work": "node scripts/guard-no-boot-data-work.mjs",
"guard:no-untracked-imports": "node scripts/guard-no-untracked-imports.mjs",
"check:production-cache-contract": "node scripts/check-production-cache-contract.mjs",
"check:function-size-baseline": "node scripts/check-function-size-baseline.mjs",
"guard:dead-settings-keys": "node scripts/guard-dead-settings-keys.mjs",
"guard:serverless-function-payload": "node scripts/guard-serverless-function-payload.mjs",
"guard:doc-budgets": "node scripts/guard-doc-budgets.mjs",
"guards": "tsx scripts/run-guards.ts",
"ship:push": "node scripts/ship-push.mjs",
"chat-health": "node scripts/chat-health.mjs",
"clear:deploy-previews": "tsx scripts/clear-deploy-previews.ts",
"contribute:template": "tsx scripts/contribute-template-changes.ts",
"sync:netlify-env": "tsx scripts/sync-template-netlify-env.ts",
"sync:workspace-skills": "tsx scripts/sync-workspace-core-skills.ts",
"sync:config-docs": "tsx scripts/sync-config-docs.ts",
"sync:plan-marketplace": "tsx scripts/sync-plan-marketplace.ts",
"sync:plan-skills": "tsx scripts/sync-plan-skills.ts",
"changeset": "changeset",
"changeset:add": "changeset add",
"changeset:status": "changeset status --since=origin/main",
"changeset:version": "changeset version",
"changelog:compact": "tsx scripts/compact-changelogs.ts --write",
"guard:changelog": "tsx scripts/compact-changelogs.ts --check",
"changeset:publish": "pnpm -r build && changeset publish",
"prep": "pnpm fmt && concurrently -n types,test,guard -c cyan,green,yellow \"pnpm typecheck\" \"pnpm test:fast\" \"pnpm guards\"",
"prep:urgent": "pnpm fmt && TEST_WORKSPACE_CONCURRENCY=6 TYPECHECK_WORKSPACE_CONCURRENCY=10 GUARD_CONCURRENCY=6 VITEST_CONCURRENCY=25% concurrently --kill-others-on-fail -n types,test,guard -c cyan,green,yellow \"pnpm typecheck\" \"pnpm test:fast\" \"pnpm guards\"",
"dev:lazy": "node scripts/dev-lazy.ts",
"dev:desktop": "node scripts/dev-lazy.ts --desktop --electron",
"dev:lazy:desktop": "node scripts/dev-lazy.ts --desktop --electron",
"dev:eager": "node scripts/dev-all.ts",
"dev:eager:desktop": "node scripts/dev-all.ts --desktop",
"dev:all": "node scripts/dev-all.ts",
"dev:all:desktop": "node scripts/dev-all.ts --desktop",
"dev:docs": "pnpm --filter @agent-native/docs dev",
"dev:content:database": "pnpm --dir templates/content dev:database",
"content:seed-demo": "pnpm --dir templates/content seed:demo",
"dev:electron": "node scripts/dev-electron.ts",
"dev:electron:lazy": "node scripts/dev-lazy.ts --electron",
"dev:electron:apps": "node scripts/dev-electron.ts --apps",
"e2e:beta": "playwright test --config e2e/beta/playwright.config.ts",
"e2e:beta:capture": "tsx e2e/beta/capture-session.ts",
"typecheck:e2e": "tsc --noEmit -p e2e/beta/tsconfig.json",
"guard:beta-e2e-suite": "tsx scripts/guard-beta-e2e-suite.ts"
},
"devDependencies": {
"@changesets/cli": "2.31.0",
"@cloudflare/vite-plugin": "^1.31.0",
"@libsql/linux-x64-gnu": "^0.5.29",
"@playwright/test": "catalog:",
"concurrently": "^9.1.0",
"oxfmt": "0.56.0",
"oxlint": "1.71.0",
"oxlint-tsgolint": "0.24.0",
"prettier": "^3.6.2",
"tsx": "^4.20.3",
"typescript-7": "catalog:",
"vitest": "catalog:",
"wrangler": "^4.80.0",
"yaml": "2.9.0"
},
"engines": {
"node": ">=22.22.0"
},
"packageManager": "pnpm@10.29.1",
"pnpm": {
"overrides": {
"react": "19.2.7",
"react-dom": "19.2.7",
"@tanstack/react-query": "5.101.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"rollup": ">=4.59.0",
"multer": ">=2.1.1",
"minimatch": ">=9.0.7",
"undici": "^7.28.0",
"lodash": ">=4.18.0",
"@remix-run/router": ">=1.23.2",
"node-forge": ">=1.4.0",
"path-to-regexp": ">=8.4.0",
"picomatch": ">=4.0.4",
"fast-xml-parser": ">=5.5.6",
"glob": ">=10.5.0",
"@anthropic-ai/sdk": ">=0.90.0",
"hono": ">=4.12.4",
"@expo/dom-webview": "57.0.1"
}
}
}