Skip to content

Commit db5ca02

Browse files
authored
Opus 4.6 (#428)
1 parent f8383bc commit db5ca02

File tree

22 files changed

+136
-139
lines changed

22 files changed

+136
-139
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.5',
13+
model: 'anthropic/claude-opus-4.6',
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.5',
13+
model: 'anthropic/claude-opus-4.6',
1414
skipPrepPhase: true,
1515
spawnerPromptExtras: `**Purpose:** E2E visual testing of the Codebuff CLI itself. This agent starts a local dev Codebuff CLI instance and interacts with it to verify UI behavior.
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.5',
84+
model: 'anthropic/claude-opus-4.6',
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.5',
13+
model: 'anthropic/claude-opus-4.6',
1414
cliSpecificDocs: `## Gemini CLI Commands
1515
1616
Gemini CLI uses slash commands for navigation:

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

Lines changed: 5 additions & 6 deletions
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.5'
20+
? 'anthropic/claude-opus-4.6'
2121
: isGemini
2222
? 'google/gemini-3-pro-preview'
2323
: 'openai/gpt-5.1',
@@ -108,13 +108,12 @@ Try to select an implementation that fulfills all the requirements in the user's
108108
109109
## Response Format
110110
111-
${
112-
isSonnet || isOpus
113-
? `Use <think> tags to write out your thoughts about the implementations as needed to pick the best implementation. IMPORTANT: You should think really really hard to make sure you pick the absolute best implementation! As soon as you know for sure which implementation is the best, you should output your choice.
111+
${isSonnet || isOpus
112+
? `Use <think> tags to write out your thoughts about the implementations as needed to pick the best implementation. IMPORTANT: You should think really really hard to make sure you pick the absolute best implementation! As soon as you know for sure which implementation is the best, you should output your choice.
114113
115114
Then, do not write any other explanations AT ALL. You should directly output a single tool call to set_output with the selected implementationId and short reason.`
116-
: `Output a single tool call to set_output with the selected implementationId. Do not write anything else.`
117-
}`,
115+
: `Output a single tool call to set_output with the selected implementationId. Do not write anything else.`
116+
}`,
118117
}
119118
}
120119

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.5'
16+
? 'anthropic/claude-opus-4.6'
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.5',
13+
model: 'anthropic/claude-opus-4.6',
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: 5 additions & 6 deletions
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.5',
15+
: 'anthropic/claude-opus-4.6',
1616
displayName: 'Code Editor',
1717
spawnerPrompt:
1818
'Expert code reviewer that reviews recent code changes and makes improvements.',
@@ -58,10 +58,9 @@ OR for new files or major rewrites:
5858
}
5959
</codebuff_tool_call>
6060
61-
${
62-
model === 'gpt-5'
63-
? ''
64-
: `Before you start writing your implementation, you should use <think> tags to think about the best way to implement the changes.
61+
${model === 'gpt-5'
62+
? ''
63+
: `Before you start writing your implementation, you should use <think> tags to think about the best way to implement the changes.
6564
6665
You can also use <think> tags interspersed between tool calls to think about the best way to implement the changes.
6766
@@ -88,7 +87,7 @@ You can also use <think> tags interspersed between tool calls to think about the
8887
</codebuff_tool_call>
8988
9089
</example>`
91-
}
90+
}
9291
9392
### Simplify the code.
9493

agents/__tests__/editor.test.ts

Lines changed: 22 additions & 22 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.5')
31+
expect(editor.model).toBe('anthropic/claude-opus-4.6')
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.5')
57+
expect(opusEditor.model).toBe('anthropic/claude-opus-4.6')
5858
})
5959

