mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-08 06:17:06 +00:00
chore(sync): merge main into dev after release [skip ci]
# Conflicts: # package.json
This commit is contained in:
@@ -118,7 +118,7 @@ jobs:
|
||||
name: Claude Code Review
|
||||
needs: prepare
|
||||
if: needs.prepare.result == 'success'
|
||||
timeout-minutes: 15
|
||||
timeout-minutes: 20
|
||||
runs-on: ${{ fromJSON(needs.prepare.outputs.runs_on) }}
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -127,12 +127,12 @@ jobs:
|
||||
|
||||
env:
|
||||
ANTHROPIC_BASE_URL: https://api.z.ai/api/anthropic
|
||||
REVIEW_MODEL: glm-5-turbo
|
||||
REVIEW_MODEL: glm-5.1
|
||||
ANTHROPIC_AUTH_TOKEN: ${{ secrets.GLM_API_KEY }}
|
||||
ANTHROPIC_MODEL: glm-5-turbo
|
||||
ANTHROPIC_DEFAULT_OPUS_MODEL: glm-5-turbo
|
||||
ANTHROPIC_DEFAULT_SONNET_MODEL: glm-5-turbo
|
||||
ANTHROPIC_DEFAULT_HAIKU_MODEL: glm-5-turbo
|
||||
ANTHROPIC_MODEL: glm-5.1
|
||||
ANTHROPIC_DEFAULT_OPUS_MODEL: glm-5.1
|
||||
ANTHROPIC_DEFAULT_SONNET_MODEL: glm-5.1
|
||||
ANTHROPIC_DEFAULT_HAIKU_MODEL: glm-5.1
|
||||
DISABLE_BUG_COMMAND: '1'
|
||||
DISABLE_ERROR_REPORTING: '1'
|
||||
DISABLE_TELEMETRY: '1'
|
||||
@@ -277,7 +277,7 @@ jobs:
|
||||
--bare
|
||||
--model ${{ env.REVIEW_MODEL }}
|
||||
--permission-mode bypassPermissions
|
||||
--max-turns 40
|
||||
--max-turns 45
|
||||
--allowedTools "Read,Bash(gh pr diff:*),Bash(gh pr view:*),Bash(git diff:*),Bash(git log:*),Bash(git show:*),Bash(cat:*),Bash(ls:*),Bash(wc:*),Bash(head:*),Bash(tail:*),Bash(find:*),Bash(grep:*)"
|
||||
--json-schema '${{ env.REVIEW_OUTPUT_SCHEMA }}'
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
## [7.66.1](https://github.com/kaitranntt/ccs/compare/v7.66.0...v7.66.1) (2026-04-07)
|
||||
|
||||
### Hotfixes
|
||||
|
||||
* update ai-review workflow model budget ([f954f0f](https://github.com/kaitranntt/ccs/commit/f954f0f8ab906c7e03ab27b0aa07c653d04e622c)), closes [#922](https://github.com/kaitranntt/ccs/issues/922)
|
||||
|
||||
## [7.66.0](https://github.com/kaitranntt/ccs/compare/v7.65.3...v7.66.0) (2026-04-05)
|
||||
|
||||
### Features
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@kaitranntt/ccs",
|
||||
"version": "7.66.0-dev.4",
|
||||
"version": "7.66.1",
|
||||
"description": "Claude Code Switch - Instant profile switching between Claude, GLM, Kimi, and more",
|
||||
"keywords": [
|
||||
"cli",
|
||||
|
||||
@@ -8,14 +8,18 @@ function loadWorkflow() {
|
||||
}
|
||||
|
||||
describe('ai-review workflow', () => {
|
||||
test('uses the claude-code-action reviewer path with glm-5-turbo and PR-sha comment markers', () => {
|
||||
test('uses the claude-code-action reviewer path with glm-5.1 and PR-sha comment markers', () => {
|
||||
const workflow = loadWorkflow();
|
||||
|
||||
expect(workflow).toContain('REVIEW_MODEL: glm-5-turbo');
|
||||
expect(workflow).toContain('ANTHROPIC_MODEL: glm-5-turbo');
|
||||
expect(workflow).toContain('timeout-minutes: 20');
|
||||
expect(workflow).toContain('REVIEW_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('ANTHROPIC_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('ANTHROPIC_DEFAULT_OPUS_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('ANTHROPIC_DEFAULT_SONNET_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('ANTHROPIC_DEFAULT_HAIKU_MODEL: glm-5.1');
|
||||
expect(workflow).toContain('uses: anthropics/claude-code-action@v1');
|
||||
expect(workflow).toContain('--model ${{ env.REVIEW_MODEL }}');
|
||||
expect(workflow).toContain('--max-turns 40');
|
||||
expect(workflow).toContain('--max-turns 45');
|
||||
expect(workflow).toContain('--json-schema');
|
||||
expect(workflow).toContain('normalize-ai-review-output.mjs');
|
||||
expect(workflow).not.toContain('build-ai-review-packet.mjs');
|
||||
|
||||
Reference in New Issue
Block a user