We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 947fe35 commit 6ddb511Copy full SHA for 6ddb511
common/src/types/session-state.ts
@@ -1,6 +1,6 @@
1
import { z } from 'zod/v4'
2
3
-import { codebuffMessageSchema } from './messages/codebuff-message'
+import { CodebuffMessageSchema } from './message'
4
import { MAX_AGENT_STEPS_DEFAULT } from '../constants/agents'
5
import { ProjectFileContextSchema } from '../util/file'
6
@@ -50,7 +50,7 @@ export const AgentStateSchema: z.ZodType<{
50
agentType: z.string().nullable(),
51
agentContext: z.record(z.string(), subgoalSchema),
52
subagents: AgentStateSchema.array(),
53
- messageHistory: codebuffMessageSchema.array(),
+ messageHistory: CodebuffMessageSchema.array(),
54
stepsRemaining: z.number(),
55
creditsUsed: z.number().default(0),
56
output: z.record(z.string(), z.any()).optional(),
0 commit comments