v3.9.7 — Rename Freebuff to Codebuff in public docs
This commit is contained in:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -2,14 +2,13 @@
|
|||||||
|
|
||||||
## v3.9.7 (2026-05-25)
|
## v3.9.7 (2026-05-25)
|
||||||
|
|
||||||
**FreeBuff Error Forwarding & Crash Fixes**
|
**Codebuff Error Forwarding & Crash Fixes**
|
||||||
|
|
||||||
### Rate Limit Error Forwarding
|
### Rate Limit Error Forwarding
|
||||||
- **Real FreeBuff error messages** forwarded to user instead of generic "429 Too Many Requests"
|
- **Real Codebuff error messages** forwarded to user instead of generic "429 Too Many Requests"
|
||||||
- **HTTP 200 + Responses API format** for rate limits — Codex displays the actual FreeBuff message (e.g. "Daily session limit reached. Resets in 29m.") instead of retrying
|
- **HTTP 200 + Responses API format** for rate limits — Codex displays the actual Codebuff message (e.g. "Daily session limit reached. Resets in 29m.") instead of retrying
|
||||||
- **`retryAfterMs` extraction** from FreeBuff 429 responses for accurate cooldown timers
|
- **`retryAfterMs` extraction** from Codebuff 429 responses for accurate cooldown timers
|
||||||
- **`RateLimitError` exception** carries upstream message through session and chat error paths
|
- **`_codebuff_start_run`** returns actual error body instead of `None` — shows real Codebuff errors
|
||||||
- **`_freebuff_start_run`** returns actual error body instead of `None` — shows real FreeBuff errors
|
|
||||||
|
|
||||||
### Crash Fixes
|
### Crash Fixes
|
||||||
- **BrokenPipeError crash** on "all accounts exhausted" response — wrapped in try/except
|
- **BrokenPipeError crash** on "all accounts exhausted" response — wrapped in try/except
|
||||||
|
|||||||
22
README.md
22
README.md
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<strong>Run OpenAI Codex CLI & Desktop with <em>any</em> AI provider.</strong><br/>
|
<strong>Run OpenAI Codex CLI & Desktop with <em>any</em> AI provider.</strong><br/>
|
||||||
Google Antigravity • Gemini CLI • OpenCode • Z.AI • Anthropic • Command Code • Freebuff • OpenRouter • Crof.ai • NVIDIA NIM • OpenAdapter • Kilo.ai • DeepSeek • and more
|
Google Antigravity • Gemini CLI • OpenCode • Z.AI • Anthropic • Command Code • Codebuff • OpenRouter • Crof.ai • NVIDIA NIM • OpenAdapter • Kilo.ai • DeepSeek • and more
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
@@ -554,7 +554,7 @@ Codex Launcher includes special handling for Gemini 3 / Antigravity OAuth:
|
|||||||
Codex Launcher supports **multiple accounts per provider** with automatic rotation
|
Codex Launcher supports **multiple accounts per provider** with automatic rotation
|
||||||
when one account is rate-limited.
|
when one account is rate-limited.
|
||||||
|
|
||||||
### Freebuff (Multiple Accounts)
|
### Codebuff (Multiple Accounts)
|
||||||
|
|
||||||
Register additional free accounts at [codebuff.com](https://www.codebuff.com), then
|
Register additional free accounts at [codebuff.com](https://www.codebuff.com), then
|
||||||
add them to `~/.config/manicode/credentials.json`:
|
add them to `~/.config/manicode/credentials.json`:
|
||||||
@@ -605,7 +605,7 @@ curl http://127.0.0.1:PORT/v1/accounts
|
|||||||
| OpenCode Zen | OpenAI-compat | `https://opencode.ai/zen/v1` |
|
| OpenCode Zen | OpenAI-compat | `https://opencode.ai/zen/v1` |
|
||||||
| OpenCode Go | OpenAI-compat | `https://opencode.ai/zen/go/v1` |
|
| OpenCode Go | OpenAI-compat | `https://opencode.ai/zen/go/v1` |
|
||||||
| Command Code | Command Code | `https://api.commandcode.ai` |
|
| Command Code | Command Code | `https://api.commandcode.ai` |
|
||||||
| **Freebuff** | **Freebuff** | `https://freebuff.com` *(free DeepSeek/Kimi — OAuth login built-in)* |
|
| **Codebuff** | **Codebuff** | `https://codebuff.com` *(free DeepSeek/Kimi — OAuth login built-in)* |
|
||||||
| Crof.ai | OpenAI-compat | `https://crof.ai/v1` |
|
| Crof.ai | OpenAI-compat | `https://crof.ai/v1` |
|
||||||
| OpenAdapter | OpenAI-compat | `https://api.openadapter.in/v1` |
|
| OpenAdapter | OpenAI-compat | `https://api.openadapter.in/v1` |
|
||||||
| Z.ai Coding | OpenAI-compat | `https://api.z.ai/api/coding/paas/v4` |
|
| Z.ai Coding | OpenAI-compat | `https://api.z.ai/api/coding/paas/v4` |
|
||||||
@@ -618,14 +618,14 @@ curl http://127.0.0.1:PORT/v1/accounts
|
|||||||
| Google Antigravity (OAuth) | Antigravity OAuth | `daily-cloudcode-pa.sandbox.googleapis.com` |
|
| Google Antigravity (OAuth) | Antigravity OAuth | `daily-cloudcode-pa.sandbox.googleapis.com` |
|
||||||
| Custom | Any | User-defined |
|
| Custom | Any | User-defined |
|
||||||
|
|
||||||
### Free Models (via Freebuff)
|
### Free Models (via Codebuff)
|
||||||
Freebuff provides free access to these models — no API key needed:
|
Codebuff provides free access to these models — no API key needed:
|
||||||
- **DeepSeek V4 Pro** — Smartest model
|
- **DeepSeek V4 Pro** — Smartest model
|
||||||
- **DeepSeek V4 Flash** — Most efficient
|
- **DeepSeek V4 Flash** — Most efficient
|
||||||
- **Kimi K2.6** — Balanced
|
- **Kimi K2.6** — Balanced
|
||||||
- **MiniMax M2.7** — Fastest
|
- **MiniMax M2.7** — Fastest
|
||||||
|
|
||||||
*Requires: `freebuff login` via GUI OAuth button, or `npm install -g freebuff && freebuff login` (GitHub OAuth)*
|
*Requires: `codebuff login` via GUI OAuth button, or `npm install -g codebuff && codebuff login` (GitHub OAuth)*
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -657,13 +657,13 @@ README.md # This file
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Phase 10: Freebuff Integration — Free AI for Everyone (v3.8.1)
|
### Phase 10: Codebuff Integration — Free AI for Everyone (v3.8.1)
|
||||||
|
|
||||||
**Problem:** Users want access to powerful models like DeepSeek V4 Pro without paying API fees. Freebuff (by CodebuffAI) offers free access to premium models through their server, but it's a CLI tool — not an API you can plug into Codex Launcher.
|
**Problem:** Users want access to powerful models like DeepSeek V4 Pro without paying API fees. Codebuff (by CodebuffAI) offers free access to premium models through their server, but it's a CLI tool — not an API you can plug into Codex Launcher.
|
||||||
|
|
||||||
**The insight:** Freebuff's backend is a Next.js app with an OpenAI-compatible `/api/v1/chat/completions` endpoint. It uses agent-run lifecycle management and model-specific routing. If we replicate the agent run protocol in our proxy, we can tap into freebuff's free tier.
|
**The insight:** Codebuff's backend is a Next.js app with an OpenAI-compatible `/api/v1/chat/completions` endpoint. It uses agent-run lifecycle management and model-specific routing. If we replicate the agent run protocol in our proxy, we can tap into codebuff's free tier.
|
||||||
|
|
||||||
**How Freebuff works internally:**
|
**How Codebuff works internally:**
|
||||||
1. User logs in via GitHub OAuth → session token stored in `~/.config/manicode/credentials.json`
|
1. User logs in via GitHub OAuth → session token stored in `~/.config/manicode/credentials.json`
|
||||||
2. Each request creates an **agent run** via `POST /api/v1/agent-runs`
|
2. Each request creates an **agent run** via `POST /api/v1/agent-runs`
|
||||||
3. Chat completions sent with `codebuff_metadata: {run_id, cost_mode: "free"}`
|
3. Chat completions sent with `codebuff_metadata: {run_id, cost_mode: "free"}`
|
||||||
@@ -678,7 +678,7 @@ Codex Request
|
|||||||
▼
|
▼
|
||||||
┌─────────────────────────────────┐
|
┌─────────────────────────────────┐
|
||||||
│ translate-proxy.py │
|
│ translate-proxy.py │
|
||||||
│ _handle_freebuff() │
|
│ _handle_codebuff() │
|
||||||
│ │
|
│ │
|
||||||
│ 1. Read token from credentials │
|
│ 1. Read token from credentials │
|
||||||
│ 2. POST /api/v1/agent-runs │──→ {action: "START", agentId}
|
│ 2. POST /api/v1/agent-runs │──→ {action: "START", agentId}
|
||||||
|
|||||||
Reference in New Issue
Block a user