151 Commits
Author SHA1 Message Date
Finessse c83da30d3d build(webui): rebuild embedded assets with rate limits component 2026-01-12 07:37:52 +07:00
Finessse e11daa1b39 feat(tray): single instance, settings menu, rate limits diagnostics
- Single-instance check prevents multiple tray apps
- Settings submenu with startup/auto-proxy toggles
- Copy Rate Limits diagnostic option
- Windows Defender exclusion option
2026-01-12 07:37:33 +07:00
Finessse 522f0e5c89 feat(windows): add single-instance mutex and Windows service support
- winutil package with mutex-based single instance lock
- Toast notification helper for Windows
- Service stubs for future Windows service mode
2026-01-12 07:36:43 +07:00
Finessse d6dd24e2b7 feat(tui): add polished Flight Deck terminal dashboard
- Bubbletea-based TUI with 5 tabs: Status, Accounts, Rate Limits, Usage, Logs
- Industrial control room aesthetic with orange/green color scheme
- Double-line borders (╔═╗), active tab indicator 【】
- 3-column stat boxes on Status, 4-column on Usage
- Visual gauge bar for rate limit availability
- Config-optional mode allows TUI to run without config.yaml
- Full-width frame with properly aligned borders
2026-01-12 07:33:04 +07:00
Finessse daa3e91278 fix(tray): remove ugly fake separators from submenus 2026-01-12 05:26:10 +07:00
Finessse 291b69ced1 fix(tray): hide console window when running CLI commands 2026-01-12 05:22:36 +07:00
Finessse 6b2dbf6840 feat(tray): make Providers menu functional with all providers
Providers submenu now has clickable login items:
- Claude, Gemini, Codex, Qwen (OAuth)
- Antigravity, Kiro (OAuth)
- MiniMax, Zhipu (API key via CLI)

Each item triggers OAuth flow or CLI login command.
2026-01-12 05:16:47 +07:00
Finessse 8a822b1f05 feat(tray): add Accounts submenu with CLI integration
New Accounts submenu:
- Copy Account List (-list-accounts)
- Cleanup Expired (-cleanup-expired)
- Export Accounts... (-export-accounts)
- Import Accounts... (-import-accounts)

All menu items harness CLI binary for single source of truth.
2026-01-12 05:11:58 +07:00
Finessse dc05446bf0 feat(tray): integrate CLI commands into Diagnostics menu
Add menu items to copy CLI output to clipboard:
- Copy Account Status (account health summary)
- Copy Usage Stats (token usage by provider)
- Copy Model List (available models)
- Copy Recent Logs (last 100 log entries)

