Commit Graph
522 Commits
Author SHA1 Message Date
Kai (Tam Nhu) TranandGitHub acdd340ec9 Merge pull request #107 from kaitranntt/kai/fix/auth-create-default-warning
fix(auth): improve default account hint and add reset-default command
2025-12-14 21:41:42 -05:00
kaitranntt 2fb266c01f fix(auth): improve default account hint and add reset-default command
- Change post-create hint from casual text to warning box
- Clearly state that running the command will SWITCH default account
- Add `ccs auth reset-default` command to restore original CCS behavior
- Add warnBox() UI helper for yellow-bordered warning boxes
- Update main help to show default/reset-default commands

Closes #106
2025-12-14 21:32:45 -05: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
Kai (Tam Nhu) TranandGitHub 2d0460d37b Merge pull request #102 from kaitranntt/dev
fix(auth): handle Windows spawn for profile creation
2025-12-14 02:55:27 -05:00
github-actions[bot] e3e733daca chore(release): 5.19.1-dev.1 [skip ci] 2025-12-14 07:51:44 +00:00
kaitranntt 5efab53eb7 fix(auth): handle Windows spawn for profile creation 2025-12-14 02:50:22 -05: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
Kai (Tam Nhu) TranandGitHub 1a81a58ac4 Merge pull request #101 from kaitranntt/dev
fix(auth): Account profile unified config fixes
2025-12-14 01:46:40 -05:00
github-actions[bot] 9c42511546 chore(release): 5.19.0-dev.1 [skip ci] 2025-12-14 06:43:32 +00:00
kaitranntt 3cdf84b1ba fix(auth): include unified config accounts in auth list command
The `ccs auth list` command was only reading from legacy profiles.json,
missing accounts stored in unified config (config.yaml). Now merges
profiles from both sources, with unified config taking precedence.
2025-12-14 01:42:30 -05: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
Kai (Tam Nhu) TranandGitHub 913cfa2754 Merge pull request #100 from kaitranntt/dev
fix(release): v5.19.0 - Profile not found fix and CLIProxy improvements
2025-12-14 01:34:29 -05:00
github-actions[bot] 34abeb5436 chore(release): 5.18.0-dev.3 [skip ci] 2025-12-14 06:27:54 +00:00
Kai (Tam Nhu) TranandGitHub 973e01f885 Merge pull request #99 from kaitranntt/kai/fix/98-profile-not-found-unified-config
fix(auth): Profile not found for account profiles in unified config mode
2025-12-14 01:26:54 -05:00
kaitranntt 4ccde8a3f0 fix(auth): use unified config for account profile touch in ccs.ts
Account profiles in unified config mode were failing with "Profile not found"
because touchProfile() only checked legacy profiles.json. Now checks unified
config first with hasAccountUnified() and calls touchAccountUnified() when
the profile exists there, falling back to legacy touchProfile() otherwise.

Fixes #98
2025-12-14 01:17:22 -05:00
github-actions[bot] 13d535e901 chore(release): 5.18.0-dev.2 [skip ci] 2025-12-14 06:08:27 +00:00
kaitranntt a6b95dbac5 fix(cliproxy): add SSH port forwarding instructions for headless OAuth
When running OAuth in headless mode (SSH/remote), users now see clear
instructions about port forwarding requirement before the OAuth URL.
Previously, CLIProxyAPI's instructions were captured but not displayed.

