pi-zro-provider 1.3.6 → 1.3.7
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 +23 -23
- package/README.md +2 -2
- package/package.json +1 -1
- package/patch.json +6 -5
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
"key": "topology/peer-seq",
|
|
6
6
|
"value": {
|
|
7
7
|
"format": 1,
|
|
8
|
-
"next":
|
|
8
|
+
"next": 5
|
|
9
9
|
},
|
|
10
|
-
"version":
|
|
11
|
-
"updatedAt":
|
|
10
|
+
"version": 5,
|
|
11
|
+
"updatedAt": 1788196156672,
|
|
12
12
|
"updatedBy": {
|
|
13
13
|
"id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
|
|
14
14
|
"name": "main",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"kind": "main",
|
|
29
29
|
"sessionId": "01a057b0-b2e1-7855-9f7c-58dafc238300"
|
|
30
30
|
},
|
|
31
|
-
"startedAt":
|
|
32
|
-
"updatedAt":
|
|
33
|
-
"expiresAt":
|
|
31
|
+
"startedAt": 1788196156623,
|
|
32
|
+
"updatedAt": 1788196627320,
|
|
33
|
+
"expiresAt": 1788196642320
|
|
34
34
|
},
|
|
35
|
-
"version":
|
|
36
|
-
"updatedAt":
|
|
35
|
+
"version": 1094,
|
|
36
|
+
"updatedAt": 1788196627320,
|
|
37
37
|
"updatedBy": {
|
|
38
38
|
"id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
|
|
39
39
|
"name": "main",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"key": "sessions/01a057b0-b2e1-7855-9f7c-58dafc238300",
|
|
46
46
|
"value": {
|
|
47
47
|
"id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
|
|
48
|
-
"name": "PZP-
|
|
49
|
-
"label": "PZP-
|
|
48
|
+
"name": "PZP-5",
|
|
49
|
+
"label": "PZP-5",
|
|
50
50
|
"kind": "peer",
|
|
51
51
|
"status": "running",
|
|
52
52
|
"runner": "pi",
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"sessionId": "01a057b0-b2e1-7855-9f7c-58dafc238300",
|
|
56
56
|
"model": "runinfra/glm-5-3-flash",
|
|
57
57
|
"thinking": "high",
|
|
58
|
-
"startedAt":
|
|
59
|
-
"updatedAt":
|
|
58
|
+
"startedAt": 1788196156623,
|
|
59
|
+
"updatedAt": 1788196627320,
|
|
60
60
|
"pendingMessages": false,
|
|
61
61
|
"local": false
|
|
62
62
|
},
|
|
63
|
-
"version":
|
|
64
|
-
"updatedAt":
|
|
63
|
+
"version": 1093,
|
|
64
|
+
"updatedAt": 1788196627321,
|
|
65
65
|
"updatedBy": {
|
|
66
66
|
"id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
|
|
67
67
|
"name": "main",
|
|
@@ -91,14 +91,14 @@
|
|
|
91
91
|
"sessionId": "01a057b0-b2e1-7855-9f7c-58dafc238300",
|
|
92
92
|
"model": "runinfra/glm-5-3-flash",
|
|
93
93
|
"thinking": "high",
|
|
94
|
-
"startedAt":
|
|
95
|
-
"updatedAt":
|
|
94
|
+
"startedAt": 1788196156623,
|
|
95
|
+
"updatedAt": 1788196627320,
|
|
96
96
|
"pendingMessages": false,
|
|
97
97
|
"controlProtocol": "v1",
|
|
98
|
-
"label": "PZP-
|
|
98
|
+
"label": "PZP-5"
|
|
99
99
|
},
|
|
100
|
-
"version":
|
|
101
|
-
"updatedAt":
|
|
100
|
+
"version": 1094,
|
|
101
|
+
"updatedAt": 1788196627322,
|
|
102
102
|
"updatedBy": {
|
|
103
103
|
"id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
|
|
104
104
|
"name": "main",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"topology/hosts/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473": 104,
|
|
127
127
|
"sessions/01a01fc8-620b-7ef6-80b9-76c6dc2c000e": 103,
|
|
128
128
|
"topology/participants/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473": 104,
|
|
129
|
-
"topology/peer-seq":
|
|
129
|
+
"topology/peer-seq": 5,
|
|
130
130
|
"topology/hosts/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54": 655,
|
|
131
131
|
"sessions/01a04367-1508-7b74-b7d5-d8a25e870306": 654,
|
|
132
132
|
"topology/participants/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54": 655,
|
|
@@ -136,9 +136,9 @@
|
|
|
136
136
|
"topology/hosts/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c": 29,
|
|
137
137
|
"sessions/01a05740-1ae0-7f5b-a1a7-ce8bd6304559": 28,
|
|
138
138
|
"topology/participants/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c": 29,
|
|
139
|
-
"topology/hosts/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39":
|
|
140
|
-
"sessions/01a057b0-b2e1-7855-9f7c-58dafc238300":
|
|
141
|
-
"topology/participants/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39":
|
|
139
|
+
"topology/hosts/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39": 1094,
|
|
140
|
+
"sessions/01a057b0-b2e1-7855-9f7c-58dafc238300": 1093,
|
|
141
|
+
"topology/participants/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39": 1094
|
|
142
142
|
},
|
|
143
143
|
"tombstoneOrder": [
|
|
144
144
|
"sessions/01a01e04-c04a-79f6-8622-d51fd5ec5579",
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ _GLM-5.2, Kimi K3, and DeepSeek V4 Flash — run through the Zro inference endpo
|
|
|
16
16
|
## Features
|
|
17
17
|
|
|
18
18
|
- **5+ 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. Quirks: `glm-5.3-flash` silently disables thinking at `low`, so `minimal`/`low` map to `minimal`; `glm-5.3`
|
|
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. Quirks: `glm-5.3-flash` silently disables thinking at `low`, so `minimal`/`low` map to `minimal`; `glm-5.3` mirrors flash's full ladder — Z.ai officially removed `none` for the 5.3 family, but the proxy accepts it and streams cleanly (occasionally a short chain-of-thought preamble surfaces in `content` before the answer), and `xhigh`/`max` both send `max`
|
|
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)
|
|
@@ -104,7 +104,7 @@ The available levels are model-specific and come straight from Zro's catalog:
|
|
|
104
104
|
| Model | pi levels | Sent as `reasoning_effort` |
|
|
105
105
|
|-------|-----------|----------------------------|
|
|
106
106
|
| `glm-5.2` | `off`, `high`, `max` | `none`, `high`, `max` |
|
|
107
|
-
| `glm-5.3` | `minimal`, `low`, `medium`, `high`, `xhigh` | `
|
|
107
|
+
| `glm-5.3` | `off`, `minimal`, `low`, `medium`, `high`, `xhigh`, `max` | `none`, `minimal`, `minimal`, `medium`, `high`, `max`, `max` |
|
|
108
108
|
| `kimi-k3` | `low`, `high`, `max` | `low`, `high`, `max` |
|
|
109
109
|
| `deepseek-v4-flash-0731` | `off`, `low`, `high`, `max` | `none`, `low`, `high`, `max` |
|
|
110
110
|
|
package/package.json
CHANGED
package/patch.json
CHANGED
|
@@ -54,12 +54,13 @@
|
|
|
54
54
|
},
|
|
55
55
|
"glm-5.3": {
|
|
56
56
|
"thinkingLevelMap": {
|
|
57
|
-
"off":
|
|
58
|
-
"minimal": "
|
|
59
|
-
"low": "
|
|
60
|
-
"medium": "
|
|
57
|
+
"off": "none",
|
|
58
|
+
"minimal": "minimal",
|
|
59
|
+
"low": "minimal",
|
|
60
|
+
"medium": "medium",
|
|
61
61
|
"high": "high",
|
|
62
|
-
"xhigh": "max"
|
|
62
|
+
"xhigh": "max",
|
|
63
|
+
"max": "max"
|
|
63
64
|
},
|
|
64
65
|
"cost": {
|
|
65
66
|
"input": 1.4,
|