pybao-xc-sdk 1.5.310 → 1.5.312

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +274 -272
package/package.json CHANGED
@@ -1,272 +1,274 @@
1
- {
2
- "name": "pybao-xc-sdk",
3
- "version": "1.5.310",
4
- "bin": {
5
- "pyb": "bin/pyb.js",
6
- "pyb-acp": "bin/pyb-acp.js"
7
- },
8
- "engines": {
9
- "node": ">=20.18.1"
10
- },
11
- "main": "lib/runtime-resolver.cjs",
12
- "author": "PYB-XC",
13
- "license": "MIT",
14
- "description": "PYB-CLI - Minimal AI Agent with multi-model support and CLI interface",
15
- "workspaces": [
16
- "packages/sdk"
17
- ],
18
- "keywords": [
19
- "ai",
20
- "agent",
21
- "minimal",
22
- "claude"
23
- ],
24
- "homepage": "https://github.com/pyb-xc/pyb-ts",
25
- "repository": {
26
- "type": "git",
27
- "url": "git+https://github.com/pyb-xc/pyb-ts.git"
28
- },
29
- "bugs": {
30
- "url": "https://github.com/pyb-xc/pyb-ts/issues"
31
- },
32
- "files": [
33
- "bin/pyb.js",
34
- "bin/pyb-acp.js",
35
- "lib/**/*",
36
- "install.cjs",
37
- "README.md",
38
- "LICENSE"
39
- ],
40
- "scripts": {
41
- "dev": "bun run ./src/entrypoints/cli.tsx --verbose",
42
- "dev:server": "bun --eval \"import { startServer } from './src/server/index.ts'; await startServer({ port: 4096 }); await new Promise(() => {});\"",
43
- "build:npm": "bun scripts/build.mjs",
44
- "build": "npm run build:npm",
45
- "build:sdk": "npm --prefix ./packages/sdk run build",
46
- "generate:sdk": "node scripts/sdk-generate.mjs",
47
- "check:sdk-generated": "node scripts/sdk-check-generated.mjs",
48
- "check:compat-window": "node scripts/sdk-compat-window-gate.mjs",
49
- "generate:legacy-mapping": "node scripts/sdk-legacy-mapping-report.mjs",
50
- "check:legacy-usage": "node scripts/sdk-legacy-usage-gate.mjs",
51
- "report:legacy-usage-trend": "node scripts/sdk-legacy-usage-trend-report.mjs",
52
- "check:legacy-window": "node scripts/sdk-legacy-window-gate.mjs",
53
- "check:docs-consistency": "node scripts/sdk-docs-consistency-gate.mjs",
54
- "check:major-cutover": "node scripts/sdk-major-cutover-gate.mjs",
55
- "check:facade-closeout": "node scripts/sdk-facade-closeout-gate.mjs",
56
- "check:sdk-consistency": "node scripts/sdk-consistency-gate.mjs",
57
- "check:sdk-contract-consistency": "node scripts/sdk-contract-consistency-gate.mjs",
58
- "check:sdk-legacy-semantics": "node scripts/sdk-legacy-semantics-gate.mjs",
59
- "build:binary": "bun scripts/build-binary.mjs",
60
- "build:runtime-audit": "bun scripts/build-runtime-audit-binary.mjs",
61
- "build:runtime-package": "bun scripts/build-runtime-package.mjs",
62
- "verify:runtime-isolation": "node scripts/runtime-isolation-smoke.mjs",
63
- "smoke:commit-floor": "node scripts/commit-floor-smoke.mjs",
64
- "smoke:runtime-isolation": "npm run build:binary && npm run build:runtime-package && npm run build:runtime-audit && npm run verify:runtime-isolation",
65
- "build:native-lock": "node scripts/build-native-lock.mjs",
66
- "build:native-audio": "node scripts/build-native-audio.mjs",
67
- "clean": "node scripts/clean.mjs",
68
- "prepublishOnly": "bun scripts/sync-runtime-package-metadata.mjs && node scripts/prepublish-check.js",
69
- "postinstall": "node install.cjs || true",
70
- "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\" \"tests/**/*.{ts,tsx,js,jsx,json}\"",
71
- "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json}\" \"tests/**/*.{ts,tsx,js,jsx,json}\"",
72
- "lint": "eslint . --ext .ts,.tsx,.js --max-warnings 0",
73
- "lint:fix": "eslint . --ext .ts,.tsx,.js --fix",
74
- "test": "bun test tests",
75
- "test:colocated": "bun test src/app/sessionHost",
76
- "test:segmented": "node scripts/run-tests-segmented.mjs",
77
- "test:all": "bun test",
78
- "test:unit": "bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit && node scripts/assert-project-identity-boundary.mjs",
79
- "test:integration": "bun test tests/integration",
80
- "test:e2e": "bun test tests/e2e",
81
- "smoke:builtin-mcp": "bun test tests/contract/p4c-builtin-mcp-inventory.contract.test.ts tests/contract/builtin-browser-capability.contract.test.ts tests/contract/builtin-desktop-capability.contract.test.ts tests/contract/p27-mcp-permission-module.contract.test.ts tests/unit/builtin-browser-diagnostics.test.ts tests/unit/builtin-desktop-diagnostics.test.ts tests/unit/p4b-desktop-permission-request.test.tsx tests/integration/builtin-browser-inmemory-client.test.ts tests/integration/builtin-desktop-inmemory-client.test.ts",
82
- "test:server": "bun test tests/unit/sdk-batch-a-closure.test.ts tests/unit/sdk-batch-b-queryrunner.test.ts tests/unit/sdk-batch-c-sse.test.ts tests/unit/sdk-batch-d-openapi.test.ts tests/unit/sdk-batch-e-capability.test.ts tests/unit/sdk-batch-f-release.test.ts tests/unit/sdk-batch-g-generation.test.ts tests/unit/sdk-batch-h-facade.test.ts tests/unit/sdk-batch-i-lifecycle.test.ts tests/unit/sdk-batch-j-sse-first-class.test.ts tests/unit/sdk-batch-k-release-gate.test.ts tests/unit/sdk-batch-l-mapping-baseline.test.ts tests/unit/sdk-batch-m-docs-deprecate.test.ts tests/unit/sdk-batch-n-window-block.test.ts tests/unit/sdk-batch-o-major-cutover.test.ts tests/unit/sdk-batch-p-governance-closeout.test.ts tests/unit/sdk-batch-q1-runtime-guard.test.ts tests/unit/sdk-batch-q2-contract-capability.test.ts tests/unit/sdk-batch-q3-legacy-semantics.test.ts tests/unit/sdk-batch-r-model-platform-a0.test.ts tests/unit/sdk-batch-r-model-platform-a-read-routes.test.ts tests/unit/sdk-batch-r-model-platform-b-facade.test.ts tests/unit/sdk-batch-r-model-platform-c-auth-write.test.ts tests/unit/sdk-batch-r-model-platform-d-default-model-write.test.ts tests/unit/sdk-batch-r-model-platform-mp0-contract-freeze.test.ts tests/unit/sdk-batch-r-model-platform-mp1-source-resolver.test.ts tests/unit/sdk-batch-r-model-platform-mp2-provider-catalog.test.ts tests/unit/sdk-batch-r-model-platform-mp3-auth-kernel.test.ts tests/unit/sdk-batch-r-model-platform-mp4-model-catalog-policy.test.ts tests/unit/sdk-batch-r-model-platform-mp5-facade-drift-guard.test.ts tests/unit/sdk-batch-r-model-platform-pm0-runtime-core-freeze.test.ts tests/unit/sdk-batch-r-model-platform-pm1-source-merge.test.ts tests/unit/sdk-batch-r-model-platform-pm2-provider-registry.test.ts tests/unit/sdk-batch-r-model-platform-pm3-model-catalog.test.ts tests/unit/sdk-batch-r-model-platform-pm4-provider-runtime-factory.test.ts tests/unit/sdk-batch-r-model-platform-pm5-sdk-runtime-facade.test.ts tests/unit/sdk-batch-s0-a0-publish-baseline.test.ts tests/unit/sdk-batch-s0-a-publish-gate.test.ts tests/unit/sdk-batch-s0-b-version-single-source.test.ts tests/unit/sdk-batch-s0-c-config-validation.test.ts tests/unit/sdk-batch-s0-d-error-model.test.ts tests/unit/cowork-m1-a0-session-cwd-baseline.test.ts tests/unit/cowork-m1-a-session-cwd-contract.test.ts tests/unit/cowork-m1-b-session-cwd-scope.test.ts tests/unit/cowork-m1-c-session-cwd-concurrency.test.ts tests/unit/cowork-m1-d-consumer-workspace-gate.test.ts",
83
- "gate:runtime-assets": "bun run scripts/runtime-assets-gate-check.mjs",
84
- "preflight:runtime-assets": "node scripts/runtime-assets-preflight.mjs",
85
- "verify:runtime-assets": "node scripts/runtime-assets-verify.mjs",
86
- "validate:runtime-assets-contract": "node scripts/runtime-assets-schema-validate.mjs",
87
- "gate:runtime-assets-threshold": "node scripts/runtime-assets-threshold-gate.mjs",
88
- "gate:runtime-assets-trend-store": "node scripts/runtime-assets-trend-store.mjs",
89
- "gate:runtime-assets-trend": "node scripts/runtime-assets-trend-gate.mjs",
90
- "report:runtime-assets-trend": "node scripts/runtime-assets-trend-report.mjs",
91
- "gate:model-platform-closeout": "node scripts/model-platform-closeout-gate.mjs",
92
- "gate:typed-compat-retirement": "node scripts/typed-compat-retirement-gate.mjs",
93
- "gate:query-adapter-boundary": "node scripts/query-adapter-boundary-gate.mjs",
94
- "gate:session-contract": "node scripts/session-contract-gate.mjs",
95
- "gate:session-behavior-invariant": "node scripts/session-behavior-invariant-gate.mjs",
96
- "gate:session-project": "node scripts/session-project-gate.mjs",
97
- "gate:protected-tool-names": "node scripts/protected-tool-names-gate.mjs",
98
- "gate:lsp-semantic-unknown-ratio": "node scripts/lsp-semantic-unknown-ratio-gate.mjs",
99
- "gate:lsp-a0-baseline": "node scripts/lsp-a0-baseline-gate.mjs --samples-file tests/fixtures/lsp/a0-baseline-samples.json --min-total 120 --min-per-operation 30",
100
- "gate:tool-name-a0-baseline": "node scripts/tool-name-a0-baseline-gate.mjs",
101
- "gate:lsp-a2prime-behavior-invariant": "node scripts/lsp-a2prime-behavior-invariant-gate.mjs --mode run",
102
- "plan:typed-compat-retirement": "node scripts/typed-compat-retirement-plan.mjs",
103
- "enforce:typed-compat-retirement": "node scripts/typed-compat-retirement-enforce.mjs",
104
- "gate:typed-sql-release": "node scripts/typed-sql-release-gate.mjs",
105
- "gate:typed-sql-schema": "node scripts/typed-sql-schema-guard.mjs",
106
- "smoke:typed-sql-install": "node scripts/typed-sql-install-smoke.mjs",
107
- "gate:typed-sql-no-fallback": "node scripts/typed-sql-no-fallback-gate.mjs",
108
- "benchmark:typed-part-baseline": "bun scripts/typed-part-baseline-benchmark.mjs",
109
- "gate:typed-part-performance": "node scripts/typed-part-performance-gate.mjs",
110
- "typecheck": "tsc --noEmit",
111
- "release:gate": "npm run generate:sdk && npm run check:sdk-generated && npm run generate:legacy-mapping && npm run check:legacy-usage && npm run report:legacy-usage-trend && npm run check:legacy-window && npm run check:docs-consistency && npm run check:major-cutover && npm run check:facade-closeout && npm run check:sdk-consistency && npm run check:sdk-contract-consistency && npm run check:sdk-legacy-semantics && npm run check:compat-window && npm run build:sdk && npm run test:server && npm run lint && npm run typecheck",
112
- "prepare": "bun run scripts/install-hooks.mjs",
113
- "sync:native-lock": "node scripts/sync-native-lock-versions.mjs",
114
- "sync:sharp-resources": "node scripts/sync-sharp-resources.mjs",
115
- "sync:runtime-package-metadata": "bun scripts/sync-runtime-package-metadata.mjs",
116
- "publish:native-lock": "node scripts/publish-native-lock.mjs",
117
- "verify:native-lock": "node scripts/verify-native-lock.mjs",
118
- "publish:dev": "bun run scripts/publish-dev.js",
119
- "publish:release": "bun run scripts/publish-release.js",
120
- "test:identity": "node scripts/assert-project-identity-boundary.mjs"
121
- },
122
- "dependencies": {
123
- "@anthropic-ai/bedrock-sdk": "^0.12.6",
124
- "@anthropic-ai/sdk": "^0.39.0",
125
- "@anthropic-ai/vertex-sdk": "^0.7.0",
126
- "@astrojs/language-server": "2.16.2",
127
- "@aws-sdk/client-bedrock-runtime": "3.797.0",
128
- "@commander-js/extra-typings": "^13.1.0",
129
- "@inkjs/ui": "^2.0.0",
130
- "@modelcontextprotocol/sdk": "^1.15.1",
131
- "@prisma/language-server": "31.3.4",
132
- "@types/lodash-es": "^4.17.12",
133
- "@types/react": "^19.1.8",
134
- "@vscode/ripgrep": "^1.17.0",
135
- "@vue/language-server": "3.2.2",
136
- "ajv": "^8.17.1",
137
- "ansi-escapes": "^7.0.0",
138
- "bash-language-server": "5.6.0",
139
- "chalk": "^5.4.1",
140
- "cli-highlight": "^2.1.11",
141
- "cli-table3": "^0.6.5",
142
- "commander": "^13.1.0",
143
- "debug": "^4.4.1",
144
- "diff": "^8.0.4",
145
- "dockerfile-language-server-nodejs": "0.15.0",
146
- "dotenv": "^16.6.1",
147
- "env-paths": "^3.0.0",
148
- "fflate": "^0.8.2",
149
- "figures": "^6.1.0",
150
- "glob": "^11.0.3",
151
- "graphql-language-service-cli": "3.5.0",
152
- "gray-matter": "^4.0.3",
153
- "highlight.js": "^11.11.1",
154
- "hono": "4.12.32",
155
- "ignore": "^7.0.5",
156
- "ink": "5.2.1",
157
- "ink-link": "^4.1.0",
158
- "ink-select-input": "^6.2.0",
159
- "ink-text-input": "^6.0.0",
160
- "intelephense": "1.16.3",
161
- "js-yaml": "^4.1.1",
162
- "lodash-es": "^4.17.21",
163
- "lru-cache": "^11.1.0",
164
- "marked": "^15.0.12",
165
- "minimatch": "^10.1.1",
166
- "nanoid": "^5.1.5",
167
- "node-html-parser": "^7.0.1",
168
- "openai": "4.104.0",
169
- "pptxgenjs": "4.0.1",
170
- "pyright": "1.1.408",
171
- "react": "18.3.1",
172
- "semver": "^7.7.2",
173
- "shell-quote": "1.8.3",
174
- "spawn-rx": "^5.1.2",
175
- "sqlite-vec": "0.1.9",
176
- "string-width": "^7.2.0",
177
- "strip-ansi": "^7.1.0",
178
- "svelte-language-server": "0.17.23",
179
- "tree-kill": "1.2.2",
180
- "tsx": "^4.20.3",
181
- "typescript-language-server": "5.1.3",
182
- "undici": "^7.11.0",
183
- "vscode-jsonrpc": "8.2.1",
184
- "vscode-langservers-extracted": "4.10.0",
185
- "web-tree-sitter": "0.25.10",
186
- "which": "^6.0.0",
187
- "wrap-ansi": "^9.0.0",
188
- "yaml-language-server": "1.19.2",
189
- "zod": "^4.3.6"
190
- },
191
- "devDependencies": {
192
- "@alcalzone/ansi-tokenize": "0.3.0",
193
- "@types/bun": "1.3.14",
194
- "@types/jest": "^30.0.0",
195
- "@types/node": "^24.1.0",
196
- "@types/which": "^3.0.4",
197
- "@typescript-eslint/eslint-plugin": "^8.50.1",
198
- "@typescript-eslint/parser": "^8.50.1",
199
- "abort-controller": "3.0.0",
200
- "bun-types": "1.3.14",
201
- "cheerio": "1.1.2",
202
- "esbuild": "^0.25.9",
203
- "eslint": "8.57.0",
204
- "eslint-plugin-react-hooks": "^7.0.1",
205
- "ink-testing-library": "4.0.0",
206
- "node-fetch": "3.3.2",
207
- "prettier": "^3.6.2",
208
- "react-devtools-core": "^7.0.1",
209
- "tree-sitter-bash": "0.25.1",
210
- "tree-sitter-c-sharp": "0.23.1",
211
- "tree-sitter-clojure": "0.4.0",
212
- "tree-sitter-cpp": "0.23.4",
213
- "tree-sitter-go": "0.25.0",
214
- "tree-sitter-haskell": "0.23.1",
215
- "tree-sitter-java": "0.23.5",
216
- "tree-sitter-julia": "0.23.1",
217
- "tree-sitter-nix": "0.0.2",
218
- "tree-sitter-ocaml": "0.24.2",
219
- "tree-sitter-python": "0.25.0",
220
- "tree-sitter-rust": "0.24.0",
221
- "tree-sitter-scala": "0.24.0",
222
- "tree-sitter-swift": "0.7.1",
223
- "tree-sitter-typescript": "0.23.2",
224
- "turndown": "7.2.2",
225
- "typescript": "^5.9.2",
226
- "uuid": "^9.0.1"
227
- },
228
- "overrides": {
229
- "@aws-sdk/client-bedrock-runtime": "3.797.0",
230
- "@smithy/smithy-client": "2.5.1",
231
- "parse5-htmlparser2-tree-adapter": "6.0.1"
232
- },
233
- "optionalDependencies": {
234
- "@puyib-cli/lock-darwin-arm64": "1.4.55",
235
- "@puyib-cli/lock-darwin-x64": "1.4.55",
236
- "@puyib-cli/lock-linux-arm64-gnu": "1.4.55",
237
- "@puyib-cli/lock-linux-armv7-gnueabihf": "1.4.55",
238
- "@puyib-cli/lock-linux-x64-gnu": "1.4.55",
239
- "@puyib-cli/lock-linux-x64-musl": "1.4.55",
240
- "@puyib-cli/lock-win32-arm64-msvc": "1.4.55",
241
- "@puyib-cli/lock-win32-x64-msvc": "1.4.55",
242
- "pyb-runtime-darwin-arm64": "1.5.310",
243
- "pyb-runtime-darwin-x64": "1.5.310",
244
- "pyb-runtime-linux-arm64-gnu": "1.5.310",
245
- "pyb-runtime-linux-armv7-gnueabihf": "1.5.310",
246
- "pyb-runtime-linux-x64-gnu": "1.5.310",
247
- "pyb-runtime-linux-x64-musl": "1.5.310",
248
- "pyb-runtime-win32-arm64-msvc": "1.5.310",
249
- "pyb-runtime-win32-x64-msvc": "1.5.310"
250
- },
251
- "pybRuntimePlatforms": [
252
- "win32-x64-msvc",
253
- "win32-arm64-msvc",
254
- "linux-x64-gnu",
255
- "linux-x64-musl",
256
- "linux-arm64-gnu",
257
- "linux-armv7-gnueabihf",
258
- "darwin-x64",
259
- "darwin-arm64"
260
- ],
261
- "pybRuntimeBundledNodeModules": {},
262
- "pybNativeLockPlatforms": [
263
- "win32-x64-msvc",
264
- "win32-arm64-msvc",
265
- "linux-x64-gnu",
266
- "linux-x64-musl",
267
- "linux-arm64-gnu",
268
- "linux-armv7-gnueabihf",
269
- "darwin-x64",
270
- "darwin-arm64"
271
- ]
272
- }
1
+ {
2
+ "name": "pybao-xc-sdk",
3
+ "version": "1.5.312",
4
+ "bin": {
5
+ "pyb": "bin/pyb.js",
6
+ "pyb-acp": "bin/pyb-acp.js"
7
+ },
8
+ "engines": {
9
+ "node": "\u003e=20.18.1"
10
+ },
11
+ "main": "lib/runtime-resolver.cjs",
12
+ "author": "PYB-XC",
13
+ "license": "MIT",
14
+ "description": "PYB-CLI - Minimal AI Agent with multi-model support and CLI interface",
15
+ "workspaces": [
16
+ "packages/sdk"
17
+ ],
18
+ "keywords": [
19
+ "ai",
20
+ "agent",
21
+ "minimal",
22
+ "claude"
23
+ ],
24
+ "homepage": "https://github.com/pyb-xc/pyb-ts",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/pyb-xc/pyb-ts.git"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/pyb-xc/pyb-ts/issues"
31
+ },
32
+ "files": [
33
+ "bin/pyb.js",
34
+ "bin/pyb-acp.js",
35
+ "lib/**/*",
36
+ "install.cjs",
37
+ "README.md",
38
+ "LICENSE"
39
+ ],
40
+ "scripts": {
41
+ "dev": "bun run ./src/entrypoints/cli.tsx --verbose",
42
+ "dev:server": "bun --eval \"import { startServer } from \u0027./src/server/index.ts\u0027; await startServer({ port: 4096 }); await new Promise(() =\u003e {});\"",
43
+ "build:npm": "bun scripts/build.mjs",
44
+ "build": "npm run build:npm",
45
+ "build:sdk": "npm --prefix ./packages/sdk run build",
46
+ "generate:sdk": "node scripts/sdk-generate.mjs",
47
+ "check:sdk-generated": "node scripts/sdk-check-generated.mjs",
48
+ "check:compat-window": "node scripts/sdk-compat-window-gate.mjs",
49
+ "generate:legacy-mapping": "node scripts/sdk-legacy-mapping-report.mjs",
50
+ "check:legacy-usage": "node scripts/sdk-legacy-usage-gate.mjs",
51
+ "report:legacy-usage-trend": "node scripts/sdk-legacy-usage-trend-report.mjs",
52
+ "check:legacy-window": "node scripts/sdk-legacy-window-gate.mjs",
53
+ "check:docs-consistency": "node scripts/sdk-docs-consistency-gate.mjs",
54
+ "check:major-cutover": "node scripts/sdk-major-cutover-gate.mjs",
55
+ "check:facade-closeout": "node scripts/sdk-facade-closeout-gate.mjs",
56
+ "check:sdk-consistency": "node scripts/sdk-consistency-gate.mjs",
57
+ "check:sdk-contract-consistency": "node scripts/sdk-contract-consistency-gate.mjs",
58
+ "check:sdk-legacy-semantics": "node scripts/sdk-legacy-semantics-gate.mjs",
59
+ "build:binary": "bun scripts/build-binary.mjs",
60
+ "build:runtime-audit": "bun scripts/build-runtime-audit-binary.mjs",
61
+ "build:runtime-package": "bun scripts/build-runtime-package.mjs",
62
+ "verify:runtime-isolation": "node scripts/runtime-isolation-smoke.mjs",
63
+ "smoke:commit-floor": "node scripts/commit-floor-smoke.mjs",
64
+ "smoke:runtime-isolation": "npm run build:binary \u0026\u0026 npm run build:runtime-package \u0026\u0026 npm run build:runtime-audit \u0026\u0026 npm run verify:runtime-isolation",
65
+ "build:native-lock": "node scripts/build-native-lock.mjs",
66
+ "build:native-audio": "node scripts/build-native-audio.mjs",
67
+ "clean": "node scripts/clean.mjs",
68
+ "prepublishOnly": "bun scripts/sync-runtime-package-metadata.mjs \u0026\u0026 node scripts/prepublish-check.js",
69
+ "postinstall": "node install.cjs || true",
70
+ "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\" \"tests/**/*.{ts,tsx,js,jsx,json}\"",
71
+ "format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json}\" \"tests/**/*.{ts,tsx,js,jsx,json}\"",
72
+ "lint": "eslint . --ext .ts,.tsx,.js --max-warnings 0",
73
+ "lint:fix": "eslint . --ext .ts,.tsx,.js --fix",
74
+ "test": "bun test tests",
75
+ "test:colocated": "bun test src/app/sessionHost",
76
+ "test:segmented": "node scripts/run-tests-segmented.mjs",
77
+ "test:all": "bun test",
78
+ "test:unit": "bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit \u0026\u0026 node scripts/assert-project-identity-boundary.mjs",
79
+ "test:integration": "bun test tests/integration",
80
+ "test:e2e": "bun test tests/e2e",
81
+ "smoke:builtin-mcp": "bun test tests/contract/p4c-builtin-mcp-inventory.contract.test.ts tests/contract/builtin-browser-capability.contract.test.ts tests/contract/builtin-desktop-capability.contract.test.ts tests/contract/p27-mcp-permission-module.contract.test.ts tests/unit/builtin-browser-diagnostics.test.ts tests/unit/builtin-desktop-diagnostics.test.ts tests/unit/p4b-desktop-permission-request.test.tsx tests/integration/builtin-browser-inmemory-client.test.ts tests/integration/builtin-desktop-inmemory-client.test.ts",
82
+ "test:server": "bun test tests/unit/sdk-batch-a-closure.test.ts tests/unit/sdk-batch-b-queryrunner.test.ts tests/unit/sdk-batch-c-sse.test.ts tests/unit/sdk-batch-d-openapi.test.ts tests/unit/sdk-batch-e-capability.test.ts tests/unit/sdk-batch-f-release.test.ts tests/unit/sdk-batch-g-generation.test.ts tests/unit/sdk-batch-h-facade.test.ts tests/unit/sdk-batch-i-lifecycle.test.ts tests/unit/sdk-batch-j-sse-first-class.test.ts tests/unit/sdk-batch-k-release-gate.test.ts tests/unit/sdk-batch-l-mapping-baseline.test.ts tests/unit/sdk-batch-m-docs-deprecate.test.ts tests/unit/sdk-batch-n-window-block.test.ts tests/unit/sdk-batch-o-major-cutover.test.ts tests/unit/sdk-batch-p-governance-closeout.test.ts tests/unit/sdk-batch-q1-runtime-guard.test.ts tests/unit/sdk-batch-q2-contract-capability.test.ts tests/unit/sdk-batch-q3-legacy-semantics.test.ts tests/unit/sdk-batch-r-model-platform-a0.test.ts tests/unit/sdk-batch-r-model-platform-a-read-routes.test.ts tests/unit/sdk-batch-r-model-platform-b-facade.test.ts tests/unit/sdk-batch-r-model-platform-c-auth-write.test.ts tests/unit/sdk-batch-r-model-platform-d-default-model-write.test.ts tests/unit/sdk-batch-r-model-platform-mp0-contract-freeze.test.ts tests/unit/sdk-batch-r-model-platform-mp1-source-resolver.test.ts tests/unit/sdk-batch-r-model-platform-mp2-provider-catalog.test.ts tests/unit/sdk-batch-r-model-platform-mp3-auth-kernel.test.ts tests/unit/sdk-batch-r-model-platform-mp4-model-catalog-policy.test.ts tests/unit/sdk-batch-r-model-platform-mp5-facade-drift-guard.test.ts tests/unit/sdk-batch-r-model-platform-pm0-runtime-core-freeze.test.ts tests/unit/sdk-batch-r-model-platform-pm1-source-merge.test.ts tests/unit/sdk-batch-r-model-platform-pm2-provider-registry.test.ts tests/unit/sdk-batch-r-model-platform-pm3-model-catalog.test.ts tests/unit/sdk-batch-r-model-platform-pm4-provider-runtime-factory.test.ts tests/unit/sdk-batch-r-model-platform-pm5-sdk-runtime-facade.test.ts tests/unit/sdk-batch-s0-a0-publish-baseline.test.ts tests/unit/sdk-batch-s0-a-publish-gate.test.ts tests/unit/sdk-batch-s0-b-version-single-source.test.ts tests/unit/sdk-batch-s0-c-config-validation.test.ts tests/unit/sdk-batch-s0-d-error-model.test.ts tests/unit/cowork-m1-a0-session-cwd-baseline.test.ts tests/unit/cowork-m1-a-session-cwd-contract.test.ts tests/unit/cowork-m1-b-session-cwd-scope.test.ts tests/unit/cowork-m1-c-session-cwd-concurrency.test.ts tests/unit/cowork-m1-d-consumer-workspace-gate.test.ts",
83
+ "gate:runtime-assets": "bun run scripts/runtime-assets-gate-check.mjs",
84
+ "preflight:runtime-assets": "node scripts/runtime-assets-preflight.mjs",
85
+ "verify:runtime-assets": "node scripts/runtime-assets-verify.mjs",
86
+ "validate:runtime-assets-contract": "node scripts/runtime-assets-schema-validate.mjs",
87
+ "gate:runtime-assets-threshold": "node scripts/runtime-assets-threshold-gate.mjs",
88
+ "gate:runtime-assets-trend-store": "node scripts/runtime-assets-trend-store.mjs",
89
+ "gate:runtime-assets-trend": "node scripts/runtime-assets-trend-gate.mjs",
90
+ "report:runtime-assets-trend": "node scripts/runtime-assets-trend-report.mjs",
91
+ "gate:model-platform-closeout": "node scripts/model-platform-closeout-gate.mjs",
92
+ "gate:typed-compat-retirement": "node scripts/typed-compat-retirement-gate.mjs",
93
+ "gate:query-adapter-boundary": "node scripts/query-adapter-boundary-gate.mjs",
94
+ "gate:session-contract": "node scripts/session-contract-gate.mjs",
95
+ "gate:session-behavior-invariant": "node scripts/session-behavior-invariant-gate.mjs",
96
+ "gate:session-project": "node scripts/session-project-gate.mjs",
97
+ "gate:protected-tool-names": "node scripts/protected-tool-names-gate.mjs",
98
+ "gate:lsp-semantic-unknown-ratio": "node scripts/lsp-semantic-unknown-ratio-gate.mjs",
99
+ "gate:lsp-a0-baseline": "node scripts/lsp-a0-baseline-gate.mjs --samples-file tests/fixtures/lsp/a0-baseline-samples.json --min-total 120 --min-per-operation 30",
100
+ "gate:tool-name-a0-baseline": "node scripts/tool-name-a0-baseline-gate.mjs",
101
+ "gate:lsp-a2prime-behavior-invariant": "node scripts/lsp-a2prime-behavior-invariant-gate.mjs --mode run",
102
+ "plan:typed-compat-retirement": "node scripts/typed-compat-retirement-plan.mjs",
103
+ "enforce:typed-compat-retirement": "node scripts/typed-compat-retirement-enforce.mjs",
104
+ "gate:typed-sql-release": "node scripts/typed-sql-release-gate.mjs",
105
+ "gate:typed-sql-schema": "node scripts/typed-sql-schema-guard.mjs",
106
+ "smoke:typed-sql-install": "node scripts/typed-sql-install-smoke.mjs",
107
+ "gate:typed-sql-no-fallback": "node scripts/typed-sql-no-fallback-gate.mjs",
108
+ "benchmark:typed-part-baseline": "bun scripts/typed-part-baseline-benchmark.mjs",
109
+ "gate:typed-part-performance": "node scripts/typed-part-performance-gate.mjs",
110
+ "typecheck": "tsc --noEmit",
111
+ "release:gate": "npm run generate:sdk \u0026\u0026 npm run check:sdk-generated \u0026\u0026 npm run generate:legacy-mapping \u0026\u0026 npm run check:legacy-usage \u0026\u0026 npm run report:legacy-usage-trend \u0026\u0026 npm run check:legacy-window \u0026\u0026 npm run check:docs-consistency \u0026\u0026 npm run check:major-cutover \u0026\u0026 npm run check:facade-closeout \u0026\u0026 npm run check:sdk-consistency \u0026\u0026 npm run check:sdk-contract-consistency \u0026\u0026 npm run check:sdk-legacy-semantics \u0026\u0026 npm run check:compat-window \u0026\u0026 npm run build:sdk \u0026\u0026 npm run test:server \u0026\u0026 npm run lint \u0026\u0026 npm run typecheck",
112
+ "prepare": "bun run scripts/install-hooks.mjs",
113
+ "sync:native-lock": "node scripts/sync-native-lock-versions.mjs",
114
+ "sync:sharp-resources": "node scripts/sync-sharp-resources.mjs",
115
+ "sync:runtime-package-metadata": "bun scripts/sync-runtime-package-metadata.mjs",
116
+ "publish:native-lock": "node scripts/publish-native-lock.mjs",
117
+ "verify:native-lock": "node scripts/verify-native-lock.mjs",
118
+ "publish:dev": "bun run scripts/publish-dev.js",
119
+ "publish:release": "bun run scripts/publish-release.js",
120
+ "test:identity": "node scripts/assert-project-identity-boundary.mjs"
121
+ },
122
+ "dependencies": {
123
+ "@anthropic-ai/bedrock-sdk": "^0.12.6",
124
+ "@anthropic-ai/sdk": "^0.39.0",
125
+ "@anthropic-ai/vertex-sdk": "^0.7.0",
126
+ "@astrojs/language-server": "2.16.2",
127
+ "@aws-sdk/client-bedrock-runtime": "3.797.0",
128
+ "@commander-js/extra-typings": "^13.1.0",
129
+ "@inkjs/ui": "^2.0.0",
130
+ "@modelcontextprotocol/sdk": "^1.15.1",
131
+ "@prisma/language-server": "31.3.4",
132
+ "@types/lodash-es": "^4.17.12",
133
+ "@types/react": "^19.1.8",
134
+ "@vscode/ripgrep": "^1.17.0",
135
+ "@vue/language-server": "3.2.2",
136
+ "ajv": "^8.17.1",
137
+ "ansi-escapes": "^7.0.0",
138
+ "bash-language-server": "5.6.0",
139
+ "chalk": "^5.4.1",
140
+ "cli-highlight": "^2.1.11",
141
+ "cli-table3": "^0.6.5",
142
+ "commander": "^13.1.0",
143
+ "debug": "^4.4.1",
144
+ "diff": "^8.0.4",
145
+ "dockerfile-language-server-nodejs": "0.15.0",
146
+ "dotenv": "^16.6.1",
147
+ "env-paths": "^3.0.0",
148
+ "fflate": "^0.8.2",
149
+ "figures": "^6.1.0",
150
+ "glob": "^11.0.3",
151
+ "graphql-language-service-cli": "3.5.0",
152
+ "gray-matter": "^4.0.3",
153
+ "highlight.js": "^11.11.1",
154
+ "hono": "4.12.32",
155
+ "ignore": "^7.0.5",
156
+ "ink": "5.2.1",
157
+ "ink-link": "^4.1.0",
158
+ "ink-select-input": "^6.2.0",
159
+ "ink-text-input": "^6.0.0",
160
+ "intelephense": "1.16.3",
161
+ "js-yaml": "^4.1.1",
162
+ "lodash-es": "^4.17.21",
163
+ "lru-cache": "^11.1.0",
164
+ "marked": "^15.0.12",
165
+ "minimatch": "^10.1.1",
166
+ "nanoid": "^5.1.5",
167
+ "node-html-parser": "^7.0.1",
168
+ "openai": "4.104.0",
169
+ "pptxgenjs": "4.0.1",
170
+ "pyright": "1.1.408",
171
+ "react": "18.3.1",
172
+ "semver": "^7.7.2",
173
+ "shell-quote": "1.8.3",
174
+ "spawn-rx": "^5.1.2",
175
+ "sqlite-vec": "0.1.9",
176
+ "string-width": "^7.2.0",
177
+ "strip-ansi": "^7.1.0",
178
+ "svelte-language-server": "0.17.23",
179
+ "tree-kill": "1.2.2",
180
+ "tsx": "^4.20.3",
181
+ "typescript-language-server": "5.1.3",
182
+ "undici": "^7.11.0",
183
+ "vscode-jsonrpc": "8.2.1",
184
+ "vscode-langservers-extracted": "4.10.0",
185
+ "web-tree-sitter": "0.25.10",
186
+ "which": "^6.0.0",
187
+ "wrap-ansi": "^9.0.0",
188
+ "yaml-language-server": "1.19.2",
189
+ "zod": "^4.3.6"
190
+ },
191
+ "devDependencies": {
192
+ "@alcalzone/ansi-tokenize": "0.3.0",
193
+ "@types/bun": "1.3.14",
194
+ "@types/jest": "^30.0.0",
195
+ "@types/node": "^24.1.0",
196
+ "@types/which": "^3.0.4",
197
+ "@typescript-eslint/eslint-plugin": "^8.50.1",
198
+ "@typescript-eslint/parser": "^8.50.1",
199
+ "abort-controller": "3.0.0",
200
+ "bun-types": "1.3.14",
201
+ "cheerio": "1.1.2",
202
+ "esbuild": "^0.25.9",
203
+ "eslint": "8.57.0",
204
+ "eslint-plugin-react-hooks": "^7.0.1",
205
+ "ink-testing-library": "4.0.0",
206
+ "node-fetch": "3.3.2",
207
+ "prettier": "^3.6.2",
208
+ "react-devtools-core": "^7.0.1",
209
+ "tree-sitter-bash": "0.25.1",
210
+ "tree-sitter-c-sharp": "0.23.1",
211
+ "tree-sitter-clojure": "0.4.0",
212
+ "tree-sitter-cpp": "0.23.4",
213
+ "tree-sitter-go": "0.25.0",
214
+ "tree-sitter-haskell": "0.23.1",
215
+ "tree-sitter-java": "0.23.5",
216
+ "tree-sitter-julia": "0.23.1",
217
+ "tree-sitter-nix": "0.0.2",
218
+ "tree-sitter-ocaml": "0.24.2",
219
+ "tree-sitter-python": "0.25.0",
220
+ "tree-sitter-rust": "0.24.0",
221
+ "tree-sitter-scala": "0.24.0",
222
+ "tree-sitter-swift": "0.7.1",
223
+ "tree-sitter-typescript": "0.23.2",
224
+ "turndown": "7.2.2",
225
+ "typescript": "^5.9.2",
226
+ "uuid": "^9.0.1"
227
+ },
228
+ "overrides": {
229
+ "@aws-sdk/client-bedrock-runtime": "3.797.0",
230
+ "@smithy/smithy-client": "2.5.1",
231
+ "parse5-htmlparser2-tree-adapter": "6.0.1"
232
+ },
233
+ "optionalDependencies": {
234
+ "@puyib-cli/lock-darwin-arm64": "1.4.55",
235
+ "@puyib-cli/lock-darwin-x64": "1.4.55",
236
+ "@puyib-cli/lock-linux-arm64-gnu": "1.4.55",
237
+ "@puyib-cli/lock-linux-armv7-gnueabihf": "1.4.55",
238
+ "@puyib-cli/lock-linux-x64-gnu": "1.4.55",
239
+ "@puyib-cli/lock-linux-x64-musl": "1.4.55",
240
+ "@puyib-cli/lock-win32-arm64-msvc": "1.4.55",
241
+ "@puyib-cli/lock-win32-x64-msvc": "1.4.55",
242
+ "pyb-runtime-darwin-arm64": "1.5.312",
243
+ "pyb-runtime-darwin-x64": "1.5.312",
244
+ "pyb-runtime-linux-arm64-gnu": "1.5.312",
245
+ "pyb-runtime-linux-armv7-gnueabihf": "1.5.312",
246
+ "pyb-runtime-linux-x64-gnu": "1.5.312",
247
+ "pyb-runtime-linux-x64-musl": "1.5.312",
248
+ "pyb-runtime-win32-arm64-msvc": "1.5.312",
249
+ "pyb-runtime-win32-x64-msvc": "1.5.312"
250
+ },
251
+ "pybRuntimePlatforms": [
252
+ "win32-x64-msvc",
253
+ "win32-arm64-msvc",
254
+ "linux-x64-gnu",
255
+ "linux-x64-musl",
256
+ "linux-arm64-gnu",
257
+ "linux-armv7-gnueabihf",
258
+ "darwin-x64",
259
+ "darwin-arm64"
260
+ ],
261
+ "pybRuntimeBundledNodeModules": {
262
+
263
+ },
264
+ "pybNativeLockPlatforms": [
265
+ "win32-x64-msvc",
266
+ "win32-arm64-msvc",
267
+ "linux-x64-gnu",
268
+ "linux-x64-musl",
269
+ "linux-arm64-gnu",
270
+ "linux-armv7-gnueabihf",
271
+ "darwin-x64",
272
+ "darwin-arm64"
273
+ ]
274
+ }