Commit Graph
1760 Commits
Author SHA1 Message Date
Finessse 94ef02e19d feat(api): add connection tracker middleware
Track active HTTP connections with thread-safe counter.
Exposes ActiveConnections.Count() for monitoring.
2025-12-31 01:59:17 +07:00
Finessse f5b7aaf9ae feat(logging): wire ring buffer hook into global logger
Add GlobalBuffer hook to capture all log entries for real-time
display in TUI logs view.
2025-12-31 01:58:53 +07:00
Finessse 35018f2e43 feat(logging): add ring buffer for in-memory log capture
Implement thread-safe circular buffer that captures log entries
for display in TUI and web dashboard. Integrates as a logrus hook.
2025-12-31 01:58:09 +07:00
Finessse 6d4e3ceb29 chore: add platform-specific binary names to gitignore
Add proxypilot-linux, proxypilot-darwin, and proxypilot-windows
to prevent accidental commits of compiled binaries.
2025-12-31 01:57:36 +07:00
Finessse 6982a4cc31 feat(tui): add responsive layout and fix sidebar overflow
COMPLETED:
- Added ViewWithSize(width, height) pattern to all submodels
  - login.go: responsive provider rows with adaptive widths
  - switch.go: responsive agent rows without card borders
  - mappings.go: responsive table columns with calculateColumnWidths()
  - usage.go: responsive stat cards (2x2 grid layout)
  - logs.go: responsive log entries with message truncation

- Fixed main View() layout calculation in tui.go
  - Properly accounts for border (2) + padding (2) = 4 chars per panel
  - sidebarWidth now represents content width (20/14 for normal/narrow)
  - contentWidth = m.width - sidebarWidth - 9 (accounts for both panels)

- Added new screen files:
  - integrations.go: setup/integration screen
  - logs.go: real-time log viewer with filtering
  - mappings.go: model alias mappings table
  - usage.go: usage statistics with charts

PENDING TEST:
- Verify sidebar displays correctly alongside content (was overflowing)
- Test all screens at various terminal widths (60, 80, 100+ cols)

