chore: migrate to pi 0.69 typebox

This commit is contained in:
Erik Kotsiuba
2026-04-23 16:11:59 +02:00
parent 5d7ccc8ce2
commit 723508f7ef
3 changed files with 52 additions and 65 deletions
+8 -8
View File
@@ -79,21 +79,21 @@
"peerDependencies": {
"@mariozechner/pi-coding-agent": "*",
"@mariozechner/pi-tui": "*",
"@sinclair/typebox": "*"
"typebox": "*"
},
"devDependencies": {
"@biomejs/biome": "2.4.12",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@mariozechner/pi-coding-agent": "0.67.3",
"@mariozechner/pi-tui": "0.67.3",
"@mariozechner/pi-coding-agent": "0.69.0",
"@mariozechner/pi-tui": "0.69.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.6",
"@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.0",
"@sinclair/typebox": "0.34.49",
"typebox": "1.1.32",
"@types/node": "25.6.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
@@ -109,10 +109,10 @@
},
"pnpm": {
"overrides": {
"@mariozechner/pi-agent-core": "0.67.3",
"@mariozechner/pi-ai": "0.67.3",
"@mariozechner/pi-tui": "0.67.3",
"@mariozechner/pi-coding-agent": "0.67.3"
"@mariozechner/pi-agent-core": "0.69.0",
"@mariozechner/pi-ai": "0.69.0",
"@mariozechner/pi-tui": "0.69.0",
"@mariozechner/pi-coding-agent": "0.69.0"
},
"ignoredBuiltDependencies": [
"lefthook"
+43 -56
View File
@@ -5,10 +5,10 @@ settings:
excludeLinksFromLockfile: false
overrides:
'@mariozechner/pi-agent-core': 0.67.3
'@mariozechner/pi-ai': 0.67.3
'@mariozechner/pi-tui': 0.67.3
'@mariozechner/pi-coding-agent': 0.67.3
'@mariozechner/pi-agent-core': 0.69.0
'@mariozechner/pi-ai': 0.69.0
'@mariozechner/pi-tui': 0.69.0
'@mariozechner/pi-coding-agent': 0.69.0
importers:
@@ -24,11 +24,11 @@ importers:
specifier: ^19.8.1
version: 19.8.1
'@mariozechner/pi-coding-agent':
specifier: 0.67.3
version: 0.67.3(ws@8.20.0)(zod@4.3.6)
specifier: 0.69.0
version: 0.69.0(ws@8.20.0)(zod@4.3.6)
'@mariozechner/pi-tui':
specifier: 0.67.3
version: 0.67.3
specifier: 0.69.0
version: 0.69.0
'@semantic-release/changelog':
specifier: ^6.0.3
version: 6.0.3(semantic-release@25.0.3(typescript@6.0.2))
@@ -47,9 +47,6 @@ importers:
'@semantic-release/release-notes-generator':
specifier: ^14.1.0
version: 14.1.0(semantic-release@25.0.3(typescript@6.0.2))
'@sinclair/typebox':
specifier: 0.34.49
version: 0.34.49
'@types/node':
specifier: 25.6.0
version: 25.6.0
@@ -65,6 +62,9 @@ importers:
semantic-release:
specifier: ^25.0.3
version: 25.0.3(typescript@6.0.2)
typebox:
specifier: 1.1.32
version: 1.1.32
typescript:
specifier: 6.0.2
version: 6.0.2
@@ -86,8 +86,8 @@ packages:
'@actions/io@3.0.2':
resolution: {integrity: sha512-nRBchcMM+QK1pdjO7/idu86rbJI5YHUKCvKs0KxnSYbVe3F51UfGxuZX4Qy/fWlp6l7gWFwIkrOzN+oUK03kfw==}
'@anthropic-ai/sdk@0.73.0':
resolution: {integrity: sha512-URURVzhxXGJDGUGFunIOtBlSl7KWvZiAAKY/ttTkZAkXT9bTPqdk2eK0b8qqSxXpikh3QKPnPYpiyX98zf5ebw==}
'@anthropic-ai/sdk@0.90.0':
resolution: {integrity: sha512-MzZtPabJF1b0FTDl6Z6H5ljphPwACLGP13lu8MTiB8jXaW/YXlpOp+Po2cVou3MPM5+f5toyLnul9whKCy7fBg==}
hasBin: true
peerDependencies:
zod: ^3.25.0 || ^4.0.0
@@ -484,26 +484,26 @@ packages:
resolution: {integrity: sha512-faGUlTcXka5l7rv0lP3K3vGW/ejRuOS24RR2aSFWREUQqzjgdsuWNo/IiPqL3kWRGt6Ahl2+qcDAwtdeWeuGUw==}
hasBin: true
'@mariozechner/pi-agent-core@0.67.3':
resolution: {integrity: sha512-dtbqKkEl5Att6+Au9zr0FL8x0Ieqwty0YAzE73eKEcDVTY8EUHxpixucXol9dwRAOmUPCbNVXolTfH5SPrNZbw==}
'@mariozechner/pi-agent-core@0.69.0':
resolution: {integrity: sha512-dYZjee7QEIwVVbDGCGriiLjDT34IdMlXMjMp4drVKcLEuVc+BztyODwu3w4ZORVvwaySGGlF9UALjJKUVoXiug==}
engines: {node: '>=20.0.0'}
'@mariozechner/pi-ai@0.67.3':
resolution: {integrity: sha512-0GDT2osCfBPYKffaeEzGmrDKGCAF2QQ2eqTGGE5akhBvw1fSA3TYjOCQyLPgzWz3ZHUzZwb6EQ5Yb1Bn3H14CQ==}
'@mariozechner/pi-ai@0.69.0':
resolution: {integrity: sha512-bl838sr57zx/apkiTeNPFQgbBkGXN4HHhm2oghzSRohJIBrR+H001bTeco7Osuke+EZTxO3V5Aev2qlZdUa2xw==}
engines: {node: '>=20.0.0'}
hasBin: true
'@mariozechner/pi-coding-agent@0.67.3':
resolution: {integrity: sha512-0bZYeMkQLq2iWobCGoVAF0QrWum5lsnHmMubu4o/NE0OYRyQes3hAN8WaRVuPdZJOA12JAB6wE37F4ZRLiK9CQ==}
'@mariozechner/pi-coding-agent@0.69.0':
resolution: {integrity: sha512-/EFn43RO2TtMgZI4fMXNepIvbWm2GqhhaLIHBkrO7tRbRCzgvDYkw9sMLKhdf1Ihom2CjC3T/fzQRIPasRSIrQ==}
engines: {node: '>=20.6.0'}
hasBin: true
'@mariozechner/pi-tui@0.67.3':
resolution: {integrity: sha512-Nq6C50kU9DEQdbc/QDXo+m3NkTedU/iyUpABtecNDLpVBrW56m6yO8HNEM0c96HOBfGrjqE7BIv1inWokKVNEw==}
'@mariozechner/pi-tui@0.69.0':
resolution: {integrity: sha512-/82SOMzCA1srivwfcSO8r9XLdAgJNcgpWzNZY33IqqvGev8Q4iWY/hA1wAkLB0l7PKJJ4Dh57xS4IGHbyVM7lA==}
engines: {node: '>=20.0.0'}
'@mistralai/mistralai@1.14.1':
resolution: {integrity: sha512-IiLmmZFCCTReQgPAT33r7KQ1nYo5JPdvGkrkZqA8qQ2qB1GHgs5LoP5K2ICyrjnpw2n8oSxMM/VP+liiKcGNlQ==}
'@mistralai/mistralai@2.2.1':
resolution: {integrity: sha512-uKU8CZmL2RzYKmplsU01hii4p3pe4HqJefpWNRWXm1Tcm0Sm4xXfwSLIy4k7ZCPlbETCGcp69E7hZs+WOJ5itQ==}
'@octokit/auth-token@6.0.0':
resolution: {integrity: sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==}
@@ -649,9 +649,6 @@ packages:
resolution: {integrity: sha512-KxXvfapcixpz6rVEB6HPjOUZT22yN6v0vI0urQSk1L8MlEWPDFCZkhw2xmkyoTGYeFw7tWTZd7e3lVzRZRN/EA==}
engines: {node: '>=18'}
'@sinclair/typebox@0.34.49':
resolution: {integrity: sha512-brySQQs7Jtn0joV8Xh9ZV/hZb9Ozb0pmazDIASBkYKCjXrXU3mpcFahmK/z4YDhGkQvP9mWJbVyahdtU5wQA+A==}
'@sindresorhus/is@4.6.0':
resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==}
engines: {node: '>=10'}
@@ -892,14 +889,6 @@ packages:
resolution: {integrity: sha512-gOsf2YwSlleG6IjRYG2A7k0HmBMEo6qVNk9Bp/EaLgAJT5ngH6PXbqa4ItvnEwCm/velL5jAnQgsHsWnjhGmvw==}
engines: {node: '>=18'}
ajv-formats@3.0.1:
resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==}
peerDependencies:
ajv: ^8.0.0
peerDependenciesMeta:
ajv:
optional: true
ajv@8.18.0:
resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==}
@@ -2638,6 +2627,9 @@ packages:
resolution: {integrity: sha512-8ZiHFm91orbSAe2PSAiSVBVko18pbhbiB3U9GglSzF/zCGkR+rxpHx6sEMCUm4kxY4LjDIUGgCfUMtwfZfjfUA==}
engines: {node: '>=20'}
typebox@1.1.32:
resolution: {integrity: sha512-cbGoj7BCxGcFDJ/RR7wbyMe9IkO2SeNhwLdZWQ+xRtun9+ze9iM1pBND4SoFAxgonuJYrCIWnEQ7sE4bMVDYHA==}
typescript@6.0.2:
resolution: {integrity: sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==}
engines: {node: '>=14.17'}
@@ -2839,7 +2831,7 @@ snapshots:
'@actions/io@3.0.2': {}
'@anthropic-ai/sdk@0.73.0(zod@4.3.6)':
'@anthropic-ai/sdk@0.90.0(zod@4.3.6)':
dependencies:
json-schema-to-ts: 3.1.1
optionalDependencies:
@@ -3506,9 +3498,10 @@ snapshots:
std-env: 3.10.0
yoctocolors: 2.1.2
'@mariozechner/pi-agent-core@0.67.3(ws@8.20.0)(zod@4.3.6)':
'@mariozechner/pi-agent-core@0.69.0(ws@8.20.0)(zod@4.3.6)':
dependencies:
'@mariozechner/pi-ai': 0.67.3(ws@8.20.0)(zod@4.3.6)
'@mariozechner/pi-ai': 0.69.0(ws@8.20.0)(zod@4.3.6)
typebox: 1.1.32
transitivePeerDependencies:
- '@modelcontextprotocol/sdk'
- aws-crt
@@ -3518,19 +3511,17 @@ snapshots:
- ws
- zod
'@mariozechner/pi-ai@0.67.3(ws@8.20.0)(zod@4.3.6)':
'@mariozechner/pi-ai@0.69.0(ws@8.20.0)(zod@4.3.6)':
dependencies:
'@anthropic-ai/sdk': 0.73.0(zod@4.3.6)
'@anthropic-ai/sdk': 0.90.0(zod@4.3.6)
'@aws-sdk/client-bedrock-runtime': 3.1030.0
'@google/genai': 1.50.1
'@mistralai/mistralai': 1.14.1
'@sinclair/typebox': 0.34.49
ajv: 8.18.0
ajv-formats: 3.0.1(ajv@8.18.0)
'@mistralai/mistralai': 2.2.1
chalk: 5.6.2
openai: 6.26.0(ws@8.20.0)(zod@4.3.6)
partial-json: 0.1.7
proxy-agent: 6.5.0
typebox: 1.1.32
undici: 7.25.0
zod-to-json-schema: 3.25.2(zod@4.3.6)
transitivePeerDependencies:
@@ -3542,14 +3533,13 @@ snapshots:
- ws
- zod
'@mariozechner/pi-coding-agent@0.67.3(ws@8.20.0)(zod@4.3.6)':
'@mariozechner/pi-coding-agent@0.69.0(ws@8.20.0)(zod@4.3.6)':
dependencies:
'@mariozechner/jiti': 2.6.5
'@mariozechner/pi-agent-core': 0.67.3(ws@8.20.0)(zod@4.3.6)
'@mariozechner/pi-ai': 0.67.3(ws@8.20.0)(zod@4.3.6)
'@mariozechner/pi-tui': 0.67.3
'@mariozechner/pi-agent-core': 0.69.0(ws@8.20.0)(zod@4.3.6)
'@mariozechner/pi-ai': 0.69.0(ws@8.20.0)(zod@4.3.6)
'@mariozechner/pi-tui': 0.69.0
'@silvia-odwyer/photon-node': 0.3.4
ajv: 8.18.0
chalk: 5.6.2
cli-highlight: 2.1.11
diff: 8.0.4
@@ -3562,6 +3552,7 @@ snapshots:
minimatch: 10.2.5
proper-lockfile: 4.1.2
strip-ansi: 7.2.0
typebox: 1.1.32
undici: 7.25.0
uuid: 11.1.0
yaml: 2.8.3
@@ -3576,7 +3567,7 @@ snapshots:
- ws
- zod
'@mariozechner/pi-tui@0.67.3':
'@mariozechner/pi-tui@0.69.0':
dependencies:
'@types/mime-types': 2.1.4
chalk: 5.6.2
@@ -3586,7 +3577,7 @@ snapshots:
optionalDependencies:
koffi: 2.16.0
'@mistralai/mistralai@1.14.1':
'@mistralai/mistralai@2.2.1':
dependencies:
ws: 8.20.0
zod: 4.3.6
@@ -3794,8 +3785,6 @@ snapshots:
'@simple-libs/stream-utils@1.2.0': {}
'@sinclair/typebox@0.34.49': {}
'@sindresorhus/is@4.6.0': {}
'@sindresorhus/merge-streams@4.0.0': {}
@@ -4147,10 +4136,6 @@ snapshots:
clean-stack: 5.3.0
indent-string: 5.0.0
ajv-formats@3.0.1(ajv@8.18.0):
optionalDependencies:
ajv: 8.18.0
ajv@8.18.0:
dependencies:
fast-deep-equal: 3.1.3
@@ -5811,6 +5796,8 @@ snapshots:
dependencies:
tagged-tag: 1.0.0
typebox@1.1.32: {}
typescript@6.0.2: {}
uglify-js@3.19.3:
+1 -1
View File
@@ -1,4 +1,4 @@
import { Type } from "@sinclair/typebox";
import { Type } from "typebox";
export const AskOptionSchema = Type.Object({
value: Type.String({