@closedrouter/cli 1.1.19 → 1.1.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/README.md +1 -1
- package/dist/compatibility.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -157,7 +157,7 @@ Antigravity uses the CCPA envelope conversion documented in `~/Projects/antigrav
|
|
|
157
157
|
|
|
158
158
|
Supported desktop views display the colored ClosedRouter logo beside model names. White-core neon-blue lightning bolts fly around the active chat-box logo along a 3D orbit for a brief pass every five seconds, and immediately on hover or keyboard focus. The orbit measures the logo, so model-label width does not move or enlarge it. The bolts keep their orientation; perspective enlarges the front pass and the logo occludes the rear pass. Reduced-motion preferences keep the mark static; hidden windows pause the effect. Launch requests also carry the configured model ID in system context so native client identity prompts do not misidentify the underlying model. The relay resolves the requested model on each turn and preserves tools and streamed responses. Unsupported model IDs are rejected before forwarding. Catalogs are snapshots of the models available to the platform key at launch; provider quotas can change during a session.
|
|
159
159
|
|
|
160
|
-
`cr start` checks the selected model's actual tool call, tool-result continuation, and streamed completion before opening a client. Successful checks are cached for six hours by gateway and platform key. Confirmed protocol rejections are removed from that harness's selector; quota, authorization, and connection failures are reported as temporary availability failures. Use `cr verify --all-models --output compatibility.json` to audit every available tool-capable model across Responses, Chat Completions, Anthropic Messages, and Gemini. `cr verify codex --model <id>` checks one harness protocol. Reports distinguish gateway protocol checks from native client tests. `--no-verify-model` skips this check for a previously verified private gateway.
|
|
160
|
+
`cr start` checks the selected model's actual tool call, tool-result continuation, and streamed completion before opening a client. Successful checks are cached for six hours by gateway and platform key. Confirmed protocol rejections are removed from that harness's selector; quota, authorization, and connection failures are reported as temporary availability failures. Malformed model-generated tool arguments leave a check unverified and can be retried without hiding the model. Use `cr verify --all-models --output compatibility.json` to audit every available tool-capable model across Responses, Chat Completions, Anthropic Messages, and Gemini. `cr verify codex --model <id>` checks one harness protocol. Reports distinguish gateway protocol checks from native client tests. `--no-verify-model` skips this check for a previously verified private gateway. The [October 3 acceptance report](../docs/acceptance/desktop-harnesses-2026-10-03.json) records the protocol sweep, native checks, and remaining limits.
|
|
161
161
|
|
|
162
162
|
Grok Build uses its documented custom-model configuration in an isolated `GROK_HOME`, with the full pool catalog and credentials supplied through the child environment. Install Grok from its official installer, or pass `--path`. Grok Bot is a separate desktop product; its native bot/account services are not interchangeable with Grok Build's custom inference endpoints.
|
|
163
163
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compatibility.d.ts","sourceRoot":"","sources":["../src/compatibility.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,YAAI,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,CAAU,CAAC;AAC9E,MAAM,MAAM,eAAe,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;AACvD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,cAAc,GAAG,aAAa,GAAG,YAAY,CAAC;AAC3F,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,eAAe,CAAC;IAAC,MAAM,EAAE,mBAAmB,CAAC;IACtE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,WAAW,GAAG,aAAa,CAAC;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CACrD;AACD,MAAM,WAAW,mBAAmB;IAAG,OAAO,EAAE,CAAC,CAAC;IAAC,OAAO,EAAE,mBAAmB,EAAE,CAAA;CAAE;AAEnF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,CAI7D;AAOD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,mBAAmB,CASlF;AAED,wBAAgB,iB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AAmB,EAAE,GAAG,mBAAmB,CAQlH;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,GAAG,mBAAmB,GAAG,SAAS,CAI1I;AAMD,2EAA2E;AAC3E,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB,CAErE;AAyBD,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CA6BxG;AAED;gFACgF;AAChF,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAqC5I"}
|
package/dist/index.js
CHANGED
|
@@ -11241,7 +11241,7 @@ function saveCompatibility(server, key, results) {
|
|
|
11241
11241
|
return report;
|
|
11242
11242
|
}
|
|
11243
11243
|
function recentCompatibility(report, model, protocol) {
|
|
11244
|
-
return report.results.find((result) => result.model === model && result.protocol === protocol && Date.now() - Date.parse(result.checkedAt) < (result.status === "unavailable" ? 60000 : 6 * 60 * 60 * 1000));
|
|
11244
|
+
return report.results.find((result) => result.model === model && result.protocol === protocol && !(result.status === "incompatible" && result.code === "invalid_tool_arguments") && Date.now() - Date.parse(result.checkedAt) < (result.status === "unavailable" ? 60000 : 6 * 60 * 60 * 1000));
|
|
11245
11245
|
}
|
|
11246
11246
|
|
|
11247
11247
|
class ProbeFailure extends Error {
|
|
@@ -11268,7 +11268,7 @@ function toolCall(data, protocol) {
|
|
|
11268
11268
|
try {
|
|
11269
11269
|
args = protocol === "chat" ? JSON.parse(call.function.arguments) : protocol === "responses" ? JSON.parse(call.arguments) : protocol === "messages" ? call.input : call.args;
|
|
11270
11270
|
} catch {
|
|
11271
|
-
throw new ProbeFailure("
|
|
11271
|
+
throw new ProbeFailure("unverified", "invalid_tool_arguments", "The model returned invalid tool argument JSON. Run the check again before treating this as a protocol rejection.");
|
|
11272
11272
|
}
|
|
11273
11273
|
return { id: call.call_id || call.id || TOOL, ticket: args?.ticket };
|
|
11274
11274
|
}
|
package/package.json
CHANGED