Commit Graph
3547 Commits
Author SHA1 Message Date
Tam Nhu Tran bb5862f0a0 ci(ai-review): upgrade model, add fallback extraction, preserve logs
- Upgrade review model from glm-5 to glm-5.1
- Add fallback step: if Claude doesn't write pr_review.md, extract
  last assistant message from execution output as review content
- Upload claude-execution-output.json as artifact (7-day retention)
  so review sessions can be inspected after the job completes
- Publish review comment runs on always() instead of only on success,
  so fallback-extracted reviews still get posted
2026-03-27 12:09:24 -04:00
Tam Nhu Tran 6dca069c7d ci(ai-review): enable show_full_output for review visibility
Allows seeing Claude's full output in CI logs instead of the
opaque "full output hidden for security" message. Helps debug
slow reviews and identify bottlenecks.
2026-03-27 12:02:11 -04:00
Tam Nhu Tran 0334f70991 ci(ai-review): remove custom Claude CLI path to prevent version drift
claude-code-action@v1 auto-updates its bundled Claude Code and Agent SDK.
The custom path_to_claude_code_executable forced the runner's stale CLI
(v2.1.39) to be used instead, causing validateHeaders auth failures when
the SDK updated to 0.2.85. Let the action manage its own installation.

Closes #810
2026-03-27 11:55:03 -04:00
semantic-release-bot f70d149c0b chore(release): 7.59.0 [skip ci]
## [7.59.0](https://github.com/kaitranntt/ccs/compare/v7.58.0...v7.59.0) (2026-03-26)

### Features