Uses stdout capture to get formatted CLI output.
2026-01-12 05:05:47 +07:00
Finessse 16dc9c7101 feat(tray): add Refresh Tokens menu + account count in tooltip 2026-01-12 04:49:31 +07:00
Finessse 45289603b9 refactor: rename cliproxytray → proxypilot-tray
- Rename cmd/cliproxytray to cmd/proxypilot-tray
- Update all script references
- Update workflow and docs
2026-01-12 04:43:58 +07:00
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 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 f0568a5c20 docs(cli): update --antigravity-import flag description 2026-01-11 05:11:20 +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 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 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 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 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 5930e6b8c4 fix(webui): load react-grab in dev mode only 2026-01-05 00:55:32 +07:00
Finessse 3531191944 feat(webui): add react-grab for component context copying
Ctrl+C on any element copies file name, component, and HTML source.
2026-01-05 00:52:24 +07:00
Finessse fecc80de5f refactor: remove TUI flags from CLI 2026-01-04 19:51:07 +07:00
Finessse 3abcc42139 refactor: remove proxypilotui command 2026-01-04 19:50:56 +07:00
Finessse 7c87e241fb feat(tui): improve layout and ascii fallbacks 2026-01-01 00:52:14 +07:00
Finessse e01aeda3de feat(webui): update React dashboard bundle
Rebuild frontend assets with latest UI improvements.
2025-12-31 02:01:11 +07:00
Finessse 6e53bdade9 feat: add --tui flag for interactive mode 2025-12-30 01:28:38 +07:00
Finessse b7cd41110e chore: remove standalone ppswitch CLI 2025-12-30 01:27:10 +07:00
Finessse ea371ccfc6 refactor: remove desktop GUI, keep CLI + tray architecture
- Delete cmd/proxypilotui/main_windows.go (desktop GUI)
- Keep cmd/proxypilotui/assets/ (web dashboard)
- Update cliproxytray to remove embedded asset server
- Update proxypilot_dashboard.go for standalone dashboard
- Update README and docs for CLI + tray architecture
- Update proxypilotpack build scripts
2025-12-30 00:25:15 +07:00
Finessse 83160e11a7 fix(ppswitch): correct GitHub URL in help text 2025-12-29 22:47:35 +07:00
Finessse 4206d57bd9 build(ppswitch): add Makefile for cross-platform builds
- Add build target for current platform
- Add build-all target for all platforms
- Add clean and install targets
2025-12-29 22:13:10 +07:00
Finessse b8ffbab975 chore(ppswitch): update version to 0.1.0 and help text
- Change version from 1.0.0 to 0.1.0
- Update install command to use bun
- Improve help text formatting
2025-12-29 22:12:59 +07:00
Finessse 4827af9b48 chore(build): rebuild webui assets 2025-12-29 21:22:09 +07:00
Finessse 0da9aa6cd3 feat(cmd): add ppswitch lightweight config switcher binary
Add standalone ppswitch binary for fast agent configuration switching
without server logging overhead. Usage:
- ppswitch              Show all agent statuses
- ppswitch <agent>      Show specific agent status
- ppswitch <agent> <mode>  Switch agent to proxy/native mode
2025-12-29 21:19:52 +07:00
Finessse 7afc014c0e feat(cmd): integrate switch command into main binary
Add --switch and --mode flags plus subcommand-style 'proxypilot switch'
syntax for quick agent configuration switching. Supports both flag style
(--switch claude --mode proxy) and subcommand style (proxypilot switch
claude proxy).
2025-12-29 21:19:25 +07:00
Finessse 75cf72720c feat(ui): update ProxyPilot desktop UI
- Update embedded UI assets
- Improve Windows-specific UI handling
2025-12-29 19:01:20 +07:00
Finessse 551c664564 feat(cmd): add provider login CLI flags to server
- Add --minimax-login, --zhipu-login for API key providers
- Add --amazonq-import for Amazon Q CLI token import
- Add --kiro-import for Kiro IDE token import
- Add --kiro-aws-login for AWS Builder ID flow
2025-12-29 19:00:17 +07:00
Finessse a1ca0ddcb8 chore: bump version to 0.1.6 2025-12-28 20:55:46 +07:00
Finessse cb4a7e0bbf feat(installer): add custom Go-based installer
Add custom installer application with embedded UI for ProxyPilot installation.
2025-12-28 20:53:31 +07:00
Finessse 7d1b514a2e chore(ui): update proxypilotui assets 2025-12-28 20:52:54 +07:00
Finessse 7d70539d80 refactor(tray): remove iFlow from system tray app
Remove iFlow OAuth endpoint case from tray application.
2025-12-28 20:50:05 +07:00
Finessse 1878476f76 refactor(ui): remove iFlow from ProxyPilot UI
- Remove iFlow button from login panel
- Remove iFlow OAuth endpoint case
- Remove iFlow click handler
2025-12-28 20:49:54 +07:00
Finessse 7457183dd1 refactor(cli): remove iFlow login flags
Remove --iflow-login and --iflow-cookie CLI flags.
2025-12-28 20:49:04 +07:00
Finessse 9a2363d6bd chore: bump version to 0.1.5
Includes:
- Vision base64 parsing fix for OpenAI-to-Claude translation
- Memory API localhost authentication with API keys
- Global model mapping SDK hook for cross-provider aliases
- Comprehensive unit tests for auth, config, memory, and runtime
2025-12-28 10:49:06 +07:00
Finessse b127b674e9 sync: squash merge upstream CLIProxyAPI v6.6.62
Synced with upstream v6.6.61-v6.6.62 changes:
- Added usage export/import endpoints
- Added normalizeCodexKey function
- Updated BootstrapRetries type
- Enhanced model definitions and antigravity config

Preserved ProxyPilot customizations:
- Kept CompressionConfig for long-context sessions
- Kept Kiro, GitHub Copilot, Amazon Q model definitions
- Kept shouldKeepProviderOrder for Gemini-3 provider stability
- Kept advanceProviderCursor pattern (separate cursor advancement)
- Removed AmpCode integration (not used)

Version: 0.1.4
2025-12-28 08:32:11 +07:00
Finessse 0b12eafe6c chore: bump version to 0.1.3 2025-12-28 07:17:57 +07:00
Finessse 81848357c4 feat: auto-register translators on startup
Import translator package with side effects to register all
built-in format translators at initialization.
2025-12-28 07:11:28 +07:00
Finessse 26a17c7456 security(webui): remove hardcoded management key from template 2025-12-28 07:09:44 +07:00