- Show [!] PORT FORWARDING REQUIRED warning
- Explain that localhost:8085 callback must be reachable
- Show ssh -L command with <USER>@<HOST> placeholders
- Emphasize running on LOCAL machine, not remote
2025-12-14 01:07:20 -05:00
github-actions[bot] 9aedbfed72 chore(release): 5.18.0-dev.1 [skip ci] 2025-12-14 05:02:52 +00:00
Kai (Tam Nhu) TranandGitHub a5bb47b6f6 Merge pull request #97 from kaitranntt/kai/feat/cliproxy-logging
feat(cliproxy): disable logging by default and add cleanup command
2025-12-14 00:01:54 -05:00
kaitranntt 5a8db2c1ee fix(ci): prevent shell injection from PR body markdown
Pass PR title and body via env vars instead of direct interpolation.
Prevents backticks in markdown code blocks from being executed as shell commands.
2025-12-13 23:31:52 -05:00
kaitranntt e5cdf7c083 feat(cliproxy): disable logging by default and add cleanup command
- Disable CLIProxy logging by default to prevent 5-12GB disk bloat
- Add cliproxy.logging config option for user opt-in via ~/.ccs/config.yaml
- Add `ccs cleanup` command to remove old CLIProxy logs
- Bump CLIProxy config version to v3 to trigger config regeneration

Closes #96
2025-12-13 23:27:23 -05: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
Kai (Tam Nhu) TranandGitHub b43bef664a Merge pull request #95 from kaitranntt/dev
feat(ui): dashboard improvements and docs migration to Mintlify
2025-12-13 03:04:07 -05:00
github-actions[bot] ee7a0aa6a9 chore(release): 5.17.0-dev.8 [skip ci] 2025-12-13 07:56:34 +00:00
Kai (Tam Nhu) TranandGitHub 8ed5babca1 Merge pull request #94 from kaitranntt/kai/feat/improve-config-home
feat(ui): refactor home page and remove unused progress component
2025-12-13 02:55:33 -05:00
kaitranntt 945920832f Merge origin/dev into kai/feat/improve-config-home
Resolves conflicts:
- Accept dev branch structure (docs moved to external submodule)
- Keep README with extensibility messaging updates:
  - Universal profile manager tagline
  - Built-in Providers section (renamed from Supported Providers)
  - API Profiles pillar emphasizes Anthropic-compatible APIs
  - Added tip about custom provider support
2025-12-13 02:54:23 -05:00
kaitranntt 703d1aa2e3 docs: emphasize CCS extensibility and universal API support
- Update tagline: "universal AI profile manager for Claude Code"
- Add "Custom API Profiles" section for bring-your-own APIs
- Clarify built-in OAuth providers are not the only option
- Add note about Anthropic-compatible API extensibility
- Update Architecture section to highlight extensibility
- Add "Unlimited Profiles" to What CCS Gives You
- Update Japanese and Vietnamese READMEs with same messaging
2025-12-13 02:48:48 -05:00
kaitranntt 0bd54eb26b refactor(ui/home-page): simplify and refactor home page layout
Remove deprecated components and logic from the home page,
including the progress bar, live clock, and old quick launch sections.
Introduce new components (HeroSection, QuickCommands, StatCard) to streamline the layout.
Delete unused  component.
2025-12-13 02:42:48 -05:00
kaitranntt cf567bb924 feat(ui): redesign home page as Interactive Status Board
- Full-width layout (removed max-w constraints)
- Restored CcsLogo in hero section with live clock
- Added real-time provider status cards with animated indicators
- Health progress bar with color-coded status
- Icon-based quick launch grid (G/C/A/K/L/D shortcuts)
- System navigation panel with all major routes
- Shared resources summary with counts
- Added Progress UI component for status bars
- Subtle grid background for control center aesthetic

