Skip to content

Commit 39d3588

Browse files
committed
Upgrade to Opus 4.7
1 parent e006f0e commit 39d3588

File tree

29 files changed

+33
-39
lines changed

29 files changed

+33
-39
lines changed

.agents/claude-code-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const baseDefinition = createCliAgent({
1010
startCommand: 'claude --dangerously-skip-permissions',
1111
permissionNote:
1212
'Always use `--dangerously-skip-permissions` when testing to avoid permission prompts that would block automated tests.',
13-
model: 'anthropic/claude-opus-4.6',
13+
model: 'anthropic/claude-opus-4.7',
1414
})
1515

1616
// Constants must be inside handleSteps since it gets serialized via .toString()

.agents/codebuff-local-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const baseDefinition = createCliAgent({
1010
startCommand: 'bun --cwd=cli run dev',
1111
permissionNote:
1212
'No permission flags needed for Codebuff local dev server.',
13-
model: 'anthropic/claude-opus-4.6',
13+
model: 'anthropic/claude-opus-4.7',
1414
skipPrepPhase: true,
1515
cliSpecificDocs: `## Codebuff CLI Specific Guidance
1616

.agents/codex-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const baseDefinition = createCliAgent({
8181
startCommand: 'codex -a never -s danger-full-access',
8282
permissionNote:
8383
'Always use `-a never -s danger-full-access` when testing to avoid approval prompts that would block automated tests.',
84-
model: 'anthropic/claude-opus-4.6',
84+
model: 'anthropic/claude-opus-4.7',
8585
extraInputParams: {
8686
reviewType: {
8787
type: 'string',

.agents/gemini-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const baseDefinition = createCliAgent({
1010
startCommand: 'gemini --yolo',
1111
permissionNote:
1212
'Always use `--yolo` (or `--approval-mode yolo`) when testing to auto-approve all tool actions and avoid prompts that would block automated tests.',
13-
model: 'anthropic/claude-opus-4.6',
13+
model: 'anthropic/claude-opus-4.7',
1414
cliSpecificDocs: `## Gemini CLI Commands
1515
1616
Gemini CLI uses slash commands for navigation:

.agents/types/agent-definition.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,9 @@ export type ModelName =
380380

381381
// Anthropic
382382
| 'anthropic/claude-sonnet-4.6'
383+
| 'anthropic/claude-opus-4.7'
383384
| 'anthropic/claude-opus-4.6'
385+
| 'anthropic/claude-opus-4.5'
384386
| 'anthropic/claude-haiku-4.5'
385387
| 'anthropic/claude-sonnet-4.5'
386388
| 'anthropic/claude-opus-4.1'

agents-graveyard/editor/best-of-n/best-of-n-selector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const createBestOfNSelector = (options: {
1717
model: isSonnet
1818
? 'anthropic/claude-sonnet-4.5'
1919
: isOpus
20-
? 'anthropic/claude-opus-4.6'
20+
? 'anthropic/claude-opus-4.7'
2121
: isGemini
2222
? 'google/gemini-3-pro-preview'
2323
: 'openai/gpt-5.1',

agents-graveyard/editor/best-of-n/editor-implementor2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const createBestOfNImplementor2 = (options: {
1313
model: isGpt5
1414
? 'openai/gpt-5.2'
1515
: isOpus
16-
? 'anthropic/claude-opus-4.6'
16+
? 'anthropic/claude-opus-4.7'
1717
: 'anthropic/claude-sonnet-4.5',
1818
displayName: isGpt5
1919
? 'GPT-5 Implementation Generator v2'

agents-graveyard/editor/best-of-n/editor-multi-prompt2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type { SecretAgentDefinition } from '../../types/secret-agent-definition'
1010
export function createMultiPromptEditor(): Omit<SecretAgentDefinition, 'id'> {
1111
return {
1212
publisher,
13-
model: 'anthropic/claude-opus-4.6',
13+
model: 'anthropic/claude-opus-4.7',
1414
displayName: 'Multi-Prompt Editor',
1515
spawnerPrompt:
1616
'Edits code by spawning multiple implementor agents with different strategy prompts, selects the best implementation, and applies the changes. It also returns further suggested improvements which you should take seriously and act on. Pass as input an array of short prompts specifying different implementation approaches or strategies. Make sure to read any files intended to be edited before spawning this agent.',

agents-graveyard/editor/reviewer-editor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const createCodeEditor = (options: {
1212
model:
1313
options.model === 'gpt-5'
1414
? 'openai/gpt-5.1'
15-
: 'anthropic/claude-opus-4.6',
15+
: 'anthropic/claude-opus-4.7',
1616
displayName: 'Code Editor',
1717
spawnerPrompt:
1818
'Expert code reviewer that reviews recent code changes and makes improvements.',

agents/__tests__/editor.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe('editor agent', () => {
2828
})
2929

3030
test('uses opus model by default', () => {
31-
expect(editor.model).toBe('anthropic/claude-opus-4.6')
31+
expect(editor.model).toBe('anthropic/claude-opus-4.7')
3232
})
3333

3434
test('has output mode set to structured_output', () => {
@@ -54,7 +54,7 @@ describe('editor agent', () => {
5454
describe('createCodeEditor', () => {
5555
test('creates opus editor by default', () => {
5656
const opusEditor = createCodeEditor({ model: 'opus' })
57-
expect(opusEditor.model).toBe('anthropic/claude-opus-4.6')
57+
expect(opusEditor.model).toBe('anthropic/claude-opus-4.7')
5858
})
5959

6060
test('creates gpt-5 editor', () => {

0 commit comments

Comments
 (0)