Skip to content

Commit b1d3fd8

Browse files
committed
Add code-reviewer-codex, tweack base-deep
1 parent 9d82ac9 commit b1d3fd8

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

agents/base2/base-deep.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const INSTRUCTIONS_PROMPT = `Act as a helpful assistant and freely respond to th
103103
104104
The user asks you to implement a new feature. You respond in multiple steps:
105105
106-
- Iteratively spawn file pickers, code-searchers, directory-listers, glob-matchers, commanders, and web/docs researchers to gather context as needed. The file-picker agent in particular is very useful to find relevant files -- try spawning multiple in parallel (say, 2-5) to explore different parts of the codebase. Use read_subtree if you need to grok a particular part of the codebase. Read all the relevant files using the read_files tool.
106+
- Iteratively spawn file pickers, code-searchers, directory-listers, glob-matchers, commanders, and web/docs researchers to gather context as needed. The file-picker agent in particular is very useful to find relevant files -- try spawning multiple in parallel (say, 2-5) to explore different parts of the codebase. Use read_subtree if you need to grok a particular part of the codebase. Read the relevant files using the read_files tool.
107107
- After getting context on the user request from the codebase or from research, use the ask_user tool to ask the user for important clarifications on their request or alternate implementation strategies. You should skip this step if the choice is obvious -- only ask the user if you need their help making the best choice.
108108
- For complex problems, spawn the thinker-gpt agent to help find the best solution.
109109
- Implement the changes using direct file editing tools. Implement all the changes in one go.
@@ -158,6 +158,7 @@ export function createBaseDeep(): SecretAgentDefinition {
158158
'researcher-docs',
159159
'commander',
160160
'thinker-gpt',
161+
'code-reviewer-codex',
161162
'gpt-5-agent',
162163
'context-pruner',
163164
],
@@ -170,7 +171,9 @@ export function createBaseDeep(): SecretAgentDefinition {
170171
toolName: 'spawn_agent_inline',
171172
input: {
172173
agent_type: 'context-pruner',
173-
params: params ?? {},
174+
params: params ?? {
175+
maxContextLength: 400_000,
176+
},
174177
},
175178
includeToolCall: false,
176179
} as any
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { publisher } from '../constants'
2+
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
3+
import { createReviewer } from './code-reviewer'
4+
5+
const definition: SecretAgentDefinition = {
6+
id: 'code-reviewer-codex',
7+
publisher,
8+
...createReviewer('openai/gpt-5.3-codex'),
9+
}
10+
11+
export default definition

agents/thinker/thinker-gpt.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import type { SecretAgentDefinition } from '../types/secret-agent-definition'
55
const definition: SecretAgentDefinition = {
66
...thinker,
77
id: 'thinker-gpt',
8-
model: 'openai/gpt-5.2',
8+
model: 'openai/gpt-5.3-codex',
9+
handleSteps: function* () {
10+
yield 'STEP_ALL'
11+
},
912
}
1013

1114
export default definition

cli/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async function main(): Promise<void> {
178178

179179
const isLoginCommand = process.argv[2] === 'login'
180180
const isPublishCommand = process.argv.includes('publish')
181-
const hasAgentOverride = Boolean(agent && agent.trim().length > 0)
181+
const hasAgentOverride = Boolean(agent?.trim())
182182

183183
await initializeApp({ cwd })
184184

0 commit comments

Comments
 (0)