* **auth:** let power user mode skip Gemini auth gate ([ce4401e](https://github.com/kaitranntt/ccs/commit/ce4401e84ea11a0b5518b9eca4d4a44a304e8878))

### Bug Fixes

* **ci:** resolve flaky api-command module resolution and migrate to self-hosted runner ([41a31c8](https://github.com/kaitranntt/ccs/commit/41a31c8a4ffb49c6cf046de0b437961f4422a4e1))
* **cliproxy:** harden gemini quota error fallbacks ([31b7d45](https://github.com/kaitranntt/ccs/commit/31b7d45b58a6929f168a25f724c56ccbd1dcc9fa))
* **cliproxy:** preserve auth-file source fallback ([63c8ec5](https://github.com/kaitranntt/ccs/commit/63c8ec5d7c8d5830bd514f812081fb31804564a8))
* **cliproxy:** preserve explicit Claude long-context intent ([c05189b](https://github.com/kaitranntt/ccs/commit/c05189b4b1e2d90ee6bb88a4024feef1f8dbe1b1)), closes [#789](https://github.com/kaitranntt/ccs/issues/789)
* **cliproxy:** restore live monitor provider attribution ([368a625](https://github.com/kaitranntt/ccs/commit/368a625d925a176a42e426d363aeb355a4f0657b))
* **cliproxy:** scope account stats by provider ([75ccbb3](https://github.com/kaitranntt/ccs/commit/75ccbb3ad13ee6d8b84ad7ef3aacb6b8994256c5))
* **cliproxy:** surface gemini quota failure details ([99f78f1](https://github.com/kaitranntt/ccs/commit/99f78f156a8bc329ee6524f2113a5fc643c0e131))
* **cliproxy:** surface quota metadata in CLI ([19f6b3c](https://github.com/kaitranntt/ccs/commit/19f6b3c4e65c514b42b331380065f34db9dc5405))
* **tests:** stabilize command help CI validation ([be4ba13](https://github.com/kaitranntt/ccs/commit/be4ba13e9654f177a417a7956228653efe1a6210))
* **ui:** clarify antigravity and gemini power mode copy ([4d49d13](https://github.com/kaitranntt/ccs/commit/4d49d13931537ad32a5588880e09212696354609))
* **ui:** constrain bounded code editor scroll viewports ([aeab284](https://github.com/kaitranntt/ccs/commit/aeab2840de0c69122c49dba1b6f286597e4d606a))
* **ui:** harden power user mode auth checks ([604f9fc](https://github.com/kaitranntt/ccs/commit/604f9fc78a72b6ee76cf0ecc44ea91a372c4a114))
* **ui:** resolve cliproxy account stats by provider ([1edc103](https://github.com/kaitranntt/ccs/commit/1edc10362adf1be3a6f06041929e2548614c73a6))
* **ui:** restore scrolling in bounded code editors ([44d4df1](https://github.com/kaitranntt/ccs/commit/44d4df12544a02572e5c1c68f70f73c80795fb29))

### Tests

* **cliproxy:** cover Claude long-context parity flows ([5e11bba](https://github.com/kaitranntt/ccs/commit/5e11bba5149d061879002ad88ca91f404c09522a)), closes [#789](https://github.com/kaitranntt/ccs/issues/789)
* **ui:** cover bounded code editor scroll mode ([823cf96](https://github.com/kaitranntt/ccs/commit/823cf96e7788cc9f69d65b97688c56df84e6b632))
* **ui:** cover bounded editor height contracts ([92d067d](https://github.com/kaitranntt/ccs/commit/92d067d0622c9a02c11b4b20b7416901a0929b4f))
* **ui:** cover Gemini power user auth bypass ([a15c729](https://github.com/kaitranntt/ccs/commit/a15c729079643344d130d4d522de3e874b6d0d03))

### CI

* **ai-review:** add --bare flag to prevent CLAUDE.md pollution in reviews ([57019c1](https://github.com/kaitranntt/ccs/commit/57019c1105e92f74ca4e556c7a3a03f7468b853e))
2026-03-26 22:24:05 +00:00
Kai (Tam Nhu) TranandGitHub 3c642af32f Merge pull request #808 from kaitranntt/dev
feat(release): promote dev to main
2026-03-26 18:22:23 -04:00
github-actions[bot] 8042abc9ee chore(release): 7.58.0-dev.4 [skip ci] 2026-03-26 22:20:37 +00:00
Kai (Tam Nhu) TranandGitHub b4ab51e813 Merge pull request #807 from kaitranntt/kai/fix/bare-ai-review
ci(ai-review): add --bare flag to prevent CLAUDE.md pollution
2026-03-26 18:19:10 -04:00
Tam Nhu Tran 41a31c8a4f fix(ci): resolve flaky api-command module resolution and migrate to self-hosted runner
Root cause: Bun's test runner fails to resolve exports from directory
index.ts files during parallel test execution. The api-command/index.ts
imports 8 subcommand modules — if any fail to load during concurrent
test runs, the entire module fails with "Export not found."

Fix: extract createApiCommandHandler into handler.ts (lightweight, only
imports named-command-router). Test imports from handler.ts directly,
bypassing the heavy index.ts that loads all subcommand modules.

Also:
- Remove stale api-command.ts barrel file
- Use explicit /index import paths in source
- Migrate CI validate to self-hosted runner with clean artifact step
- Disable Bun cache (no-cache: true) on self-hosted runner
2026-03-26 18:12:32 -04:00
Tam Nhu Tran 57019c1105 ci(ai-review): add --bare flag to prevent CLAUDE.md pollution in reviews
Review prompt already contains self-contained CCS-specific rules.
Loading project CLAUDE.md caused dev-oriented rules (no-emoji, quality
gates, branching) to leak into review output. --bare makes the review
prompt the sole source of truth and saves ~2K tokens per run.
2026-03-26 17:37:47 -04:00
Kai (Tam Nhu) TranandGitHub a5c765b221 Merge pull request #805 from kaitranntt/kai/fix/804-live-monitor-auth-index
fix(cliproxy): restore live monitor provider attribution
2026-03-26 17:37:01 -04:00
Kai (Tam Nhu) TranandGitHub 550316f1b3 Merge pull request #801 from kaitranntt/kai/fix/gemini-quota-error-surface
fix(cliproxy): surface gemini quota failure details
2026-03-26 17:22:38 -04:00
Tam Nhu Tran 63c8ec5d7c fix(cliproxy): preserve auth-file source fallback 2026-03-26 17:18:48 -04:00
Tam Nhu Tran 368a625d92 fix(cliproxy): restore live monitor provider attribution 2026-03-26 17:18:47 -04:00
Tam Nhu Tran 19f6b3c4e6 fix(cliproxy): surface quota metadata in CLI 2026-03-26 17:13:11 -04:00
Tam Nhu Tran 4d49d13931 fix(ui): clarify antigravity and gemini power mode copy 2026-03-26 17:13:11 -04:00
Tam Nhu Tran 31b7d45b58 fix(cliproxy): harden gemini quota error fallbacks 2026-03-26 17:13:11 -04:00
Tam Nhu Tran 99f78f156a fix(cliproxy): surface gemini quota failure details
- preserve structured HTTP/error metadata for Gemini quota failures

- keep upstream verification detail and actionable hints for dashboard users

- add regression coverage for 401, 403, and 429 Gemini quota responses
2026-03-26 17:13:11 -04:00
github-actions[bot] 7f84308a41 chore(release): 7.58.0-dev.3 [skip ci] 2026-03-26 21:11:07 +00:00
Kai (Tam Nhu) TranandGitHub d08b4a2293 Merge pull request #802 from kaitranntt/kai/fix/789-opus-long-context
fix: preserve Claude long-context intent across CLI and dashboard
2026-03-26 17:09:32 -04:00
Tam Nhu Tran be4ba13e96 fix(tests): stabilize command help CI validation 2026-03-26 16:56:34 -04:00
github-actions[bot] 90212f120e chore(release): 7.58.0-dev.2 [skip ci] 2026-03-26 20:44:52 +00:00
Kai (Tam Nhu) TranandGitHub 66d7737672 Merge pull request #803 from kaitranntt/kai/fix/live-monitor-provider-stats
fix: scope cliproxy dashboard stats by provider
2026-03-26 16:43:15 -04:00
Tam Nhu Tran 1edc10362a fix(ui): resolve cliproxy account stats by provider 2026-03-26 16:37:37 -04:00
Tam Nhu Tran 75ccbb3ad1 fix(cliproxy): scope account stats by provider 2026-03-26 16:36:46 -04:00
Tam Nhu Tran 5e11bba514 test(cliproxy): cover Claude long-context parity flows
- add regression coverage for runtime, api create flags, and help text

- add provider-editor tests for multi-key [1m] state and preset preservation

Refs #789
2026-03-26 16:36:14 -04:00
Tam Nhu Tran c05189b4b1 fix(cliproxy): preserve explicit Claude long-context intent
- centralize Anthropic model-key [1m] handling in shared helpers

- keep dashboard preset and editor writes consistent across all Claude tiers

- add explicit api create and help guidance for --1m/--no-1m

Refs #789
2026-03-26 16:36:04 -04:00
github-actions[bot] 63b291785c chore(release): 7.58.0-dev.1 [skip ci] 2026-03-26 19:35:25 +00:00
Kai (Tam Nhu) TranandGitHub 6686924eaa Merge pull request #800 from kaitranntt/kai/fix/json-viewer-scroll
fix(ui): restore scrolling in bounded code editors
2026-03-26 15:33:36 -04:00
Kai (Tam Nhu) TranandGitHub 2a2308ad14 Merge pull request #799 from kaitranntt/kai/feat/gemini-power-user-mode
feat: extend power user mode to Gemini dashboard auth
2026-03-26 15:32:10 -04:00
Tam Nhu Tran 92d067d062 test(ui): cover bounded editor height contracts 2026-03-26 15:31:32 -04:00
Tam Nhu Tran aeab2840de fix(ui): constrain bounded code editor scroll viewports 2026-03-26 15:31:24 -04:00
Tam Nhu Tran 604f9fc78a fix(ui): harden power user mode auth checks 2026-03-26 15:19:59 -04:00
Tam Nhu Tran 823cf96e77 test(ui): cover bounded code editor scroll mode 2026-03-26 15:10:48 -04:00
Tam Nhu Tran 44d4df1254 fix(ui): restore scrolling in bounded code editors 2026-03-26 15:10:41 -04:00
Tam Nhu Tran a15c729079 test(ui): cover Gemini power user auth bypass 2026-03-26 15:03:33 -04:00
Tam Nhu Tran ce4401e84e feat(auth): let power user mode skip Gemini auth gate 2026-03-26 15:03:24 -04:00
semantic-release-bot a94a529201 chore(release): 7.58.0 [skip ci]
## [7.58.0](https://github.com/kaitranntt/ccs/compare/v7.57.2...v7.58.0) (2026-03-26)

### Features

* **channels:** auto-enable official Claude channels ([a97fc42](https://github.com/kaitranntt/ccs/commit/a97fc42b10d3ce783b2bf84bce499b7bb9dca141))
* **channels:** auto-enable official discord plugin ([4bce155](https://github.com/kaitranntt/ccs/commit/4bce1559dd96971c3ad34a5fab4ab22d7663fc1e)), closes [#783](https://github.com/kaitranntt/ccs/issues/783)
* **channels:** support telegram and imessage ([6f1f032](https://github.com/kaitranntt/ccs/commit/6f1f032c6393f2dbb61452f56b331bbc05c1f051)), closes [#783](https://github.com/kaitranntt/ccs/issues/783)

### Bug Fixes

* **channels:** reject oversized official channel tokens ([ec1417a](https://github.com/kaitranntt/ccs/commit/ec1417ab7c1144491a277c3248d947e30ab02dc3))
* **cliproxy:** harden corrupted registry recovery ([313e244](https://github.com/kaitranntt/ccs/commit/313e244302c174fb9fa84706d6e1ab0003bf2fc5))
* **cliproxy:** log clean registry recovery and harden email fallback ([63f4862](https://github.com/kaitranntt/ccs/commit/63f48622e54bb84fd320982f2fe0930ad80ff6f1))
* **cliproxy:** recover corrupted account registries from token files ([d53873b](https://github.com/kaitranntt/ccs/commit/d53873bddd358e89121166c89e4f95d2cfcf8ac3))
* **docker:** add index annotations to link GHCR package to repository ([9c0dd34](https://github.com/kaitranntt/ccs/commit/9c0dd3489629014f2fa716a7854ac7dc39a7bb56))
* **settings:** stabilize websearch and quota checks ([3ea9d2f](https://github.com/kaitranntt/ccs/commit/3ea9d2fc346ca7c3cd64785b067aeeefbe2145b5))

### Documentation

* **channels:** document official Claude channel support ([58891d3](https://github.com/kaitranntt/ccs/commit/58891d368d95ca6a48aed6e2de00257462b89de4))

### Styles

* **channels:** format official token guard for ci parity ([3c638b0](https://github.com/kaitranntt/ccs/commit/3c638b02bacd325c793d35d929d3565f34c08692))
* format official channel files ([0e2f478](https://github.com/kaitranntt/ccs/commit/0e2f47802bf112e925f1cf8ce9156b1ce0602de7))

### Tests

* isolate shared-state test suites for CI stability ([3af5542](https://github.com/kaitranntt/ccs/commit/3af554275e2829669dfb82bd30f94575302928f1))
2026-03-26 18:09:19 +00:00
Kai (Tam Nhu) TranandGitHub 4dd7d2c63b Merge pull request #795 from kaitranntt/dev
feat: add official Claude channel management across CLI and settings
2026-03-26 14:07:40 -04:00
github-actions[bot] 9387ce0006 chore(release): 7.57.2-dev.4 [skip ci] 2026-03-26 17:58:55 +00:00
Kai (Tam Nhu) TranandGitHub cdc122feb6 Merge pull request #798 from kaitranntt/kai/fix/797-codex-registry-recovery
fix(cliproxy): recover from corrupted accounts registry
2026-03-26 13:57:22 -04:00
Tam Nhu Tran 63f48622e5 fix(cliproxy): log clean registry recovery and harden email fallback 2026-03-26 13:40:37 -04:00
Tam Nhu Tran 313e244302 fix(cliproxy): harden corrupted registry recovery 2026-03-26 10:58:42 -04:00
Tam Nhu Tran d53873bddd fix(cliproxy): recover corrupted account registries from token files 2026-03-26 10:36:51 -04:00
github-actions[bot] 5602188c54 chore(release): 7.57.2-dev.3 [skip ci] 2026-03-26 14:17:57 +00:00
Kai (Tam Nhu) TranandGitHub e0b990add0 Merge pull request #796 from kaitranntt/kai/fix/pr-795-review-followups
fix(channels): reject oversized official channel tokens
2026-03-26 10:16:22 -04:00
Tam Nhu Tran 3c638b02ba style(channels): format official token guard for ci parity 2026-03-25 22:55:29 -04:00
Tam Nhu Tran ec1417ab7c fix(channels): reject oversized official channel tokens
Add a 4096-character cap before persisting official channel tokens, map that validation failure to HTTP 400 in the dashboard route, and cover both paths with regression tests.
2026-03-25 22:38:15 -04:00
github-actions[bot] 7c91e6ba46 chore(release): 7.57.2-dev.2 [skip ci] 2026-03-25 22:46:05 +00:00
Kai (Tam Nhu) TranandGitHub d08d6a1489 Merge pull request #792 from kapdon/fix/docker-ghcr-repo-link
fix(docker): add index annotations to link GHCR package to repository
2026-03-25 18:44:41 -04:00
github-actions[bot] 2d176c7bcd chore(release): 7.57.2-dev.1 [skip ci] 2026-03-25 21:31:43 +00:00