pi-zro-provider 1.3.4 → 1.3.5

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,15 +5,15 @@
5
5
  "key": "topology/peer-seq",
6
6
  "value": {
7
7
  "format": 1,
8
- "next": 2
8
+ "next": 3
9
9
  },
10
- "version": 2,
11
- "updatedAt": 1788090911648,
10
+ "version": 3,
11
+ "updatedAt": 1788170231498,
12
12
  "updatedBy": {
13
- "id": "session:01a05285-b94a-741b-a4a8-54e32cad03ca",
13
+ "id": "session:01a05740-1ae0-7f5b-a1a7-ce8bd6304559",
14
14
  "name": "main",
15
15
  "kind": "main",
16
- "sessionId": "01a05285-b94a-741b-a4a8-54e32cad03ca"
16
+ "sessionId": "01a05740-1ae0-7f5b-a1a7-ce8bd6304559"
17
17
  }
18
18
  }
19
19
  },
@@ -36,13 +36,16 @@
36
36
  "topology/hosts/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473": 104,
37
37
  "sessions/01a01fc8-620b-7ef6-80b9-76c6dc2c000e": 103,
38
38
  "topology/participants/ce3224824cac6720936106f2753e3c9bdf73aec5bcbd045b3dbc3e2d8fa30473": 104,
39
- "topology/peer-seq": 2,
39
+ "topology/peer-seq": 3,
40
40
  "topology/hosts/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54": 655,
41
41
  "sessions/01a04367-1508-7b74-b7d5-d8a25e870306": 654,
42
42
  "topology/participants/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54": 655,
43
43
  "topology/hosts/129fc1e27289fe0942d9828acb84132fa78ee8f4483b9d3c12cfe669b679bee5": 82,
44
44
  "sessions/01a05285-b94a-741b-a4a8-54e32cad03ca": 81,
45
- "topology/participants/129fc1e27289fe0942d9828acb84132fa78ee8f4483b9d3c12cfe669b679bee5": 82
45
+ "topology/participants/129fc1e27289fe0942d9828acb84132fa78ee8f4483b9d3c12cfe669b679bee5": 82,
46
+ "topology/hosts/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c": 29,
47
+ "sessions/01a05740-1ae0-7f5b-a1a7-ce8bd6304559": 28,
48
+ "topology/participants/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c": 29
46
49
  },
47
50
  "tombstoneOrder": [
48
51
  "sessions/01a01e04-c04a-79f6-8622-d51fd5ec5579",
@@ -68,6 +71,9 @@
68
71
  "topology/hosts/bc65682ad6d272eda03b90ebe9e53587af6cdd82b200df1470db58844ef4cc54",
69
72
  "sessions/01a05285-b94a-741b-a4a8-54e32cad03ca",
70
73
  "topology/participants/129fc1e27289fe0942d9828acb84132fa78ee8f4483b9d3c12cfe669b679bee5",
71
- "topology/hosts/129fc1e27289fe0942d9828acb84132fa78ee8f4483b9d3c12cfe669b679bee5"
74
+ "topology/hosts/129fc1e27289fe0942d9828acb84132fa78ee8f4483b9d3c12cfe669b679bee5",
75
+ "sessions/01a05740-1ae0-7f5b-a1a7-ce8bd6304559",
76
+ "topology/participants/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c",
77
+ "topology/hosts/27e5bc43ab8f2431073d3d93e4b6d83bd883bd6e2e9a6438129f2f42338b823c"
72
78
  ]
73
79
  }
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
- - **4+ AI Models** — GLM-5.2 (default), Kimi K3, and DeepSeek V4 Flash, straight from Zro's production catalog
18
+ - **5+ 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. 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
@@ -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 | Text | 1.0M | 131K | — | — |
31
32
  | GLM-5.3 Flash | Text + Image | 1.0M | 64K | $0.15 | $0.50 |
32
33
  | Kimi K3 | Text + Image | 1.0M | 131K | $2.50 | $12.00 |
33
34
  *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.*
package/models.json CHANGED
@@ -59,6 +59,35 @@
59
59
  "maxTokensField": "max_tokens"
60
60
  }
61
61
  },
62
+ {
63
+ "id": "glm-5.3",
64
+ "name": "GLM-5.3",
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": 131000,
85
+ "compat": {
86
+ "supportsDeveloperRole": false,
87
+ "supportsReasoningEffort": true,
88
+ "maxTokensField": "max_tokens"
89
+ }
90
+ },
62
91
  {
63
92
  "id": "glm-5.3-flash",
64
93
  "name": "GLM-5.3 Flash",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-zro-provider",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
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",
@@ -1,15 +0,0 @@
1
- allowBuilds:
2
- '@google/genai': false
3
- protobufjs: false
4
- onlyBuiltDependencies:
5
- - '@google/genai'
6
- - protobufjs
7
-
8
- minimumReleaseAgeExclude:
9
- - '@earendil-works/pi-agent-core@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3 || 0.84.4'
10
- - '@earendil-works/pi-ai@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3 || 0.84.4'
11
- - '@earendil-works/pi-client@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3 || 0.84.4'
12
- - '@earendil-works/pi-coding-agent@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3 || 0.84.4'
13
- - '@earendil-works/pi-protocol@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3 || 0.84.4'
14
- - '@earendil-works/pi-telemetry@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3 || 0.84.4'
15
- - '@earendil-works/pi-tui@0.84.0 || 0.84.1 || 0.84.2 || 0.84.3 || 0.84.4'