Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Grok Build as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 3.1 Pro, GPT 5.5, Grok 4.3, Claude model through API
207 matches across 7 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | config.example.yaml | 121 | # Session IDs are extracted from: metadata.user_id (Claude Code session format), |
| LOW | config.example.yaml | 141 | # bootstrap-retries: 1 # Default: 0 (disabled). Retries before first byte is sent. |
| LOW | config.example.yaml | 161 | # proxy-url: "socks5://proxy.example.com:1080" |
| LOW | config.example.yaml | 181 | # proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override |
| LOW | config.example.yaml | 201 | # proxy-url: "socks5://proxy.example.com:1080" # optional: per-key proxy override |
| LOW | config.example.yaml | 221 | # experimental-cch-signing: false # optional: default is false; when true, sign the final /v1/messages body using th |
| LOW | config.example.yaml | 241 | # does not send the header. `user-agent` applies to HTTP and websocket requests; |
| LOW | config.example.yaml | 261 | # models: # The models supported by the provider. |
| LOW | config.example.yaml | 281 | # - api-key: "vk-123..." # x-goog-api-key header |
| LOW | config.example.yaml | 301 | # # Optional: Override API key for Amp upstream (otherwise uses env or file) |
| LOW | config.example.yaml | 321 | # # Useful when Amp CLI requests models you don't have access to (e.g., Claude Opus 4.5) |
| LOW | config.example.yaml | 341 | # gemini-cli: |
| LOW | config.example.yaml | 361 | # - name: "kimi-k2.5" |
| LOW | config.example.yaml | 381 | # - "claude-3-5-haiku-20241022" |
| LOW | config.example.yaml | 401 | # - "metadata.mode": "dev" |
| LOW | config.example.yaml | 421 | # - models: |
| LOW | cmd/fetch_codex_models/main.go | 1 | // Command fetch_codex_models connects to the Codex API using stored auth |
| LOW | cmd/fetch_antigravity_models/main.go | 1 | // Command fetch_antigravity_models connects to the Antigravity API using the |
| LOW | internal/misc/claude_code_instructions.go | 1 | // Package misc provides miscellaneous utility functions and embedded data for the CLI Proxy API. |
| LOW | internal/util/provider.go | 21 | // - "gemini" for Google's Gemini family |
| LOW | internal/util/provider.go | 141 | // InArray checks if a string exists in a slice of strings. |
| LOW | internal/util/provider.go | 181 | // |
| LOW | internal/util/translator.go | 21 | // - path: The current path in the JSON structure (empty string for root) |
| LOW | internal/signature/claude_validation.go | 1 | // Claude thinking signature validation. |
| LOW | internal/signature/claude_validation.go | 21 | // After base64 decoding to raw bytes, the first byte must be 0x12: |
| LOW | internal/signature/claude_validation.go | 61 | ) |
| LOW | internal/signature/gemini_validation.go | 1 | // Gemini thought signature validation notes. |
| LOW | internal/signature/gemini_validation.go | 21 | // |
| LOW | internal/signature/gemini_validation.go | 41 | // currently include Gemini 3.x field-2 -> field-1 payloads and Gemini 2.5 |
| LOW | internal/signature/gemini_validation.go | 81 | ) |
| LOW | internal/config/config.go | 201 | // DisableAutoUpdatePanel disables automatic periodic background updates of the management panel asset from GitHub. |
| LOW | internal/config/config.go | 221 | AntigravityCredits bool `yaml:"antigravity-credits" json:"antigravity-credits"` |
| LOW | internal/config/config.go | 281 | // is used for the upstream Amp request. |
| LOW | internal/config/config.go | 361 | // CloakConfig configures request cloaking for non-Claude-Code clients. |
| LOW | internal/config/config.go | 601 | // and returns it. |
| LOW | internal/config/config.go | 661 | // if errLegacy := yaml.Unmarshal(data, &legacy); errLegacy == nil { |
| LOW | internal/config/config.go | 741 | cfg.SanitizeOAuthModelAlias() |
| LOW | internal/config/vertex_compat.go | 1 | package config |
| LOW | internal/config/sdk_config.go | 1 | // Package config provides configuration management for the CLI Proxy API server. |
| LOW | internal/config/sdk_config.go | 21 | |
| LOW | internal/auth/models.go | 1 | // Package auth provides authentication functionality for various AI service providers. |
| LOW | internal/auth/gemini/gemini_auth.go | 61 | // GetAuthenticatedClient configures and returns an HTTP client ready for making authenticated API calls. |
| LOW | internal/auth/gemini/gemini_auth.go | 121 | return nil, fmt.Errorf("failed to unmarshal token: %w", err) |
| LOW | internal/auth/gemini/gemini_token.go | 41 | Metadata map[string]any `json:"-"` |
| LOW | internal/auth/empty/token.go | 1 | // Package empty provides a no-operation token storage implementation. |
| LOW | internal/auth/claude/token.go | 41 | // It is not exported to JSON directly to allow flattening during serialization. |
| LOW | internal/auth/claude/pkce.go | 1 | // Package claude provides authentication and token management functionality |
| LOW | internal/auth/claude/oauth_server.go | 41 | // Code is the authorization code received from the OAuth provider |
| LOW | internal/auth/claude/anthropic_auth.go | 141 | // NewClaudeAuth creates a new Anthropic authentication service. |
| LOW | internal/auth/claude/anthropic_auth.go | 221 | parsedCode = splits[0] |
| LOW | internal/auth/claude/anthropic_auth.go | 441 | LastRefresh: bundle.LastRefresh, |
| LOW | internal/auth/codex/token.go | 41 | // SetMetadata allows external callers to inject metadata into the storage before saving. |
| LOW | internal/auth/codex/oauth_server.go | 241 | |
| LOW | internal/runtime/executor/antigravity_executor.go | 2081 | } |
| LOW | internal/runtime/executor/claude_executor.go | 101 | // The reverse map is now computed per-request in remapOAuthToolNames so that |
| LOW | internal/runtime/executor/claude_executor.go | 1121 | } |
| LOW | internal/runtime/executor/claude_executor.go | 1881 | } |
| LOW | internal/runtime/executor/claude_executor.go | 2041 | // so the total does not exceed the Anthropic API limit (currently 4). |
| LOW | …rnal/translator/gemini/claude/gemini_claude_request.go | 21 | // ConvertClaudeRequestToGemini parses a Claude API request and returns a complete |
| LOW | …nal/translator/gemini/claude/gemini_claude_response.go | 41 | // |
| 102 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | config.example.yaml | 310 | # - "your-api-key-1" |
| HIGH | config.example.yaml | 311 | # - "your-api-key-2" |
| HIGH | config.example.yaml | 314 | # - "your-api-key-3" |
| HIGH | config.example.yaml | 40 | - "your-api-key-1" |
| HIGH | config.example.yaml | 41 | - "your-api-key-2" |
| HIGH | config.example.yaml | 42 | - "your-api-key-3" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …nal/translator/gemini/claude/gemini_claude_response.go | 6 | // multiple response chunks to provide a seamless streaming experience. |
| MEDIUM | …ernal/translator/codex/claude/codex_claude_response.go | 6 | // multiple response chunks to provide a seamless streaming experience. |
| MEDIUM | …slator/gemini-cli/claude/gemini-cli_claude_response.go | 6 | // multiple response chunks to provide a seamless streaming experience. |
| MEDIUM | …ator/antigravity/claude/antigravity_claude_response.go | 6 | // multiple response chunks to provide a seamless streaming experience. |
| MEDIUM | …penai/openai/chat-completions/openai_openai_request.go | 25 | // For now, we'll return the original, but in a real scenario, logging or a more robust error |
| MEDIUM | internal/registry/models/codex_client_models.json | 55 | "base_instructions": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, and your |
| MEDIUM | internal/registry/models/codex_client_models.json | 57 | "instructions_template": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, an |
| MEDIUM | internal/registry/models/codex_client_models.json | 407 | "base_instructions": "You are GPT-5.2 running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an |
| MEDIUM | internal/api/modules/amp/amp.go | 302 | // Build map for efficient and robust comparison |
| MEDIUM | sdk/api/handlers/claude/code_handlers.go | 5 | // between Claude API format and the underlying Gemini backend, providing seamless |
| MEDIUM | sdk/api/handlers/claude/code_handlers.go | 6 | // API compatibility while maintaining robust error handling and connection management. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | internal/watcher/watcher_test.go | 120 | "email": "user@example.com", |
| LOW | internal/watcher/synthesizer/file_test.go | 546 | "email": "user@example.com", |
| LOW | internal/runtime/executor/xai_executor_test.go | 52 | "email": "user@example.com", |
| LOW | …nal/runtime/executor/codex_websockets_executor_test.go | 192 | Metadata: map[string]any{"email": "user@example.com"}, |
| LOW | …nal/runtime/executor/codex_websockets_executor_test.go | 237 | Metadata: map[string]any{"email": "user@example.com"}, |
| LOW | …nal/runtime/executor/codex_websockets_executor_test.go | 262 | Metadata: map[string]any{"email": "user@example.com"}, |
| LOW | …nal/runtime/executor/codex_websockets_executor_test.go | 291 | Metadata: map[string]any{"email": "user@example.com"}, |
| LOW | …nal/runtime/executor/codex_websockets_executor_test.go | 468 | Metadata: map[string]any{"email": "user@example.com"}, |
| LOW | …nal/runtime/executor/codex_websockets_executor_test.go | 491 | Metadata: map[string]any{"email": "user@example.com"}, |
| LOW | internal/redisqueue/plugin_test.go | 34 | Source: "user@example.com", |
| LOW | internal/redisqueue/plugin_test.go | 93 | Source: "user@example.com", |
| LOW | internal/redisqueue/plugin_test.go | 124 | Source: "user@example.com", |
| LOW | internal/redisqueue/plugin_test.go | 176 | Source: "user@example.com", |
| LOW | …/api/handlers/management/auth_files_project_id_test.go | 24 | if errWrite := os.WriteFile(filePath, []byte(`{"type":"gemini","email":"user@example.com","project_id":"project-a"}`), |
| LOW | …/api/handlers/management/auth_files_project_id_test.go | 39 | "email": "user@example.com", |
| LOW | …/api/handlers/management/auth_files_project_id_test.go | 62 | if errWrite := os.WriteFile(filePath, []byte(`{"type":"gemini","email":"user@example.com","project_id":"project-a"}`), |
| LOW | …/api/handlers/management/auth_files_project_id_test.go | 81 | if errWrite := os.WriteFile(filePath, []byte(`{"type":"codex","email":"user@example.com"}`), 0o600); errWrite != nil { |
| LOW | …/api/handlers/management/auth_files_project_id_test.go | 118 | if errWrite := os.WriteFile(filePath, []byte(`{"type":"codex","email":"user@example.com","websockets":false}`), 0o600); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | internal/registry/models/codex_client_models.json | 55 | "base_instructions": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, and your |
| LOW | internal/registry/models/codex_client_models.json | 57 | "instructions_template": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, an |
| LOW | internal/registry/models/codex_client_models.json | 407 | "base_instructions": "You are GPT-5.2 running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an |
| MEDIUM | examples/custom-provider/main.go | 9 | // for demonstration purposes. In a real implementation, you would replace |
| MEDIUM | examples/custom-provider/main.go | 48 | // init registers trivial translators for demonstration purposes. |
| MEDIUM | examples/custom-provider/main.go | 65 | // MyExecutor is a minimal provider implementation for demonstration purposes. |
| MEDIUM | examples/http-request/main.go | 26 | // EchoExecutor is a minimal provider implementation for demonstration purposes. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | internal/tui/i18n.go | 50 | // ────────────────────────────────────────── |
| MEDIUM | internal/tui/i18n.go | 52 | // ────────────────────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | internal/api/modules/modules.go | 69 | // Example usage: |