Two bugs were causing version drift across the repo:
1. Root package.json was silently reverted from 2.74.0 → 2.73.1 during
commit b03c9401c (a CI optimization rebase). Tag v2.74.0 is already
published on npm, so the next release would have computed 2.73.2 —
lower than what's already out — and shipped a broken version.
2. scripts/bump-version.mjs only touches pi-coding-agent + pkg + native
platform shims. Other workspace packages drift independently:
- @gsd-build/mcp-server: stuck at 2.52.0 (22 minor versions behind)
- @gsd-build/rpc-client: stuck at 2.52.0
- @gsd/pi-ai, pi-tui, pi-agent-core: stuck at 0.57.1
- @gsd/native, @gsd-build/daemon: stuck at 0.1.0
Changes:
- Bump all non-private workspace packages to 2.74.0 to match the latest
release tag. Update daemon + mcp-server's internal rpc-client dep
from ^2.52.0 → ^2.74.0. Regenerate root lockfile.
- scripts/generate-changelog.mjs: compute newVersion from max(latest
stable tag, package.json) instead of package.json alone. Prevents
version regressions when package.json is accidentally clobbered by
rebases or merges.
- scripts/bump-version.mjs: extend to sync all eight non-private
workspace packages (daemon, mcp-server, native, pi-agent-core, pi-ai,
pi-coding-agent, pi-tui, rpc-client) including their internal deps
on each other. Private packages (studio, web) are left alone.
Studio and web remain on their own versioning (private: true, never
published). The native platform shims under native/npm/* are still
synced via native/scripts/sync-platform-versions.cjs from the root
version as before.
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "@gsd/pi-ai",
|
|
"version": "2.74.0",
|
|
"description": "Unified LLM API (vendored from pi-mono)",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./oauth": {
|
|
"types": "./dist/oauth.d.ts",
|
|
"import": "./dist/oauth.js"
|
|
},
|
|
"./bedrock-provider": {
|
|
"types": "./bedrock-provider.d.ts",
|
|
"import": "./bedrock-provider.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.73.0",
|
|
"@anthropic-ai/vertex-sdk": "^0.14.4",
|
|
"@aws-sdk/client-bedrock-runtime": "^3.983.0",
|
|
"@google/genai": "^1.40.0",
|
|
"@mistralai/mistralai": "^1.14.1",
|
|
"@sinclair/typebox": "^0.34.41",
|
|
"ajv": "^8.17.1",
|
|
"ajv-formats": "^3.0.1",
|
|
"chalk": "^5.6.2",
|
|
"openai": "^6.26.0",
|
|
"proxy-agent": "^6.5.0",
|
|
"undici": "^7.24.2",
|
|
"zod-to-json-schema": "^3.24.6"
|
|
},
|
|
"devDependencies": {
|
|
"@smithy/node-http-handler": "^4.5.0"
|
|
}
|
|
}
|