@brainervirus/opencode-commandcode 0.7.3 → 0.7.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.7.5] - 2026-09-02
11
+
12
+ ## [0.7.4] - 2026-09-01
13
+
10
14
  ## [0.7.3] - 2026-09-01
11
15
 
12
16
  ## [0.7.2] - 2026-08-31
package/_version.txt CHANGED
@@ -1 +1 @@
1
- 1.39.2
1
+ 1.39.3
package/manifest.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-09-01T00:02:14.785Z",
4
- "pluginVersion": "0.7.2",
5
- "commandCodeVersion": "1.39.2",
6
- "commandCodeTarball": "https://registry.npmjs.org/command-code/-/command-code-1.39.2.tgz",
3
+ "generatedAt": "2026-09-01T18:01:30.152Z",
4
+ "pluginVersion": "0.7.4",
5
+ "commandCodeVersion": "1.39.3",
6
+ "commandCodeTarball": "https://registry.npmjs.org/command-code/-/command-code-1.39.3.tgz",
7
7
  "modelCount": 66,
8
8
  "reasoningModelCount": 55,
9
9
  "extraction": {
package/models.json CHANGED
@@ -1173,6 +1173,11 @@
1173
1173
  "name": "Kimi K3",
1174
1174
  "tier": "open-source",
1175
1175
  "reasoning": true,
1176
+ "reasoningEfforts": [
1177
+ "low",
1178
+ "high",
1179
+ "max"
1180
+ ],
1176
1181
  "tool_call": true,
1177
1182
  "cost": {
1178
1183
  "input": 3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/opencode-commandcode",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "Command Code API provider for opencode — use Claude, GPT, Gemini, DeepSeek, Qwen, Kimi, GLM, MiniMax, and Step models via Command Code",
5
5
  "keywords": [
6
6
  "ai",
@@ -1,5 +1,6 @@
1
1
  export function catalogBreakTitle(commandCodeVersion: string): string {
2
- return `[catalog-break] command-code@${commandCodeVersion} — model extraction failed`;
2
+ const version = commandCodeVersion.trim().replace(/^v/, "");
3
+ return `[catalog-break] command-code@${version} — model extraction failed`;
3
4
  }
4
5
 
5
6
  export function renderCatalogBreakBody(input: {
package/src/catalog.ts CHANGED
@@ -279,7 +279,9 @@ export function extractStringBindings(
279
279
  ): Record<string, string> {
280
280
  const before = source.slice(Math.max(0, endIdx - window), endIdx);
281
281
  const bindings: Record<string, string> = {};
282
- const strRe = /\b([A-Za-z_$][\w$]*)="([^"]*)"/g;
282
+ // \b does not fire before "$" (not a word char); minified bundles use names like
283
+ // $R="vercel-ai-gateway". A lookbehind boundary handles both $ and letter names.
284
+ const strRe = /(?<![A-Za-z0-9_$])([A-Za-z_$][\w$]*)="([^"]*)"/g;
283
285
  let m: RegExpExecArray | null;
284
286
  while ((m = strRe.exec(before))) {
285
287
  const name = m[1];
@@ -287,7 +289,7 @@ export function extractStringBindings(
287
289
  if (name !== undefined && value !== undefined) bindings[name] = value;
288
290
  }
289
291
  for (let pass = 0; pass < 4; pass++) {
290
- const aliasRe = /\b([A-Za-z_$][\w$]*)=([A-Za-z_$][\w$]*)\b/g;
292
+ const aliasRe = /(?<![A-Za-z0-9_$])([A-Za-z_$][\w$]*)=([A-Za-z_$][\w$]*)(?![A-Za-z0-9_$])/g;
291
293
  while ((m = aliasRe.exec(before))) {
292
294
  const alias = m[1];
293
295
  const target = m[2];