pi-zro-provider 1.2.1 → 1.3.0
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/.pi/fabric/mesh/state.json +68 -44
- package/README.md +3 -2
- package/models.json +29 -0
- package/package.json +5 -4
- package/patch.json +24 -7
- package/pnpm-workspace.yaml +7 -7
|
@@ -1,67 +1,83 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": 1,
|
|
3
3
|
"entries": {
|
|
4
|
-
"topology/
|
|
5
|
-
"key": "topology/
|
|
4
|
+
"topology/peer-seq": {
|
|
5
|
+
"key": "topology/peer-seq",
|
|
6
6
|
"value": {
|
|
7
7
|
"format": 1,
|
|
8
|
-
"
|
|
9
|
-
|
|
8
|
+
"next": 1
|
|
9
|
+
},
|
|
10
|
+
"version": 1,
|
|
11
|
+
"updatedAt": 1787837333614,
|
|
12
|
+
"updatedBy": {
|
|
13
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
14
|
+
"name": "main",
|
|
15
|
+
"kind": "main",
|
|
16
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"topology/hosts/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54": {
|
|
20
|
+
"key": "topology/hosts/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54",
|
|
21
|
+
"value": {
|
|
22
|
+
"format": 1,
|
|
23
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
24
|
+
"rootId": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
10
25
|
"identity": {
|
|
11
|
-
"id": "session:
|
|
26
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
12
27
|
"name": "main",
|
|
13
28
|
"kind": "main",
|
|
14
|
-
"sessionId": "
|
|
29
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306"
|
|
15
30
|
},
|
|
16
|
-
"startedAt":
|
|
17
|
-
"updatedAt":
|
|
18
|
-
"expiresAt":
|
|
31
|
+
"startedAt": 1787837333379,
|
|
32
|
+
"updatedAt": 1787839989194,
|
|
33
|
+
"expiresAt": 1787840004194
|
|
19
34
|
},
|
|
20
|
-
"version":
|
|
21
|
-
"updatedAt":
|
|
35
|
+
"version": 645,
|
|
36
|
+
"updatedAt": 1787839989195,
|
|
22
37
|
"updatedBy": {
|
|
23
|
-
"id": "session:
|
|
38
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
24
39
|
"name": "main",
|
|
25
40
|
"kind": "main",
|
|
26
|
-
"sessionId": "
|
|
41
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306"
|
|
27
42
|
}
|
|
28
43
|
},
|
|
29
|
-
"sessions/
|
|
30
|
-
"key": "sessions/
|
|
44
|
+
"sessions/01a04367-1508-7b74-b7d5-d8a25e870306": {
|
|
45
|
+
"key": "sessions/01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
31
46
|
"value": {
|
|
32
|
-
"id": "session:
|
|
33
|
-
"name": "
|
|
47
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
48
|
+
"name": "PZP-1",
|
|
49
|
+
"label": "PZP-1",
|
|
34
50
|
"kind": "peer",
|
|
35
51
|
"status": "running",
|
|
36
52
|
"runner": "pi",
|
|
37
53
|
"transport": "host",
|
|
38
54
|
"cwd": "/Users/monotykamary/VCS/working-remote/open-source/pi-zro-provider",
|
|
39
|
-
"sessionId": "
|
|
40
|
-
"model": "
|
|
55
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
56
|
+
"model": "runinfra/glm-5-3-flash",
|
|
41
57
|
"thinking": "max",
|
|
42
|
-
"startedAt":
|
|
43
|
-
"updatedAt":
|
|
58
|
+
"startedAt": 1787837333379,
|
|
59
|
+
"updatedAt": 1787839989194,
|
|
44
60
|
"pendingMessages": false,
|
|
45
61
|
"local": false
|
|
46
62
|
},
|
|
47
|
-
"version":
|
|
48
|
-
"updatedAt":
|
|
63
|
+
"version": 645,
|
|
64
|
+
"updatedAt": 1787839989196,
|
|
49
65
|
"updatedBy": {
|
|
50
|
-
"id": "session:
|
|
66
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
51
67
|
"name": "main",
|
|
52
68
|
"kind": "main",
|
|
53
|
-
"sessionId": "
|
|
69
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306"
|
|
54
70
|
}
|
|
55
71
|
},
|
|
56
|
-
"topology/participants/
|
|
57
|
-
"key": "topology/participants/
|
|
72
|
+
"topology/participants/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54": {
|
|
73
|
+
"key": "topology/participants/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54",
|
|
58
74
|
"value": {
|
|
59
75
|
"format": 1,
|
|
60
|
-
"id": "session:
|
|
76
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
61
77
|
"kind": "root",
|
|
62
|
-
"rootId": "session:
|
|
63
|
-
"ownerHostId": "session:
|
|
64
|
-
"ownerIdentityId": "session:
|
|
78
|
+
"rootId": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
79
|
+
"ownerHostId": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
80
|
+
"ownerIdentityId": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
65
81
|
"name": "main",
|
|
66
82
|
"status": "running",
|
|
67
83
|
"runner": "pi",
|
|
@@ -72,21 +88,22 @@
|
|
|
72
88
|
"fabric"
|
|
73
89
|
],
|
|
74
90
|
"cwd": "/Users/monotykamary/VCS/working-remote/open-source/pi-zro-provider",
|
|
75
|
-
"sessionId": "
|
|
76
|
-
"model": "
|
|
91
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
92
|
+
"model": "runinfra/glm-5-3-flash",
|
|
77
93
|
"thinking": "max",
|
|
78
|
-
"startedAt":
|
|
79
|
-
"updatedAt":
|
|
94
|
+
"startedAt": 1787837333379,
|
|
95
|
+
"updatedAt": 1787839989194,
|
|
80
96
|
"pendingMessages": false,
|
|
81
|
-
"controlProtocol": "v1"
|
|
97
|
+
"controlProtocol": "v1",
|
|
98
|
+
"label": "PZP-1"
|
|
82
99
|
},
|
|
83
|
-
"version":
|
|
84
|
-
"updatedAt":
|
|
100
|
+
"version": 645,
|
|
101
|
+
"updatedAt": 1787839989198,
|
|
85
102
|
"updatedBy": {
|
|
86
|
-
"id": "session:
|
|
103
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
87
104
|
"name": "main",
|
|
88
105
|
"kind": "main",
|
|
89
|
-
"sessionId": "
|
|
106
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306"
|
|
90
107
|
}
|
|
91
108
|
}
|
|
92
109
|
},
|
|
@@ -106,9 +123,13 @@
|
|
|
106
123
|
"topology/hosts/d8923395981d75b371b541819ff73bd3f404bd6e87352a788822d5eee43822c6": 132,
|
|
107
124
|
"sessions/01a01f64-506e-7ce7-b2ff-ab10d7f56675": 131,
|
|
108
125
|
"topology/participants/d8923395981d75b371b541819ff73bd3f404bd6e87352a788822d5eee43822c6": 132,
|
|
109
|
-
"topology/hosts/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473":
|
|
110
|
-
"sessions/01a01fc8-620b-7ef6-80b9-76c6dc2c000e":
|
|
111
|
-
"topology/participants/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473":
|
|
126
|
+
"topology/hosts/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473": 104,
|
|
127
|
+
"sessions/01a01fc8-620b-7ef6-80b9-76c6dc2c000e": 103,
|
|
128
|
+
"topology/participants/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473": 104,
|
|
129
|
+
"topology/peer-seq": 1,
|
|
130
|
+
"topology/hosts/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54": 645,
|
|
131
|
+
"sessions/01a04367-1508-7b74-b7d5-d8a25e870306": 645,
|
|
132
|
+
"topology/participants/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54": 645
|
|
112
133
|
},
|
|
113
134
|
"tombstoneOrder": [
|
|
114
135
|
"sessions/01a01e04-c04a-79f6-8622-d51fd5ec5579",
|
|
@@ -125,6 +146,9 @@
|
|
|
125
146
|
"topology/hosts/5ec9312abebdf934b4117e4d2acc0a77e1cf0a34b2f851a9f45619ea5c5b4ca9",
|
|
126
147
|
"sessions/01a01f64-506e-7ce7-b2ff-ab10d7f56675",
|
|
127
148
|
"topology/participants/d8923395981d75b371b541819ff73bd3f404bd6e87352a788822d5eee43822c6",
|
|
128
|
-
"topology/hosts/d8923395981d75b371b541819ff73bd3f404bd6e87352a788822d5eee43822c6"
|
|
149
|
+
"topology/hosts/d8923395981d75b371b541819ff73bd3f404bd6e87352a788822d5eee43822c6",
|
|
150
|
+
"sessions/01a01fc8-620b-7ef6-80b9-76c6dc2c000e",
|
|
151
|
+
"topology/participants/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473",
|
|
152
|
+
"topology/hosts/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473"
|
|
129
153
|
]
|
|
130
154
|
}
|
package/README.md
CHANGED
|
@@ -15,8 +15,8 @@ _GLM-5.2, Kimi K3, and DeepSeek V4 Flash — run through the Zro inference endpo
|
|
|
15
15
|
|
|
16
16
|
## Features
|
|
17
17
|
|
|
18
|
-
- **
|
|
19
|
-
- **Native reasoning effort** — every model ships
|
|
18
|
+
- **4+ AI Models** — GLM-5.2 (default), Kimi K3, and DeepSeek V4 Flash, straight from Zro's production catalog
|
|
19
|
+
- **Native reasoning effort** — every model ships an endpoint-verified `piLevel` → level-id map (`glm-5.2`, `glm-5.3-flash`, `deepseek-v4-flash-0731`: full `off`–`max` ladder; `kimi-k3`: `low`/`high`/`max` — the proxy rejects `medium` there), so `/thinking low` etc. maps exactly to what the Zro proxy accepts. Quirk: `glm-5.3-flash` silently disables thinking at `low`, so `minimal`/`low` map to `minimal`
|
|
20
20
|
- **OpenAI-compatible API** at `https://zro.moonmath.ai/v1`
|
|
21
21
|
- **Official catalog sync** from Zro's `/api/cli/models` endpoint — same one `zro models` uses
|
|
22
22
|
- **Zro login reuse** — if you've run `zro login`, the extension picks up `~/.config/zro/credentials.json` automatically (no duplicated keys)
|
|
@@ -28,6 +28,7 @@ _GLM-5.2, Kimi K3, and DeepSeek V4 Flash — run through the Zro inference endpo
|
|
|
28
28
|
|-------|------|---------|------------|------------|-------------|
|
|
29
29
|
| DeepSeek V4 Flash | Text | 1.0M | 384K | $0.14 | $0.28 |
|
|
30
30
|
| GLM-5.2 | Text | 524K | 64K | $1.10 | $4.00 |
|
|
31
|
+
| GLM-5.3 Flash | Text + Image | 1.0M | 64K | $0.15 | $0.50 |
|
|
31
32
|
| Kimi K3 | Text + Image | 1.0M | 131K | $2.50 | $12.00 |
|
|
32
33
|
*Costs are per million tokens. Billing is metered by your Zro plan and usage packs — see [zro.moonmath.ai](https://zro.moonmath.ai) for pricing.*
|
|
33
34
|
|
package/models.json
CHANGED
|
@@ -59,6 +59,35 @@
|
|
|
59
59
|
"maxTokensField": "max_tokens"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
+
{
|
|
63
|
+
"id": "glm-5.3-flash",
|
|
64
|
+
"name": "GLM-5.3 Flash",
|
|
65
|
+
"reasoning": true,
|
|
66
|
+
"thinkingLevelMap": {
|
|
67
|
+
"off": "none",
|
|
68
|
+
"minimal": null,
|
|
69
|
+
"low": null,
|
|
70
|
+
"medium": null,
|
|
71
|
+
"high": "high",
|
|
72
|
+
"xhigh": "max"
|
|
73
|
+
},
|
|
74
|
+
"input": [
|
|
75
|
+
"text"
|
|
76
|
+
],
|
|
77
|
+
"cost": {
|
|
78
|
+
"input": 0,
|
|
79
|
+
"output": 0,
|
|
80
|
+
"cacheRead": 0,
|
|
81
|
+
"cacheWrite": 0
|
|
82
|
+
},
|
|
83
|
+
"contextWindow": 1048576,
|
|
84
|
+
"maxTokens": 64000,
|
|
85
|
+
"compat": {
|
|
86
|
+
"supportsDeveloperRole": false,
|
|
87
|
+
"supportsReasoningEffort": true,
|
|
88
|
+
"maxTokensField": "max_tokens"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
62
91
|
{
|
|
63
92
|
"id": "kimi-k3",
|
|
64
93
|
"name": "Kimi K3",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-zro-provider",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Zro provider extension for pi - GLM-5.2, Kimi K3 & DeepSeek V4 Flash through the Zro inference endpoint",
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"description": "Zro provider extension for pi - GLM-5.2, GLM-5.3 Flash, Kimi K3 & DeepSeek V4 Flash through the Zro inference endpoint",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
7
7
|
"keywords": [
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"kimi",
|
|
15
15
|
"deepseek",
|
|
16
16
|
"glm-5.2",
|
|
17
|
+
"glm-5.3-flash",
|
|
17
18
|
"ai",
|
|
18
19
|
"llm"
|
|
19
20
|
],
|
|
@@ -25,8 +26,8 @@
|
|
|
25
26
|
]
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
|
-
"@earendil-works/pi-ai": "0.84.
|
|
29
|
-
"@earendil-works/pi-coding-agent": "0.84.
|
|
29
|
+
"@earendil-works/pi-ai": "0.84.3",
|
|
30
|
+
"@earendil-works/pi-coding-agent": "0.84.3",
|
|
30
31
|
"@types/node": "^24.10.1",
|
|
31
32
|
"typescript": "6.0.3"
|
|
32
33
|
},
|
package/patch.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"deepseek-v4-flash-0731": {
|
|
3
3
|
"thinkingLevelMap": {
|
|
4
4
|
"off": "none",
|
|
5
|
-
"minimal":
|
|
5
|
+
"minimal": "minimal",
|
|
6
6
|
"low": "low",
|
|
7
|
-
"medium":
|
|
7
|
+
"medium": "medium",
|
|
8
8
|
"high": "high",
|
|
9
|
-
"xhigh":
|
|
9
|
+
"xhigh": "xhigh",
|
|
10
10
|
"max": "max"
|
|
11
11
|
},
|
|
12
12
|
"cost": {
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"glm-5.2": {
|
|
37
37
|
"thinkingLevelMap": {
|
|
38
38
|
"off": "none",
|
|
39
|
-
"minimal":
|
|
40
|
-
"low":
|
|
41
|
-
"medium":
|
|
39
|
+
"minimal": "minimal",
|
|
40
|
+
"low": "low",
|
|
41
|
+
"medium": "medium",
|
|
42
42
|
"high": "high",
|
|
43
|
-
"xhigh":
|
|
43
|
+
"xhigh": "xhigh",
|
|
44
44
|
"max": "max"
|
|
45
45
|
},
|
|
46
46
|
"cost": {
|
|
@@ -48,5 +48,22 @@
|
|
|
48
48
|
"output": 4,
|
|
49
49
|
"cacheRead": 0.2
|
|
50
50
|
}
|
|
51
|
+
},
|
|
52
|
+
"glm-5.3-flash": {
|
|
53
|
+
"input": ["text", "image"],
|
|
54
|
+
"thinkingLevelMap": {
|
|
55
|
+
"off": "none",
|
|
56
|
+
"minimal": "minimal",
|
|
57
|
+
"low": "minimal",
|
|
58
|
+
"medium": "medium",
|
|
59
|
+
"high": "high",
|
|
60
|
+
"xhigh": "max",
|
|
61
|
+
"max": "max"
|
|
62
|
+
},
|
|
63
|
+
"cost": {
|
|
64
|
+
"input": 0.15,
|
|
65
|
+
"output": 0.5,
|
|
66
|
+
"cacheRead": 0.03
|
|
67
|
+
}
|
|
51
68
|
}
|
|
52
69
|
}
|
package/pnpm-workspace.yaml
CHANGED
|
@@ -6,10 +6,10 @@ onlyBuiltDependencies:
|
|
|
6
6
|
- protobufjs
|
|
7
7
|
|
|
8
8
|
minimumReleaseAgeExclude:
|
|
9
|
-
- '@earendil-works/pi-agent-core@0.84.0 || 0.84.1 || 0.84.2'
|
|
10
|
-
- '@earendil-works/pi-ai@0.84.0 || 0.84.1 || 0.84.2'
|
|
11
|
-
- '@earendil-works/pi-client@0.84.0 || 0.84.1 || 0.84.2'
|
|
12
|
-
- '@earendil-works/pi-coding-agent@0.84.0 || 0.84.1 || 0.84.2'
|
|
13
|
-
- '@earendil-works/pi-protocol@0.84.0 || 0.84.1 || 0.84.2'
|
|
14
|
-
- '@earendil-works/pi-telemetry@0.84.0 || 0.84.1 || 0.84.2'
|
|
15
|
-
- '@earendil-works/pi-tui@0.84.0 || 0.84.1 || 0.84.2'
|
|
9
|
+
- '@earendil-works/pi-agent-core@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3'
|
|
10
|
+
- '@earendil-works/pi-ai@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3'
|
|
11
|
+
- '@earendil-works/pi-client@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3'
|
|
12
|
+
- '@earendil-works/pi-coding-agent@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3'
|
|
13
|
+
- '@earendil-works/pi-protocol@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3'
|
|
14
|
+
- '@earendil-works/pi-telemetry@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3'
|
|
15
|
+
- '@earendil-works/pi-tui@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3'
|