Commit Graph
1771 Commits
Author SHA1 Message Date
Finessse fd71a01aa7 feat(tui): update mappings view with new styles
Apply consistent theme to model mappings display.
2025-12-31 02:05:41 +07:00
Finessse 2796512cb3 feat(tui): improve usage view layout
Better formatting and styling for usage statistics display.
2025-12-31 02:05:24 +07:00
Finessse 289871da14 feat(tui): enhance login view styling
Apply new theme styles to login form components.
2025-12-31 02:05:05 +07:00
Finessse 336359c9d7 feat(tui): connect logs view to ring buffer
Display real-time logs from GlobalBuffer with filtering
and auto-scroll support.
2025-12-31 02:04:10 +07:00
Finessse 06684b81ef feat(tui): improve main layout with responsive design
Enhance sidebar, content area, and navigation with better
proportions and overflow handling.
2025-12-31 02:03:12 +07:00
Finessse f0a7040b00 feat(tui): add comprehensive theme and styles system
Define color palette, component styles, and responsive layout
helpers for consistent TUI appearance.
2025-12-31 02:02:54 +07:00
Finessse 64358ecfd8 feat(updates): add GPG signature verification for releases
Implement release signature verification using embedded public key.
Ensures binary integrity before applying updates.
2025-12-31 02:02:16 +07:00
Finessse 0ce9661a88 feat(api): serve embedded dashboard assets
Replace placeholder HTML with actual embedded React assets.
Serve index.html, JS, CSS, and static files from embed.FS.
2025-12-31 02:01:31 +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 de5098f8aa feat(api): integrate connection tracker and metrics
Wire ConnectionTrackerMiddleware and /metrics endpoint into
the Gin engine for production observability.
2025-12-31 02:00:22 +07:00
Finessse 2219bc04e4 feat(api): add Prometheus metrics endpoint
Expose /metrics endpoint for observability with request counts,
latencies, and connection stats.
2025-12-31 02:00:01 +07:00
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