pi-opencode-go-provider 1.0.19 → 1.0.20
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 +8 -94
- package/README.md +1 -0
- package/models.json +28 -0
- package/package.json +8 -8
|
@@ -15,103 +15,17 @@
|
|
|
15
15
|
"kind": "main",
|
|
16
16
|
"sessionId": "01a06632-9590-73a7-8e4c-bf4f4d6d8277"
|
|
17
17
|
}
|
|
18
|
-
},
|
|
19
|
-
"topology/hosts/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8": {
|
|
20
|
-
"key": "topology/hosts/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8",
|
|
21
|
-
"value": {
|
|
22
|
-
"format": 1,
|
|
23
|
-
"id": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
24
|
-
"rootId": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
25
|
-
"identity": {
|
|
26
|
-
"id": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
27
|
-
"name": "main",
|
|
28
|
-
"kind": "main",
|
|
29
|
-
"sessionId": "01a06632-9590-73a7-8e4c-bf4f4d6d8277"
|
|
30
|
-
},
|
|
31
|
-
"startedAt": 1788423483486,
|
|
32
|
-
"updatedAt": 1788423878684,
|
|
33
|
-
"expiresAt": 1788423893684
|
|
34
|
-
},
|
|
35
|
-
"version": 566,
|
|
36
|
-
"updatedAt": 1788423878685,
|
|
37
|
-
"updatedBy": {
|
|
38
|
-
"id": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
39
|
-
"name": "main",
|
|
40
|
-
"kind": "main",
|
|
41
|
-
"sessionId": "01a06632-9590-73a7-8e4c-bf4f4d6d8277"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"sessions/01a06632-9590-73a7-8e4c-bf4f4d6d8277": {
|
|
45
|
-
"key": "sessions/01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
46
|
-
"value": {
|
|
47
|
-
"id": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
48
|
-
"name": "POGP-2",
|
|
49
|
-
"label": "POGP-2",
|
|
50
|
-
"kind": "peer",
|
|
51
|
-
"status": "running",
|
|
52
|
-
"runner": "pi",
|
|
53
|
-
"transport": "host",
|
|
54
|
-
"cwd": "/Users/monotykamary/VCS/working-remote/open-source/pi-opencode-go-provider",
|
|
55
|
-
"sessionId": "01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
56
|
-
"model": "xai/grok-4.6",
|
|
57
|
-
"thinking": "medium",
|
|
58
|
-
"startedAt": 1788423483486,
|
|
59
|
-
"updatedAt": 1788423878684,
|
|
60
|
-
"pendingMessages": false,
|
|
61
|
-
"local": false
|
|
62
|
-
},
|
|
63
|
-
"version": 565,
|
|
64
|
-
"updatedAt": 1788423878685,
|
|
65
|
-
"updatedBy": {
|
|
66
|
-
"id": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
67
|
-
"name": "main",
|
|
68
|
-
"kind": "main",
|
|
69
|
-
"sessionId": "01a06632-9590-73a7-8e4c-bf4f4d6d8277"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"topology/participants/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8": {
|
|
73
|
-
"key": "topology/participants/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8",
|
|
74
|
-
"value": {
|
|
75
|
-
"format": 1,
|
|
76
|
-
"id": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
77
|
-
"kind": "root",
|
|
78
|
-
"rootId": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
79
|
-
"ownerHostId": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
80
|
-
"ownerIdentityId": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
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-opencode-go-provider",
|
|
91
|
-
"sessionId": "01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
92
|
-
"model": "xai/grok-4.6",
|
|
93
|
-
"thinking": "medium",
|
|
94
|
-
"startedAt": 1788423483486,
|
|
95
|
-
"updatedAt": 1788423878684,
|
|
96
|
-
"pendingMessages": false,
|
|
97
|
-
"controlProtocol": "v1",
|
|
98
|
-
"label": "POGP-2"
|
|
99
|
-
},
|
|
100
|
-
"version": 566,
|
|
101
|
-
"updatedAt": 1788423878686,
|
|
102
|
-
"updatedBy": {
|
|
103
|
-
"id": "session:01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
104
|
-
"name": "main",
|
|
105
|
-
"kind": "main",
|
|
106
|
-
"sessionId": "01a06632-9590-73a7-8e4c-bf4f4d6d8277"
|
|
107
|
-
}
|
|
108
18
|
}
|
|
109
19
|
},
|
|
110
20
|
"versions": {
|
|
111
21
|
"topology/peer-seq": 2,
|
|
112
|
-
"topology/hosts/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8":
|
|
113
|
-
"sessions/01a06632-9590-73a7-8e4c-bf4f4d6d8277":
|
|
114
|
-
"topology/participants/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8":
|
|
22
|
+
"topology/hosts/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8": 593,
|
|
23
|
+
"sessions/01a06632-9590-73a7-8e4c-bf4f4d6d8277": 591,
|
|
24
|
+
"topology/participants/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8": 593
|
|
115
25
|
},
|
|
116
|
-
"tombstoneOrder": [
|
|
26
|
+
"tombstoneOrder": [
|
|
27
|
+
"sessions/01a06632-9590-73a7-8e4c-bf4f4d6d8277",
|
|
28
|
+
"topology/participants/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8",
|
|
29
|
+
"topology/hosts/ae5878888fad007023c5ff775ac6356930ec9eaacf6e5b09ceebb18d9d4e54c8"
|
|
30
|
+
]
|
|
117
31
|
}
|
package/README.md
CHANGED
|
@@ -90,6 +90,7 @@ pi
|
|
|
90
90
|
| MiniMax-M3 | Anthropic | Text + Image | 1.0M | 131K | $0.30 | $1.20 |
|
|
91
91
|
| Muse Spark 1.2 Contributor | Responses | Text + Image | 1.0M | 131K | $0.10 | $0.20 |
|
|
92
92
|
| Muse Spark 1.3 Contributor | Responses | Text + Image | 1.0M | 131K | $0.10 | $0.20 |
|
|
93
|
+
| Omen Alpha | Completions | Text + Image | 500K | 128K | $0.20 | $0.66 |
|
|
93
94
|
| Qwen3.6 Plus | Completions | Text + Image | 1.0M | 66K | $0.50 | $3.00 |
|
|
94
95
|
| Qwen3.7 Max | Completions | Text | 1.0M | 66K | $2.50 | $7.50 |
|
|
95
96
|
| Qwen3.7 Plus | Completions | Text + Image | 1.0M | 66K | $0.40 | $1.60 |
|
package/models.json
CHANGED
|
@@ -293,6 +293,34 @@
|
|
|
293
293
|
"contextWindow": 1024000,
|
|
294
294
|
"maxTokens": 64000
|
|
295
295
|
},
|
|
296
|
+
{
|
|
297
|
+
"id": "omen-alpha",
|
|
298
|
+
"name": "Omen Alpha",
|
|
299
|
+
"api": "openai-completions",
|
|
300
|
+
"baseUrl": "https://opencode.ai/zen/go/v1",
|
|
301
|
+
"reasoning": true,
|
|
302
|
+
"thinkingLevelMap": {
|
|
303
|
+
"off": null,
|
|
304
|
+
"minimal": null,
|
|
305
|
+
"low": "low",
|
|
306
|
+
"medium": null,
|
|
307
|
+
"high": "high",
|
|
308
|
+
"xhigh": null,
|
|
309
|
+
"max": null
|
|
310
|
+
},
|
|
311
|
+
"input": [
|
|
312
|
+
"text",
|
|
313
|
+
"image"
|
|
314
|
+
],
|
|
315
|
+
"cost": {
|
|
316
|
+
"input": 0.2,
|
|
317
|
+
"output": 0.66,
|
|
318
|
+
"cacheRead": 0.04,
|
|
319
|
+
"cacheWrite": 0
|
|
320
|
+
},
|
|
321
|
+
"contextWindow": 500000,
|
|
322
|
+
"maxTokens": 128000
|
|
323
|
+
},
|
|
296
324
|
{
|
|
297
325
|
"id": "gpt-5.6-luna",
|
|
298
326
|
"name": "GPT-5.6 Luna",
|
package/package.json
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-opencode-go-provider",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Opencode Go provider extension for pi - Fast, efficient GLM, Kimi, and MiniMax models through the opencode.ai API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"clean": "echo 'nothing to clean'",
|
|
9
|
-
"build": "echo 'nothing to build'",
|
|
10
|
-
"check": "echo 'nothing to check'",
|
|
11
|
-
"update-models": "node scripts/update-models.js"
|
|
12
|
-
},
|
|
13
7
|
"keywords": [
|
|
14
8
|
"pi",
|
|
15
9
|
"extension",
|
|
@@ -28,5 +22,11 @@
|
|
|
28
22
|
"extensions": [
|
|
29
23
|
"./index.ts"
|
|
30
24
|
]
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"clean": "echo 'nothing to clean'",
|
|
28
|
+
"build": "echo 'nothing to build'",
|
|
29
|
+
"check": "echo 'nothing to check'",
|
|
30
|
+
"update-models": "node scripts/update-models.js"
|
|
31
31
|
}
|
|
32
|
-
}
|
|
32
|
+
}
|