Tam Nhu Tran
838f53a0a4
chore(types): use type-only imports
2026-03-25 16:31:55 -04:00
kaitranntt
3336736154
feat(detector): add Windows native installer fallback detection
...
- Check common Windows installation paths when where.exe fails
- Improve error messages with Windows-specific guidance
- Suggest running 'claude install' for native installer users
Closes #447
2026-02-04 11:06:32 -05:00
kaitranntt
e981c391a2
feat(cli): add config command hints to help and error messages
...
Enhance discoverability of the 'ccs config' command by adding hints to
the help menu, post-update/doctor messages, and relevant error states.
2025-12-23 00:55:17 -05:00
kaitranntt
d64115f91a
feat(analytics): add 24H hourly chart with caching and UI improvements
...
- Add GitHub link button next to connection status for quick issue reporting
- Add 24H button on analytics page with hourly granularity chart
- Add /api/usage/hourly endpoint with date range filtering
- Add hourly data aggregation and caching (disk + memory)
- Fix timezone display: convert UTC hours to local time in chart
- Fix CLIProxy Stats card loading state synchronization
- Bump disk cache version to 3 (includes hourly data)
2025-12-12 15:33:22 -05:00
kaitranntt
57016f3f76
feat(ui): enhance doctor and error manager with new ui layer
...
- doctor.ts: add styled header box, semantic status indicators,
formatted summary table, grouped check sections
- error-manager.ts: add boxed error messages, styled solution
sections, semantic color coding for all error types
- ccs.ts, shell-executor.ts: await async error methods
Phase 4 of CLI UI Enhancement plan complete.
2025-12-01 19:54:44 -05:00
kaitranntt
5f71eba6f6
feat(cliproxy): add CLIProxyAPI integration for OAuth profiles
...
Complete integration of CLIProxyAPI for zero-config OAuth profiles.
New profiles:
- ccs gemini: Gemini via OAuth
- ccs chatgpt: ChatGPT via OAuth
- ccs qwen: Qwen via OAuth
Implementation:
- Phase 1: Binary infrastructure (download-on-demand)
- Phase 2: Proxy executor (spawn/kill pattern)
- Phase 3: OAuth integration (browser-based auth)
- Phase 4: Profile registration (routing + help text)
- Phase 5: Diagnostics (doctor command + errors)
Files added:
- src/cliproxy/*.ts (binary-manager, platform-detector, executor, auth-handler, config-generator, types, index)
Files modified:
- src/ccs.ts (CLIProxy routing)
- src/auth/profile-detector.ts (cliproxy profile type)
- src/commands/help-command.ts (new profiles in help)
- src/management/doctor.ts (CLIProxy health checks)
- src/utils/error-manager.ts (OAuth/port/download errors)
- CHANGELOG.md (v5.0.0 release notes)
Tests: 42/42 passed
2025-11-28 16:28:15 -05:00
kaitranntt
0139333146
feat: set up quality gates for CCS TypeScript package
...
- Migrate package manager from npm to bun
- Add ESLint configuration with TypeScript support
- Add Prettier configuration and .prettierignore
- Format all TypeScript source files
- Update CLAUDE.md with bun instructions
- Verify 39 tests passing
2025-11-26 20:43:21 -05:00
kaitranntt
77d026869e
fix(tsconfig): remove duplicate compiler options
...
- Remove duplicate allowSyntheticDefaultImports (lines 16 & 42)
- Remove duplicate skipLibCheck (lines 18 & 46)
- Add TypeScript source files for npm package migration
- Verify build pipeline works (42/42 tests pass)
2025-11-26 19:24:40 -05:00