pi-opencode-go-provider 1.1.5 → 1.1.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.
package/README.md CHANGED
@@ -80,6 +80,7 @@ pi
80
80
  | GLM-5.3-Flash | Completions | Text + Image | 1.0M | 131K | $0.15 | $0.50 |
81
81
  | GPT-5.6 Luna | Responses | Text + Image | 1.1M | 128K | $0.20 | $1.20 |
82
82
  | Grok 4.6 | Completions | Text + Image | 500K | 500K | $2.00 | $6.00 |
83
+ | Grok 4.7 | Completions | Text + Image | 500K | 500K | $2.00 | $6.00 |
83
84
  | Hy3 | Completions | Text | 256K | 128K | $0.14 | $0.58 |
84
85
  | Hy4 preview | Completions | Text | 1.0M | 64K | $0.83 | $2.50 |
85
86
  | Kimi K2.6 | Completions | Text + Image | 262K | 66K | $0.95 | $4.00 |
@@ -88,6 +89,8 @@ pi
88
89
  | LongCat-2.0 | Completions | Text | 1.0M | 131K | $0.30 | $1.20 |
89
90
  | MiMo V2.5 | Completions | Text + Image | 1.0M | 128K | $0.14 | $0.28 |
90
91
  | MiMo V2.5 Pro | Completions | Text | 1.0M | 128K | $0.43 | $0.87 |
92
+ | MiMo-V2.6-Flash | Completions | Text + Image | 1.0M | 131K | $0.14 | $0.28 |
93
+ | MiMo-V2.6-Pro | Completions | Text + Image | 1.0M | 131K | $0.43 | $0.87 |
91
94
  | MiniMax-M2.7 | Completions | Text | 205K | 131K | $0.30 | $1.20 |
92
95
  | MiniMax-M3 | Anthropic | Text + Image | 1.0M | 131K | $0.30 | $1.20 |
93
96
  | Muse Spark 1.2 Contributor | Responses | Text + Image | 1.0M | 131K | $0.10 | $0.20 |
