Files
oh-my-opencode/src/config/schema/ralph-loop.ts
T

13 lines
522 B
TypeScript
Raw Normal View History

import { z } from "zod"
export const RalphLoopConfigSchema = z.object({
/** Enable ralph loop functionality (default: false - opt-in feature) */
enabled: z.boolean().default(false),
/** Default max iterations if not specified in command (default: 100) */
default_max_iterations: z.number().min(1).max(1000).default(100),
/** Custom state file directory relative to project root (default: .opencode/) */
state_dir: z.string().optional(),
})
export type RalphLoopConfig = z.infer<typeof RalphLoopConfigSchema>