Commit Graph
484 Commits
Author SHA1 Message Date
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
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
github-actions[bot] 9b91071e07 chore(release): 5.16.0-dev.13 [skip ci] 2025-12-12 21:27:48 +00:00
kaitranntt d616e613c8 fix(update): suppress Node deprecation warnings on Windows 2025-12-12 16:26:48 -05:00
github-actions[bot] bd39f9a321 chore(release): 5.16.0-dev.12 [skip ci] 2025-12-12 21:25:56 +00:00
kaitranntt bace084e75 fix(update): avoid Node deprecation warning on Windows spawn 2025-12-12 16:24:58 -05:00
github-actions[bot] 53e24484f6 chore(release): 5.16.0-dev.11 [skip ci] 2025-12-12 21:22:40 +00:00
kaitranntt 8c1b8e49ae fix(update): add shell option for Windows npm/cache spawn
On Windows, spawn needs shell:true to find npm.cmd.
Without it, ENOENT error occurs causing update failure.

Fixes #85
2025-12-12 16:21:34 -05:00
github-actions[bot] 466cb0ad8b chore(release): 5.16.0-dev.10 [skip ci] 2025-12-12 21:15:43 +00:00
kaitranntt 27f9ea8f0f fix(ci): improve issue tagging - use bot, skip duplicates, simpler msg
- Use GITHUB_TOKEN for comments (posts as github-actions[bot])
- Skip issues already labeled released-dev (avoid spam)
- Simpler one-line comment format
2025-12-12 16:14:48 -05:00
github-actions[bot] 0736cce4f8 chore(release): 5.16.0-dev.9 [skip ci] 2025-12-12 21:12:49 +00:00
kaitranntt 99f3a674b8 perf(ci): add HUSKY=0 to release workflow 2025-12-12 16:11:46 -05: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
kaitranntt 763928f282 fix(ci): resolve YAML syntax error in dev-release workflow
Multi-line heredoc in issue comment was breaking YAML parsing.
Use inline multi-line string with proper indentation instead.
2025-12-12 15:57:24 -05:00
kaitranntt 84484c06c3 fix(cliproxy): inherit stdin for OAuth interactive prompts
Change stdio from 'ignore' to 'inherit' for stdin in auth subprocess,
allowing CLIProxy to receive user input for email/alias prompts during
Qwen and other OAuth flows.

Fixes #91
2025-12-12 15:54:11 -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 5ef3e324f8 ci(release): add issue labeling for dev releases
- Add label-pending-release.yml workflow to tag issues when PR created
- Update dev-release.yml to comment and label issues after npm publish
- Labels: pending-release (yellow), released-dev (blue)
- Auto-removes pending-release when released-dev is applied
2025-12-12 05:57:58 -05:00
github-actions[bot] 3c7e071b61 chore(release): 5.16.0-dev.6 [skip ci] 2025-12-12 10:52:21 +00:00
kaitranntt 53259ce1c7 docs: update project documentation with recent features 2025-12-12 05:49:48 -05:00
github-actions[bot] 111dba444c chore(release): 5.16.0-dev.5 [skip ci] 2025-12-12 10:40:33 +00:00
Kai (Tam Nhu) TranandGitHub 2a275468f0 Merge pull request #90 from kaitranntt/kai/fix/cliproxy-version-pin
fix(cliproxy): respect version pin when user installs specific version
2025-12-12 05:38:30 -05:00
kaitranntt a7ba1a1983 fix(cliproxy): respect version pin when user installs specific version
When a user explicitly installs a specific CLIProxy version via
`ccs cliproxy --install <version>`, this version should persist and
not be auto-updated. Previously, subsequent commands would check for
updates and overwrite the user's choice.

Changes:
- Add .version-pin file to persist user's explicit version choice
- Update ensureCLIProxyBinary() to check for version pin and skip auto-update
- Update --install command to save version pin with "(pinned)" confirmation
- Update --latest command to clear version pin and enable auto-update
- Add --update command as alias for --latest (for unpinning workflow)
- Update status display to show "(pinned)" indicator when version is pinned
- Update help text to document new pin/unpin behavior

Closes #88
2025-12-12 05:36:49 -05:00
github-actions[bot] 932a74e199 chore(release): 5.16.0-dev.4 [skip ci] 2025-12-12 10:25:07 +00:00
Kai (Tam Nhu) TranandGitHub fb37d3c717 Merge pull request #86 from kaitranntt/kai/fix/profile-not-found
fix(config): prevent profile loss from strict config validation
2025-12-12 05:23:04 -05:00
github-actions[bot] 8b3316fa77 chore(release): 5.16.0-dev.3 [skip ci] 2025-12-12 10:20:24 +00:00
Kai (Tam Nhu) TranandGitHub af48b61218 Merge pull request #87 from kaitranntt/kai/feat/standardize-ui
feat(cli): standardize UI output with ui.ts abstraction layer
2025-12-12 05:18:26 -05:00
kaitranntt d343abca53 fix(config): prevent profile loss from strict config validation
Relaxed isUnifiedConfig() type guard to accept version >= 1 and partial
configs. Added mergeWithDefaults() to preserve user data while filling
missing sections. Fixes profile "not found" after terminal restart.

Closes #82
2025-12-12 05:12:08 -05:00
kaitranntt 4005f1c01c feat(cli): standardize UI output with ui.ts abstraction layer 2025-12-12 05:11:59 -05:00
github-actions[bot] 0b23ec2c0a chore(release): 5.16.0-dev.2 [skip ci] 2025-12-12 09:45:50 +00:00
kaitranntt e04295a1a0 chore(gitignore): remove logs directory from tracking 2025-12-12 04:43:51 -05: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
Kai (Tam Nhu) TranandGitHub 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) TranandGitHub 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) TranandGitHub 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