We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2793502 commit 8a1e85dCopy full SHA for 8a1e85d
1 file changed
packages/opencode/src/config/agent.ts
@@ -104,9 +104,7 @@ const normalize = (agent: z.infer<typeof Info>) => {
104
return { ...agent, options, permission, steps: agent.steps ?? agent.maxSteps }
105
}
106
107
-export const Info = zod(AgentSchema)
108
- .transform(normalize)
109
- .meta({ ref: "AgentConfig" }) as unknown as z.ZodType<
+export const Info = zod(AgentSchema).transform(normalize).meta({ ref: "AgentConfig" }) as unknown as z.ZodType<
110
Omit<z.infer<ReturnType<typeof zod<typeof AgentSchema>>>, "options" | "permission" | "steps"> & {
111
options?: Record<string, unknown>
112
permission?: ConfigPermission.Info
0 commit comments