diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 35d9fe3..99407a3 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -36,4 +36,4 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} allowed_tools: "Bash(bun install),Bash(bun test:*),Bash(bun run format),Bash(bun typecheck)" custom_instructions: "You have also been granted tools for editing files and running bun commands (install, run, test, typecheck) for testing your changes: bun install, bun test, bun run format, bun typecheck." - model: "claude-opus-4-20250514" + model: "claude-opus-4-1-20250805" diff --git a/base-action/README.md b/base-action/README.md index 2166511..2a9a863 100644 --- a/base-action/README.md +++ b/base-action/README.md @@ -69,7 +69,7 @@ Add the following to your workflow file: uses: anthropics/claude-code-base-action@beta with: prompt: "Review and fix TypeScript errors" - model: "claude-opus-4-20250514" + model: "claude-opus-4-1-20250805" fallback_model: "claude-sonnet-4-20250514" allowed_tools: "Bash(git:*),View,GlobTool,GrepTool,BatchTool" anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} @@ -217,7 +217,7 @@ Provide the settings configuration directly as a JSON string: prompt: "Your prompt here" settings: | { - "model": "claude-opus-4-20250514", + "model": "claude-opus-4-1-20250805", "env": { "DEBUG": "true", "API_URL": "https://api.example.com" diff --git a/base-action/test/setup-claude-code-settings.test.ts b/base-action/test/setup-claude-code-settings.test.ts index c5a103b..19cf0cd 100644 --- a/base-action/test/setup-claude-code-settings.test.ts +++ b/base-action/test/setup-claude-code-settings.test.ts @@ -134,7 +134,7 @@ describe("setupClaudeCodeSettings", () => { // Then, add new settings const newSettings = JSON.stringify({ newKey: "newValue", - model: "claude-opus-4-20250514", + model: "claude-opus-4-1-20250805", }); await setupClaudeCodeSettings(newSettings, testHomeDir); @@ -145,7 +145,7 @@ describe("setupClaudeCodeSettings", () => { expect(settings.enableAllProjectMcpServers).toBe(true); expect(settings.existingKey).toBe("existingValue"); expect(settings.newKey).toBe("newValue"); - expect(settings.model).toBe("claude-opus-4-20250514"); + expect(settings.model).toBe("claude-opus-4-1-20250805"); }); test("should copy slash commands to .claude directory when path provided", async () => { diff --git a/docs/configuration.md b/docs/configuration.md index 5d3d125..ec0f317 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -252,7 +252,7 @@ You can provide Claude Code settings to customize behavior such as model selecti with: settings: | { - "model": "claude-opus-4-20250514", + "model": "claude-opus-4-1-20250805", "env": { "DEBUG": "true", "API_URL": "https://api.example.com"