forked from router-for-me/CLIProxyAPI
-
-
Notifications
You must be signed in to change notification settings - Fork 284
fix(ci): allow third-party provider translator changes in PRs #418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jc01rho
wants to merge
210
commits into
router-for-me:main
Choose a base branch
from
jc01rho:fix/pr-path-guard-allow-third-party-translators
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
210 commits
Select commit
Hold shift + click to select a range
13fee2a
feat(routing): add key-based mode and fallback routing
jc01rho 45624ec
Merge commit '4dc7af5a5d136a9dff72f047274d1653d056f391'
77322f9
Delete .github/workflows/docker-image.yml
jc01rho ed22738
feat(api): add routing mode and fallback management endpoints
jc01rho 3930f64
Merge remote-tracking branch 'upstream/main'
37947cf
fix: context canceled errors incorrectly marking auth as failed
jc01rho 5ec3e15
Merge remote-tracking branch 'upstream/main'
a420b24
Merge commit 'f8f3ad84fcaf33443746e6c0d2eba420220046bb'
eeab7cf
feat(api): add quota, last_error, next_retry_after to auth-files resp…
jc01rho 12f6be3
Merge remote-tracking branch 'upupstream/main'
ed57ebc
feat(antigravity): extract and store subscription tier info
jc01rho f59cbba
feat(api): expose antigravity tier in management API
jc01rho 3701ff0
feat(antigravity): log tier info in requests
jc01rho fabae2d
chore: add sisyphus work plan and notepads for antigravity tier detec…
jc01rho 3688f5e
Merge remote-tracking branch 'upstream/main'
a399c7d
Merge commit '2542c2920dc3d7f568737fe333d19b7a78bcd7f5'
53c7dce
Merge remote-tracking branch 'upstream/main'
f261efa
Merge remote-tracking branch 'upstream/main'
ca50521
fix(antigravity): resolve malformed_function_call error for gemini-3-…
jc01rho de568a4
fix(antigravity): preserve tier info during token refresh
jc01rho a459599
Merge commit 'ef4508dbc8fce4e660e55aa1673c25819a903630'
af93643
fix: apply PR #1131 - Fix Gemini tool calling for Antigravity
jc01rho 9a8c7e0
fix: apply PR #1131 - Fix Gemini tool calling for Antigravity
jc01rho 18caa3f
feat: add web search tool support for Claude/OpenAI/Gemini formats (P…
jc01rho 52484f2
Merge remote-tracking branch 'upstream/main'
5b93c53
fix(auth): trigger fallback when all keys disabled or pending
jc01rho 6350302
Merge upstream commit abfca6aa (refactor: reorder gemini schema clean…
jc01rho 8b1533d
Merge upstream commit 19b4ef33 (feat: PATCH endpoint for auth files)
jc01rho ec0baf9
Merge cliplus/main (9fccc86b): executor payload config, Kiro auth fix…
jc01rho fdf86b0
Merge commit '0d6ecb01' into merge-lab
jc01rho da39d04
fix: restore upstream version of antigravity_openai_request.go to fix…
jc01rho 02177c6
feat(sdk): export FetchAntigravityProjectInfo for tier info access
jc01rho 90f5bc1
fix(backend): add tier info to antigravity auths
jc01rho 9fc64fc
feat(sdk): add tier detection by name patterns
jc01rho f613d91
feat(usage): add per-model failure count to statistics API
jc01rho b0c0659
fix(kiro): add virtual model IDs to enable OAuth model alias mapping
jc01rho 2246e89
fix(kiro): prevent duplicate agentic variant generation
jc01rho 96547f2
chore(kiro): add debug logging for OAuth model alias resolution
jc01rho 13a1047
fix(kiro): remove unsupported Opus models and fix OAuth alias hot-reload
jc01rho db99913
fix(iflow): improve error logging for token refresh and streaming fai…
jc01rho 551cbda
fix(thinking): prevent Gemini 400 error when both budget and level ar…
jc01rho 7e9863d
feat: Add Trae provider support
jc01rho adb0434
feat: Add Trae provider support to OAuth and executor
jc01rho 252e758
feat: Add AmpCode provider support
jc01rho 6494710
Merge cliplus/main with HEAD (use HEAD for conflicts)
jc01rho 569a370
Merge upstream/main (use HEAD for iflow_executor conflict)
jc01rho 60c3186
Revert "feat: Add AmpCode provider support"
58fecdc
Merge remote-tracking branch 'upstream/main'
b225d4e
refactor(trae): Follow Qwen pattern - add CreateTokenStorage/UpdateTo…
jc01rho 6184735
Merge remote-tracking branch 'upstream/main'
510be7e
fix(trae): Return auth URL immediately in RequestTraeToken response
jc01rho 4ba6f64
fix(trae): Use main server callback and file polling for OAuth flow
jc01rho 3ab687b
fix(kiro): Add token estimation fallback for Kiro model
jc01rho 2b68238
feat(trae): implement OAuth flows and update project configuration
jc01rho 7d51efc
Merge remote-tracking branch 'upstream/main'
39eeb7d
chore(deps): Add machineid dependency for device fingerprinting
jc01rho 823f71b
Merge commit '9e5b1d24e8bdecedc7e705a939fd037cec6fa8d7'
62ecc1e
feat(logging): add comprehensive request logging and blocking
jc01rho 3880b15
fix(logging): ensure model name is logged when handler reads body first
jc01rho 0f8b50c
fix(logging): improve log format to show model and auth independently
jc01rho 20a2818
feat(logging): add provider and provider-auth info to request logs
jc01rho aa1e988
feat(trae): add native OAuth types and fingerprint extensions
jc01rho e2521d6
feat(trae): implement native OAuth URL generation
jc01rho a61c677
feat(trae): add /authorize callback handler for native OAuth
jc01rho d4e8c15
refactor(trae): remove deprecated Google OAuth flow
jc01rho 9d7df11
refactor(trae): remove deprecated GitHub OAuth flow
jc01rho c5bd05a
feat(trae): implement Execute and ExecuteStream methods
jc01rho 72b6cc0
fix: Add Trae userJwt parsing in OAuth callback handler
jc01rho e0fa66f
fix(logging): propagate provider auth info to gin context for logging
jc01rho ce653ee
fix(logging): add gin.Context to request context for provider auth pr…
jc01rho fde05b2
Merge upstream/main (d7d54fa) into main
jc01rho af086e8
feat(ci): add Discord webhook notification on successful release
jc01rho abb23b4
Merge tag 'v6.7.37-0'
f87ddd4
feat(trae): add Native OAuth login support with redirect=0
jc01rho e355abf
Merge tag 'v6.7.38-0'
fd6d618
Merge remote-tracking branch 'upstream/main'
7585d00
feat(cli): add --trae-login and --trae-import CLI flags
jc01rho 36ca128
feat(trae): implement correct Trae API format for chat completions
jc01rho d2793c9
feat(kilocode): implement Kilocode Device Auth and API integration
jc01rho 37fd6ad
fix(kilocode): register KilocodeAuthenticator in auth manager
jc01rho 04aeefe
Merge remote-tracking branch 'upstream/main'
327c5ae
chore: update management.html with Kilocode UI support
jc01rho d9b5bba
chore: update management.html with upstream merge (c3e652e)
jc01rho 7d3cc09
feat(kilocode): add dynamic free model fetching from Kilocode API
jc01rho f790d54
fix(kilocode): use static model list instead of API fetch
jc01rho b418cd5
fix(kilocode): normalize model names and remove /models validation
jc01rho dbb8aa6
chore: remove server binary and add to gitignore
jc01rho ed7ad3a
fix(kilocode): update free model list - remove kimi-k2.5, add minimax…
jc01rho 0cb4c0c
Revert "fix(kilocode): update free model list - remove kimi-k2.5, add…
jc01rho fa8aad2
feat(kilocode): add VS Code extension headers for free model access
jc01rho bf51879
fix(kilocode): update headers and model IDs for free model access
jc01rho c28b808
Merge remote-tracking branch 'upstream/main'
ff7f5b5
fix(trae): improve v1 API integration with token_usage parsing and fi…
jc01rho bd0cbfb
feat(trae): add v3 API support for gpt-5.x, gemini-3, kimi-k2 models
jc01rho 583a48a
feat(trae): add static v1 models (gpt-4o, deepseek-V3/R1, claude37)
jc01rho 759a778
feat(trae): add model aliases to static list for v1 API
jc01rho b9b3049
fix(kilocode): add X-Kilocode-Tester header for free model access and…
jc01rho 1a585d4
fix(kilocode): resolve model alias to full OpenRouter format for free…
jc01rho 9715aa5
fix(kilocode): filter SSE comments to prevent JSON parse errors
jc01rho a477852
feat(fallback): add detailed logging for fallback reason
jc01rho 84ad6e8
feat(kilocode): add explicit model alias mappings for kimi2, glm4, etc.
jc01rho 7302834
refactor(kilocode): remove hardcoded model aliases, delegate to config
jc01rho d6207c6
debug(oauth-alias): add debug logs for alias resolution troubleshooting
jc01rho 07160fe
debug(oauth-alias): add channel logging at applyOAuthModelAlias entry
jc01rho 91abfbd
debug(kilocode): add executor logging for model alias flow tracing
jc01rho 0cf989d
fix(oauth-alias): set auth_kind for file-loaded auths
jc01rho a216bf8
debug(oauth-alias): add logging to trace alias resolution flow
jc01rho 13ae121
fix(kilocode): strip :free suffix from model names for API calls
jc01rho 21dff8f
debug(kilocode): add INFO level logging for model normalization
jc01rho 01d0fb7
fix(kilocode): update API base URL and preserve :free suffix
jc01rho 5141a17
Merge upstream cliplus/main b9cdc2f5
jc01rho 7dd18f4
fix(translator): remove non-standard 'interleaved' field from OpenAI …
jc01rho f7b51ed
fix: Add tool_use.id validation and sanitization for Kiro provider
jc01rho 9600842
feat: Add detailed request body logging for Kiro 400 errors
jc01rho 552cd61
Merge tag 'v6.7.45'
5df3b19
Merge upstream commit 1548c567 - sponsors & project list
jc01rho 3ace0c3
Merge branch 'main' of github.com:jc01rho/CLIProxyAPIPlus
jc01rho 673c57b
Merge remote-tracking branch 'upstream/main'
be3e620
fixed
4c23a08
Merge commit 'f0bd14b64f540ef16553dcb6b0a6252d3efdb7b6'
1ba2aa7
Merge tag 'v6.7.53-0'
a5d0288
fix(sdk): restore bytes.Clone to prevent JSON truncation in streaming…
jc01rho 4af9181
fix(executor): restore bytes.Clone in Gemini executors
jc01rho 21fae15
fix(executor): restore bytes.Clone in AI Studio and Qwen executors
jc01rho 2489cd2
fix(executor): restore bytes.Clone in Claude, iFlow, and Codex executors
jc01rho 6042bef
fix(executor): restore bytes.Clone in remaining executors and logging
jc01rho 03570e9
feat(executor): increase default HTTP timeout to 300s for GLM-4.7 sup…
jc01rho 8a95e27
fix(executor): remove Client.Timeout to prevent streaming deadline er…
jc01rho 06482bc
Merge remote-tracking branch 'upstream/main'
7ea0603
Merge remote-tracking branch 'upstream/main'
91c4a15
Merge remote-tracking branch 'upstream/main'
5cabc33
Merge remote-tracking branch 'upstream/main'
1fdc799
Remove Trae provider - complete removal of Trae implementation
fe2b3d3
Merge remote-tracking branch 'upstream/main'
7c6e59a
Merge remote-tracking branch 'upstream/main'
19392b1
Merge commit 'c6bd91b86b9bc4800a833996d3bbe9702e4ab32b'
c12d17d
Merge remote-tracking branch 'upstream/main'
af0f39c
Merge commit 'f361b2716da08496c478d9cdcde4ccfbd64b4f59'
09c355b
Merge remote-tracking branch 'upstream/main'
ea677b1
feat(iflow): improve OAuth token refresh with expires_at handling
cb9b3f7
feat(kilocode): add dynamic model fetching with static fallback
2d61771
fix(oauth-alias): allow multiple source models to share same alias
7faa33e
feat(registry): add kilocode and kimi to model definitions endpoint
a06c8c6
feat(registry): add trae to model definitions endpoint
aa79005
fix(trae): update auth import to read from storage.json like quotio
c6815a7
Remove Trae provider entirely — quotio treats it as quota-tracking on…
171a5f8
Merge remote-tracking branch 'upstream/main'
36a992d
fix(kilocode): improve free model detection and add provider filtering
3ae34fe
Merge upstream d560c20c with conflict resolution
f1cdaa5
Merge commit 'b5fe78eb70fd8e77cff8800280b33c64f28447cd'
badeb65
fix(iflow): advance token refresh to 36 hours before expiry
2b50496
Merge upstream e186ccb0 with kilo/kilocode consolidation
31cf3b8
refactor(kilo): improve login UX with auto browser open and formattin…
4ec8f43
feat(cline): add provider constant and WorkOS OAuth authentication
c2a5c9b
feat(cline): add model registry definitions
5c4eb58
feat(cline): add request executor for Cline API
6d1e01e
feat(cline): add SDK authenticator and refresh registration
358cf2b
feat(cline): add CLI login command and auth manager registration
5c16aaf
feat(cline): wire provider into service and OAuth routing
290f8ed
feat(cline): add CLI login flag and web OAuth management handler
da3e28a
fix(cline): add client_type and redirect params to OAuth flow
cedaac6
fix(cline): handle callback with base64 token data and optional state
4c1640c
feat(cline): add minimax-m2.5 free model and enhance dynamic model fe…
ac857b6
fix(cline): add grantType to token refresh and extension headers to A…
03c74ef
chore: remove Cline provider implementation
90ec337
fix(security): replace hardcoded OAuth secrets with package constants
98c19cf
Merge remote-tracking branch 'upupstream/dev'
47a030a
Merge remote-tracking branch 'upstream/main'
aaa8800
Merge upstream 2b8c466e (StreamResult refactor, TUI, passthrough head…
1e4db51
Merge branch 'main' of github.com:jc01rho/CLIProxyAPIPlus
2a36b1e
Merge remote-tracking branch 'upstream/main'
8a17f0f
feat: add gemini-3.1-pro-preview to Gemini CLI models
085d995
fix(responses): use data-only SSE format for better client compatibility
ec16857
fix(responses): strip event: lines from SSE stream for client compati…
8ce8591
fix(codex): strip event: prefix from upstream SSE stream
d1c2afc
fix(responses): strip all event: lines from SSE chunks
a5e36a5
Merge tag 'v6.8.24' into HEAD
google-labs-jules[bot] 7b7f243
Merge pull request #2 from jc01rho/merge-upstream-v6.8.24-16401083871…
jc01rho b19e8ec
Merge remote-tracking branch 'upstream/main'
2d2a301
Merge remote-tracking branch 'upstream/main'
0e4adf8
Merge tag 'v6.8.27-0'
8f03f86
Merge remote-tracking branch 'upstream/main'
8b24462
fix(iflow): improve token refresh error handling for server overload
e2f63f8
fix(iflow): persist oauth refresh metadata in management auth flow
867e65e
Merge remote-tracking branch 'upstream/main'
10d67b6
feat(iflow): match official iFlow CLI request patterns for detection …
dda38a0
Merge remote-tracking branch 'upstream/main'
2caf87f
feat(cline): add provider constant, OAuth auth, and static models
0b9ce4a
feat(cline): implement executor, CLI login, and SDK authenticator
e8d048f
feat(cline): complete service registration and management routes
0c1ed44
feat(cline): complete service registration and management routes
74d7e14
feat(cline): add --cline-login CLI flag for OAuth authentication
d7443dc
fix(antigravity): match User-Agent with AntigravityManager for better…
986eb29
fix(auth): register cline authenticator in CLI and service managers
5925dd7
fix(auth): handle cline callback without state and parse token directly
eb7865f
fix(auth): parse cline expiresAt as string and handle multiple base64…
61815a6
fix(cline): fetch only free models dynamically and harden callback JS…
7aca72d
feat(cline): add token refresh and OpenRouter parity headers
7f026e2
Merge remote-tracking branch 'upstream/main'
8a03e3f
Merge upstream 7547d1d0 (v6.8.39) with theirs strategy
01b1e93
fix(auth): restore clineCallbackPort constant after upstream merge
34c5c06
feat: add provider info to gin logger context
8b20a6f
feat: log actual model name alongside alias in request logs
f59d64c
fix: log all HTTP status codes at Info level for consistent visibility
a95772d
Merge remote-tracking branch 'upstream/main'
f50dae1
Merge remote-tracking branch 'upstream/main'
c57cfc6
Merge tag 'v6.8.42-1'
c8af7cb
Merge remote-tracking branch 'upstream/main'
f9d93c3
fix(ci): allow third-party provider translator changes in PRs
5a4464d
fix: add missing switch keyword in gin_logger.go
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| # TLDR ignore patterns (gitignore syntax) | ||
| # Auto-generated - review and customize for your project | ||
| # Docs: https://git-scm.com/docs/gitignore | ||
|
|
||
| # =================== | ||
| # Dependencies | ||
| # =================== | ||
| node_modules/ | ||
| .venv/ | ||
| venv/ | ||
| env/ | ||
| __pycache__/ | ||
| .tox/ | ||
| .nox/ | ||
| .pytest_cache/ | ||
| .mypy_cache/ | ||
| .ruff_cache/ | ||
| vendor/ | ||
| Pods/ | ||
|
|
||
| # =================== | ||
| # Build outputs | ||
| # =================== | ||
| dist/ | ||
| build/ | ||
| out/ | ||
| target/ | ||
| *.egg-info/ | ||
| *.whl | ||
| *.pyc | ||
| *.pyo | ||
|
|
||
| # =================== | ||
| # Binary/large files | ||
| # =================== | ||
| *.so | ||
| *.dylib | ||
| *.dll | ||
| *.exe | ||
| *.bin | ||
| *.o | ||
| *.a | ||
| *.lib | ||
|
|
||
| # =================== | ||
| # IDE/editors | ||
| # =================== | ||
| .idea/ | ||
| .vscode/ | ||
| *.swp | ||
| *.swo | ||
| *~ | ||
|
|
||
| # =================== | ||
| # Security (always exclude) | ||
| # =================== | ||
| .env | ||
| .env.* | ||
| *.pem | ||
| *.key | ||
| *.p12 | ||
| *.pfx | ||
| credentials.* | ||
| secrets.* | ||
|
|
||
| # =================== | ||
| # Version control | ||
| # =================== | ||
| .git/ | ||
| .hg/ | ||
| .svn/ | ||
|
|
||
| # =================== | ||
| # OS files | ||
| # =================== | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # =================== | ||
| # Project-specific | ||
| # Add your custom patterns below | ||
| # =================== | ||
| # large_test_fixtures/ | ||
| # data/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR adds
github.com/denisbrodbeck/machineidto go.mod, but there are no references to it in the Go codebase. Please remove the dependency (or add the missing usage) to avoid unnecessary supply-chain surface area and keepgo.modtidy.