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.
@@ -5,10 +5,10 @@
5
5
  "key": "topology/peer-seq",
6
6
  "value": {
7
7
  "format": 1,
8
- "next": 4
8
+ "next": 5
9
9
  },
10
- "version": 4,
11
- "updatedAt": 1788177675138,
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": 1788177674906,
32
- "updatedAt": 1788179115633,
33
- "expiresAt": 1788179130633
31
+ "startedAt": 1788196156623,
32
+ "updatedAt": 1788196627320,
33
+ "expiresAt": 1788196642320
34
34
  },
35
- "version": 410,
36
- "updatedAt": 1788179115635,
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-4",
49
- "label": "PZP-4",
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": 1788177674906,
59
- "updatedAt": 1788179115633,
58
+ "startedAt": 1788196156623,
59
+ "updatedAt": 1788196627320,
60
60
  "pendingMessages": false,
61
61
  "local": false
62
62
  },
63
- "version": 410,
64
- "updatedAt": 1788179115638,
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": 1788177674906,
95
- "updatedAt": 1788179115633,
94
+ "startedAt": 1788196156623,
95
+ "updatedAt": 1788196627320,
96
96
  "pendingMessages": false,
97
97
  "controlProtocol": "v1",
98
- "label": "PZP-4"
98
+ "label": "PZP-5"
99
99
  },
100
- "version": 410,
101
- "updatedAt": 1788179115639,
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": 4,
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": 410,
140
- "sessions/01a057b0-b2e1-7855-9f7c-58dafc238300": 410,
141
- "topology/participants/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39": 410
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` can't disable thinking at all (Z.ai removed `none` for 5.3 — the proxy accepts it but leaks chain-of-thought into `content`), so `off` is unavailable and `minimal`/`medium` map to the officially supported `low`/`high`
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` | `low`, `low`, `high`, `high`, `max` |
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-zro-provider",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
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",
package/patch.json CHANGED
@@ -54,12 +54,13 @@
54
54
  },
55
55
  "glm-5.3": {
56
56
  "thinkingLevelMap": {
57
- "off": null,
58
- "minimal": "low",
59
- "low": "low",
60
- "medium": "high",
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,