Kai (Tam Nhu) Tran and GitHub
1487f5f516
Merge pull request #84 from kaitranntt/dev
...
feat: Introduce Web Dashboard, Analytics, and Multi-Account Support
2025-12-12 03:14:14 -05:00
github-actions[bot]
f8f7ea769f
chore(release): 5.15.0-dev.4 [skip ci]
2025-12-12 08:12:41 +00:00
Kai (Tam Nhu) Tran and GitHub
2a86ffebbb
Merge pull request #83 from kaitranntt/kai/feat/cliproxy-deep-integration
...
feat(cliproxy): implement comprehensive UI and backend enhancements
2025-12-12 03:10:39 -05:00
kaitranntt
70e86757bf
chore(cliproxy): improve config and token management
2025-12-12 03:00:53 -05:00
kaitranntt
92b7065e10
feat(cliproxy): add provider editor with presets and control panel
...
- Add split-view provider editor with model mapping UI and JSON editor
- Implement persistent custom presets (save/load per provider)
- Add provider logos with white backgrounds for light/dark theme
- Integrate CLIProxyAPI control panel embed via iframe
- Add service manager for CLIProxyAPI lifecycle control
- Support variant logo display using parent provider
- Add categorized model selector with search and groups
2025-12-12 01:48:58 -05:00
github-actions[bot]
53499619ac
chore(release): 5.15.0-dev.3 [skip ci]
2025-12-12 02:10:58 +00:00
Kai (Tam Nhu) Tran and GitHub
ec1ac2ee96
Merge pull request #81 from kaitranntt/dev
...
chore: add GitHub Sponsors funding configuration
2025-12-11 21:08:47 -05:00
github-actions[bot]
a50d2605c9
chore(release): 5.15.0-dev.2 [skip ci]
2025-12-12 01:54:50 +00:00
kaitranntt
bff6acb2af
chore: add GitHub Sponsors funding configuration
...
Add FUNDING.yml to enable "Sponsor" button on repository
2025-12-11 20:52:17 -05:00
kaitranntt
f8648be6d9
feat(ui): redesign cliproxy page with master-detail layout
...
- Replace tab-based layout with sidebar + detail panel pattern
- Add provider navigation in left sidebar with quick actions
- Implement provider detail panel with model preferences and accounts
- Add Config Editor and Logs quick access in sidebar
- Fix naming consistency: Clipproxy → Cliproxy (single p) across 8 files
- Fix TypeScript errors for models and stats data shapes
2025-12-11 15:44:51 -05:00
kaitranntt
819a201391
Merge remote-tracking branch 'origin/dev' into kai/feat/cliproxy-deep-integration
2025-12-11 04:04:19 -05:00
github-actions[bot]
3de9083959
chore(release): 5.15.0-dev.1 [skip ci]
2025-12-11 08:32:10 +00:00
kaitranntt
c3b2d50269
feat(ui): add cliproxy stats overview and enhance analytics components
...
- Add cliproxy-stats-overview component for stats display
- Update analytics page with usage insights integration
- Enhance cliproxy stats card and usage insights card
- Update cliproxy page with improved stats integration
- Refactor config-generator and stats-fetcher for better data handling
2025-12-11 03:31:09 -05:00
kaitranntt
5f389e816b
docs: restructure quality gates documentation with detailed validation rules
...
- Reorganize quality gates into mandatory sections for main project and UI
- Add comprehensive ESLint and TypeScript configuration tables
- Include automatic enforcement and pre-commit hook information
- Update development server usage instructions
- Expand Pre-PR checklist with separate validation steps
2025-12-11 03:15:59 -05:00
kaitranntt
8897e711de
style: fix prettier formatting in stats-fetcher and doctor
2025-12-11 02:16:44 -05:00
kaitranntt
a94c3d6600
feat(cliproxy): add stats fetcher and OpenAI-compatible model manager
...
- Add stats-fetcher.ts for CLIProxy analytics integration
- Add openai-compat-manager.ts for model discovery and listing
- Add CLIProxy stats routes to web-server for real-time metrics
- Create cliproxy-stats-card component for analytics dashboard
- Add use-cliproxy-stats hook for data fetching
- Extend doctor.ts with CLIProxy health checks
- Update analytics page with CLIProxy usage metrics
2025-12-11 02:12:39 -05:00
semantic-release-bot
9b53c4d838
chore(release): 5.15.0 [skip ci]
...
# [5.15.0](https://github.com/kaitranntt/ccs/compare/v5.14.0...v5.15.0 ) (2025-12-11)
### Bug Fixes
* **cache:** use ~/.ccs/cache/ for usage and update-check files ([790ac3c ](https://github.com/kaitranntt/ccs/commit/790ac3c862c81539a048db5b3f67ed8d86a86cfb ))
* **migrate:** include backup path in rollback command ([0aa9131 ](https://github.com/kaitranntt/ccs/commit/0aa913164211b6cd0ad65b3b546e49edaa0bcc30 ))
* **migrate:** skip autoMigrate when running migrate command ([05a6199 ](https://github.com/kaitranntt/ccs/commit/05a6199d839c26ebff6278448825174466fc6518 ))
* **ui:** resolve layout and theme issues in profile editor ([46ee1df ](https://github.com/kaitranntt/ccs/commit/46ee1df0836fac4bb6b4b75413846163ced2fc6f ))
### Features
* **api-profile-ux:** Implement API & UI for profile management ([8357005 ](https://github.com/kaitranntt/ccs/commit/83570050ef9b68746405df8588e400faa2007c0a ))
* **api-profile-ux:** implement tabbed profile editor and fix disclaimer visibility ([8c9d669 ](https://github.com/kaitranntt/ccs/commit/8c9d669ccec6d2c56c37f4421e5ca6d4c95703e3 ))
* **api:** improve create UX with URL validation and model mapping ([f83051b ](https://github.com/kaitranntt/ccs/commit/f83051be40514a2084ceb06007eea37b31dd3062 )), closes [#72 ](https://github.com/kaitranntt/ccs/issues/72 )
* **cliproxy:** implement --nickname flag for account management ([0d70708 ](https://github.com/kaitranntt/ccs/commit/0d70708658efb4b7e431f95d69c742a28d254ca6 ))
* **config:** add unified YAML config with migration support ([b621b8e ](https://github.com/kaitranntt/ccs/commit/b621b8e47bc63f2939b45a243173ce6b414a3ec2 )), closes [#75 ](https://github.com/kaitranntt/ccs/issues/75 )
* **dashboard:** add code editor for raw JSON settings editing ([2b1a3b4 ](https://github.com/kaitranntt/ccs/commit/2b1a3b48799eae30b5d0493e5af65edab204f4d8 )), closes [#73 ](https://github.com/kaitranntt/ccs/issues/73 )
* **profile:** refactor create UX with dialog-based interface ([720ff9d ](https://github.com/kaitranntt/ccs/commit/720ff9d7d6eb881a73547daab262030fb619e5ee ))
2025-12-11 05:01:07 +00:00
Kai (Tam Nhu) Tran and GitHub
329fca0344
Merge pull request #78 from kaitranntt/dev
...
feat: unified config architecture and profile management UX improvements
2025-12-11 00:00:16 -05:00
github-actions[bot]
f7bded641b
chore(release): 5.14.0-dev.3 [skip ci]
2025-12-11 04:59:00 +00:00
kaitranntt
41f4e56865
docs: add codex provider examples to auth section
...
- Add examples for codex provider authentication
- Clarify that gemini, codex, and agy are different providers
- Show account listing and switching examples for each provider
2025-12-10 23:56:08 -05:00
github-actions[bot]
055d7dfd73
chore(release): 5.14.0-dev.2 [skip ci]
2025-12-11 04:46:20 +00:00
Kai (Tam Nhu) Tran and GitHub
e438659f40
Merge pull request #77 from kaitranntt/kai/feat/api-profile-ux
...
feat(ui): refactor profile creation UX with dialog interface and validation
2025-12-10 23:44:23 -05:00
kaitranntt
720ff9d7d6
feat(profile): refactor create UX with dialog-based interface
...
- Replace ProfileCreateForm with ProfileCreateDialog for better UX
- Add Select component for dropdown functionality
- Implement sensitive keys detection and masking
- Enhance code editor with improved validation
- Update dependencies and lock files
2025-12-10 23:38:43 -05:00
kaitranntt
46ee1df083
fix(ui): resolve layout and theme issues in profile editor
...
- Fix overflow issues in main layout by removing pb-12 and adding min-h-0
- Fix code editor theme switching by adding key prop to force re-render
- Fix localhost disclaimer positioning by removing fixed positioning and redundant padding
- Simplify analytics page layout structure and adjust spacing
2025-12-10 22:50:01 -05:00
kaitranntt
8c9d669cce
feat(api-profile-ux): implement tabbed profile editor and fix disclaimer visibility
2025-12-10 22:14:01 -05:00
kaitranntt
83570050ef
feat(api-profile-ux): Implement API & UI for profile management
2025-12-10 21:36:11 -05:00
kaitranntt
2b1a3b4879
feat(dashboard): add code editor for raw JSON settings editing
...
- Add GET/PUT /api/file endpoints for generic file access with security validation
- Add GET /api/files endpoint to list editable JSON files in ~/.ccs/
- Create CodeEditor component with JSON syntax highlighting (prism-react-renderer)
- Add "Raw JSON" tab to SettingsDialog for direct JSON editing
- Support conflict detection, atomic writes, and automatic backups
- Lazy load editor to minimize initial bundle impact (~31KB gzipped)
Closes #73
2025-12-10 21:09:38 -05:00
kaitranntt
f83051be40
feat(api): improve create UX with URL validation and model mapping
...
- Add URL warning for common mistakes (e.g., /chat/completions endpoint)
- Add optional model mapping prompt for Opus/Sonnet/Haiku backends
- Show edit hint after profile creation for modifying settings
- Support custom model configurations in unified config mode
Closes #72
2025-12-10 20:56:32 -05:00
github-actions[bot]
cbeb28ff1f
chore(release): 5.14.0-dev.1 [skip ci]
2025-12-11 01:31:46 +00:00
Kai (Tam Nhu) Tran and GitHub
22837f9dfd
Merge pull request #76 from kaitranntt/kai/feat/unified-config
...
feat(config): add unified YAML config with migration support
2025-12-10 20:29:49 -05:00
kaitranntt
790ac3c862
fix(cache): use ~/.ccs/cache/ for usage and update-check files
...
- usage-disk-cache.ts: usage-cache.json → cache/usage.json
- update-checker.ts: update-check.json → cache/update-check.json
- Both ensure cache directory exists before writing
- Update tests to use new cache paths
2025-12-10 18:32:35 -05:00
kaitranntt
0aa9131642
fix(migrate): include backup path in rollback command
2025-12-10 18:24:26 -05:00
kaitranntt
c09cc35352
style(migrate): use boxed UI for migration success message
2025-12-10 18:21:45 -05:00
kaitranntt
05a6199d83
fix(migrate): skip autoMigrate when running migrate command
...
Prevents double migration message when user explicitly runs
'ccs migrate --dry-run' - autoMigrate was triggering real migration
before the migrate command handler ran.
2025-12-10 18:19:37 -05:00
kaitranntt
0d70708658
feat(cliproxy): implement --nickname flag for account management
...
- Add renameAccount function to account-manager.ts with validation
- Support --nickname <name> to rename current default account
- Support --nickname with --auth --add to set nickname during OAuth
- Add getDefaultAccount import for nickname operations
- Filter --nickname flag from Claude CLI args
2025-12-10 18:13:17 -05:00
kaitranntt
1dbd7229a5
refactor(config): use settings file references instead of inline env
...
Changes config.yaml to store references to *.settings.json files
instead of inlining env vars. This matches Claude's ~/.claude/settings.json
pattern and gives users familiar editing experience.
Changes:
- ProfileConfig now stores 'settings' path instead of 'env' object
- CLIProxyVariantConfig uses 'settings' instead of 'model'/'env'
- Migration preserves existing *.settings.json files, only stores references
- Updated config.yaml comments to explain settings file pattern
- Create/remove commands now manage settings files alongside config.yaml
Benefits:
- Users edit familiar *.settings.json format
- config.yaml stays clean (just references)
- No confusion about where to make changes
2025-12-10 17:53:00 -05:00
kaitranntt
b621b8e47b
feat(config): add unified YAML config with migration support
...
Implements unified config.yaml format consolidating:
- config.json (API profiles)
- profiles.json (account metadata)
- *.settings.json (env vars)
Features:
- Auto-migration from v1 JSON to v2 YAML with backup
- Secrets separation into secrets.yaml (chmod 600)
- Enhanced YAML output with section comments
- CLIProxy OAuth settings migration with env var support
- Feature flag for gradual rollout (CCS_UNIFIED_CONFIG=1)
- Rollback support via ccs migrate --rollback
New commands:
- ccs migrate - Run migration
- ccs migrate --dry-run - Preview changes
- ccs migrate --rollback <path> - Restore from backup
- ccs migrate --list-backups - List available backups
Closes #75
2025-12-10 17:42:40 -05:00
semantic-release-bot
0e46b6ba10
chore(release): 5.14.0 [skip ci]
...
# [5.14.0](https://github.com/kaitranntt/ccs/compare/v5.13.0...v5.14.0 ) (2025-12-10)
### Features
* **ui:** replace anomaly alert badge with usage insights card ([824c3ba ](https://github.com/kaitranntt/ccs/commit/824c3baecfb7795f848909240b95bfeb9e6c1b87 ))
* **usage-analytics:** implement token cost breakdown and anomaly detection ([d81a5e6 ](https://github.com/kaitranntt/ccs/commit/d81a5e6266731f203c3de1100362fb0822156a39 ))
* **usage:** add internal data aggregation and cost tracking ([49b4065 ](https://github.com/kaitranntt/ccs/commit/49b4065186bc223af1b589395808e962b3cf6bb3 ))
2025-12-10 08:07:23 +00:00
Kai (Tam Nhu) Tran and GitHub
1a2b55ce35
Merge pull request #71 from kaitranntt/dev
...
feat(release): promote dev to main - web dashboard, analytics, and multi-account support
2025-12-10 03:06:32 -05:00
github-actions[bot]
2b26de60a5
chore(release): 5.13.0-dev.4 [skip ci]
2025-12-10 08:00:50 +00:00
kaitranntt
824c3baecf
feat(ui): replace anomaly alert badge with usage insights card
2025-12-10 02:59:00 -05:00
github-actions[bot]
aa1e9323a6
chore(release): 5.13.0-dev.3 [skip ci]
2025-12-10 07:39:14 +00:00
kaitranntt
d81a5e6266
feat(usage-analytics): implement token cost breakdown and anomaly detection
2025-12-10 02:36:43 -05:00
github-actions[bot]
9a892f037e
chore(release): 5.13.0-dev.2 [skip ci]
2025-12-10 04:44:04 +00:00
kaitranntt
49b4065186
feat(usage): add internal data aggregation and cost tracking
2025-12-09 23:41:47 -05:00
github-actions[bot]
876d1187f9
chore(release): 5.13.0-dev.1 [skip ci]
2025-12-10 03:48:35 +00:00
kaitranntt
9506327343
refactor(analytics): inline sessions table component
2025-12-09 22:46:10 -05:00
semantic-release-bot
1ea67cc13f
chore(release): 5.13.0 [skip ci]
...
# [5.13.0](https://github.com/kaitranntt/ccs/compare/v5.12.1...v5.13.0 ) (2025-12-09)
### Features
* **analytics:** aggregate usage from all CCS auth profiles ([1e11d2e ](https://github.com/kaitranntt/ccs/commit/1e11d2e40af20386e5e26677021440f35a7e7217 ))
* **analytics:** refactor model color management and fix UI display issues ([f255a20 ](https://github.com/kaitranntt/ccs/commit/f255a20a931babc45e8a4c9e34d733f8a9eed83f ))
* **cliproxy:** add --add flag and nickname support for multi-account auth ([493492f ](https://github.com/kaitranntt/ccs/commit/493492fa7e88746f47240026ac16fae0575ff223 ))
* **cliproxy:** add --use and --accounts flags for multi-account switching ([8f6684f ](https://github.com/kaitranntt/ccs/commit/8f6684f948b0905d0dd7b558c3d0d4023e042970 ))
* **cliproxy:** add multi-account support phases 02-03 ([d868dc4 ](https://github.com/kaitranntt/ccs/commit/d868dc4c32948db27e4b6073e9a7d28966a54971 ))
* **dashboard:** add Environment and OAuth Readiness groups to health page ([96d9fc6 ](https://github.com/kaitranntt/ccs/commit/96d9fc68e9cf2af8b0b0d237d1ef094269cebb38 ))
* **doctor:** add OAuth diagnostics for Windows headless false positives ([92007d7 ](https://github.com/kaitranntt/ccs/commit/92007d7c0468db969bd481c6517f0b3a851d8433 ))
* **ui:** simplify CLIProxy page UX with dedicated Add Account dialog ([8f5c006 ](https://github.com/kaitranntt/ccs/commit/8f5c006f07f0ad93a7c7009df377b292076af55a ))
2025-12-09 23:02:30 +00:00
Kai (Tam Nhu) Tran and GitHub
c09eb43ea6
Merge pull request #70 from kaitranntt/dev
...
feat: CLIProxy multi-account support and analytics improvements
2025-12-09 18:01:34 -05:00
github-actions[bot]
277836fd4d
chore(release): 5.12.1-dev.4 [skip ci]
2025-12-09 22:49:54 +00:00