Skip to content

Commit b16754d

Browse files
committed
Merge branch 'main' into brandon/benchify
2 parents 9ad3369 + cda0250 commit b16754d

34 files changed

+382
-243
lines changed

.agents/base-max.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const definition: SecretAgentDefinition = {
99
...base('anthropic/claude-sonnet-4.5', 'max'),
1010
spawnableAgents: [
1111
'file-explorer',
12-
'researcher-web-gpt-5',
13-
'researcher-docs-gpt-5',
12+
'researcher-web-sonnet',
13+
'researcher-docs-sonnet',
1414
'implementation-planner-max',
1515
'thinker',
1616
'reviewer-max',

.agents/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { SecretAgentDefinition } from './types/secret-agent-definition'
66
const definition: SecretAgentDefinition = {
77
id: 'base',
88
publisher,
9-
...base('anthropic/claude-4.5-sonnet', 'normal'),
9+
...base('anthropic/claude-sonnet-4.5', 'normal'),
1010
}
1111

1212
export default definition

.agents/docs-researcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { SecretAgentDefinition } from './types/secret-agent-definition'
66
const definition: SecretAgentDefinition = {
77
id: 'docs-researcher',
88
publisher,
9-
...docsResearcher('google/gemini-2.5-flash'),
9+
...docsResearcher('x-ai/grok-4-fast'),
1010
}
1111

1212
export default definition

.agents/implementation-planner/implementation-planner-max.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { type SecretAgentDefinition } from '../types/secret-agent-definition'
44
const definition: SecretAgentDefinition = {
55
id: 'implementation-planner-max',
66
publisher,
7-
model: 'anthropic/claude-4.5-sonnet',
7+
model: 'anthropic/claude-sonnet-4.5',
88
displayName: 'Implementation Planner Max',
99
spawnerPrompt:
1010
'Creates the best possible implementation plan by generating several different plans in parallel and selecting the best one. Includes full code changes.',

.agents/implementation-planner/implementation-planner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const definition: SecretAgentDefinition = {
88
id: 'implementation-planner',
99
displayName: 'Implementation Planner',
1010
publisher,
11-
model: 'anthropic/claude-4.5-sonnet',
11+
model: 'anthropic/claude-sonnet-4.5',
1212
spawnerPrompt:
1313
'Creates comprehensive implementation plans with full code changes by exploring the codebase, doing research on the web, and thinking deeply. You can also use it get a deep answer to any question. Use this agent for tasks that require thinking.',
1414
inputSchema: {

.agents/implementation-planner/plan-selector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
const definition: SecretAgentDefinition = {
88
id: 'plan-selector',
99
publisher,
10-
model: 'anthropic/claude-4.5-sonnet',
10+
model: 'anthropic/claude-sonnet-4.5',
1111
displayName: 'Plan Selector',
1212
spawnerPrompt:
1313
'Expert at evaluating and selecting the best plan from multiple options based on quality, feasibility, and simplicity.',

.agents/prompts/base-prompts.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export const baseAgentUserInputPrompt = (
254254
`Important: you *must* read as many files with the read_files tool as possible from the results of the file picker agents. Don't be afraid to read ${isLite ? '8' : '20'} files. The more files you read, the better context you have on the codebase and the better your response will be.`,
255255

256256
isMax &&
257-
`You must spawn the implementation-planner-max agent for medium to hard coding tasks. It will help you write the best possible code changes.`,
257+
`Important: You must spawn the implementation-planner-max agent for all medium-to-hard coding tasks. It will help you come up with the best possible code changes.`,
258258

259259
'If the users uses "@agent-id" or "@AgentName" in their message, you must spawn that agent. If you don\'t know what input parameters that agent expects, use the lookup_agent_info tool to get the agent metadata. Spawn all the agents that the user mentions.',
260260

@@ -309,6 +309,9 @@ export const baseAgentUserInputPrompt = (
309309
(isLite || isFlash || isGeminiPro) &&
310310
`You must use the spawn_agents tool to spawn agents to help you complete the user request. You can spawn as many agents as you want. It is a good idea to spawn a file explorer agent first to explore the codebase. ${isLite ? '' : 'Finally, you must spawn the reviewer agent to review your code changes.'}`,
311311

312+
isMax &&
313+
`Important: You must spawn the implementation-planner-max agent for all medium-to-hard coding tasks. It will help you come up with the best possible code changes.`,
314+
312315
!isGPT5 &&
313316
'Finally, you must use the end_turn tool at the end of your response when you have completed the user request or want the user to respond to your message.',
314317

.agents/researcher/gpt-5/researcher-codebase-explorer-gpt-5.ts renamed to .agents/researcher/sonnet/researcher-codebase-explorer-sonnet.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ import researcherCodebaseExplorer from '../researcher-codebase-explorer'
44

55
const definition: SecretAgentDefinition = {
66
...researcherCodebaseExplorer,
7-
id: 'researcher-codebase-explorer-gpt-5',
7+
id: 'researcher-codebase-explorer-sonnet',
88
publisher,
9-
displayName: 'Codebase Explorer GPT-5',
10-
model: 'openai/gpt-5',
11-
reasoningOptions: {
12-
enabled: true,
13-
effort: 'medium',
14-
},
9+
displayName: 'Codebase Explorer Sonnet',
10+
model: 'anthropic/claude-sonnet-4.5',
1511
}
1612

1713
export default definition

.agents/researcher/gpt-5/researcher-docs-gpt-5.ts renamed to .agents/researcher/sonnet/researcher-docs-sonnet.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@ import researcherDocs from '../researcher-docs'
44

55
const definition: SecretAgentDefinition = {
66
...researcherDocs,
7-
id: 'researcher-docs-gpt-5',
7+
id: 'researcher-docs-sonnet',
88
publisher,
9-
displayName: 'Docs Researcher GPT-5',
10-
model: 'openai/gpt-5',
11-
reasoningOptions: {
12-
effort: 'medium',
13-
},
9+
displayName: 'Docs Researcher Sonnet',
10+
model: 'anthropic/claude-sonnet-4.5',
1411
}
1512

1613
export default definition

.agents/researcher/gpt-5/researcher-gpt-5.ts renamed to .agents/researcher/sonnet/researcher-sonnet.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,15 @@ import researcher from '../researcher-grok-4-fast'
44

55
const definition: SecretAgentDefinition = {
66
...researcher,
7-
id: 'researcher-gpt-5',
7+
id: 'researcher-sonnet',
88
publisher,
9-
displayName: 'Researcher GPT-5',
10-
model: 'openai/gpt-5',
11-
reasoningOptions: {
12-
enabled: true,
13-
effort: 'medium',
14-
},
9+
displayName: 'Researcher Sonnet',
10+
model: 'anthropic/claude-sonnet-4.5',
1511

1612
spawnableAgents: [
1713
'file-explorer',
18-
'researcher-codebase-explorer-gpt-5',
19-
'researcher-web-gpt-5',
20-
'researcher-docs-gpt-5',
14+
'researcher-web-sonnet',
15+
'researcher-docs-sonnet',
2116
],
2217
}
2318

0 commit comments

Comments
 (0)