pybao-xc-sdk 1.5.288 → 1.5.289

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 +270 -270
package/package.json CHANGED
@@ -1,270 +1,270 @@
1
- {
2
- "name": "pybao-xc-sdk",
3
- "version": "1.5.288",
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:all": "bun test",
76
- "test:unit": "bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit && node scripts/assert-project-identity-boundary.mjs",
77
- "test:integration": "bun test tests/integration",
78
- "test:e2e": "bun test tests/e2e",
79
- "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",
80
- "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",
81
- "gate:runtime-assets": "bun run scripts/runtime-assets-gate-check.mjs",
82
- "preflight:runtime-assets": "node scripts/runtime-assets-preflight.mjs",
83
- "verify:runtime-assets": "node scripts/runtime-assets-verify.mjs",
84
- "validate:runtime-assets-contract": "node scripts/runtime-assets-schema-validate.mjs",
85
- "gate:runtime-assets-threshold": "node scripts/runtime-assets-threshold-gate.mjs",
86
- "gate:runtime-assets-trend-store": "node scripts/runtime-assets-trend-store.mjs",
87
- "gate:runtime-assets-trend": "node scripts/runtime-assets-trend-gate.mjs",
88
- "report:runtime-assets-trend": "node scripts/runtime-assets-trend-report.mjs",
89
- "gate:model-platform-closeout": "node scripts/model-platform-closeout-gate.mjs",
90
- "gate:typed-compat-retirement": "node scripts/typed-compat-retirement-gate.mjs",
91
- "gate:query-adapter-boundary": "node scripts/query-adapter-boundary-gate.mjs",
92
- "gate:session-contract": "node scripts/session-contract-gate.mjs",
93
- "gate:session-behavior-invariant": "node scripts/session-behavior-invariant-gate.mjs",
94
- "gate:session-project": "node scripts/session-project-gate.mjs",
95
- "gate:protected-tool-names": "node scripts/protected-tool-names-gate.mjs",
96
- "gate:lsp-semantic-unknown-ratio": "node scripts/lsp-semantic-unknown-ratio-gate.mjs",
97
- "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",
98
- "gate:tool-name-a0-baseline": "node scripts/tool-name-a0-baseline-gate.mjs",
99
- "gate:lsp-a2prime-behavior-invariant": "node scripts/lsp-a2prime-behavior-invariant-gate.mjs --mode run",
100
- "plan:typed-compat-retirement": "node scripts/typed-compat-retirement-plan.mjs",
101
- "enforce:typed-compat-retirement": "node scripts/typed-compat-retirement-enforce.mjs",
102
- "gate:typed-sql-release": "node scripts/typed-sql-release-gate.mjs",
103
- "gate:typed-sql-schema": "node scripts/typed-sql-schema-guard.mjs",
104
- "smoke:typed-sql-install": "node scripts/typed-sql-install-smoke.mjs",
105
- "gate:typed-sql-no-fallback": "node scripts/typed-sql-no-fallback-gate.mjs",
106
- "benchmark:typed-part-baseline": "bun scripts/typed-part-baseline-benchmark.mjs",
107
- "gate:typed-part-performance": "node scripts/typed-part-performance-gate.mjs",
108
- "typecheck": "tsc --noEmit",
109
- "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",
110
- "prepare": "bun run scripts/install-hooks.mjs",
111
- "sync:native-lock": "node scripts/sync-native-lock-versions.mjs",
112
- "sync:sharp-resources": "node scripts/sync-sharp-resources.mjs",
113
- "sync:runtime-package-metadata": "bun scripts/sync-runtime-package-metadata.mjs",
114
- "publish:native-lock": "node scripts/publish-native-lock.mjs",
115
- "verify:native-lock": "node scripts/verify-native-lock.mjs",
116
- "publish:dev": "bun run scripts/publish-dev.js",
117
- "publish:release": "bun run scripts/publish-release.js",
118
- "test:identity": "node scripts/assert-project-identity-boundary.mjs"
119
- },
120
- "dependencies": {
121
- "@anthropic-ai/bedrock-sdk": "^0.12.6",
122
- "@anthropic-ai/sdk": "^0.39.0",
123
- "@anthropic-ai/vertex-sdk": "^0.7.0",
124
- "@astrojs/language-server": "2.16.2",
125
- "@aws-sdk/client-bedrock-runtime": "3.797.0",
126
- "@commander-js/extra-typings": "^13.1.0",
127
- "@inkjs/ui": "^2.0.0",
128
- "@modelcontextprotocol/sdk": "^1.15.1",
129
- "@prisma/language-server": "31.3.4",
130
- "@types/lodash-es": "^4.17.12",
131
- "@types/react": "^19.1.8",
132
- "@vscode/ripgrep": "^1.17.0",
133
- "@vue/language-server": "3.2.2",
134
- "ajv": "^8.17.1",
135
- "ansi-escapes": "^7.0.0",
136
- "bash-language-server": "5.6.0",
137
- "chalk": "^5.4.1",
138
- "cli-highlight": "^2.1.11",
139
- "cli-table3": "^0.6.5",
140
- "commander": "^13.1.0",
141
- "debug": "^4.4.1",
142
- "diff": "^8.0.4",
143
- "dockerfile-language-server-nodejs": "0.15.0",
144
- "dotenv": "^16.6.1",
145
- "env-paths": "^3.0.0",
146
- "fflate": "^0.8.2",
147
- "figures": "^6.1.0",
148
- "glob": "^11.0.3",
149
- "graphql-language-service-cli": "3.5.0",
150
- "gray-matter": "^4.0.3",
151
- "highlight.js": "^11.11.1",
152
- "hono": "4.12.32",
153
- "ignore": "^7.0.5",
154
- "ink": "5.2.1",
155
- "ink-link": "^4.1.0",
156
- "ink-select-input": "^6.2.0",
157
- "ink-text-input": "^6.0.0",
158
- "intelephense": "1.16.3",
159
- "js-yaml": "^4.1.1",
160
- "lodash-es": "^4.17.21",
161
- "lru-cache": "^11.1.0",
162
- "marked": "^15.0.12",
163
- "minimatch": "^10.1.1",
164
- "nanoid": "^5.1.5",
165
- "node-html-parser": "^7.0.1",
166
- "openai": "4.104.0",
167
- "pptxgenjs": "4.0.1",
168
- "pyright": "1.1.408",
169
- "react": "18.3.1",
170
- "semver": "^7.7.2",
171
- "shell-quote": "1.8.3",
172
- "spawn-rx": "^5.1.2",
173
- "sqlite-vec": "0.1.9",
174
- "string-width": "^7.2.0",
175
- "strip-ansi": "^7.1.0",
176
- "svelte-language-server": "0.17.23",
177
- "tree-kill": "1.2.2",
178
- "tsx": "^4.20.3",
179
- "typescript-language-server": "5.1.3",
180
- "undici": "^7.11.0",
181
- "vscode-jsonrpc": "8.2.1",
182
- "vscode-langservers-extracted": "4.10.0",
183
- "web-tree-sitter": "0.25.10",
184
- "which": "^6.0.0",
185
- "wrap-ansi": "^9.0.0",
186
- "yaml-language-server": "1.19.2",
187
- "zod": "^4.3.6"
188
- },
189
- "devDependencies": {
190
- "@alcalzone/ansi-tokenize": "0.3.0",
191
- "@types/bun": "1.3.14",
192
- "@types/jest": "^30.0.0",
193
- "@types/node": "^24.1.0",
194
- "@types/which": "^3.0.4",
195
- "@typescript-eslint/eslint-plugin": "^8.50.1",
196
- "@typescript-eslint/parser": "^8.50.1",
197
- "abort-controller": "3.0.0",
198
- "bun-types": "1.3.14",
199
- "cheerio": "1.1.2",
200
- "esbuild": "^0.25.9",
201
- "eslint": "8.57.0",
202
- "eslint-plugin-react-hooks": "^7.0.1",
203
- "ink-testing-library": "4.0.0",
204
- "node-fetch": "3.3.2",
205
- "prettier": "^3.6.2",
206
- "react-devtools-core": "^7.0.1",
207
- "tree-sitter-bash": "0.25.1",
208
- "tree-sitter-c-sharp": "0.23.1",
209
- "tree-sitter-clojure": "0.4.0",
210
- "tree-sitter-cpp": "0.23.4",
211
- "tree-sitter-go": "0.25.0",
212
- "tree-sitter-haskell": "0.23.1",
213
- "tree-sitter-java": "0.23.5",
214
- "tree-sitter-julia": "0.23.1",
215
- "tree-sitter-nix": "0.0.2",
216
- "tree-sitter-ocaml": "0.24.2",
217
- "tree-sitter-python": "0.25.0",
218
- "tree-sitter-rust": "0.24.0",
219
- "tree-sitter-scala": "0.24.0",
220
- "tree-sitter-swift": "0.7.1",
221
- "tree-sitter-typescript": "0.23.2",
222
- "turndown": "7.2.2",
223
- "typescript": "^5.9.2",
224
- "uuid": "^9.0.1"
225
- },
226
- "overrides": {
227
- "@aws-sdk/client-bedrock-runtime": "3.797.0",
228
- "@smithy/smithy-client": "2.5.1",
229
- "parse5-htmlparser2-tree-adapter": "6.0.1"
230
- },
231
- "optionalDependencies": {
232
- "@puyib-cli/lock-darwin-arm64": "1.4.55",
233
- "@puyib-cli/lock-darwin-x64": "1.4.55",
234
- "@puyib-cli/lock-linux-arm64-gnu": "1.4.55",
235
- "@puyib-cli/lock-linux-armv7-gnueabihf": "1.4.55",
236
- "@puyib-cli/lock-linux-x64-gnu": "1.4.55",
237
- "@puyib-cli/lock-linux-x64-musl": "1.4.55",
238
- "@puyib-cli/lock-win32-arm64-msvc": "1.4.55",
239
- "@puyib-cli/lock-win32-x64-msvc": "1.4.55",
240
- "pyb-runtime-darwin-arm64": "1.5.288",
241
- "pyb-runtime-darwin-x64": "1.5.288",
242
- "pyb-runtime-linux-arm64-gnu": "1.5.288",
243
- "pyb-runtime-linux-armv7-gnueabihf": "1.5.288",
244
- "pyb-runtime-linux-x64-gnu": "1.5.288",
245
- "pyb-runtime-linux-x64-musl": "1.5.288",
246
- "pyb-runtime-win32-arm64-msvc": "1.5.288",
247
- "pyb-runtime-win32-x64-msvc": "1.5.288"
248
- },
249
- "pybRuntimePlatforms": [
250
- "win32-x64-msvc",
251
- "win32-arm64-msvc",
252
- "linux-x64-gnu",
253
- "linux-x64-musl",
254
- "linux-arm64-gnu",
255
- "linux-armv7-gnueabihf",
256
- "darwin-x64",
257
- "darwin-arm64"
258
- ],
259
- "pybRuntimeBundledNodeModules": {},
260
- "pybNativeLockPlatforms": [
261
- "win32-x64-msvc",
262
- "win32-arm64-msvc",
263
- "linux-x64-gnu",
264
- "linux-x64-musl",
265
- "linux-arm64-gnu",
266
- "linux-armv7-gnueabihf",
267
- "darwin-x64",
268
- "darwin-arm64"
269
- ]
270
- }
1
+ {
2
+ "name": "pybao-xc-sdk",
3
+ "version": "1.5.289",
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:all": "bun test",
76
+ "test:unit": "bun test --preload ./tests/setup/native-lock-test-setup.ts tests/unit && node scripts/assert-project-identity-boundary.mjs",
77
+ "test:integration": "bun test tests/integration",
78
+ "test:e2e": "bun test tests/e2e",
79
+ "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",
80
+ "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",
81
+ "gate:runtime-assets": "bun run scripts/runtime-assets-gate-check.mjs",
82
+ "preflight:runtime-assets": "node scripts/runtime-assets-preflight.mjs",
83
+ "verify:runtime-assets": "node scripts/runtime-assets-verify.mjs",
84
+ "validate:runtime-assets-contract": "node scripts/runtime-assets-schema-validate.mjs",
85
+ "gate:runtime-assets-threshold": "node scripts/runtime-assets-threshold-gate.mjs",
86
+ "gate:runtime-assets-trend-store": "node scripts/runtime-assets-trend-store.mjs",
87
+ "gate:runtime-assets-trend": "node scripts/runtime-assets-trend-gate.mjs",
88
+ "report:runtime-assets-trend": "node scripts/runtime-assets-trend-report.mjs",
89
+ "gate:model-platform-closeout": "node scripts/model-platform-closeout-gate.mjs",
90
+ "gate:typed-compat-retirement": "node scripts/typed-compat-retirement-gate.mjs",
91
+ "gate:query-adapter-boundary": "node scripts/query-adapter-boundary-gate.mjs",
92
+ "gate:session-contract": "node scripts/session-contract-gate.mjs",
93
+ "gate:session-behavior-invariant": "node scripts/session-behavior-invariant-gate.mjs",
94
+ "gate:session-project": "node scripts/session-project-gate.mjs",
95
+ "gate:protected-tool-names": "node scripts/protected-tool-names-gate.mjs",
96
+ "gate:lsp-semantic-unknown-ratio": "node scripts/lsp-semantic-unknown-ratio-gate.mjs",
97
+ "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",
98
+ "gate:tool-name-a0-baseline": "node scripts/tool-name-a0-baseline-gate.mjs",
99
+ "gate:lsp-a2prime-behavior-invariant": "node scripts/lsp-a2prime-behavior-invariant-gate.mjs --mode run",
100
+ "plan:typed-compat-retirement": "node scripts/typed-compat-retirement-plan.mjs",
101
+ "enforce:typed-compat-retirement": "node scripts/typed-compat-retirement-enforce.mjs",
102
+ "gate:typed-sql-release": "node scripts/typed-sql-release-gate.mjs",
103
+ "gate:typed-sql-schema": "node scripts/typed-sql-schema-guard.mjs",
104
+ "smoke:typed-sql-install": "node scripts/typed-sql-install-smoke.mjs",
105
+ "gate:typed-sql-no-fallback": "node scripts/typed-sql-no-fallback-gate.mjs",
106
+ "benchmark:typed-part-baseline": "bun scripts/typed-part-baseline-benchmark.mjs",
107
+ "gate:typed-part-performance": "node scripts/typed-part-performance-gate.mjs",
108
+ "typecheck": "tsc --noEmit",
109
+ "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",
110
+ "prepare": "bun run scripts/install-hooks.mjs",
111
+ "sync:native-lock": "node scripts/sync-native-lock-versions.mjs",
112
+ "sync:sharp-resources": "node scripts/sync-sharp-resources.mjs",
113
+ "sync:runtime-package-metadata": "bun scripts/sync-runtime-package-metadata.mjs",
114
+ "publish:native-lock": "node scripts/publish-native-lock.mjs",
115
+ "verify:native-lock": "node scripts/verify-native-lock.mjs",
116
+ "publish:dev": "bun run scripts/publish-dev.js",
117
+ "publish:release": "bun run scripts/publish-release.js",
118
+ "test:identity": "node scripts/assert-project-identity-boundary.mjs"
119
+ },
120
+ "dependencies": {
121
+ "@anthropic-ai/bedrock-sdk": "^0.12.6",
122
+ "@anthropic-ai/sdk": "^0.39.0",
123
+ "@anthropic-ai/vertex-sdk": "^0.7.0",
124
+ "@astrojs/language-server": "2.16.2",
125
+ "@aws-sdk/client-bedrock-runtime": "3.797.0",
126
+ "@commander-js/extra-typings": "^13.1.0",
127
+ "@inkjs/ui": "^2.0.0",
128
+ "@modelcontextprotocol/sdk": "^1.15.1",
129
+ "@prisma/language-server": "31.3.4",
130
+ "@types/lodash-es": "^4.17.12",
131
+ "@types/react": "^19.1.8",
132
+ "@vscode/ripgrep": "^1.17.0",
133
+ "@vue/language-server": "3.2.2",
134
+ "ajv": "^8.17.1",
135
+ "ansi-escapes": "^7.0.0",
136
+ "bash-language-server": "5.6.0",
137
+ "chalk": "^5.4.1",
138
+ "cli-highlight": "^2.1.11",
139
+ "cli-table3": "^0.6.5",
140
+ "commander": "^13.1.0",
141
+ "debug": "^4.4.1",
142
+ "diff": "^8.0.4",
143
+ "dockerfile-language-server-nodejs": "0.15.0",
144
+ "dotenv": "^16.6.1",
145
+ "env-paths": "^3.0.0",
146
+ "fflate": "^0.8.2",
147
+ "figures": "^6.1.0",
148
+ "glob": "^11.0.3",
149
+ "graphql-language-service-cli": "3.5.0",
150
+ "gray-matter": "^4.0.3",
151
+ "highlight.js": "^11.11.1",
152
+ "hono": "4.12.32",
153
+ "ignore": "^7.0.5",
154
+ "ink": "5.2.1",
155
+ "ink-link": "^4.1.0",
156
+ "ink-select-input": "^6.2.0",
157
+ "ink-text-input": "^6.0.0",
158
+ "intelephense": "1.16.3",
159
+ "js-yaml": "^4.1.1",
160
+ "lodash-es": "^4.17.21",
161
+ "lru-cache": "^11.1.0",
162
+ "marked": "^15.0.12",
163
+ "minimatch": "^10.1.1",
164
+ "nanoid": "^5.1.5",
165
+ "node-html-parser": "^7.0.1",
166
+ "openai": "4.104.0",
167
+ "pptxgenjs": "4.0.1",
168
+ "pyright": "1.1.408",
169
+ "react": "18.3.1",
170
+ "semver": "^7.7.2",
171
+ "shell-quote": "1.8.3",
172
+ "spawn-rx": "^5.1.2",
173
+ "sqlite-vec": "0.1.9",
174
+ "string-width": "^7.2.0",
175
+ "strip-ansi": "^7.1.0",
176
+ "svelte-language-server": "0.17.23",
177
+ "tree-kill": "1.2.2",
178
+ "tsx": "^4.20.3",
179
+ "typescript-language-server": "5.1.3",
180
+ "undici": "^7.11.0",
181
+ "vscode-jsonrpc": "8.2.1",
182
+ "vscode-langservers-extracted": "4.10.0",
183
+ "web-tree-sitter": "0.25.10",
184
+ "which": "^6.0.0",
185
+ "wrap-ansi": "^9.0.0",
186
+ "yaml-language-server": "1.19.2",
187
+ "zod": "^4.3.6"
188
+ },
189
+ "devDependencies": {
190
+ "@alcalzone/ansi-tokenize": "0.3.0",
191
+ "@types/bun": "1.3.14",
192
+ "@types/jest": "^30.0.0",
193
+ "@types/node": "^24.1.0",
194
+ "@types/which": "^3.0.4",
195
+ "@typescript-eslint/eslint-plugin": "^8.50.1",
196
+ "@typescript-eslint/parser": "^8.50.1",
197
+ "abort-controller": "3.0.0",
198
+ "bun-types": "1.3.14",
199
+ "cheerio": "1.1.2",
200
+ "esbuild": "^0.25.9",
201
+ "eslint": "8.57.0",
202
+ "eslint-plugin-react-hooks": "^7.0.1",
203
+ "ink-testing-library": "4.0.0",
204
+ "node-fetch": "3.3.2",
205
+ "prettier": "^3.6.2",
206
+ "react-devtools-core": "^7.0.1",
207
+ "tree-sitter-bash": "0.25.1",
208
+ "tree-sitter-c-sharp": "0.23.1",
209
+ "tree-sitter-clojure": "0.4.0",
210
+ "tree-sitter-cpp": "0.23.4",
211
+ "tree-sitter-go": "0.25.0",
212
+ "tree-sitter-haskell": "0.23.1",
213
+ "tree-sitter-java": "0.23.5",
214
+ "tree-sitter-julia": "0.23.1",
215
+ "tree-sitter-nix": "0.0.2",
216
+ "tree-sitter-ocaml": "0.24.2",
217
+ "tree-sitter-python": "0.25.0",
218
+ "tree-sitter-rust": "0.24.0",
219
+ "tree-sitter-scala": "0.24.0",
220
+ "tree-sitter-swift": "0.7.1",
221
+ "tree-sitter-typescript": "0.23.2",
222
+ "turndown": "7.2.2",
223
+ "typescript": "^5.9.2",
224
+ "uuid": "^9.0.1"
225
+ },
226
+ "overrides": {
227
+ "@aws-sdk/client-bedrock-runtime": "3.797.0",
228
+ "@smithy/smithy-client": "2.5.1",
229
+ "parse5-htmlparser2-tree-adapter": "6.0.1"
230
+ },
231
+ "optionalDependencies": {
232
+ "@puyib-cli/lock-darwin-arm64": "1.4.55",
233
+ "@puyib-cli/lock-darwin-x64": "1.4.55",
234
+ "@puyib-cli/lock-linux-arm64-gnu": "1.4.55",
235
+ "@puyib-cli/lock-linux-armv7-gnueabihf": "1.4.55",
236
+ "@puyib-cli/lock-linux-x64-gnu": "1.4.55",
237
+ "@puyib-cli/lock-linux-x64-musl": "1.4.55",
238
+ "@puyib-cli/lock-win32-arm64-msvc": "1.4.55",
239
+ "@puyib-cli/lock-win32-x64-msvc": "1.4.55",
240
+ "pyb-runtime-darwin-arm64": "1.5.289",
241
+ "pyb-runtime-darwin-x64": "1.5.289",
242
+ "pyb-runtime-linux-arm64-gnu": "1.5.289",
243
+ "pyb-runtime-linux-armv7-gnueabihf": "1.5.289",
244
+ "pyb-runtime-linux-x64-gnu": "1.5.289",
245
+ "pyb-runtime-linux-x64-musl": "1.5.289",
246
+ "pyb-runtime-win32-arm64-msvc": "1.5.289",
247
+ "pyb-runtime-win32-x64-msvc": "1.5.289"
248
+ },
249
+ "pybRuntimePlatforms": [
250
+ "win32-x64-msvc",
251
+ "win32-arm64-msvc",
252
+ "linux-x64-gnu",
253
+ "linux-x64-musl",
254
+ "linux-arm64-gnu",
255
+ "linux-armv7-gnueabihf",
256
+ "darwin-x64",
257
+ "darwin-arm64"
258
+ ],
259
+ "pybRuntimeBundledNodeModules": {},
260
+ "pybNativeLockPlatforms": [
261
+ "win32-x64-msvc",
262
+ "win32-arm64-msvc",
263
+ "linux-x64-gnu",
264
+ "linux-x64-musl",
265
+ "linux-arm64-gnu",
266
+ "linux-armv7-gnueabihf",
267
+ "darwin-x64",
268
+ "darwin-arm64"
269
+ ]
270
+ }