Finessse
33fbfa7b53
feat(cli): add advanced account management commands
...
- Add -usage flag (token usage stats per provider)
- Add -logs flag (view recent logs, -n for line count)
- Add -refresh flag (force token refresh)
- Add -list-models flag (show available models)
- Add -export-accounts/-import-accounts (backup/restore)
- Add --include-tokens and --force flags for export/import
2026-01-12 04:30:45 +07:00
Finessse
e8a6269a45
test: add tests for logging, errors, config, and auth packages
...
- Add 26 tests for SetLogLevel() in logging package
- Add 6 tests for AppError in errors package
- Add 10 tests for SDKConfig in config package
- Add 3 tests for EmailRequiredError in sdk/auth
2026-01-12 02:30:46 +07:00
Finessse
a09a23380e
feat(cli): wire -quiet/-verbose flags to logging
...
- Add SetLogLevel() to logging package
- CLI flags override config-based log level
- Add tests for account.go (6 tests)
2026-01-12 02:26:06 +07:00
Finessse
5f8941b407
feat(cli): add account management commands
...
- Add -version, -status, -list-accounts flags
- Add -cleanup-expired, -remove-account for token management
- Add -json output mode for scripting
- Add -quiet/-verbose flags
- Colored terminal output with table formatting
2026-01-12 02:18:32 +07:00
Finessse
68cfd33685
refactor(auth): remove unused GeminiCLI token aliases
...
- Remove dead code: GeminiCLIToken type alias, LoadGeminiCLIToken,
LoadGeminiCLITokenFromPath (no callers found)
- Add tests for gemini auth (CredentialFileName, SaveTokenToFile)
2026-01-12 02:05:01 +07:00
Finessse
b654a19a09
feat(gemini): enable thinking by default for Gemini 3 Flash
2026-01-11 14:28:59 +07:00
Finessse
46ad228707
sync(upstream): developer role + message_delta fix + auth cleanup
...
Cherry-picked:
- 7815ee33 : adjust message_delta emission boundary in Claude-to-OpenAI
- 6762e081 : add developer role support for Gemini translators
- 5e5d8142 : fix auth error when antigravity refresh token missing
2026-01-11 06:45:24 +07:00
Finessse
741333697e
sync(upstream): gemini thinking guards + thoughtSignature
...
Cherry-picked:
- 05444cf3 : abort default injection on existing thinking keys
- 8edbda57 : add thoughtSignature to node parts for Gemini/Antigravity
Skipped ef6bafbf (context cancellation) - structural conflict with our
multi-project fallback loops.
2026-01-11 06:45:24 +07:00
Finessse
d3b5b0017f
fix(config): preserve comments + deep copy nodes for YAML merge
...
Cherry-picked config fixes from upstream:
- 2e88c485 : avoid adding new keys when merging
- ee552f87 : deep copy nodes to prevent shared references
- c8e72ba0 : preserve comment nodes during merge
- 09455f9e : additional merge edge case fixes
Kept our isZeroValueNode for smarter zero-value detection.
2026-01-11 06:33:53 +07:00
Finessse
9f5eb93f64
sync(upstream): add HttpRequest support across executors
...
Cherry-picked from e8e3bc86 . Adds HttpRequest method to ProviderExecutor
interface for injecting credentials into arbitrary HTTP requests.
- Added HttpRequest to conductor.go interface
- Added HttpRequest stubs to kiro, minimax, zhipu executors
- Added http-request example
- Updated mock executors in tests
Also kept our Embed method and CountTokens implementations.
2026-01-11 06:32:53 +07:00
Finessse
baf72225a5
sync(upstream): codex subscription dates + logger cleanup
...
Cherry-picked:
- 6494330c : add subscription date fields to ID token claims
- bc3195c8 : remove unnecessary request details limit logic
2026-01-11 06:24:54 +07:00
Finessse
01e1d5aed2
sync(upstream): auth rotation atomic fix + memory leak fixes
...
- fix(auth): make provider rotation atomic (keep shouldKeepProviderOrder)
- fix(server): resolve memory leaks in failed attempts and codex cache
- Add background cleanup goroutine for stale IP entries
- Add cache expiry cleanup for codex prompt cache
- Update provider rotation tests for atomic rotation
Cherry-picked: 8be06255 , 47dacce6
Merged with ProxyPilot's shouldKeepProviderOrder for gemini-3 fallback
2026-01-11 06:11:37 +07:00
Finessse
19bf935a2e
sync(upstream): Gemini 3 Pro and Antigravity executor improvements
...
- feat(executor): enhance Antigravity payload with user role and dynamic system instructions
- feat(executor): add model-specific support for "gemini-3-pro" in execution
- feat(executor): update system instruction handling for Claude and Gemini-3-Pro models
- fix(executor): update gemini model identifier to gemini-3-pro-preview
- feat(executor): centralize systemInstruction handling
Cherry-picked: 67985d82 , bda04eed , 1b2f9076 , b6a0f7a0 , 59a448b6
2026-01-11 06:03:27 +07:00
Finessse
fd9d097b8e
sync(upstream): management API and executor improvements
...
- feat(management): add generic API call handler
- Fix: disable thinking when tool_choice forces tool use
- feat(api): add ManagementTokenRequester interface (sans iflow)
- fix(management): refresh antigravity token for api-call $TOKEN$
- fix(auth): error when antigravity refresh token missing during refresh
Cherry-picked: ade71947 , aca2ef63 , ee171bc5 , b01619b4 , 5e5d8142
Adapted: removed iflow references (not in ProxyPilot)
2026-01-11 06:00:37 +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
63da07d1f1
fix(cmd): update antigravity import to use new SDK method
2026-01-11 05:11:13 +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
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
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
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
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
Finessse
093e77c8c0
feat: add priority/usage APIs, WebUI dashboard, config options
...
- PATCH /v0/management/auth/:id/priority endpoint
- GET /v0/management/auth/:id/usage endpoint
- AccountUsage.tsx dashboard component
- AutoRefreshBuffer, DailyResetHour config fields
- Conductor wiring for refresh config
2026-01-05 12:59:29 +07:00
Finessse
b9ccbfb107
refactor: remove Continue integration
...
Continue VS Code extension is no longer supported.
2026-01-05 00:19:59 +07:00
Finessse
b17f421233
refactor: remove TUI package
...
Windows CMD/PowerShell rendering issues. Will rebuild later.
2026-01-04 19:50:50 +07:00
Finessse
7c87e241fb
feat(tui): improve layout and ascii fallbacks
2026-01-01 00:52:14 +07:00