Design Proposal 4: Interactive Status Board implementation
2025-12-13 02:26:57 -05:00
kaitranntt dbc13718ef feat(ui): premium home page with gradient glass design
- Gradient mesh background with brand colors
- Glass cards with backdrop-blur effects
- Three Pillars section matching README branding
- Command palette search bar with ⌘K hint
- Quick launch icons (G/C/A + accounts + doctor)
- Click-to-copy commands functionality
- Animated health status badge with pulse
- Micro-animations on hover (lift, scale, opacity)
- Responsive bento-style layout
2025-12-13 02:15:57 -05:00
github-actions[bot] f7ef72f5e1 chore(release): 5.17.0-dev.7 [skip ci] 2025-12-13 06:57:22 +00:00
kaitranntt f520b8919d docs: add assets folder with images for README 2025-12-13 01:56:25 -05:00
github-actions[bot] b84c4ca001 chore(release): 5.17.0-dev.6 [skip ci] 2025-12-13 06:55:53 +00:00
kaitranntt 0a8a22347c docs: use Mintlify-hosted URLs for README images 2025-12-13 01:55:01 -05:00
github-actions[bot] c412db0f75 chore(release): 5.17.0-dev.5 [skip ci] 2025-12-13 06:54:16 +00:00
kaitranntt 61bd5f7f79 docs: update documentation URLs to docs.ccs.kaitran.ca 2025-12-13 01:53:04 -05:00
github-actions[bot] 90415ede8a chore(release): 5.17.0-dev.4 [skip ci] 2025-12-13 06:24:35 +00:00
kaitranntt aeec394380 chore: remove docs submodule (moved to products/ccs/docs) 2025-12-13 01:23:36 -05:00
github-actions[bot] 38d4b5f9c9 chore(release): 5.17.0-dev.3 [skip ci] 2025-12-13 05:56:14 +00:00
kaitranntt 9fd0c1cc07 fix(analytics): use UTC dates and cap hourly chart at current time
- use Date.UTC() for consistent timezone handling in fillHourlyGaps

- cap endDate at current time to avoid filling future hours with zeros

- fixes chart showing zeros extending beyond current moment
2025-12-13 00:55:06 -05:00
github-actions[bot] 48bf5ab76d chore(release): 5.17.0-dev.2 [skip ci] 2025-12-13 05:50:48 +00:00
kaitranntt e08935b411 fix(analytics): guard against undefined data arrays in filtering
- Add null check to filterByDateRange function
- Guard hourlyData before filtering in hourly endpoint
2025-12-13 00:49:36 -05:00
kaitranntt 8d46317cf6 docs: migrate to Mintlify docs submodule
- Add kaitranntt/ccs-docs as git submodule under docs/
- Update README links to point to docs.ccs.kaitran.ca
- Remove old local docs (migrated to Mintlify MDX format)

Phase 3 of README restructure complete.
2025-12-13 00:49:21 -05:00
github-actions[bot] 80676cb4fa chore(release): 5.17.0-dev.1 [skip ci] 2025-12-13 03:42:04 +00:00
kaitranntt 4412d22f3e fix(analytics): fill hourly gaps with zero values in 24H view
- add fillHourlyGaps() function to usage-routes.ts

- insert zero entries for hours without activity

- ensures continuous timeline display in chart
2025-12-12 22:40:16 -05:00
kaitranntt 25741ac515 docs(readme): restructure with 3-pillars format and add screenshots
- reduce main README from ~1070 to ~250 lines

- add dashboard screenshots (analytics, api_profiles, cliproxy)

- update Vietnamese and Japanese translations to match new structure

- add light/dark theme analytics screenshots
2025-12-12 22:39:58 -05:00
kaitranntt a2d049c604 feat(ui): implement operational hub core components
- Add ProfileCard component for user profile display
- Add ProfileDeck for managing multiple profiles
- Add CommandBuilder for CLI command construction
- Add ValueMetrics for dashboard statistics
- Add HubFooter for navigation and actions
- Update documentation with Phase 1 summary
2025-12-12 19:09:14 -05:00
kaitranntt 28202bac0d refactor(ui): architecture and layout 2025-12-12 17:43:06 -05: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
Kai (Tam Nhu) TranandGitHub 1a05c1bdbf Merge pull request #93 from kaitranntt/dev
feat(release): Web Dashboard, Analytics, Multi-Account CLIProxy & Bug Fixes
2025-12-12 16:32:38 -05:00