@oooooooooo/ch0de 1.9.62 → 1.9.63

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.
Files changed (2) hide show
  1. package/chode.js +1 -0
  2. package/package.json +1 -1
package/chode.js CHANGED
@@ -4115,6 +4115,7 @@ async function callWithBestProvider(prompt, sessionId, forceProvider, opts) {
4115
4115
  } else if (p.category === 'free_local') {
4116
4116
  if (pid === 'ollama' && (!localHealth || !localHealth.ok || !localHealth.models.length)) return false;
4117
4117
  } else if (p.category === 'keyless') {
4118
+ if (!opts.freeOnly) return false; // keyless/free providers only in free mode — paid mode uses keyed/local only
4118
4119
  // Remote keyless entries auto-route in rank order (Ollama-first rule
4119
4120
  // still applies above). Rate limits + circuit breaker below bound them;
4120
4121
  // the zero-key path falls back to ranked key guidance if all fail.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oooooooooo/ch0de",
3
- "version": "1.9.62",
3
+ "version": "1.9.63",
4
4
  "description": "The self-healing AI coding harness. Free tiers. HEMO auto-provisioning. Zero lock-in. Canonical brand: ch0de.",
5
5
  "main": "chode.js",
6
6
  "bin": {