Skip to content

Commit 3a4abe1

Browse files
committed
Merge branch 'main' into feat/copilot
2 parents 2f5bda5 + 90d46e7 commit 3a4abe1

3 files changed

Lines changed: 12 additions & 83 deletions

File tree

README.md

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -84,26 +84,6 @@ Standalone persistence and visualization service for CLIProxyAPI, with periodic
8484

8585
Full CLIProxyAPI management center with request-level monitoring and cost estimates. CPA-Manager tracks collected requests by account, model, channel, latency, status, and token usage; estimates cost with editable model prices and one-click LiteLLM price sync; persists events in SQLite; and provides Codex account-pool operations with batch inspection, quota detection, unhealthy account discovery, cleanup suggestions, and one-click execution for day-to-day multi-account maintenance.
8686

87-
## Amp CLI Support
88-
89-
CLIProxyAPI includes integrated support for [Amp CLI](https://ampcode.com) and Amp IDE extensions, enabling you to use your Google/ChatGPT/Claude OAuth subscriptions with Amp's coding tools:
90-
91-
- Provider route aliases for Amp's API patterns (`/api/provider/{provider}/v1...`)
92-
- Management proxy for OAuth authentication and account features
93-
- Smart model fallback with automatic routing
94-
- **Model mapping** to route unavailable models to alternatives (e.g., `claude-opus-4.5``claude-sonnet-4`)
95-
- Security-first design with localhost-only management endpoints
96-
97-
When you need the request/response shape of a specific backend family, use the provider-specific paths instead of the merged `/v1/...` endpoints:
98-
99-
- Use `/api/provider/{provider}/v1/messages` for messages-style backends.
100-
- Use `/api/provider/{provider}/v1beta/models/...` for model-scoped generate endpoints.
101-
- Use `/api/provider/{provider}/v1/chat/completions` for chat-completions backends.
102-
103-
These routes help you select the protocol surface, but they do not by themselves guarantee a unique inference executor when the same client-visible model name is reused across multiple backends. Inference routing is still resolved from the request model/alias. For strict backend pinning, use unique aliases, prefixes, or otherwise avoid overlapping client-visible model names.
104-
105-
**[Complete Amp CLI Integration Guide](https://help.router-for.me/agent-client/amp-cli.html)**
106-
10787
## SDK Docs
10888

10989
- Usage: [docs/sdk-usage.md](docs/sdk-usage.md)
@@ -142,10 +122,6 @@ CLI wrapper for instant switching between multiple Claude accounts and alternati
142122

143123
Native macOS menu bar app that unifies Claude, Gemini, OpenAI, and Antigravity subscriptions with real-time quota tracking and smart auto-failover for AI coding tools like Claude Code, OpenCode, and Droid - no API keys needed.
144124

145-
### [CodMate](https://github.com/loocor/CodMate)
146-
147-
Native macOS SwiftUI app for managing CLI AI sessions (Codex, Claude Code, Gemini CLI) with unified provider management, Git review, project organization, global search, and terminal integration. Integrates CLIProxyAPI to provide OAuth authentication for Codex, Claude, Gemini, and Antigravity, with built-in and third-party provider rerouting through a single proxy endpoint - no API keys needed for OAuth providers.
148-
149125
### [ProxyPilot](https://github.com/Finesssee/ProxyPilot)
150126

151127
Windows-native CLIProxyAPI fork with TUI, system tray, and multi-provider OAuth for AI coding tools - no API keys needed.
@@ -193,10 +169,6 @@ Cross-platform desktop app (macOS, Windows, Linux) wrapping CLIProxyAPI with a n
193169

194170
Ready-to-use cross-platform quota inspector for CLIProxyAPI, supporting per-account codex 5h/7d quota windows, plan-based sorting, status coloring, and multi-account summary analytics.
195171

196-
### [CodexCliPlus](https://github.com/C4AL/CodexCliPlus)
197-
198-
Windows-focused, local-first desktop management platform for Codex CLI built on CLIProxyAPI, focused on simplifying local setup, account and runtime management, and providing a more complete Codex CLI experience for local users.
199-
200172
### [CLIProxy Pool Watch](https://github.com/murasame612/CLIProxyPoolWidget)
201173

202174
Native macOS SwiftUI app for monitoring ChatGPT/Codex account quotas in CLIProxyAPI pools. Displays account availability, Plus-base capacity, 5-hour and weekly quota bars, plan weights, and restore forecasts through the Management API.
@@ -205,6 +177,10 @@ Native macOS SwiftUI app for monitoring ChatGPT/Codex account quotas in CLIProxy
205177

206178
Multi-agent orchestration for AI coding assistants. Runs CLIProxyAPI as a local sidecar so its agents can drive GPT models through a ChatGPT subscription, pointing Claude Code at an Anthropic-compatible endpoint with no OpenAI API key required.
207179

180+
### [Tunnel Agent](https://github.com/Villoh/tunnel-agent)
181+
182+
Windows desktop UI that manages CLIProxyAPI and Perplexity WebUI Scraper from a single interface, inspired by Quotio and VibeProxy. Connect OAuth providers (Claude, Gemini CLI, Codex, Kimi, Antigravity), custom API keys, and Perplexity session accounts, then point any coding agent at the local endpoint.
183+
208184
> [!NOTE]
209185
> If you developed a project based on CLIProxyAPI, please open a PR to add it to this list.
210186

README_CN.md

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -84,25 +84,6 @@ CLIProxyAPI 用户手册: [https://help.router-for.me/](https://help.router-fo
8484

8585
面向 CLIProxyAPI 的完整管理中心,提供请求级监控和费用预估。CPA-Manager 可按账号、模型、渠道、延迟、状态和 token 用量追踪采集到的请求;支持可编辑模型价格与一键同步 LiteLLM 价格来估算费用;用 SQLite 持久化事件;并提供面向 Codex 账号池的批量巡检、配额识别、异常账号定位、清理建议与一键执行能力,适合多账号池的日常运维管理。
8686

87-
## Amp CLI 支持
88-
89-
CLIProxyAPI 已内置对 [Amp CLI](https://ampcode.com) 和 Amp IDE 扩展的支持,可让你使用自己的 Google/ChatGPT/Claude OAuth 订阅来配合 Amp 编码工具:
90-
91-
- 提供商路由别名,兼容 Amp 的 API 路径模式(`/api/provider/{provider}/v1...`
92-
- 管理代理,处理 OAuth 认证和账号功能
93-
- 智能模型回退与自动路由
94-
- 以安全为先的设计,管理端点仅限 localhost
95-
96-
当你需要某一类后端的请求/响应协议形态时,优先使用 provider-specific 路径,而不是合并后的 `/v1/...` 端点:
97-
98-
- 对于 messages 风格的后端,使用 `/api/provider/{provider}/v1/messages`
99-
- 对于按模型路径暴露生成接口的后端,使用 `/api/provider/{provider}/v1beta/models/...`
100-
- 对于 chat-completions 风格的后端,使用 `/api/provider/{provider}/v1/chat/completions`
101-
102-
这些路径有助于选择协议表面,但当多个后端复用同一个客户端可见模型名时,它们本身并不能保证唯一的推理执行器。实际的推理路由仍然根据请求里的 model/alias 解析。若要严格钉住某个后端,请使用唯一 alias、前缀,或避免让多个后端暴露相同的客户端模型名。
103-
104-
**[Amp CLI 完整集成指南](https://help.router-for.me/cn/agent-client/amp-cli.html)**
105-
10687
## SDK 文档
10788

10889
- 使用文档:[docs/sdk-usage_CN.md](docs/sdk-usage_CN.md)
@@ -141,10 +122,6 @@ CLI 封装器,用于通过 CLIProxyAPI OAuth 即时切换多个 Claude 账户
141122

142123
原生 macOS 菜单栏应用,统一管理 Claude、Gemini、OpenAI 和 Antigravity 订阅,提供实时配额追踪和智能自动故障转移,支持 Claude Code、OpenCode 和 Droid 等 AI 编程工具,无需 API 密钥。
143124

144-
### [CodMate](https://github.com/loocor/CodMate)
145-
146-
原生 macOS SwiftUI 应用,用于管理 CLI AI 会话(Claude Code、Codex、Gemini CLI),提供统一的提供商管理、Git 审查、项目组织、全局搜索和终端集成。集成 CLIProxyAPI 为 Codex、Claude、Gemini 和 Antigravity 提供统一的 OAuth 认证,支持内置和第三方提供商通过单一代理端点重路由 - OAuth 提供商无需 API 密钥。
147-
148125
### [ProxyPilot](https://github.com/Finesssee/ProxyPilot)
149126

150127
原生 Windows CLIProxyAPI 分支,集成 TUI、系统托盘及多服务商 OAuth 认证,专为 AI 编程工具打造,无需 API 密钥。
@@ -189,10 +166,6 @@ Shadow AI 是一款专为受限环境设计的 AI 辅助工具。提供无窗口
189166

190167
上手即用的面向 CLIProxyAPI 跨平台配额查询工具,支持按账号展示 codex 5h/7d 配额窗口、按计划排序、状态着色及多账号汇总分析。
191168

192-
### [CodexCliPlus](https://github.com/C4AL/CodexCliPlus)
193-
194-
基于 CLIProxyAPI 的 Windows Codex CLI 本地优先桌面管理平台,聚焦简化本机配置、账号与运行状态管理,并为本地用户提供更完整的 Codex CLI 使用体验。
195-
196169
### [CLIProxy Pool Watch](https://github.com/murasame612/CLIProxyPoolWidget)
197170

198171
原生 macOS SwiftUI 应用,用于监控 CLIProxyAPI 池中的 ChatGPT/Codex 账号额度。通过 Management API 展示账号可用状态、Plus 基准容量、5 小时与周额度进度条、套餐权重和恢复预测。
@@ -201,6 +174,10 @@ Shadow AI 是一款专为受限环境设计的 AI 辅助工具。提供无窗口
201174

202175
面向 AI 编程助手的多智能体编排工具。它将 CLIProxyAPI 作为本地 sidecar 运行,使其智能体可以通过 ChatGPT 订阅驱动 GPT 模型,并将 Claude Code 指向 Anthropic 兼容端点,无需 OpenAI API 密钥。
203176

177+
### [Tunnel Agent](https://github.com/Villoh/tunnel-agent)
178+
179+
Windows 桌面 UI,通过单一界面管理 CLIProxyAPI 和 Perplexity WebUI Scraper,灵感来自 Quotio 和 VibeProxy。连接 OAuth 提供商(Claude、Gemini CLI、Codex、Kimi、Antigravity)、自定义 API 密钥和 Perplexity 会话账号,然后将任意编程智能体指向本地端点。
180+
204181
> [!NOTE]
205182
> 如果你开发了基于 CLIProxyAPI 的项目,请提交一个 PR(拉取请求)将其添加到此列表中。
206183

README_JA.md

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -82,26 +82,6 @@ CLIProxyAPI向けの独立した使用量永続化・可視化サービス。CLI
8282

8383
リクエスト単位の監視とコスト推定を備えたCLIProxyAPI向けのフル管理センターです。CPA-Managerは、収集したリクエストをアカウント、モデル、チャネル、レイテンシ、ステータス、Token使用量ごとに追跡し、編集可能なモデル価格とLiteLLM価格のワンクリック同期でコストを推定します。SQLiteでイベントを永続化し、Codexアカウントプール向けに一括検査、クォータ判定、異常アカウント検出、クリーンアップ提案、ワンクリック実行を提供し、日常的なマルチアカウント運用に適しています。
8484

85-
## Amp CLIサポート
86-
87-
CLIProxyAPIは[Amp CLI](https://ampcode.com)およびAmp IDE拡張機能の統合サポートを含んでおり、Google/ChatGPT/ClaudeのOAuthサブスクリプションをAmpのコーディングツールで使用できます:
88-
89-
- Ampの APIパターン用のプロバイダールートエイリアス(`/api/provider/{provider}/v1...`
90-
- OAuth認証およびアカウント機能用の管理プロキシ
91-
- 自動ルーティングによるスマートモデルフォールバック
92-
- 利用できないモデルを代替モデルにルーティングする**モデルマッピング**(例:`claude-opus-4.5``claude-sonnet-4`
93-
- localhostのみの管理エンドポイントによるセキュリティファーストの設計
94-
95-
特定のバックエンド系統のリクエスト/レスポンス形状が必要な場合は、統合された `/v1/...` エンドポイントよりも provider-specific のパスを優先してください。
96-
97-
- messages 系のバックエンドには `/api/provider/{provider}/v1/messages`
98-
- モデル単位の generate 系エンドポイントには `/api/provider/{provider}/v1beta/models/...`
99-
- chat-completions 系のバックエンドには `/api/provider/{provider}/v1/chat/completions`
100-
101-
これらのパスはプロトコル面の選択には役立ちますが、同じクライアント向けモデル名が複数バックエンドで再利用されている場合、それだけで推論実行系が一意に固定されるわけではありません。実際の推論ルーティングは、引き続きリクエスト内の model/alias 解決に従います。厳密にバックエンドを固定したい場合は、一意な alias や prefix を使うか、クライアント向けモデル名の重複自体を避けてください。
102-
103-
**[Amp CLI統合ガイドの完全版](https://help.router-for.me/agent-client/amp-cli.html)**
104-
10585
## SDKドキュメント
10686

10787
- 使い方:[docs/sdk-usage.md](docs/sdk-usage.md)
@@ -140,10 +120,6 @@ CLIProxyAPI OAuthを使用して複数のClaudeアカウントや代替モデル
140120

141121
Claude、Gemini、OpenAI、Antigravityのサブスクリプションを統合し、リアルタイムのクォータ追跡とスマート自動フェイルオーバーを備えたmacOSネイティブのメニューバーアプリ。Claude Code、OpenCode、Droidなどのコーディングツール向け - APIキー不要
142122

143-
### [CodMate](https://github.com/loocor/CodMate)
144-
145-
CLI AIセッション(Codex、Claude Code、Gemini CLI)を管理するmacOS SwiftUIネイティブアプリ。統合プロバイダー管理、Gitレビュー、プロジェクト整理、グローバル検索、ターミナル統合機能を搭載。CLIProxyAPIと統合し、Codex、Claude、Gemini、AntigravityのOAuth認証を提供。単一のプロキシエンドポイントを通じた組み込みおよびサードパーティプロバイダーの再ルーティングに対応 - OAuthプロバイダーではAPIキー不要
146-
147123
### [ProxyPilot](https://github.com/Finesssee/ProxyPilot)
148124

149125
TUI、システムトレイ、マルチプロバイダーOAuthを備えたWindows向けCLIProxyAPIフォーク - AIコーディングツール用、APIキー不要
@@ -188,10 +164,6 @@ CLIProxyAPIをネイティブGUIでラップしたクロスプラットフォー
188164

189165
CLIProxyAPI向けのすぐに使えるクロスプラットフォームのクォータ確認ツール。アカウントごとの codex 5h/7d クォータ表示、プラン別ソート、ステータス色分け、複数アカウントの集計分析に対応。
190166

191-
### [CodexCliPlus](https://github.com/C4AL/CodexCliPlus)
192-
193-
CLIProxyAPIを基盤にしたWindows向けのローカル優先Codex CLIデスクトップ管理プラットフォーム。ローカル設定、アカウント、実行状態の管理を簡素化し、ローカルユーザーにより包括的なCodex CLI体験を提供します。
194-
195167
### [CLIProxy Pool Watch](https://github.com/murasame612/CLIProxyPoolWidget)
196168

197169
CLIProxyAPIプール内のChatGPT/Codexアカウントクォータを監視するmacOSネイティブSwiftUIアプリ。Management APIを通じて、アカウントの可用性、Plus基準の容量、5時間/週次クォータバー、プラン重み、復元予測を表示します。
@@ -200,6 +172,10 @@ CLIProxyAPIプール内のChatGPT/Codexアカウントクォータを監視す
200172

201173
AIコーディングアシスタント向けのマルチエージェントオーケストレーションツール。CLIProxyAPIをローカルsidecarとして実行することで、エージェントがChatGPTサブスクリプション経由でGPTモデルを利用できるようにし、Claude CodeをAnthropic互換エンドポイントへ向けるため、OpenAI APIキーは不要です。
202174

175+
### [Tunnel Agent](https://github.com/Villoh/tunnel-agent)
176+
177+
CLIProxyAPIとPerplexity WebUI Scraperをひとつのインターフェースで管理するWindowsデスクトップUI。QuotioとVibeProxyにインスパイアされ、OAuthプロバイダー(Claude、Gemini CLI、Codex、Kimi、Antigravity)、カスタムAPIキー、Perplexityセッションアカウントを接続し、任意のコーディングエージェントをローカルエンドポイントに向けることができます。
178+
203179
> [!NOTE]
204180
> CLIProxyAPIをベースにプロジェクトを開発した場合は、PRを送ってこのリストに追加してください。
205181

0 commit comments

Comments
 (0)