chore: upgrade pi dependencies from @mariozechner 0.72.0 to @earendil-works 0.75.5

pi 0.75.5 renamed the npm namespace from @mariozechner/ to @earendil-works/.
Importing from the old namespace causes 'fetch failed' errors at startup.

Changes:
- index.ts: @mariozechner/pi-ai → @earendil-works/pi-ai
- index.ts: @mariozechner/pi-coding-agent → @earendil-works/pi-coding-agent
- package.json: bump deps from 0.72.0 to 0.75.5
- package-lock.json: regenerated with new packages (242 deps)
- tsc --noEmit: zero errors
This commit is contained in:
Fei Yan
2026-05-27 19:48:55 +08:00
parent 93864879b2
commit 96c452eefd
3 changed files with 2196 additions and 2668 deletions
+2 -2
View File
@@ -12,8 +12,8 @@
* Models are fetched from Command Code's Provider API at startup.
*/
import { calculateCost, createAssistantMessageEventStream } from "@mariozechner/pi-ai"
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent"
import { calculateCost, createAssistantMessageEventStream } from "@earendil-works/pi-ai"
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"
import { COMMAND_CODE_CLI_VERSION, createStreamCommandCode, DEFAULT_API_BASE } from "./src/core.ts"
import { DEFAULT_MODELS_URL, fetchCommandCodeModels } from "./src/models.ts"
+2192 -2664
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -47,13 +47,13 @@
]
},
"devDependencies": {
"@mariozechner/pi-coding-agent": "0.72.0",
"@earendil-works/pi-coding-agent": "0.75.5",
"@types/node": "25.6.0",
"prettier": "^3.5.0",
"tsx": "4.21.0",
"typescript": "6.0.3"
},
"dependencies": {
"@mariozechner/pi-ai": "0.72.0"
"@earendil-works/pi-ai": "0.75.5"
}
}