pi-io-provider 1.1.59 → 1.1.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/update-models.yml +60 -0
- package/README.md +22 -22
- package/models.json +66 -66
- package/package.json +7 -3
- package/scripts/test-pi-compat.mjs +4 -4
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
name: Update models
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: "7 0 * * *" # 07:07 Asia/Ho_Chi_Minh
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
# Publishing uses npm Trusted Publishing (OIDC) bound to this workflow file, so
|
|
9
|
+
# no npm token is stored. A version pushed while publishing was unavailable is
|
|
10
|
+
# published by the next run that finds it missing from npm.
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
id-token: write
|
|
14
|
+
|
|
15
|
+
concurrency:
|
|
16
|
+
group: update-models
|
|
17
|
+
cancel-in-progress: false
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
update:
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
timeout-minutes: 15
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@v5
|
|
25
|
+
|
|
26
|
+
- uses: actions/setup-node@v5
|
|
27
|
+
with:
|
|
28
|
+
node-version: 24
|
|
29
|
+
|
|
30
|
+
- name: Fetch the model catalog
|
|
31
|
+
env:
|
|
32
|
+
IOINTELLIGENCE_API_KEY: ${{ secrets.IOINTELLIGENCE_API_KEY }}
|
|
33
|
+
run: node scripts/update-models.js
|
|
34
|
+
|
|
35
|
+
- name: Commit, bump and push
|
|
36
|
+
run: |
|
|
37
|
+
if git diff --quiet; then
|
|
38
|
+
echo "No model changes."
|
|
39
|
+
exit 0
|
|
40
|
+
fi
|
|
41
|
+
git config user.name "github-actions[bot]"
|
|
42
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
43
|
+
git add -A
|
|
44
|
+
git commit -m "feat: update IO Intelligence models from API"
|
|
45
|
+
npm version patch --no-git-tag-version
|
|
46
|
+
version=$(node -p "require('./package.json').version")
|
|
47
|
+
git commit -am "chore(release): v$version"
|
|
48
|
+
git push origin HEAD:main
|
|
49
|
+
|
|
50
|
+
- name: Publish to npm if this version is missing
|
|
51
|
+
run: |
|
|
52
|
+
name=$(node -p "require('./package.json').name")
|
|
53
|
+
version=$(node -p "require('./package.json').version")
|
|
54
|
+
if npm view "$name@$version" version >/dev/null 2>&1; then
|
|
55
|
+
echo "$name@$version is already on npm."
|
|
56
|
+
exit 0
|
|
57
|
+
fi
|
|
58
|
+
# Trusted publishing needs npm 11.5.1 or newer.
|
|
59
|
+
npm install --global npm@latest
|
|
60
|
+
npm publish --access public --provenance
|
package/README.md
CHANGED
|
@@ -17,45 +17,45 @@ A [pi](https://github.com/badlogic/pi-mono) extension that adds [IO Intelligence
|
|
|
17
17
|
|
|
18
18
|
| Model | ID | Context | Max Output | Vision | Reasoning | Cache | Input $/M | Output $/M |
|
|
19
19
|
|-------|----|---------|------------|--------|-----------|-------|-----------|------------|
|
|
20
|
-
| DeepSeek V4.1 Flash | `deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | 131K | ✅ | ✅ | ✅ | $0.
|
|
21
|
-
| Gemma 4 26B A4B | `google/gemma-4-26b-a4b-it` | 262K | 262K | ✅ | ✅ | ✅ | $0.09 | $0.
|
|
20
|
+
| DeepSeek V4.1 Flash | `deepseek-ai/DeepSeek-V4.1-Flash` | 1.0M | 131K | ✅ | ✅ | ✅ | $0.39 | $1.56 |
|
|
21
|
+
| Gemma 4 26B A4B | `google/gemma-4-26b-a4b-it` | 262K | 262K | ✅ | ✅ | ✅ | $0.09 | $0.31 |
|
|
22
22
|
| Gemma 4 31B Instruct | `google/gemma-4-31b-it` | 262K | 16K | ✅ | ✅ | ✅ | $0.38 | $1.15 |
|
|
23
|
-
| Kimi K2.5 | `moonshotai/Kimi-K2.5` | 262K | 262K | ✅ | ✅ | ✅ | $0.
|
|
24
|
-
| Kimi K2.6 | `moonshotai/Kimi-K2.6` | 262K | 262K | ✅ | ✅ | ✅ | $0.
|
|
25
|
-
| Kimi K2.7 Code | `moonshotai/Kimi-K2.7-Code` | 262K | 262K | ✅ | ✅ | ✅ | $
|
|
26
|
-
| Kimi K3 | `moonshotai/Kimi-K3` | 1.0M | 1.0M | ✅ | ✅ | ✅ | $3.
|
|
27
|
-
| Qwen3.6 27B | `Qwen/Qwen3.6-27B` | 33K | 33K | ✅ | ✅ | ✅ | $0.34 | $2.
|
|
28
|
-
| Qwen3.6 35B A3B | `Qwen/Qwen3.6-35B-A3B` | 262K | 262K | ✅ | ✅ | ✅ | $0.16 | $1.
|
|
29
|
-
| Qwen3.8 27B | `Qwen/Qwen3.8-27B` | 66K | 66K | ✅ | ✅ | ✅ | $0.
|
|
23
|
+
| Kimi K2.5 | `moonshotai/Kimi-K2.5` | 262K | 262K | ✅ | ✅ | ✅ | $0.54 | $2.83 |
|
|
24
|
+
| Kimi K2.6 | `moonshotai/Kimi-K2.6` | 262K | 262K | ✅ | ✅ | ✅ | $0.70 | $3.37 |
|
|
25
|
+
| Kimi K2.7 Code | `moonshotai/Kimi-K2.7-Code` | 262K | 262K | ✅ | ✅ | ✅ | $0.99 | $4.37 |
|
|
26
|
+
| Kimi K3 | `moonshotai/Kimi-K3` | 1.0M | 1.0M | ✅ | ✅ | ✅ | $3.60 | $18.00 |
|
|
27
|
+
| Qwen3.6 27B | `Qwen/Qwen3.6-27B` | 33K | 33K | ✅ | ✅ | ✅ | $0.34 | $2.97 |
|
|
28
|
+
| Qwen3.6 35B A3B | `Qwen/Qwen3.6-35B-A3B` | 262K | 262K | ✅ | ✅ | ✅ | $0.16 | $1.19 |
|
|
29
|
+
| Qwen3.8 27B | `Qwen/Qwen3.8-27B` | 66K | 66K | ✅ | ✅ | ✅ | $0.46 | $2.81 |
|
|
30
30
|
| MiMo-V2.6-Flash | `XiaomiMiMo/MiMo-V2.6-Flash` | 1.0M | 131K | ✅ | ✅ | ✅ | $0.14 | $0.29 |
|
|
31
|
-
| GLM 5.3 Flash | `zai-org/GLM-5.3-Flash` | 262K | 131K | ✅ | ✅ | ✅ | $0.
|
|
31
|
+
| GLM 5.3 Flash | `zai-org/GLM-5.3-Flash` | 262K | 131K | ✅ | ✅ | ✅ | $0.14 | $0.76 |
|
|
32
32
|
| DeepSeek R1 0528 | `deepseek-ai/DeepSeek-R1-0528` | 128K | 128K | ❌ | ✅ | ✅ | $0.57 | $2.28 |
|
|
33
|
-
| DeepSeek V3.2 | `deepseek-ai/DeepSeek-V3.2` | 164K | 164K | ❌ | ✅ | ✅ | $1.
|
|
34
|
-
| DeepSeek V4 Flash | `deepseek-ai/DeepSeek-V4-Flash` | 33K | 33K | ❌ | ✅ | ✅ | $0.
|
|
35
|
-
| DeepSeek V4 Flash 0731 | `deepseek-ai/DeepSeek-V4-Flash-0731` | 262K | 66K | ❌ | ✅ | ✅ | $0.
|
|
36
|
-
| DeepSeek V4 Pro | `deepseek-ai/DeepSeek-V4-Pro` | 1.0M | 600K | ❌ | ✅ | ✅ | $1.
|
|
37
|
-
| DeepSeek V4 Pro 0813 | `deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | 393K | ❌ | ✅ | ✅ | $1.
|
|
38
|
-
| MiniMax M2.5 | `MiniMaxAI/MiniMax-M2.5` | 197K | 197K | ❌ | ✅ | ✅ | $0.
|
|
33
|
+
| DeepSeek V3.2 | `deepseek-ai/DeepSeek-V3.2` | 164K | 164K | ❌ | ✅ | ✅ | $1.40 | $2.25 |
|
|
34
|
+
| DeepSeek V4 Flash | `deepseek-ai/DeepSeek-V4-Flash` | 33K | 33K | ❌ | ✅ | ✅ | $0.20 | $0.75 |
|
|
35
|
+
| DeepSeek V4 Flash 0731 | `deepseek-ai/DeepSeek-V4-Flash-0731` | 262K | 66K | ❌ | ✅ | ✅ | $0.23 | $0.60 |
|
|
36
|
+
| DeepSeek V4 Pro | `deepseek-ai/DeepSeek-V4-Pro` | 1.0M | 600K | ❌ | ✅ | ✅ | $1.40 | $4.54 |
|
|
37
|
+
| DeepSeek V4 Pro 0813 | `deepseek-ai/DeepSeek-V4-Pro-0813` | 1.0M | 393K | ❌ | ✅ | ✅ | $1.10 | $4.17 |
|
|
38
|
+
| MiniMax M2.5 | `MiniMaxAI/MiniMax-M2.5` | 197K | 197K | ❌ | ✅ | ✅ | $0.29 | $1.18 |
|
|
39
39
|
| MiniMax M2.7 | `MiniMaxAI/MiniMax-M2.7` | 262K | 66K | ❌ | ✅ | ✅ | $0.40 | $1.49 |
|
|
40
40
|
| Kimi K2 Thinking | `moonshotai/Kimi-K2-Thinking` | 262K | 262K | ❌ | ✅ | ✅ | $0.60 | $2.50 |
|
|
41
|
-
| Nemotron 3.5 Lightning | `nvidia/nemotron-3.5-lightning` | 262K | 131K | ❌ | ✅ | ✅ | $0.06 | $0.
|
|
42
|
-
| gpt-oss-120b | `openai/gpt-oss-120b` | 131K | 131K | ❌ | ✅ | ✅ | $0.
|
|
41
|
+
| Nemotron 3.5 Lightning | `nvidia/nemotron-3.5-lightning` | 262K | 131K | ❌ | ✅ | ✅ | $0.06 | $0.15 |
|
|
42
|
+
| gpt-oss-120b | `openai/gpt-oss-120b` | 131K | 131K | ❌ | ✅ | ✅ | $0.17 | $0.63 |
|
|
43
43
|
| gpt-oss-20b | `openai/gpt-oss-20b` | 64K | 64K | ❌ | ✅ | ✅ | $0.06 | $0.19 |
|
|
44
44
|
| MiMo-V2.5 | `XiaomiMiMo/MiMo-V2.5` | 1.0M | 1.0M | ❌ | ✅ | ✅ | $0.20 | $0.64 |
|
|
45
45
|
| GLM-4.5-Air | `zai-org/GLM-4.5-Air` | 131K | 131K | ❌ | ✅ | ✅ | $0.16 | $0.94 |
|
|
46
46
|
| GLM 4.6 | `zai-org/GLM-4.6` | 131K | 131K | ❌ | ✅ | ✅ | $0.52 | $2.04 |
|
|
47
|
-
| GLM 4.7 | `zai-org/GLM-4.7` | 203K | 203K | ❌ | ✅ | ✅ | $0.
|
|
47
|
+
| GLM 4.7 | `zai-org/GLM-4.7` | 203K | 203K | ❌ | ✅ | ✅ | $0.57 | $2.13 |
|
|
48
48
|
| GLM 4.7 Flash | `zai-org/GLM-4.7-Flash` | 200K | 200K | ❌ | ✅ | ✅ | $0.06 | $0.40 |
|
|
49
49
|
| GLM 5 | `zai-org/GLM-5` | 203K | 203K | ❌ | ✅ | ✅ | $0.86 | $2.75 |
|
|
50
50
|
| GLM 5.1 | `zai-org/GLM-5.1` | 203K | 33K | ❌ | ✅ | ✅ | $1.39 | $4.36 |
|
|
51
|
-
| GLM 5.2 | `zai-org/GLM-5.2` | 262K | 131K | ❌ | ✅ | ✅ | $1.
|
|
52
|
-
| GLM 5.3 | `zai-org/GLM-5.3` | 262K | 131K | ❌ | ✅ | ✅ | $1.
|
|
51
|
+
| GLM 5.2 | `zai-org/GLM-5.2` | 262K | 131K | ❌ | ✅ | ✅ | $1.74 | $5.80 |
|
|
52
|
+
| GLM 5.3 | `zai-org/GLM-5.3` | 262K | 131K | ❌ | ✅ | ✅ | $1.82 | $5.72 |
|
|
53
53
|
| Llama 4 Maverick 17B 128E Instruct FP8 | `meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8` | 430K | 430K | ✅ | ❌ | ✅ | $0.27 | $0.83 |
|
|
54
54
|
| Qwen3 Coder 480B A35B Instruct INT4 Mixed AR | `Intel/Qwen3-Coder-480B-A35B-Instruct-int4-mixed-ar` | 106K | 106K | ❌ | ❌ | ✅ | $0.46 | $2.29 |
|
|
55
55
|
| Llama 3.3 70B Instruct | `meta-llama/Llama-3.3-70B-Instruct` | 128K | 128K | ❌ | ❌ | ✅ | $0.55 | $1.02 |
|
|
56
56
|
| Mistral Nemo Instruct 2407 | `mistralai/Mistral-Nemo-Instruct-2407` | 128K | 128K | ❌ | ❌ | ✅ | $0.05 | $0.08 |
|
|
57
57
|
| Kimi K2 Instruct 0905 | `moonshotai/Kimi-K2-Instruct-0905` | 262K | 262K | ❌ | ❌ | ✅ | $0.57 | $2.30 |
|
|
58
|
-
| Qwen3 Next 80B A3B Instruct | `Qwen/Qwen3-Next-80B-A3B-Instruct` | 262K | 262K | ❌ | ❌ | ✅ | $0.11 | $1.
|
|
58
|
+
| Qwen3 Next 80B A3B Instruct | `Qwen/Qwen3-Next-80B-A3B-Instruct` | 262K | 262K | ❌ | ❌ | ✅ | $0.11 | $1.13 |
|
|
59
59
|
|
|
60
60
|
*Costs are per million tokens. Cache read/write pricing available on most models.*
|
|
61
61
|
|
package/models.json
CHANGED
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"image"
|
|
32
32
|
],
|
|
33
33
|
"cost": {
|
|
34
|
-
"input": 0.
|
|
35
|
-
"output": 1.
|
|
36
|
-
"cacheRead": 0.
|
|
34
|
+
"input": 0.39,
|
|
35
|
+
"output": 1.56,
|
|
36
|
+
"cacheRead": 0.195,
|
|
37
37
|
"cacheWrite": 0
|
|
38
38
|
},
|
|
39
39
|
"contextWindow": 1048320,
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"image"
|
|
55
55
|
],
|
|
56
56
|
"cost": {
|
|
57
|
-
"input": 0.
|
|
58
|
-
"output": 0.
|
|
59
|
-
"cacheRead": 0.
|
|
57
|
+
"input": 0.145,
|
|
58
|
+
"output": 0.764,
|
|
59
|
+
"cacheRead": 0.0725,
|
|
60
60
|
"cacheWrite": 0
|
|
61
61
|
},
|
|
62
62
|
"contextWindow": 262144,
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
"text"
|
|
77
77
|
],
|
|
78
78
|
"cost": {
|
|
79
|
-
"input": 1.
|
|
80
|
-
"output":
|
|
81
|
-
"cacheRead": 0.
|
|
79
|
+
"input": 1.82,
|
|
80
|
+
"output": 5.72,
|
|
81
|
+
"cacheRead": 0.91,
|
|
82
82
|
"cacheWrite": 0
|
|
83
83
|
},
|
|
84
84
|
"contextWindow": 262144,
|
|
@@ -99,9 +99,9 @@
|
|
|
99
99
|
"image"
|
|
100
100
|
],
|
|
101
101
|
"cost": {
|
|
102
|
-
"input": 0.
|
|
103
|
-
"output":
|
|
104
|
-
"cacheRead": 0.
|
|
102
|
+
"input": 0.458,
|
|
103
|
+
"output": 2.813,
|
|
104
|
+
"cacheRead": 0.229,
|
|
105
105
|
"cacheWrite": 0
|
|
106
106
|
},
|
|
107
107
|
"contextWindow": 65536,
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
"text"
|
|
122
122
|
],
|
|
123
123
|
"cost": {
|
|
124
|
-
"input": 0.
|
|
125
|
-
"output": 0.
|
|
126
|
-
"cacheRead": 0.
|
|
124
|
+
"input": 0.2252,
|
|
125
|
+
"output": 0.5956,
|
|
126
|
+
"cacheRead": 0.1126,
|
|
127
127
|
"cacheWrite": 0
|
|
128
128
|
},
|
|
129
129
|
"contextWindow": 262100,
|
|
@@ -144,9 +144,9 @@
|
|
|
144
144
|
"image"
|
|
145
145
|
],
|
|
146
146
|
"cost": {
|
|
147
|
-
"input": 3.
|
|
148
|
-
"output":
|
|
149
|
-
"cacheRead": 1.
|
|
147
|
+
"input": 3.598,
|
|
148
|
+
"output": 18,
|
|
149
|
+
"cacheRead": 1.799,
|
|
150
150
|
"cacheWrite": 0
|
|
151
151
|
},
|
|
152
152
|
"contextWindow": 1048576,
|
|
@@ -188,9 +188,9 @@
|
|
|
188
188
|
"text"
|
|
189
189
|
],
|
|
190
190
|
"cost": {
|
|
191
|
-
"input": 1.
|
|
192
|
-
"output":
|
|
193
|
-
"cacheRead": 0.
|
|
191
|
+
"input": 1.744,
|
|
192
|
+
"output": 5.804,
|
|
193
|
+
"cacheRead": 0.872,
|
|
194
194
|
"cacheWrite": 0
|
|
195
195
|
},
|
|
196
196
|
"contextWindow": 262144,
|
|
@@ -211,9 +211,9 @@
|
|
|
211
211
|
"image"
|
|
212
212
|
],
|
|
213
213
|
"cost": {
|
|
214
|
-
"input":
|
|
215
|
-
"output": 4.
|
|
216
|
-
"cacheRead": 0.
|
|
214
|
+
"input": 0.98874,
|
|
215
|
+
"output": 4.37,
|
|
216
|
+
"cacheRead": 0.49437,
|
|
217
217
|
"cacheWrite": 0
|
|
218
218
|
},
|
|
219
219
|
"contextWindow": 262144,
|
|
@@ -234,9 +234,9 @@
|
|
|
234
234
|
"image"
|
|
235
235
|
],
|
|
236
236
|
"cost": {
|
|
237
|
-
"input": 0.
|
|
238
|
-
"output": 1.
|
|
239
|
-
"cacheRead": 0.
|
|
237
|
+
"input": 0.158,
|
|
238
|
+
"output": 1.19,
|
|
239
|
+
"cacheRead": 0.079,
|
|
240
240
|
"cacheWrite": 0
|
|
241
241
|
},
|
|
242
242
|
"contextWindow": 262144,
|
|
@@ -257,9 +257,9 @@
|
|
|
257
257
|
"image"
|
|
258
258
|
],
|
|
259
259
|
"cost": {
|
|
260
|
-
"input": 0.
|
|
261
|
-
"output": 2.
|
|
262
|
-
"cacheRead": 0.
|
|
260
|
+
"input": 0.337,
|
|
261
|
+
"output": 2.97,
|
|
262
|
+
"cacheRead": 0.1685,
|
|
263
263
|
"cacheWrite": 0
|
|
264
264
|
},
|
|
265
265
|
"contextWindow": 32768,
|
|
@@ -301,9 +301,9 @@
|
|
|
301
301
|
"text"
|
|
302
302
|
],
|
|
303
303
|
"cost": {
|
|
304
|
-
"input": 0.
|
|
305
|
-
"output": 0.
|
|
306
|
-
"cacheRead": 0.
|
|
304
|
+
"input": 0.19654,
|
|
305
|
+
"output": 0.748,
|
|
306
|
+
"cacheRead": 0.09827,
|
|
307
307
|
"cacheWrite": 0
|
|
308
308
|
},
|
|
309
309
|
"contextWindow": 32768,
|
|
@@ -323,9 +323,9 @@
|
|
|
323
323
|
"text"
|
|
324
324
|
],
|
|
325
325
|
"cost": {
|
|
326
|
-
"input": 1.
|
|
327
|
-
"output": 4.
|
|
328
|
-
"cacheRead": 0.
|
|
326
|
+
"input": 1.402,
|
|
327
|
+
"output": 4.536,
|
|
328
|
+
"cacheRead": 0.701,
|
|
329
329
|
"cacheWrite": 0
|
|
330
330
|
},
|
|
331
331
|
"contextWindow": 1048576,
|
|
@@ -346,9 +346,9 @@
|
|
|
346
346
|
"image"
|
|
347
347
|
],
|
|
348
348
|
"cost": {
|
|
349
|
-
"input": 0.
|
|
350
|
-
"output": 3.
|
|
351
|
-
"cacheRead": 0.
|
|
349
|
+
"input": 0.6982,
|
|
350
|
+
"output": 3.372,
|
|
351
|
+
"cacheRead": 0.3491,
|
|
352
352
|
"cacheWrite": 0
|
|
353
353
|
},
|
|
354
354
|
"contextWindow": 262142,
|
|
@@ -390,9 +390,9 @@
|
|
|
390
390
|
"text"
|
|
391
391
|
],
|
|
392
392
|
"cost": {
|
|
393
|
-
"input": 0.
|
|
394
|
-
"output": 1.
|
|
395
|
-
"cacheRead": 0.
|
|
393
|
+
"input": 0.294,
|
|
394
|
+
"output": 1.176,
|
|
395
|
+
"cacheRead": 0.147,
|
|
396
396
|
"cacheWrite": 0
|
|
397
397
|
},
|
|
398
398
|
"contextWindow": 196600,
|
|
@@ -413,9 +413,9 @@
|
|
|
413
413
|
"image"
|
|
414
414
|
],
|
|
415
415
|
"cost": {
|
|
416
|
-
"input": 0.
|
|
417
|
-
"output": 2.
|
|
418
|
-
"cacheRead": 0.
|
|
416
|
+
"input": 0.5384,
|
|
417
|
+
"output": 2.835,
|
|
418
|
+
"cacheRead": 0.2692,
|
|
419
419
|
"cacheWrite": 1.1
|
|
420
420
|
},
|
|
421
421
|
"contextWindow": 262144,
|
|
@@ -457,9 +457,9 @@
|
|
|
457
457
|
"text"
|
|
458
458
|
],
|
|
459
459
|
"cost": {
|
|
460
|
-
"input": 1.
|
|
461
|
-
"output": 2.
|
|
462
|
-
"cacheRead": 0.
|
|
460
|
+
"input": 1.39776,
|
|
461
|
+
"output": 2.24592,
|
|
462
|
+
"cacheRead": 0.69888,
|
|
463
463
|
"cacheWrite": 0.5
|
|
464
464
|
},
|
|
465
465
|
"contextWindow": 163840,
|
|
@@ -524,9 +524,9 @@
|
|
|
524
524
|
"image"
|
|
525
525
|
],
|
|
526
526
|
"cost": {
|
|
527
|
-
"input": 0.
|
|
528
|
-
"output": 0.
|
|
529
|
-
"cacheRead": 0.
|
|
527
|
+
"input": 0.0933,
|
|
528
|
+
"output": 0.313,
|
|
529
|
+
"cacheRead": 0.04665,
|
|
530
530
|
"cacheWrite": 0
|
|
531
531
|
},
|
|
532
532
|
"contextWindow": 262142,
|
|
@@ -568,9 +568,9 @@
|
|
|
568
568
|
"text"
|
|
569
569
|
],
|
|
570
570
|
"cost": {
|
|
571
|
-
"input": 0.
|
|
572
|
-
"output": 2.
|
|
573
|
-
"cacheRead": 0.
|
|
571
|
+
"input": 0.568,
|
|
572
|
+
"output": 2.126,
|
|
573
|
+
"cacheRead": 0.284,
|
|
574
574
|
"cacheWrite": 0.6
|
|
575
575
|
},
|
|
576
576
|
"contextWindow": 202752,
|
|
@@ -611,9 +611,9 @@
|
|
|
611
611
|
"text"
|
|
612
612
|
],
|
|
613
613
|
"cost": {
|
|
614
|
-
"input": 0.
|
|
615
|
-
"output": 0.
|
|
616
|
-
"cacheRead": 0.
|
|
614
|
+
"input": 0.168,
|
|
615
|
+
"output": 0.63,
|
|
616
|
+
"cacheRead": 0.084,
|
|
617
617
|
"cacheWrite": 0.04
|
|
618
618
|
},
|
|
619
619
|
"contextWindow": 131072,
|
|
@@ -677,9 +677,9 @@
|
|
|
677
677
|
"text"
|
|
678
678
|
],
|
|
679
679
|
"cost": {
|
|
680
|
-
"input": 0.
|
|
681
|
-
"output": 1.
|
|
682
|
-
"cacheRead": 0.
|
|
680
|
+
"input": 0.113333,
|
|
681
|
+
"output": 1.133333,
|
|
682
|
+
"cacheRead": 0.056667,
|
|
683
683
|
"cacheWrite": 0.12
|
|
684
684
|
},
|
|
685
685
|
"contextWindow": 262144,
|
|
@@ -805,9 +805,9 @@
|
|
|
805
805
|
"text"
|
|
806
806
|
],
|
|
807
807
|
"cost": {
|
|
808
|
-
"input": 1.
|
|
809
|
-
"output":
|
|
810
|
-
"cacheRead": 0.
|
|
808
|
+
"input": 1.104,
|
|
809
|
+
"output": 4.168,
|
|
810
|
+
"cacheRead": 0.552,
|
|
811
811
|
"cacheWrite": 0
|
|
812
812
|
},
|
|
813
813
|
"contextWindow": 1048576,
|
|
@@ -850,9 +850,9 @@
|
|
|
850
850
|
"text"
|
|
851
851
|
],
|
|
852
852
|
"cost": {
|
|
853
|
-
"input": 0.
|
|
854
|
-
"output": 0.
|
|
855
|
-
"cacheRead": 0.
|
|
853
|
+
"input": 0.06375,
|
|
854
|
+
"output": 0.1525,
|
|
855
|
+
"cacheRead": 0.031875,
|
|
856
856
|
"cacheWrite": 0
|
|
857
857
|
},
|
|
858
858
|
"contextWindow": 262144,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-io-provider",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.65",
|
|
4
4
|
"description": "IO Intelligence provider extension for pi - Access DeepSeek, Kimi, GLM, Llama, Qwen, Mistral, and more through the IO Intelligence API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -39,12 +39,16 @@
|
|
|
39
39
|
"brace-expansion": "5.0.12"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@earendil-works/pi-coding-agent": "1.
|
|
43
|
-
"typescript": "6.0.3",
|
|
42
|
+
"@earendil-works/pi-coding-agent": "1.2.0",
|
|
44
43
|
"@types/node": "^25.9.1",
|
|
44
|
+
"typescript": "6.0.3",
|
|
45
45
|
"vitest": "4.1.7"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@earendil-works/pi-coding-agent": "*"
|
|
49
|
+
},
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/monotykamary/pi-io-provider.git"
|
|
49
53
|
}
|
|
50
54
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Offline Pi 1.
|
|
1
|
+
// Offline Pi 1.2.0 manifest, lifecycle, catalog and real transport regression.
|
|
2
2
|
import assert from 'node:assert/strict';
|
|
3
3
|
import { mkdtemp, readFile, rm } from 'node:fs/promises';
|
|
4
4
|
import { tmpdir } from 'node:os';
|
|
@@ -18,13 +18,13 @@ try {
|
|
|
18
18
|
const hostEntry = process.env.PI1_HOST_ENTRY === 'bundle' ? 'dist/bundle/index.js' : 'dist/index.js';
|
|
19
19
|
const sdk = await import(host ? pathToFileURL(join(host, hostEntry)).href : '@earendil-works/pi-coding-agent');
|
|
20
20
|
const { createAgentSession, DefaultResourceLoader, ModelRuntime, SessionManager, SettingsManager, VERSION } = sdk;
|
|
21
|
-
assert.equal(VERSION, '1.
|
|
22
|
-
assert.equal((await import('@earendil-works/pi-coding-agent')).VERSION, '1.
|
|
21
|
+
assert.equal(VERSION, '1.2.0', 'executing host version');
|
|
22
|
+
assert.equal((await import('@earendil-works/pi-coding-agent')).VERSION, '1.2.0', 'development host version');
|
|
23
23
|
const manifest = JSON.parse(await readFile(join(root, 'package.json'), 'utf8'));
|
|
24
24
|
for (const name of ['@earendil-works/pi-ai', '@earendil-works/pi-agent-core', '@earendil-works/pi-coding-agent', '@earendil-works/pi-tui', 'typebox']) {
|
|
25
25
|
assert.equal(manifest.dependencies?.[name], undefined, `${name}: do not bundle host packages`);
|
|
26
26
|
if (manifest.peerDependencies?.[name] !== undefined) assert.equal(manifest.peerDependencies[name], '*');
|
|
27
|
-
if (name !== 'typebox' && manifest.devDependencies?.[name]) assert.equal(manifest.devDependencies[name], '1.
|
|
27
|
+
if (name !== 'typebox' && manifest.devDependencies?.[name]) assert.equal(manifest.devDependencies[name], '1.2.0');
|
|
28
28
|
}
|
|
29
29
|
const settingsManager = SettingsManager.inMemory({ packages: [root], compaction: { enabled: false }, retry: { enabled: false } });
|
|
30
30
|
const resourceLoader = new DefaultResourceLoader({ cwd: home, agentDir: home, settingsManager,
|