6060
test('creates gpt-5 editor', () => {
@@ -160,10 +160,10 @@ describe('editor agent', () => {
160160
]
161161
const mockAgentState = createMockAgentState(initialMessages)
162162
const mockLogger = {
163-
debug: () => {},
164-
info: () => {},
165-
warn: () => {},
166-
error: () => {},
163+
debug: () => { },
164+
info: () => { },
165+
warn: () => { },
166+
error: () => { },
167167
}
168168

169169
const generator = editor.handleSteps!({
@@ -183,10 +183,10 @@ describe('editor agent', () => {
183183
]
184184
const mockAgentState = createMockAgentState(initialMessages)
185185
const mockLogger = {
186-
debug: () => {},
187-
info: () => {},
188-
warn: () => {},
189-
error: () => {},
186+
debug: () => { },
187+
info: () => { },
188+
warn: () => { },
189+
error: () => { },
190190
}
191191

192192
const generator = editor.handleSteps!({
@@ -227,10 +227,10 @@ describe('editor agent', () => {
227227
]
228228
const mockAgentState = createMockAgentState(initialMessages)
229229
const mockLogger = {
230-
debug: () => {},
231-
info: () => {},
232-
warn: () => {},
233-
error: () => {},
230+
debug: () => { },
231+
info: () => { },
232+
warn: () => { },
233+
error: () => { },
234234
}
235235

236236
const generator = editor.handleSteps!({
@@ -278,10 +278,10 @@ describe('editor agent', () => {
278278
const initialMessages: any[] = []
279279
const mockAgentState = createMockAgentState(initialMessages)
280280
const mockLogger = {
281-
debug: () => {},
282-
info: () => {},
283-
warn: () => {},
284-
error: () => {},
281+
debug: () => { },
282+
info: () => { },
283+
warn: () => { },
284+
error: () => { },
285285
}
286286

287287
const generator = editor.handleSteps!({
@@ -315,10 +315,10 @@ describe('editor agent', () => {
315315
test('works with empty initial message history', () => {
316316
const mockAgentState = createMockAgentState([])
317317
const mockLogger = {
318-
debug: () => {},
319-
info: () => {},
320-
warn: () => {},
321-
error: () => {},
318+
debug: () => { },
319+
info: () => { },
320+
warn: () => { },
321+
error: () => { },
322322
}
323323

324324
const generator = editor.handleSteps!({

agents/__tests__/thinker.test.ts

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ describe('thinker agent', () => {
2929
})
3030

3131
test('uses opus model', () => {
32-
expect(thinker.model).toBe('anthropic/claude-opus-4.5')
32+
expect(thinker.model).toBe('anthropic/claude-opus-4.6')
3333
})
3434

3535
test('has output mode set to structured_output', () => {
@@ -94,10 +94,10 @@ describe('thinker agent', () => {
9494
test('yields STEP to get agent state', () => {
9595
const mockAgentState = createMockAgentState()
9696
const mockLogger = {
97-
debug: () => {},
98-
info: () => {},
99-
warn: () => {},
100-
error: () => {},
97+
debug: () => { },
98+
info: () => { },
99+
warn: () => { },
100+
error: () => { },
101101
}
102102

103103
const generator = thinker.handleSteps!({
@@ -125,10 +125,10 @@ describe('thinker agent', () => {
125125

126126
const mockAgentState = createMockAgentState(messages)
127127
const mockLogger = {
128-
debug: () => {},
129-
info: () => {},
130-
warn: () => {},
131-
error: () => {},
128+
debug: () => { },
129+
info: () => { },
130+
warn: () => { },
131+
error: () => { },
132132
}
133133

134134
const generator = thinker.handleSteps!({
@@ -170,10 +170,10 @@ describe('thinker agent', () => {
170170

171171
const mockAgentState = createMockAgentState(messages)
172172
const mockLogger = {
173-
debug: () => {},
174-
info: () => {},
175-
warn: () => {},
176-
error: () => {},
173+
debug: () => { },
174+
info: () => { },
175+
warn: () => { },
176+
error: () => { },
177177
}
178178

179179
const generator = thinker.handleSteps!({
@@ -220,10 +220,10 @@ Actual response here`,
220220

221221
const mockAgentState = createMockAgentState(messages)
222222
const mockLogger = {
223-
debug: () => {},
224-
info: () => {},
225-
warn: () => {},
226-
error: () => {},
223+
debug: () => { },
224+
info: () => { },
225+
warn: () => { },
226+
error: () => { },
227227
}
228228

229229
const generator = thinker.handleSteps!({
@@ -255,10 +255,10 @@ Actual response here`,
255255

256256
const mockAgentState = createMockAgentState(messages)
257257
const mockLogger = {
258-
debug: () => {},
259-
info: () => {},
260-
warn: () => {},
261-
error: () => {},
258+
debug: () => { },
259+
info: () => { },
260+
warn: () => { },
261+
error: () => { },
262262
}
263263

264264
const generator = thinker.handleSteps!({
@@ -298,10 +298,10 @@ Actual response here`,
298298

299299
const mockAgentState = createMockAgentState(messages)
300300
const mockLogger = {
301-
debug: () => {},
302-
info: () => {},
303-
warn: () => {},
304-
error: () => {},
301+
debug: () => { },
302+
info: () => { },
303+
warn: () => { },
304+
error: () => { },
305305
}
306306

307307
const generator = thinker.handleSteps!({
@@ -337,10 +337,10 @@ Actual response here`,
337337

338338
const mockAgentState = createMockAgentState(messages)
339339
const mockLogger = {
340-
debug: () => {},
341-
info: () => {},
342-
warn: () => {},
343-
error: () => {},
340+
debug: () => { },
341+
info: () => { },
342+
warn: () => { },
343+
error: () => { },
344344
}
345345

346346
const generator = thinker.handleSteps!({
@@ -389,10 +389,10 @@ Actual response here`,
389389

390390
const mockAgentState = createMockAgentState(messages)
391391
const mockLogger = {
392-
debug: () => {},
393-
info: () => {},
394-
warn: () => {},
395-
error: () => {},
392+
debug: () => { },
393+
info: () => { },
394+
warn: () => { },
395+
error: () => { },
396396
}
397397

398398
const generator = thinker.handleSteps!({
@@ -442,10 +442,10 @@ Actual response here`,
442442

443443
const mockAgentState = createMockAgentState(messages)
444444
const mockLogger = {
445-
debug: () => {},
446-
info: () => {},
447-
warn: () => {},
448-
error: () => {},
445+
debug: () => { },
446+
info: () => { },
447+
warn: () => { },
448+
error: () => { },
449449
}
450450

451451
const generator = thinker.handleSteps!({
@@ -477,10 +477,10 @@ Actual response here`,
477477

478478
const mockAgentState = createMockAgentState(messages)
479479
const mockLogger = {
480-
debug: () => {},
481-
info: () => {},
482-
warn: () => {},
483-
error: () => {},
480+
debug: () => { },
481+
info: () => { },
482+
warn: () => { },
483+
error: () => { },
484484
}
485485

486486
const generator = thinker.handleSteps!({

0 commit comments

Comments
 (0)