Skip to content

Commit 8a1e85d

Browse files
chore: generate
1 parent 2793502 commit 8a1e85d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/opencode/src/config/agent.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ const normalize = (agent: z.infer<typeof Info>) => {
104104
return { ...agent, options, permission, steps: agent.steps ?? agent.maxSteps }
105105
}
106106

107-
export const Info = zod(AgentSchema)
108-
.transform(normalize)
109-
.meta({ ref: "AgentConfig" }) as unknown as z.ZodType<
107+
export const Info = zod(AgentSchema).transform(normalize).meta({ ref: "AgentConfig" }) as unknown as z.ZodType<
110108
Omit<z.infer<ReturnType<typeof zod<typeof AgentSchema>>>, "options" | "permission" | "steps"> & {
111109
options?: Record<string, unknown>
112110
permission?: ConfigPermission.Info

0 commit comments

Comments
 (0)