pi-zro-provider 1.3.7 → 1.3.9

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.
@@ -15,96 +15,6 @@
15
15
  "kind": "main",
16
16
  "sessionId": "01a057b0-b2e1-7855-9f7c-58dafc238300"
17
17
  }
18
- },
19
- "topology/hosts/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39": {
20
- "key": "topology/hosts/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39",
21
- "value": {
22
- "format": 1,
23
- "id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
24
- "rootId": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
25
- "identity": {
26
- "id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
27
- "name": "main",
28
- "kind": "main",
29
- "sessionId": "01a057b0-b2e1-7855-9f7c-58dafc238300"
30
- },
31
- "startedAt": 1788196156623,
32
- "updatedAt": 1788196627320,
33
- "expiresAt": 1788196642320
34
- },
35
- "version": 1094,
36
- "updatedAt": 1788196627320,
37
- "updatedBy": {
38
- "id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
39
- "name": "main",
40
- "kind": "main",
41
- "sessionId": "01a057b0-b2e1-7855-9f7c-58dafc238300"
42
- }
43
- },
44
- "sessions/01a057b0-b2e1-7855-9f7c-58dafc238300": {
45
- "key": "sessions/01a057b0-b2e1-7855-9f7c-58dafc238300",
46
- "value": {
47
- "id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
48
- "name": "PZP-5",
49
- "label": "PZP-5",
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": "01a057b0-b2e1-7855-9f7c-58dafc238300",
56
- "model": "runinfra/glm-5-3-flash",
57
- "thinking": "high",
58
- "startedAt": 1788196156623,
59
- "updatedAt": 1788196627320,
60
- "pendingMessages": false,
61
- "local": false
62
- },
63
- "version": 1093,
64
- "updatedAt": 1788196627321,
65
- "updatedBy": {
66
- "id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
67
- "name": "main",
68
- "kind": "main",
69
- "sessionId": "01a057b0-b2e1-7855-9f7c-58dafc238300"
70
- }
71
- },
72
- "topology/participants/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39": {
73
- "key": "topology/participants/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39",
74
- "value": {
75
- "format": 1,
76
- "id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
77
- "kind": "root",
78
- "rootId": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
79
- "ownerHostId": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
80
- "ownerIdentityId": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
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": "01a057b0-b2e1-7855-9f7c-58dafc238300",
92
- "model": "runinfra/glm-5-3-flash",
93
- "thinking": "high",
94
- "startedAt": 1788196156623,
95
- "updatedAt": 1788196627320,
96
- "pendingMessages": false,
97
- "controlProtocol": "v1",
98
- "label": "PZP-5"
99
- },
100
- "version": 1094,
101
- "updatedAt": 1788196627322,
102
- "updatedBy": {
103
- "id": "session:01a057b0-b2e1-7855-9f7c-58dafc238300",
104
- "name": "main",
105
- "kind": "main",
106
- "sessionId": "01a057b0-b2e1-7855-9f7c-58dafc238300"
107
- }
108
18
  }
109
19
  },
110
20
  "versions": {
@@ -136,9 +46,9 @@
136
46
  "topology/hosts/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c": 29,
137
47
  "sessions/01a05740-1ae0-7f5b-a1a7-ce8bd6304559": 28,
138
48
  "topology/participants/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c": 29,
139
- "topology/hosts/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39": 1094,
140
- "sessions/01a057b0-b2e1-7855-9f7c-58dafc238300": 1093,
141
- "topology/participants/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39": 1094
49
+ "topology/hosts/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39": 1110,
50
+ "sessions/01a057b0-b2e1-7855-9f7c-58dafc238300": 1108,
51
+ "topology/participants/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39": 1110
142
52
  },
143
53
  "tombstoneOrder": [
144
54
  "sessions/01a01e04-c04a-79f6-8622-d51fd5ec5579",
@@ -167,6 +77,9 @@
167
77
  "topology/hosts/129fc1e27289fe0942d9828acb84132fa78ee8f4483b9d3c12cfe669b679bee5",
168
78
  "sessions/01a05740-1ae0-7f5b-a1a7-ce8bd6304559",
169
79
  "topology/participants/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c",
170
- "topology/hosts/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c"
80
+ "topology/hosts/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c",
81
+ "sessions/01a057b0-b2e1-7855-9f7c-58dafc238300",
82
+ "topology/participants/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39",
83
+ "topology/hosts/2d2d4016e1df1d745ee5a486b9c105a2672bfa2f823cdfb8b898ad214a6fba39"
171
84
  ]
172
85
  }
package/README.md CHANGED
@@ -15,7 +15,7 @@ _GLM-5.2, Kimi K3, and DeepSeek V4 Flash — run through the Zro inference endpo
15
15
 
16
16
  ## Features
17
17
 
18
- - **5+ AI Models** — GLM-5.2 (default), Kimi K3, and DeepSeek V4 Flash, straight from Zro's production catalog
18
+ - **6+ AI Models** — GLM-5.2 (default), Kimi K3, and DeepSeek V4 Flash, straight from Zro's production catalog
19
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
@@ -26,6 +26,7 @@ _GLM-5.2, Kimi K3, and DeepSeek V4 Flash — run through the Zro inference endpo
26
26
 
27
27
  | Model | Type | Context | Max Tokens | Input Cost | Output Cost |
28
28
  |-------|------|---------|------------|------------|-------------|
29
+ | Auto | Text | 1.0M | 131K | — | — |
29
30
  | DeepSeek V4 Flash | Text | 1.0M | 384K | $0.14 | $0.28 |
30
31
  | GLM-5.2 | Text | 524K | 64K | $1.10 | $4.00 |
31
32
  | GLM-5.3 | Text | 1.0M | 131K | $1.40 | $4.40 |
package/models.json CHANGED
@@ -1,4 +1,33 @@
1
1
  [
2
+ {
3
+ "id": "auto",
4
+ "name": "Auto",
5
+ "reasoning": true,
6
+ "thinkingLevelMap": {
7
+ "off": null,
8
+ "minimal": null,
9
+ "low": null,
10
+ "medium": "auto",
11
+ "high": null,
12
+ "xhigh": null
13
+ },
14
+ "input": [
15
+ "text"
16
+ ],
17
+ "cost": {
18
+ "input": 0,
19
+ "output": 0,
20
+ "cacheRead": 0,
21
+ "cacheWrite": 0
22
+ },
23
+ "contextWindow": 1048576,
24
+ "maxTokens": 131000,
25
+ "compat": {
26
+ "supportsDeveloperRole": false,
27
+ "supportsReasoningEffort": true,
28
+ "maxTokensField": "max_tokens"
29
+ }
30
+ },
2
31
  {
3
32
  "id": "deepseek-v4-flash-0731",
4
33
  "name": "DeepSeek V4 Flash",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-zro-provider",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
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",
@@ -33,8 +33,8 @@
33
33
  ]
34
34
  },
35
35
  "devDependencies": {
36
- "@earendil-works/pi-ai": "0.84.4",
37
- "@earendil-works/pi-coding-agent": "0.84.4",
36
+ "@earendil-works/pi-ai": "0.85.0",
37
+ "@earendil-works/pi-coding-agent": "0.85.0",
38
38
  "@types/node": "^24.10.1",
39
39
  "typescript": "6.0.3"
40
40
  }