pybao-xc-sdk 1.5.201 → 1.5.202

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