better-ccflare 3.5.78 → 3.5.79
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 +4 -2
- package/dist/better-ccflare +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -377,6 +377,8 @@ claude
|
|
|
377
377
|
|
|
378
378
|
### Codex CLI as a Client
|
|
379
379
|
|
|
380
|
+
The Codex VS Code extension uses the same provider configuration. See the [VS Code setup and compatibility guide](docs/codex-vscode.md).
|
|
381
|
+
|
|
380
382
|
better-ccflare supports [Codex CLI](https://github.com/openai/codex) as a client. Codex speaks the OpenAI Responses API; better-ccflare intercepts requests to `/v1/responses` and `/v1/responses/compact` and translates them to Anthropic `POST /v1/messages` internally, routing through your configured account pool.
|
|
381
383
|
|
|
382
384
|
Configure Codex CLI to point at better-ccflare in `~/.codex/config.toml`:
|
|
@@ -399,7 +401,7 @@ Codex CLI requires an API key to start — use `dummy-key` if better-ccflare API
|
|
|
399
401
|
Known limitations:
|
|
400
402
|
|
|
401
403
|
- Regular HTTP does not trust an arbitrary caller-supplied `previous_response_id`. On the authenticated, native outbound Codex route, an operator-controlled gateway request can enable gateway-managed continuation: better-ccflare retains only the last upstream response ID and cryptographic input/configuration digests, resumes only after an exact ordered-prefix match, and otherwise sends the full input without a response ID. This bounded state is in memory, so a restart safely cold-starts. WebSocket transport is not implemented.
|
|
402
|
-
- Built-in tool types (`web_search_preview`, `code_interpreter`, `file_search`) are preserved on the native outbound Codex route. Routes translated to Anthropic skip built-in tools and
|
|
404
|
+
- Built-in tool types (`web_search_preview`, `code_interpreter`, `file_search`) are preserved on the native outbound Codex route. Routes translated to Anthropic skip built-in tools, forward function tools, and bridge freeform custom tools such as Codex's `apply_patch` through a string input schema. Custom tool grammars are described to the model but cannot be enforced by the Anthropic API.
|
|
403
405
|
- `/v1/responses` rejects unknown top-level request fields with `400 invalid_request_error` instead of silently dropping them. The canonical ChatGPT subscription endpoint also rejects an explicitly supplied `max_output_tokens`; omit it and let the served model choose its output limit. Custom OpenAI-compatible endpoints may accept it.
|
|
404
406
|
- Claude OAuth accounts (Claude Pro/Team, `provider=anthropic` with OAuth tokens) are automatically excluded from Codex CLI traffic — Anthropic bans these when used outside Claude CLI. Anthropic API key accounts are fine and will be used normally.
|
|
405
407
|
|
|
@@ -819,7 +821,7 @@ Inspired by [snipeship/ccflare](https://github.com/snipeship/ccflare) - thanks f
|
|
|
819
821
|
- [@vansh2408](https://github.com/vansh2408) — [#359](https://github.com/tombii/better-ccflare/pull/359)
|
|
820
822
|
- [@aaapl](https://github.com/aaapl) — [#433](https://github.com/tombii/better-ccflare/pull/433), [#435](https://github.com/tombii/better-ccflare/pull/435)
|
|
821
823
|
- [@mjonuschat](https://github.com/mjonuschat) — [#436](https://github.com/tombii/better-ccflare/pull/436)
|
|
822
|
-
- [@anony253](https://github.com/anony253) — [#452](https://github.com/tombii/better-ccflare/pull/452)
|
|
824
|
+
- [@anony253](https://github.com/anony253) — [#452](https://github.com/tombii/better-ccflare/pull/452), [#460](https://github.com/tombii/better-ccflare/pull/460)
|
|
823
825
|
- [@valentinyanakiev](https://github.com/valentinyanakiev) — [#450](https://github.com/tombii/better-ccflare/pull/450), [#454](https://github.com/tombii/better-ccflare/pull/454), [#459](https://github.com/tombii/better-ccflare/pull/459)
|
|
824
826
|
|
|
825
827
|
## Contributing
|
package/dist/better-ccflare
CHANGED
|
Binary file
|
package/package.json
CHANGED