Vendor all 4 Pi packages (tui, ai, agent-core, coding-agent) from pi-mono v0.57.1 as @gsd/* workspace packages under packages/. This replaces the compiled npm dependency (@mariozechner/pi-coding-agent) and patch-package workflow, giving direct source access for modifications. - Copy Pi source from pi-mono v0.57.1 into packages/ - Create workspace package.json + tsconfig.json for each package - Rename ~240 imports from @mariozechner/pi-* to @gsd/pi-* - Apply existing patches as source edits (setModel persist, VT input) - Remove @mariozechner/pi-coding-agent dep and patch-package - Update build pipeline to build packages in dependency order - Add pi-upstream git remote for future selective syncing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
1,002 B
JSON
40 lines
1,002 B
JSON
{
|
|
"name": "@gsd/pi-ai",
|
|
"version": "0.57.1",
|
|
"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",
|
|
"@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",
|
|
"partial-json": "^0.1.7",
|
|
"proxy-agent": "^6.5.0",
|
|
"undici": "^7.19.1",
|
|
"zod-to-json-schema": "^3.24.6"
|
|
}
|
|
}
|