@cabane/companion 0.6.92 → 0.6.93

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/dist/cli.js CHANGED
@@ -9861,7 +9861,7 @@ function mapOpencodeProviders(json) {
9861
9861
  const modelId = typeof raw?.id === "string" ? raw.id : null;
9862
9862
  const prov = typeof raw?.providerID === "string" ? raw.providerID : providerId;
9863
9863
  if (!modelId || !prov) continue;
9864
- const context = raw.limit && typeof raw.limit === "object" && typeof raw.limit.context === "number" ? raw.limit.context : null;
9864
+ const context = raw.limit && typeof raw.limit === "object" && typeof raw.limit.context === "number" && raw.limit.context > 0 ? raw.limit.context : null;
9865
9865
  models.push({
9866
9866
  // The namespaced id storage holds + opencode addresses a model by
9867
9867
  // (`deepseek/deepseek-chat` → { providerID, modelID }).
package/dist/runtime.js CHANGED
@@ -9358,7 +9358,7 @@ function mapOpencodeProviders(json) {
9358
9358
  const modelId = typeof raw?.id === "string" ? raw.id : null;
9359
9359
  const prov = typeof raw?.providerID === "string" ? raw.providerID : providerId;
9360
9360
  if (!modelId || !prov) continue;
9361
- const context = raw.limit && typeof raw.limit === "object" && typeof raw.limit.context === "number" ? raw.limit.context : null;
9361
+ const context = raw.limit && typeof raw.limit === "object" && typeof raw.limit.context === "number" && raw.limit.context > 0 ? raw.limit.context : null;
9362
9362
  models.push({
9363
9363
  // The namespaced id storage holds + opencode addresses a model by
9364
9364
  // (`deepseek/deepseek-chat` → { providerID, modelID }).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabane/companion",
3
- "version": "0.6.92",
3
+ "version": "0.6.93",
4
4
  "type": "module",
5
5
  "description": "The Cabane Companion (headless): connect a coding agent on your machine to your Cabane workspace as a responder — drive work against your own codebase, files, and MCP servers without putting any of it in Cabane.",
6
6
  "license": "UNLICENSED",