fix: review fixes, GitHub Releases update check (0.1.1)
- Wallet/subscription/window exhaustion skips a key for 10 minutes instead of disabling it; a balance read showing money brings it back. Only the gateway's own key refusals and a used-up key cap still disable a key. - Classify by sub2api's exact wording; a bare 401 or upstream text no longer retires a key; 'No available accounts' is capacity, not coverage. - Hosts keep only an https origin (no doubled /v1); timeouts and HTTP answers no longer set a host aside; hand edits are re-probed. - Balance: inactive subscriptions, per-plan subscription pooling, key caps kept out of the total, rate windows shown. - Endpoint editor no longer empties itself after Save. - Update check reads GitHub Releases and installs the release tarball; release workflow replaces npm publishing. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
86b8e4d24f
commit
f4f4ce55b3
34 files changed
+953
-521
No files matched your search
+2
-2
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* Bridge to the local Claude Code CLI.
|
||||
*
|
||||
* The gateway's `cc` group serves its Claude models only to the official CLI,
|
||||
* so this module runs that CLI — the real binary, not an imitation of it — as
|
||||
* On the `cli` Claude runtime (and for the `claude_code` tool) this module runs
|
||||
* the official CLI — the real binary, not an imitation of it — as
|
||||
* a subprocess and hands its final answer back to the harness. The child gets
|
||||
* the plugin's own endpoint and key through the environment, plus an isolated
|
||||
* `CLAUDE_CONFIG_DIR`: `~/.claude/settings.json` env wins over an inherited
|
||||
|
||||
Reference in new issue
Block a user