package/bun.lock CHANGED
@@ -5,7 +5,7 @@
5
5
  "": {
6
6
  "name": "pi-opencode-go-provider",
7
7
  "devDependencies": {
8
- "@earendil-works/pi-coding-agent": "0.86.0",
8
+ "@earendil-works/pi-coding-agent": "0.87.0",
9
9
  "@types/node": "~22.19.0",
10
10
  "typescript": "^6.0.3",
11
11
  },
@@ -54,17 +54,17 @@
54
54
 
55
55
  "@babel/runtime": ["@babel/runtime@7.29.7", "", {}, "sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw=="],
56
56
 
57
- "@earendil-works/chord": ["@earendil-works/chord@0.86.0", "", { "dependencies": { "esbuild": "0.28.2" } }, "sha512-7EQVCDLLw9GcUpenFZp2zqgkUEmqex/g20ujmgtrkKu//mYhdwHLVM68HCSR4kXPTaP+fiPQp2o/Y3uju6vQ1A=="],
57
+ "@earendil-works/chord": ["@earendil-works/chord@0.87.0", "", { "dependencies": { "esbuild": "0.28.2" } }, "sha512-t8QOTf0GTHrsDSfcdtXuA9RCkh6mnR4l25N0SM/sgH7Ih25jH4tGXNbkGs9MWpV5xTu9MRPj4A7Zn1UEwQm9+g=="],
58
58
 
59
- "@earendil-works/pi-agent-core": ["@earendil-works/pi-agent-core@0.86.0", "", { "dependencies": { "@earendil-works/chord": "^0.86.0", "@earendil-works/pi-ai": "^0.86.0", "@earendil-works/pi-telemetry": "^0.86.0", "diff": "8.0.4", "ignore": "7.0.8", "typebox": "1.3.27", "yaml": "2.9.0" } }, "sha512-0nGRbPeR2Sx+TXCP+xTNeCoZDegRXshQ9ROWE+wc1XR2l6bARgbelkjiiFwVVJRslbwQa5Hmo/r2JXfAqqkK+A=="],
59
+ "@earendil-works/pi-agent-core": ["@earendil-works/pi-agent-core@0.87.0", "", { "dependencies": { "@earendil-works/chord": "^0.87.0", "@earendil-works/pi-ai": "^0.87.0", "@earendil-works/pi-telemetry": "^0.87.0", "diff": "8.0.4", "ignore": "7.0.8", "typebox": "1.3.27", "yaml": "2.9.0" } }, "sha512-c5b2FMdJ7C++HBa6AyBmusdf96gdgRqpF7J+UCq2yVGB28UETJvJ190HkgDWUaLPnOQQPbanjKMAm/TgRmFE2w=="],
60
60
 
61
- "@earendil-works/pi-ai": ["@earendil-works/pi-ai@0.86.0", "", { "dependencies": { "@anthropic-ai/sdk": "0.124.0", "@aws-sdk/client-bedrock-runtime": "3.1127.0", "@earendil-works/pi-telemetry": "^0.86.0", "@google/genai": "2.21.0", "@smithy/node-http-handler": "4.12.1", "http-proxy-agent": "9.1.0", "https-proxy-agent": "9.1.0", "openai": "6.40.0", "partial-json": "0.1.7", "typebox": "1.3.27" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-7jc4tNTBiJrfg+2/nra6JPz2d3OGiGHDKrSVHpnfvsMgMy0uy4noGb7WidDNcqSEAK1S0kcRRTmpYAK66ZlTSw=="],
61
+ "@earendil-works/pi-ai": ["@earendil-works/pi-ai@0.87.0", "", { "dependencies": { "@anthropic-ai/sdk": "0.124.0", "@aws-sdk/client-bedrock-runtime": "3.1127.0", "@earendil-works/pi-telemetry": "^0.87.0", "@google/genai": "2.21.0", "@smithy/node-http-handler": "4.12.1", "http-proxy-agent": "9.1.0", "https-proxy-agent": "9.1.0", "openai": "6.40.0", "partial-json": "0.1.7", "typebox": "1.3.27" }, "bin": { "pi-ai": "dist/cli.js" } }, "sha512-lbRm+EMY6Jx3l+HLpbqbm9Yrhkc5u7EffLk2id+zJQEoBuR5I+tijGiZU8zlnuuCclmQOgH0PVjL9PLbeqJ9MQ=="],
62
62
 
63
- "@earendil-works/pi-coding-agent": ["@earendil-works/pi-coding-agent@0.86.0", "", { "dependencies": { "@earendil-works/chord": "^0.86.0", "@earendil-works/pi-agent-core": "^0.86.0", "@earendil-works/pi-ai": "^0.86.0", "@earendil-works/pi-tui": "^0.86.0", "@silvia-odwyer/photon-node": "0.3.4", "chalk": "6.0.0", "cross-spawn": "7.0.6", "diff": "8.0.4", "grok-mermaid": "0.2.3", "highlight.js": "10.7.3", "hosted-git-info": "9.0.3", "ignore": "7.0.8", "jiti": "2.7.0", "minimatch": "10.2.6", "proper-lockfile": "4.1.2", "semver": "7.8.5", "typebox": "1.3.27", "undici": "8.10.2", "yaml": "2.9.0" }, "bin": { "pi": "dist/bundle/cli.js" } }, "sha512-tzLh/10bPQZbA9shvA8TALT4eSNCifJaDq672MPXHldsvZ9t9lQ8J5Z9CD1d7UZVzG4l85XUZWo6ZCCNhBULxw=="],
63
+ "@earendil-works/pi-coding-agent": ["@earendil-works/pi-coding-agent@0.87.0", "", { "dependencies": { "@earendil-works/chord": "^0.87.0", "@earendil-works/pi-agent-core": "^0.87.0", "@earendil-works/pi-ai": "^0.87.0", "@earendil-works/pi-tui": "^0.87.0", "@silvia-odwyer/photon-node": "0.3.4", "chalk": "6.0.0", "cross-spawn": "7.0.6", "diff": "8.0.4", "grok-mermaid": "0.2.3", "highlight.js": "10.7.3", "hosted-git-info": "9.0.3", "ignore": "7.0.8", "jiti": "2.7.0", "minimatch": "10.2.6", "proper-lockfile": "4.1.2", "semver": "7.8.5", "typebox": "1.3.27", "undici": "8.10.2", "yaml": "2.9.0" }, "bin": { "pi": "dist/bundle/cli.js" } }, "sha512-S9JJVGHya/h0e0M+zwPTB6RkPe7PmLLqfBUTssFYW5mxAti6oZEILn4jvaUImENRC3U9RwXAB6H4gw8xj2J0GQ=="],
64
64
 
65
- "@earendil-works/pi-telemetry": ["@earendil-works/pi-telemetry@0.86.0", "", {}, "sha512-vbKNbFpFe6BgeL+N5/EKsZzGa9I2X+pz2icibNNA8JxTlVk2UHup5DXSKYl4yMG5VlXz5aWq4CBJCqb3pRO4fg=="],
65
+ "@earendil-works/pi-telemetry": ["@earendil-works/pi-telemetry@0.87.0", "", {}, "sha512-IEUMnV6mgHyOMfAxa4CKXoBKKfHM8KxNjbXWM4Bps/iLJcFMf8hQsEZ+95VnVTc7C0cU77Rmdxt773C35jb5AA=="],
66
66
 
67
- "@earendil-works/pi-tui": ["@earendil-works/pi-tui@0.86.0", "", { "dependencies": { "get-east-asian-width": "1.6.0", "marked": "18.0.11" } }, "sha512-R68axQIwP3yxMJH9Sz8QnzD/4emRiSIsj+k2ahxlJUUJR84bN7YBFul+ZuBvy8Qn+Er4NIoBLTGpPf/4iHMKVA=="],
67
+ "@earendil-works/pi-tui": ["@earendil-works/pi-tui@0.87.0", "", { "dependencies": { "get-east-asian-width": "1.6.0", "marked": "18.0.11" } }, "sha512-7gTC0XOgQfVWg4yGxwHINBpCnGl9p4KEC7PXIc8gAwc/cyxSW4VuFQrp+r1YD3oM+rBkoepKwAt6w6+VJ7BCaw=="],
68
68
 
69
69
  "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.28.2", "", { "os": "aix", "cpu": "ppc64" }, "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ=="],
70
70
 
package/models.json CHANGED
@@ -110,6 +110,25 @@
110
110
  "contextWindow": 1048576,
111
111
  "maxTokens": 131072
112
112
  },
113
+ {
114
+ "id": "mimo-v2.6-pro",
115
+ "name": "MiMo-V2.6-Pro",
116
+ "api": "openai-completions",
117
+ "baseUrl": "https://opencode.ai/zen/go/v1",
118
+ "reasoning": true,
119
+ "input": [
120
+ "text",
121
+ "image"
122
+ ],
123
+ "cost": {
124
+ "input": 0.435,
125
+ "output": 0.87,
126
+ "cacheRead": 0.003625,
127
+ "cacheWrite": 0
128
+ },
129
+ "contextWindow": 1048576,
130
+ "maxTokens": 131072
131
+ },
113
132
  {
114
133
  "id": "minimax-m2.7",
115
134
  "name": "MiniMax-M2.7",
@@ -461,6 +480,25 @@
461
480
  "contextWindow": 1000000,
462
481
  "maxTokens": 131072
463
482
  },
483
+ {
484
+ "id": "mimo-v2.6-flash",
485
+ "name": "MiMo-V2.6-Flash",
486
+ "api": "openai-completions",
487
+ "baseUrl": "https://opencode.ai/zen/go/v1",
488
+ "reasoning": true,
489
+ "input": [
490
+ "text",
491
+ "image"
492
+ ],
493
+ "cost": {
494
+ "input": 0.14,
495
+ "output": 0.28,
496
+ "cacheRead": 0.0028,
497
+ "cacheWrite": 0
498
+ },
499
+ "contextWindow": 1048576,
500
+ "maxTokens": 131072
501
+ },
464
502
  {
465
503
  "id": "grok-4.6",
466
504
  "name": "Grok 4.6",
@@ -608,6 +646,34 @@
608
646
  "contextWindow": 1000000,
609
647
  "maxTokens": 131072
610
648
  },
649
+ {
650
+ "id": "grok-4.7",
651
+ "name": "Grok 4.7",
652
+ "api": "openai-completions",
653
+ "baseUrl": "https://opencode.ai/zen/go/v1",
654
+ "reasoning": true,
655
+ "thinkingLevelMap": {
656
+ "off": null,
657
+ "minimal": null,
658
+ "low": "low",
659
+ "medium": "medium",
660
+ "high": "high",
661
+ "xhigh": "xhigh",
662
+ "max": null
663
+ },
664
+ "input": [
665
+ "text",
666
+ "image"
667
+ ],
668
+ "cost": {
669
+ "input": 2,
670
+ "output": 6,
671
+ "cacheRead": 0.5,
672
+ "cacheWrite": 0
673
+ },
674
+ "contextWindow": 500000,
675
+ "maxTokens": 500000
676
+ },
611
677
  {
612
678
  "id": "mimo-v2.5",
613
679
  "name": "MiMo V2.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-opencode-go-provider",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
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",
@@ -24,7 +24,7 @@
24
24
  ]
25
25
  },
26
26
  "devDependencies": {
27
- "@earendil-works/pi-coding-agent": "0.86.0",
27
+ "@earendil-works/pi-coding-agent": "0.87.0",
28
28
  "@types/node": "~22.19.0",
29
29
  "typescript": "^6.0.3"
30
30
  },