fix(deps): pin @mariozechner/pi-ai and pi-agent-core to 0.67.1

Users on slow npm mirrors (taobao/cnpm/etc.) hit
'No matching version found for @mariozechner/pi-ai@^0.67.4' when
running 'npm install -g @actalk/inkos@latest'. The caret range in
inkos-core ('^0.67.1') resolves to pi-agent-core@0.67.4, whose own
package.json tightens pi-ai to '^0.67.4'. If the mirror has not yet
synced pi-ai@0.67.4, the install breaks.

Add npm 'overrides' to packages/cli/package.json (the published root)
and pnpm.overrides to the workspace root so both end-user installs
and local dev pin to a known-good version. Bumping pi-mono now
becomes a deliberate edit rather than an automatic, mirror-dependent
upgrade.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
fanghanjun 2026-04-16 10:19:13 -07:00
parent 52250539db
commit bb51987f87
3 changed files with 16 additions and 2 deletions

View file

@ -32,5 +32,11 @@
"engines": {
"node": ">=20.0.0",
"pnpm": ">=9.0.0"
},
"pnpm": {
"overrides": {
"@mariozechner/pi-ai": "0.67.1",
"@mariozechner/pi-agent-core": "0.67.1"
}
}
}

View file

@ -61,5 +61,9 @@
"ink-testing-library": "^4.0.0",
"typescript": "^5.8.0",
"vitest": "^3.0.0"
},
"overrides": {
"@mariozechner/pi-ai": "0.67.1",
"@mariozechner/pi-agent-core": "0.67.1"
}
}

View file

@ -4,6 +4,10 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
overrides:
'@mariozechner/pi-ai': 0.67.1
'@mariozechner/pi-agent-core': 0.67.1
importers:
.: {}
@ -63,10 +67,10 @@ importers:
packages/core:
dependencies:
'@mariozechner/pi-agent-core':
specifier: ^0.67.1
specifier: 0.67.1
version: 0.67.1(@modelcontextprotocol/sdk@1.29.0(zod@3.25.76))(ws@8.20.0)(zod@3.25.76)
'@mariozechner/pi-ai':
specifier: ^0.67.1
specifier: 0.67.1
version: 0.67.1(@modelcontextprotocol/sdk@1.29.0(zod@3.25.76))(ws@8.20.0)(zod@3.25.76)
'@sinclair/typebox':
specifier: ^0.34.49