mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 08:21:50 +00:00
chore: generate
This commit is contained in:
parent
2793502db2
commit
8a1e85d0c8
1 changed files with 1 additions and 3 deletions
|
|
@ -104,9 +104,7 @@ const normalize = (agent: z.infer<typeof Info>) => {
|
|||
return { ...agent, options, permission, steps: agent.steps ?? agent.maxSteps }
|
||||
}
|
||||
|
||||
export const Info = zod(AgentSchema)
|
||||
.transform(normalize)
|
||||
.meta({ ref: "AgentConfig" }) as unknown as z.ZodType<
|
||||
export const Info = zod(AgentSchema).transform(normalize).meta({ ref: "AgentConfig" }) as unknown as z.ZodType<
|
||||
Omit<z.infer<ReturnType<typeof zod<typeof AgentSchema>>>, "options" | "permission" | "steps"> & {
|
||||
options?: Record<string, unknown>
|
||||
permission?: ConfigPermission.Info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue