Commit Graph
194 Commits
Author SHA1 Message Date
semantic-release-bot 8ec7e99038 chore(release): 5.20.0 [skip ci]
# [5.20.0](https://github.com/kaitranntt/ccs/compare/v5.19.2...v5.20.0) (2025-12-15)

### Bug Fixes

* **auth:** improve default account hint and add reset-default command ([2fb266c](https://github.com/kaitranntt/ccs/commit/2fb266c01f0a6a5bf10a0fe1662e1f315b732a61)), closes [#106](https://github.com/kaitranntt/ccs/issues/106)
* resolve ESM/CJS compatibility for Node.js 18 ([b915127](https://github.com/kaitranntt/ccs/commit/b915127b3a775667c171fd12a9756fc3d5d321d0)), closes [#110](https://github.com/kaitranntt/ccs/issues/110)

### Features

* **oauth:** enhance auth flow with detailed pre-flight checks and real-time progress ([e80c48c](https://github.com/kaitranntt/ccs/commit/e80c48c55f8b74614d0bebb3336163588018ebd6))
2025-12-15 20:37:48 +00:00
github-actions[bot] edf924ead0 chore(release): 5.19.2-dev.3 [skip ci] 2025-12-15 20:36:00 +00:00
kaitranntt b915127b3a fix: resolve ESM/CJS compatibility for Node.js 18
Downgrade ESM-only packages to CJS-compatible versions:
- boxen: ^8.0.1 → ^5.1.2
- chalk: ^5.6.2 → ^4.1.2
- chokidar: ^5.0.0 → ^3.6.0
- get-port: ^7.0.0 → ^5.1.1
- gradient-string: ^3.0.0 → ^2.0.2
- listr2: ^9.0.5 → ^3.14.0
- open: ^10.1.0 → ^8.4.2
- ora: ^9.0.0 → ^5.4.1

Update dynamic import handling for CJS module compatibility.
Add type declarations for gradient-string.

Fixes #110
2025-12-15 15:32:34 -05:00
github-actions[bot] d74c08148a chore(release): 5.19.2-dev.2 [skip ci] 2025-12-15 04:28:25 +00:00
github-actions[bot] f0e8408abb chore(release): 5.19.2-dev.1 [skip ci] 2025-12-15 02:42:44 +00:00
semantic-release-bot 7408e42d89 chore(release): 5.19.2 [skip ci]
## [5.19.2](https://github.com/kaitranntt/ccs/compare/v5.19.1...v5.19.2) (2025-12-14)

### Bug Fixes

* **auth:** handle Windows spawn for profile creation ([5efab53](https://github.com/kaitranntt/ccs/commit/5efab53eb7f048b2a29a088508e1fcb19c4acd91))
2025-12-14 07:56:25 +00:00
github-actions[bot] e3e733daca chore(release): 5.19.1-dev.1 [skip ci] 2025-12-14 07:51:44 +00:00
semantic-release-bot cd7e672821 chore(release): 5.19.1 [skip ci]
## [5.19.1](https://github.com/kaitranntt/ccs/compare/v5.19.0...v5.19.1) (2025-12-14)

### Bug Fixes

* **auth:** include unified config accounts in auth list command ([3cdf84b](https://github.com/kaitranntt/ccs/commit/3cdf84b1ba232ec6e68a40cf90558afeee21154e))
2025-12-14 06:47:34 +00:00
github-actions[bot] 9c42511546 chore(release): 5.19.0-dev.1 [skip ci] 2025-12-14 06:43:32 +00:00
semantic-release-bot 76a5582f1b chore(release): 5.19.0 [skip ci]
# [5.19.0](https://github.com/kaitranntt/ccs/compare/v5.18.0...v5.19.0) (2025-12-14)

### Bug Fixes

* **auth:** use unified config for account profile touch in ccs.ts ([4ccde8a](https://github.com/kaitranntt/ccs/commit/4ccde8a3f07d5ebb658213dfe9f69a7b11ec3aac)), closes [#98](https://github.com/kaitranntt/ccs/issues/98)
* **ci:** prevent shell injection from PR body markdown ([5a8db2c](https://github.com/kaitranntt/ccs/commit/5a8db2c1ee87b2a252f61759273863c0c521f27b))
* **cliproxy:** add SSH port forwarding instructions for headless OAuth ([a6b95db](https://github.com/kaitranntt/ccs/commit/a6b95dbac5f97a870c7ef58701726ad9733ea75d))

### Features

* **cliproxy:** disable logging by default and add cleanup command ([e5cdf7c](https://github.com/kaitranntt/ccs/commit/e5cdf7c083b1b220627dad711df6f6f1c746d9ad)), closes [#96](https://github.com/kaitranntt/ccs/issues/96)
2025-12-14 06:35:27 +00:00
github-actions[bot] 34abeb5436 chore(release): 5.18.0-dev.3 [skip ci] 2025-12-14 06:27:54 +00:00
github-actions[bot] 13d535e901 chore(release): 5.18.0-dev.2 [skip ci] 2025-12-14 06:08:27 +00:00
github-actions[bot] 9aedbfed72 chore(release): 5.18.0-dev.1 [skip ci] 2025-12-14 05:02:52 +00:00
semantic-release-bot 03dca41b2b chore(release): 5.18.0 [skip ci]
# [5.18.0](https://github.com/kaitranntt/ccs/compare/v5.17.0...v5.18.0) (2025-12-13)

### Bug Fixes

* **analytics:** fill hourly gaps with zero values in 24H view ([4412d22](https://github.com/kaitranntt/ccs/commit/4412d22f3eee8f0b664f9fdad3562cb414aacacf))
* **analytics:** guard against undefined data arrays in filtering ([e08935b](https://github.com/kaitranntt/ccs/commit/e08935b411caec21abc1bd795f6af8a889687f03))
* **analytics:** use UTC dates and cap hourly chart at current time ([9fd0c1c](https://github.com/kaitranntt/ccs/commit/9fd0c1cc074c2d14b6978aba001b3b6552b06642))

### Features

* **ui:** implement operational hub core components ([a2d049c](https://github.com/kaitranntt/ccs/commit/a2d049c6045ab18a732171cd852b6c116f80e46f))
* **ui:** premium home page with gradient glass design ([dbc1371](https://github.com/kaitranntt/ccs/commit/dbc13718ef4d194795fe1370aab005d971f96af0))
* **ui:** redesign home page as Interactive Status Board ([cf567bb](https://github.com/kaitranntt/ccs/commit/cf567bb9246c50de446c47f426c4ad8790ee928c))
2025-12-13 08:05:02 +00:00
github-actions[bot] ee7a0aa6a9 chore(release): 5.17.0-dev.8 [skip ci] 2025-12-13 07:56:34 +00:00
github-actions[bot] f7ef72f5e1 chore(release): 5.17.0-dev.7 [skip ci] 2025-12-13 06:57:22 +00:00
github-actions[bot] b84c4ca001 chore(release): 5.17.0-dev.6 [skip ci] 2025-12-13 06:55:53 +00:00
github-actions[bot] c412db0f75 chore(release): 5.17.0-dev.5 [skip ci] 2025-12-13 06:54:16 +00:00
github-actions[bot] 90415ede8a chore(release): 5.17.0-dev.4 [skip ci] 2025-12-13 06:24:35 +00:00
github-actions[bot] 38d4b5f9c9 chore(release): 5.17.0-dev.3 [skip ci] 2025-12-13 05:56:14 +00:00
github-actions[bot] 48bf5ab76d chore(release): 5.17.0-dev.2 [skip ci] 2025-12-13 05:50:48 +00:00
github-actions[bot] 80676cb4fa chore(release): 5.17.0-dev.1 [skip ci] 2025-12-13 03:42:04 +00:00
semantic-release-bot 944d933f34 chore(release): 5.17.0 [skip ci]
# [5.17.0](https://github.com/kaitranntt/ccs/compare/v5.16.0...v5.17.0) (2025-12-12)

### Bug Fixes

* **ci:** improve issue tagging - use bot, skip duplicates, simpler msg ([27f9ea8](https://github.com/kaitranntt/ccs/commit/27f9ea8f0f518c40096404f11f5964d0c42fdfdc))
* **ci:** resolve YAML syntax error in dev-release workflow ([763928f](https://github.com/kaitranntt/ccs/commit/763928f2820f1c018e127e506c0d1590aecbeafa))
* **cliproxy:** inherit stdin for OAuth interactive prompts ([84484c0](https://github.com/kaitranntt/ccs/commit/84484c06c33b19a198d876bc7c071d9f83f3741f)), closes [#91](https://github.com/kaitranntt/ccs/issues/91)
* **cliproxy:** respect version pin when user installs specific version ([a7ba1a1](https://github.com/kaitranntt/ccs/commit/a7ba1a198398c33af23f43fc07ff871ce068b4e7)), closes [#88](https://github.com/kaitranntt/ccs/issues/88)
* **config:** prevent profile loss from strict config validation ([d343abc](https://github.com/kaitranntt/ccs/commit/d343abca53eb0fd238d0ff2c59f674a05a651721)), closes [#82](https://github.com/kaitranntt/ccs/issues/82)
* **update:** add shell option for Windows npm/cache spawn ([8c1b8e4](https://github.com/kaitranntt/ccs/commit/8c1b8e49aecf3b7901c3ddf8b2f1ba69233671ec)), closes [#85](https://github.com/kaitranntt/ccs/issues/85)
* **update:** avoid Node deprecation warning on Windows spawn ([bace084](https://github.com/kaitranntt/ccs/commit/bace084e75442a4321659fceea19b89ffdfa9b6b))
* **update:** suppress Node deprecation warnings on Windows ([d616e61](https://github.com/kaitranntt/ccs/commit/d616e613c857176a0cfb3f5f0dc9485b11326344))

### Features

* **analytics:** add 24H hourly chart with caching and UI improvements ([d64115f](https://github.com/kaitranntt/ccs/commit/d64115f91a7005f2c4ff09a63831da2aac050ba2))
* **cli:** standardize UI output with ui.ts abstraction layer ([4005f1c](https://github.com/kaitranntt/ccs/commit/4005f1c01ca9fa921978664a0a1b929689513456))

### Performance Improvements

* **ci:** add HUSKY=0 to release workflow ([99f3a67](https://github.com/kaitranntt/ccs/commit/99f3a674b858021e577edd7650afd872a1e251ae))
* **ci:** reduce test redundancy from 4x to 1x per release ([d39095c](https://github.com/kaitranntt/ccs/commit/d39095c7d6923219d7ade0fca59cc555a4489cc9))
2025-12-12 21:33:35 +00:00
github-actions[bot] 9b91071e07 chore(release): 5.16.0-dev.13 [skip ci] 2025-12-12 21:27:48 +00:00
github-actions[bot] bd39f9a321 chore(release): 5.16.0-dev.12 [skip ci] 2025-12-12 21:25:56 +00:00
github-actions[bot] 53e24484f6 chore(release): 5.16.0-dev.11 [skip ci] 2025-12-12 21:22:40 +00:00
github-actions[bot] 466cb0ad8b chore(release): 5.16.0-dev.10 [skip ci] 2025-12-12 21:15:43 +00:00
github-actions[bot] 0736cce4f8 chore(release): 5.16.0-dev.9 [skip ci] 2025-12-12 21:12:49 +00:00
kaitranntt d39095c7d6 perf(ci): reduce test redundancy from 4x to 1x per release
- Remove tests from pre-commit hook (keep typecheck+lint only)
- Remove build+validate from prepublishOnly/prepack (CI handles it)
- Add HUSKY=0 to CI commit step to skip hooks

Before: 4 test runs per release (pre-commit, CI validate, prepublishOnly, prepack)
After: 1 test run (CI validate only)
2025-12-12 16:11:06 -05:00
github-actions[bot] 76f358d65b chore(release): 5.16.0-dev.7 [skip ci] 2025-12-12 20:59:58 +00:00
github-actions[bot] 3c7e071b61 chore(release): 5.16.0-dev.6 [skip ci] 2025-12-12 10:52:21 +00:00
github-actions[bot] 111dba444c chore(release): 5.16.0-dev.5 [skip ci] 2025-12-12 10:40:33 +00:00
github-actions[bot] 932a74e199 chore(release): 5.16.0-dev.4 [skip ci] 2025-12-12 10:25:07 +00:00
github-actions[bot] 8b3316fa77 chore(release): 5.16.0-dev.3 [skip ci] 2025-12-12 10:20:24 +00:00
github-actions[bot] 0b23ec2c0a chore(release): 5.16.0-dev.2 [skip ci] 2025-12-12 09:45:50 +00:00
semantic-release-bot 00553390b7 chore(release): 5.16.0 [skip ci]
# [5.16.0](https://github.com/kaitranntt/ccs/compare/v5.15.0...v5.16.0) (2025-12-12)

### Features

* **cliproxy:** add provider editor with presets and control panel ([92b7065](https://github.com/kaitranntt/ccs/commit/92b7065e10618285988b4a539b503f54e5cf4baf))
* **cliproxy:** add stats fetcher and OpenAI-compatible model manager ([a94c3d6](https://github.com/kaitranntt/ccs/commit/a94c3d66004ba0921835bddd8ca5c168868e72d5))
* **ui:** add cliproxy stats overview and enhance analytics components ([c3b2d50](https://github.com/kaitranntt/ccs/commit/c3b2d50269b5ad515409cc562e204d94ab65dd87))
* **ui:** redesign cliproxy page with master-detail layout ([f8648be](https://github.com/kaitranntt/ccs/commit/f8648be6d9a9e6e94624fe700dfd9bcd1e2dbc5b))
2025-12-12 08:15:10 +00:00
github-actions[bot] f8f7ea769f chore(release): 5.15.0-dev.4 [skip ci] 2025-12-12 08:12:41 +00:00
github-actions[bot] 53499619ac chore(release): 5.15.0-dev.3 [skip ci] 2025-12-12 02:10:58 +00:00
github-actions[bot] a50d2605c9 chore(release): 5.15.0-dev.2 [skip ci] 2025-12-12 01:54:50 +00:00
github-actions[bot] 3de9083959 chore(release): 5.15.0-dev.1 [skip ci] 2025-12-11 08:32:10 +00: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
github-actions[bot] f7bded641b chore(release): 5.14.0-dev.3 [skip ci] 2025-12-11 04:59:00 +00:00
github-actions[bot] 055d7dfd73 chore(release): 5.14.0-dev.2 [skip ci] 2025-12-11 04:46:20 +00:00
github-actions[bot] cbeb28ff1f chore(release): 5.14.0-dev.1 [skip ci] 2025-12-11 01:31:46 +00: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
github-actions[bot] 2b26de60a5 chore(release): 5.13.0-dev.4 [skip ci] 2025-12-10 08:00:50 +00:00
github-actions[bot] aa1e9323a6 chore(release): 5.13.0-dev.3 [skip ci] 2025-12-10 07:39:14 +00: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