KNOWN ISSUE BEING FIXED:
- Sidebar was showing only "[8] Setup" at top due to width overflow
- Content panel was too wide, causing horizontal wrap
2025-12-30 08:45:56 +07:00
Finessse bd7575ca2b chore: apply upstream fixes from CLIProxyAPI v6.6.68
Cherry-picked fixes:
- fix(antigravity): inject required placeholder when properties exist without required
- fix(translators): correct key path for system_instruction.parts in Claude request logic
2025-12-30 02:26:57 +07:00
Finessse 27036f44a2 fix(ci): remove .syso files for non-Windows builds v0.2.0 2025-12-30 02:01:05 +07:00
Finessse 3f737dc3c7 fix: cross-platform SysProcAttr for non-Windows builds 2025-12-30 01:57:41 +07:00
Finessse 23a1fa749c chore: bump version to 0.2.0 2025-12-30 01:52:42 +07:00
Finessse e01976448c ci: rename workflows and use v* tag format 2025-12-30 01:43:16 +07:00
Finessse 6e53bdade9 feat: add --tui flag for interactive mode 2025-12-30 01:28:38 +07:00
Finessse 7d90fda663 feat(tui): add status dashboard screen 2025-12-30 01:28:34 +07:00
Finessse 93a0643466 feat(tui): add provider login screen 2025-12-30 01:28:29 +07:00
Finessse dd113e5077 feat(tui): add agent switch screen 2025-12-30 01:28:25 +07:00
Finessse e20343eeec feat(tui): add server control screen 2025-12-30 01:28:20 +07:00
Finessse 738cd4d365 feat(tui): add main TUI app and utilities 2025-12-30 01:28:05 +07:00
Finessse 244782281c feat(tui): add styles and key bindings 2025-12-30 01:28:01 +07:00
Finessse 1e803c918c deps: add bubbletea TUI dependencies 2025-12-30 01:27:57 +07:00
Finessse 3bf998591e docs: update CLI tools table for unified proxypilot 2025-12-30 01:27:53 +07:00
Finessse bff94bd739 chore: update gitignore for cli.md 2025-12-30 01:27:50 +07:00
Finessse 4f65198207 docs: add unified CLI documentation 2025-12-30 01:27:46 +07:00
Finessse 6737add91e ci: add proxypilot npm release workflows 2025-12-30 01:27:25 +07:00
Finessse 470a371295 feat: add unified proxypilot npm package 2025-12-30 01:27:21 +07:00
Finessse 8e18f36d96 chore: remove ppswitch workflows 2025-12-30 01:27:17 +07:00
Finessse baa38a6420 chore: remove ppswitch docs 2025-12-30 01:27:13 +07:00
Finessse b7cd41110e chore: remove standalone ppswitch CLI 2025-12-30 01:27:10 +07:00
Finessse 6fe6d743bd chore: remove ppswitch npm package 2025-12-30 01:27:06 +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 7b58cdc5a6 docs: add ppswitch documentation 2025-12-29 23:40:55 +07:00
Finessse d103729baf Revert "docs: add ppswitch config switcher documentation"
This reverts commit edacca735a.
2025-12-29 23:39:35 +07:00
Finessse edacca735a docs: add ppswitch config switcher documentation 2025-12-29 23:38:52 +07:00
Finessse 3d8fe7d4e9 fix(ci): fix bun publish auth by using local .npmrc 2025-12-29 22:55:57 +07:00
Finessse 83160e11a7 fix(ppswitch): correct GitHub URL in help text ppswitch-v0.1.0 2025-12-29 22:47:35 +07:00
Finessse 594c830a39 fix(ppswitch): correct GitHub repo URL in package files
- Update REPO to Finesssee/ProxyPilot
- Fix repository and homepage URLs
2025-12-29 22:14:40 +07:00
Finessse cea2b82ffc ci(ppswitch): add bun publish workflow
- Auto-publish to registry after release workflow completes
- Support manual workflow dispatch
- Use bun for publishing
2025-12-29 22:13:46 +07:00
Finessse 8f0165f743 ci(ppswitch): add release workflow for multi-platform builds
- Build binaries for darwin, linux, windows (amd64, arm64)
- Create GitHub release on ppswitch-v* tag push
- Use matrix strategy for parallel builds
2025-12-29 22:13:32 +07:00
Finessse 936cb0a873 feat(ppswitch): add bun package for easy installation
- Add package.json with bun postinstall script
- Add install.ts for binary download
- Add bin wrapper script
- Add README with usage instructions
- Version 0.1.0
2025-12-29 22:13:20 +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 9583beadb8 docs: update provider count to include Gemini CLI 2025-12-29 21:23:23 +07:00
Finessse 4827af9b48 chore(build): rebuild webui assets 2025-12-29 21:22:09 +07:00
Finessse 710a2dc3bc chore(api): update dashboard route configuration 2025-12-29 21:21:42 +07:00
Finessse 2125f99650 chore(webui): misc dashboard UI improvements
Minor updates to Integrations and ProviderLogins components.
2025-12-29 21:21:28 +07:00
Finessse 997ea17f88 feat(webui): add shell config modal to agent setup
Add 'Shell' button per agent that opens modal displaying environment
variables and shell profile configuration snippets. Includes copy-to-
clipboard functionality for easy shell integration.
2025-12-29 21:21:02 +07:00
Finessse ffb7ae1b41 feat(webui): add thinking budget settings UI component
Add ThinkingBudgetSettings component with preset selection (Low/Medium/
High/Custom), enable/disable toggle, and custom token input. Integrated
into dashboard routing.
2025-12-29 21:20:50 +07:00
Finessse 4f32ceac9b feat(webui): enhance request history viewer with filtering
Add live/history toggle, date range filtering, model/provider/status
filters, pagination, export/import/clear buttons, and statistics display.
Fetches from persistent /request-history endpoint.
2025-12-29 21:20:36 +07:00
Finessse 3e8d6e3c92 feat(api): register management routes for new features
Register routes for:
- /request-history/* endpoints (persistent history)
- /thinking-budget endpoint (extended thinking config)

Initialize RequestHistoryManager with auto-save.
2025-12-29 21:20:07 +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 1a85ba0e17 feat(cmd): add agent configuration switch command
Add DoSwitch() and DoSwitchStatusAll() for switching agent configs
between proxy mode (routed through ProxyPilot) and native mode (direct
API access). Supports claude, gemini, codex, opencode, droid, cursor,
kilo, and roocode agents with backup/restore functionality.
2025-12-29 21:19:12 +07:00