pi-opencode-go-provider 1.1.27 → 1.1.29

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.28
4
+
5
+ - Pin Pi SDK development dependencies to 1.3.0 while retaining wildcard host peers; verify real manifest loading, lifecycle and native/bundled Pi hosts offline.
6
+
3
7
  ## 1.1.26
4
8
 
5
9
  - Pin Pi SDK development dependencies to 1.2.0 while retaining wildcard host peers; verify real manifest loading, lifecycle and native/bundled Pi hosts offline.
package/README.md CHANGED
@@ -76,7 +76,7 @@ pi
76
76
 
77
77
  | Model | API | Type | Context | Max Tokens | Input Cost | Output Cost |
78
78
  |-------|-----|------|---------|------------|------------|-------------|
79
- | Cat Jam Free | Completions | Text | 1.0M | 131K | — | — |
79
+ | Beam Free | Completions | Text | 1.0M | 131K | — | — |
80
80
  | Claude Haiku 5.5 | Anthropic | Text + Image | 1.0M | 128K | $0.10 | $0.50 |
81
81
  | DeepSeek V4 Pro (New) | Completions | Text | 1.0M | 384K | $0.66 | $1.98 |
82
82
  | DeepSeek V4.1 Flash | Completions | Text + Image | 1.0M | 384K | $0.15 | $0.60 |
@@ -161,5 +161,33 @@
161
161
  "contextWindow": 500000,
162
162
  "maxTokens": 500000,
163
163
  "deprecatedAt": "2026-10-16T04:24:15.416Z"
164
+ },
165
+ "cat-jam-free": {
166
+ "id": "cat-jam-free",
167
+ "name": "Cat Jam Free",
168
+ "api": "openai-completions",
169
+ "baseUrl": "https://opencode.ai/zen/go/v1",
170
+ "reasoning": true,
171
+ "thinkingLevelMap": {
172
+ "off": null,
173
+ "minimal": null,
174
+ "low": "low",
175
+ "medium": "medium",
176
+ "high": "high",
177
+ "xhigh": "xhigh",
178
+ "max": "max"
179
+ },
180
+ "input": [
181
+ "text"
182
+ ],
183
+ "cost": {
184
+ "input": 0,
185
+ "output": 0,
186
+ "cacheRead": 0,
187
+ "cacheWrite": 0
188
+ },
189
+ "contextWindow": 1048576,
190
+ "maxTokens": 131072,
191
+ "deprecatedAt": "2026-10-17T04:17:33.662Z"
164
192
  }
165
193
  }
package/models.json CHANGED
@@ -270,33 +270,6 @@
270
270
  "contextWindow": 1000000,
271
271
  "maxTokens": 131072
272
272
  },
273
- {
274
- "id": "cat-jam-free",
275
- "name": "Cat Jam Free",
276
- "api": "openai-completions",
277
- "baseUrl": "https://opencode.ai/zen/go/v1",
278
- "reasoning": true,
279
- "thinkingLevelMap": {
280
- "off": null,
281
- "minimal": null,
282
- "low": "low",
283
- "medium": "medium",
284
- "high": "high",
285
- "xhigh": "xhigh",
286
- "max": "max"
287
- },
288
- "input": [
289
- "text"
290
- ],
291
- "cost": {
292
- "input": 0,
293
- "output": 0,
294
- "cacheRead": 0,
295
- "cacheWrite": 0
296
- },
297
- "contextWindow": 1048576,
298
- "maxTokens": 131072
299
- },
300
273
  {
301
274
  "id": "space-bunny",
302
275
  "name": "Space Bunny",
@@ -519,6 +492,33 @@
519
492
  "contextWindow": 1048576,
520
493
  "maxTokens": 131072
521
494
  },
495
+ {
496
+ "id": "beam-free",
497
+ "name": "Beam Free",
498
+ "api": "openai-completions",
499
+ "baseUrl": "https://opencode.ai/zen/go/v1",
500
+ "reasoning": true,
501
+ "thinkingLevelMap": {
502
+ "off": null,
503
+ "minimal": null,
504
+ "low": "low",
505
+ "medium": "medium",
506
+ "high": "high",
507
+ "xhigh": "xhigh",
508
+ "max": "max"
509
+ },
510
+ "input": [
511
+ "text"
512
+ ],
513
+ "cost": {
514
+ "input": 0,
515
+ "output": 0,
516
+ "cacheRead": 0,
517
+ "cacheWrite": 0
518
+ },
519
+ "contextWindow": 1048576,
520
+ "maxTokens": 131072
521
+ },
522
522
  {
523
523
  "id": "claude-haiku-5-5",
524
524
  "name": "Claude Haiku 5.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-opencode-go-provider",
3
- "version": "1.1.27",
3
+ "version": "1.1.29",
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",
@@ -36,7 +36,7 @@
36
36
  "brace-expansion": "5.0.12"
37
37
  },
38
38
  "devDependencies": {
39
- "@earendil-works/pi-coding-agent": "1.2.0",
39
+ "@earendil-works/pi-coding-agent": "1.3.0",
40
40
  "@types/node": "~22.19.0",
41
41
  "typescript": "^6.0.3",
42
42
  "vitest": "4.1.7"
@@ -1,4 +1,4 @@
1
- // Offline Pi 1.2.0 manifest, lifecycle, catalog and real transport regression.
1
+ // Offline Pi 1.3.0 manifest, lifecycle, catalog and real transport regression.
2
2
  import assert from 'node:assert/strict';
3
3
  import { mkdtemp, readFile, rm } from 'node:fs/promises';
4
4
  import { tmpdir } from 'node:os';
@@ -18,13 +18,13 @@ try {
18
18
  const hostEntry = process.env.PI1_HOST_ENTRY === 'bundle' ? 'dist/bundle/index.js' : 'dist/index.js';
19
19
  const sdk = await import(host ? pathToFileURL(join(host, hostEntry)).href : '@earendil-works/pi-coding-agent');
20
20
  const { createAgentSession, DefaultResourceLoader, ModelRuntime, SessionManager, SettingsManager, VERSION } = sdk;
21
- assert.equal(VERSION, '1.2.0', 'executing host version');
22
- assert.equal((await import('@earendil-works/pi-coding-agent')).VERSION, '1.2.0', 'development host version');
21
+ assert.equal(VERSION, '1.3.0', 'executing host version');
22
+ assert.equal((await import('@earendil-works/pi-coding-agent')).VERSION, '1.3.0', 'development host version');
23
23
  const manifest = JSON.parse(await readFile(join(root, 'package.json'), 'utf8'));
24
24
  for (const name of ['@earendil-works/pi-ai', '@earendil-works/pi-agent-core', '@earendil-works/pi-coding-agent', '@earendil-works/pi-tui', 'typebox']) {
25
25
  assert.equal(manifest.dependencies?.[name], undefined, `${name}: do not bundle host packages`);
26
26
  if (manifest.peerDependencies?.[name] !== undefined) assert.equal(manifest.peerDependencies[name], '*');
27
- if (name !== 'typebox' && manifest.devDependencies?.[name]) assert.equal(manifest.devDependencies[name], '1.2.0');
27
+ if (name !== 'typebox' && manifest.devDependencies?.[name]) assert.equal(manifest.devDependencies[name], '1.3.0');
28
28
  }
29
29
  const settingsManager = SettingsManager.inMemory({ packages: [root], compaction: { enabled: false }, retry: { enabled: false } });
30
30
  const resourceLoader = new DefaultResourceLoader({ cwd: home, agentDir: home, settingsManager,