Finessse
4bf4256e3f
sync(upstream): logging/handlers improvements
...
- fix(logging): improve request/response capture
- fix(handlers): match raw error text before JSON body for duplicate detection
- feat(logging): disambiguate OAuth credential selection in debug logs
- Various logging refinements for auth selection
Cherry-picked from upstream: a091d12f , 3ca5fb10 , 0e4148b2 , 79fbcb3e , 48f6d7ab , 48f19aab , cb3bdffb , a95428f2
2026-01-11 05:57:48 +07:00
Finessse
95bbb4d7f3
sync(upstream): add index field to image response for LiteLLM
...
- Uses json.Marshal for cleaner image payload construction
- Cherry-picked from upstream 671558a8 , a7fc2ee4
2026-01-11 05:50:58 +07:00
Finessse
a9cef821f9
sync(upstream): preserve built-in tools across openai<->responses
...
Cherry-picked from upstream 0b834fcb
2026-01-11 05:48:45 +07:00
Finessse
a1620c5cb0
fix(auth): support both Antigravity IDE and Gemini CLI token paths
...
- Check OS-specific Antigravity path first, fallback to ~/.gemini/
- Add expiry_date field support (Unix ms timestamp)
- Windows: %APPDATA%\Antigravity -> %USERPROFILE%\.gemini
- macOS: ~/Library/Application Support/Antigravity -> ~/.gemini
- Linux: ~/.antigravity -> ~/.gemini
2026-01-11 05:20:13 +07:00
Finessse
2465a8fff1
chore: remove upstream Community Projects section from README
2026-01-11 05:14:16 +07:00
Finessse
f0568a5c20
docs(cli): update --antigravity-import flag description
2026-01-11 05:11:20 +07:00
Finessse
63da07d1f1
fix(cmd): update antigravity import to use new SDK method
2026-01-11 05:11:13 +07:00
Finessse
7157230427
refactor(auth): rename ImportFromGeminiCLI to ImportFromAntigravityIDE
2026-01-11 05:11:05 +07:00
Finessse
bcdbba5f76
fix(auth): read tokens from Antigravity IDE instead of Gemini CLI
...
Update token paths to OS-specific Antigravity locations:
- Linux: ~/.antigravity/oauth_creds.json
- macOS: ~/Library/Application Support/Antigravity/oauth_creds.json
- Windows: %APPDATA%\Antigravity\oauth_creds.json
2026-01-11 05:10:59 +07:00
Finessse
9679f69b81
feat(auth): add Gemini CLI token import for Antigravity
...
- Add internal/auth/antigravity package with token loading from ~/.gemini/oauth_creds.json
- Add ImportFromGeminiCLI method to AntigravityAuthenticator
- Add DoAntigravityImport CLI command
- Add --antigravity-import flag to server binary
Usage: proxypilot --antigravity-import
2026-01-11 04:10:54 +07:00
Finessse
8ddaa140af
chore: sync non-code changes from upstream v6.6.98
...
- .dockerignore: add .codex, .agents, .opencode entries
- .gitignore: add .codex, .agents, .opencode entries
- README.md: add Community Projects section (Quotio, CodMate, Claude Proxy VSCode)
2026-01-11 04:01:21 +07:00
Finessse
34f9bbd56e
fix(auth): prevent race in kiro auth callback server shutdown
2026-01-10 06:03:03 +07:00
Finessse
cddccdd5cb
feat(executor): add project and model fallback on 429 for gemini-cli
2026-01-10 06:02:48 +07:00
Finessse
06c41e1a00
test(executor): add antigravity project switch integration test
2026-01-10 06:02:35 +07:00
Finessse
092cef6fa3
feat(executor): add project and model fallback on 429 for antigravity
2026-01-10 06:02:20 +07:00
Finessse
7806419df5
test(executor): add quota fallback unit tests
2026-01-10 06:02:06 +07:00
Finessse
ff5a078229
feat(executor): add quota fallback helpers for project and model switching
2026-01-10 06:01:52 +07:00
Finessse
e2894fa447
docs(readme): add security defaults and lightweight profile sections
2026-01-09 23:43:06 +07:00
Finessse
d9500d4961
docs(config): document lightweight profile and new config options
2026-01-09 23:42:50 +07:00
Finessse
ab2be5d03c
fix(auth): simplify auto-refresh interval validation
2026-01-09 23:42:36 +07:00
Finessse
0761e2b695
fix(auth): prioritize paidTier over isDefault for antigravity tier detection
2026-01-09 23:42:13 +07:00
Finessse
db647820c9
fix(util): add kiro prefix fallback and reduce debug log noise
2026-01-09 23:41:57 +07:00
Finessse
8c991a8ed3
feat(registry): add kiro thinking model definitions
2026-01-09 23:41:39 +07:00
Finessse
123fd00c0a
feat(executor): add kiro thinking model variants mapping
2026-01-09 23:41:25 +07:00
Finessse
b87fe4580d
fix(executor): update antigravity user-agent and add required headers
2026-01-09 23:41:11 +07:00
Finessse
aeff3e8c09
fix(memory): handle cliproxyexecutor.Response in auth adapter
2026-01-09 23:40:53 +07:00
Finessse
3a8fac2514
feat(server): wire up lightweight profile toggles and configurable CORS
2026-01-09 23:40:39 +07:00
Finessse
283e8cfb52
feat(config): add lightweight profile options and CORS settings
2026-01-09 23:40:25 +07:00
Finessse
854bd25940
feat(cache): add max-bytes size limit for prompt cache
2026-01-09 23:40:10 +07:00
Finessse
f42cadf459
feat(cache): add max-bytes size limit for response cache
2026-01-09 23:39:57 +07:00
Finessse
b4a54444d8
feat(usage): add sampling rate support for usage statistics
2026-01-09 23:39:42 +07:00
Finessse
6990e769ea
fix(management): return 404 when request history is disabled
2026-01-09 23:39:28 +07:00
Finessse
69ba18a095
fix(middleware): respect request history sampling in logging middleware
2026-01-09 23:39:14 +07:00
Finessse
8b9f5ebe00
feat(middleware): add runtime toggle and sampling for request history
2026-01-09 23:39:00 +07:00
Finessse
65e243ec1b
feat(middleware): add runtime toggle for Prometheus metrics
2026-01-09 23:38:47 +07:00
Finessse
fce1e62aa4
perf(middleware): pool response body buffers to reduce GC pressure
2026-01-09 23:38:34 +07:00
Finessse
bc3d89d958
perf(handlers): cache request details lookup per model
2026-01-09 23:38:21 +07:00
Finessse
5d9d4328f9
refactor(handlers): use pooled SSE writer helpers across all providers
2026-01-09 23:38:09 +07:00
Finessse
b02b3c32ce
perf(sdk): use pre-allocated byte slice for SSE keep-alive
2026-01-09 23:37:55 +07:00
Finessse
616cde1a0f
test(sdk): add stream forwarder benchmarks
2026-01-09 23:37:41 +07:00
Finessse
d2efc1dd8e
feat(sdk): add pooled SSE writer helpers for reduced allocations
2026-01-09 23:37:29 +07:00
Finessse
86470c8274
feat(routing): add usage-aware credential selector
...
Routes requests to the account with lowest daily output tokens.
Spreads load across accounts to avoid hitting quota limits.
Config: routing.strategy = "usage-aware" or "least-used"
2026-01-08 04:45:19 +07:00
Finessse
5fdb0ff618
feat(webui): add per-account usage display
...
Auth table shows daily output tokens and request count.
Hover tooltip displays total usage stats.
API exposes usage field in auth-files response.
2026-01-08 04:34:50 +07:00
Finessse
f9f4425147
chore: ignore local planning docs and debug configs
2026-01-06 06:39:59 +07:00
Finessse
dc0685561e
chore: rebuild webui assets
2026-01-06 06:24:55 +07:00
Finessse
0551a8bd18
chore: remove managementasset references from server
2026-01-06 06:24:20 +07:00
Finessse
33be41ba03
feat(cache): wire cache initialization and add docs
...
Initialize response/prompt caches in Service.Run from config.
Add cache lookup to executor payload helpers.
Document cache config and management API in README.
2026-01-06 06:24:01 +07:00
Finessse
d317728d93
feat(webui): add priority controls and token expiry display
...
ProviderLogins table now shows:
- Priority column with up/down reorder buttons
- Expires column with color-coded status (green/yellow/red)
API exposes token_expires_at for WebUI consumption.
2026-01-06 06:22:40 +07:00
Finessse
c8176cddab
chore: remove legacy management UI
...
Remove /management.html, pp_open_legacy_ui tray binding,
disable-control-panel and panel-github-repository config options.
OpenManagementUI now opens /proxypilot.html directly.
2026-01-06 06:22:06 +07:00
Finessse
30978f1f17
feat(cache): add response cache and prompt cache tracking
...
Response cache stores completions keyed by request hash.
Prompt cache tracking aggregates cache_read/cache_creation tokens.
WebUI CacheStats component shows hit rates and token savings.
2026-01-06 06:21:54 +07:00