pi-zro-provider 1.2.2 → 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 +112 -2
- package/README.md +3 -2
- package/models.json +29 -0
- package/package.json +3 -2
- package/patch.json +24 -7
|
@@ -1,6 +1,112 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": 1,
|
|
3
|
-
"entries": {
|
|
3
|
+
"entries": {
|
|
4
|
+
"topology/peer-seq": {
|
|
5
|
+
"key": "topology/peer-seq",
|
|
6
|
+
"value": {
|
|
7
|
+
"format": 1,
|
|
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",
|
|
25
|
+
"identity": {
|
|
26
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
27
|
+
"name": "main",
|
|
28
|
+
"kind": "main",
|
|
29
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306"
|
|
30
|
+
},
|
|
31
|
+
"startedAt": 1787837333379,
|
|
32
|
+
"updatedAt": 1787839989194,
|
|
33
|
+
"expiresAt": 1787840004194
|
|
34
|
+
},
|
|
35
|
+
"version": 645,
|
|
36
|
+
"updatedAt": 1787839989195,
|
|
37
|
+
"updatedBy": {
|
|
38
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
39
|
+
"name": "main",
|
|
40
|
+
"kind": "main",
|
|
41
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"sessions/01a04367-1508-7b74-b7d5-d8a25e870306": {
|
|
45
|
+
"key": "sessions/01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
46
|
+
"value": {
|
|
47
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
48
|
+
"name": "PZP-1",
|
|
49
|
+
"label": "PZP-1",
|
|
50
|
+
"kind": "peer",
|
|
51
|
+
"status": "running",
|
|
52
|
+
"runner": "pi",
|
|
53
|
+
"transport": "host",
|
|
54
|
+
"cwd": "/Users/monotykamary/VCS/working-remote/open-source/pi-zro-provider",
|
|
55
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
56
|
+
"model": "runinfra/glm-5-3-flash",
|
|
57
|
+
"thinking": "max",
|
|
58
|
+
"startedAt": 1787837333379,
|
|
59
|
+
"updatedAt": 1787839989194,
|
|
60
|
+
"pendingMessages": false,
|
|
61
|
+
"local": false
|
|
62
|
+
},
|
|
63
|
+
"version": 645,
|
|
64
|
+
"updatedAt": 1787839989196,
|
|
65
|
+
"updatedBy": {
|
|
66
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
67
|
+
"name": "main",
|
|
68
|
+
"kind": "main",
|
|
69
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"topology/participants/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54": {
|
|
73
|
+
"key": "topology/participants/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54",
|
|
74
|
+
"value": {
|
|
75
|
+
"format": 1,
|
|
76
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
77
|
+
"kind": "root",
|
|
78
|
+
"rootId": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
79
|
+
"ownerHostId": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
80
|
+
"ownerIdentityId": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
81
|
+
"name": "main",
|
|
82
|
+
"status": "running",
|
|
83
|
+
"runner": "pi",
|
|
84
|
+
"transport": "host",
|
|
85
|
+
"capabilities": [
|
|
86
|
+
"steer",
|
|
87
|
+
"followUp",
|
|
88
|
+
"fabric"
|
|
89
|
+
],
|
|
90
|
+
"cwd": "/Users/monotykamary/VCS/working-remote/open-source/pi-zro-provider",
|
|
91
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
92
|
+
"model": "runinfra/glm-5-3-flash",
|
|
93
|
+
"thinking": "max",
|
|
94
|
+
"startedAt": 1787837333379,
|
|
95
|
+
"updatedAt": 1787839989194,
|
|
96
|
+
"pendingMessages": false,
|
|
97
|
+
"controlProtocol": "v1",
|
|
98
|
+
"label": "PZP-1"
|
|
99
|
+
},
|
|
100
|
+
"version": 645,
|
|
101
|
+
"updatedAt": 1787839989198,
|
|
102
|
+
"updatedBy": {
|
|
103
|
+
"id": "session:01a04367-1508-7b74-b7d5-d8a25e870306",
|
|
104
|
+
"name": "main",
|
|
105
|
+
"kind": "main",
|
|
106
|
+
"sessionId": "01a04367-1508-7b74-b7d5-d8a25e870306"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
4
110
|
"versions": {
|
|
5
111
|
"topology/hosts/786a8331932386356c41bd1d599a449d4cddcc84adf186b48d09c3cddbef167d": 432,
|
|
6
112
|
"sessions/01a01e04-c04a-79f6-8622-d51fd5ec5579": 430,
|
|
@@ -19,7 +125,11 @@
|
|
|
19
125
|
"topology/participants/d8923395981d75b371b541819ff73bd3f404bd6e87352a788822d5eee43822c6": 132,
|
|
20
126
|
"topology/hosts/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473": 104,
|
|
21
127
|
"sessions/01a01fc8-620b-7ef6-80b9-76c6dc2c000e": 103,
|
|
22
|
-
"topology/participants/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473": 104
|
|
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
|
|
23
133
|
},
|
|
24
134
|
"tombstoneOrder": [
|
|
25
135
|
"sessions/01a01e04-c04a-79f6-8622-d51fd5ec5579",
|
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
|
],
|
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
|
}
|