/** * Zod schemas for the shell adapter: * * - `ShellIssue` — the JSON shape a `commands.fetch` / `commands.resolveOne` * script must emit on stdout. Mirrors the canonical `Issue` shape but with * nullable `repository`/`agent` (scripts use `null` rather than omitting) * and an optional `hasMoreBlockers` (defaults to `false`). * - `ShellAdapterConfig` — the per-source config block users declare in * `crew.config.ts`'s `sources: [...]` array. */ import { z } from "zod"; export declare const shellIssueSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; status: z.ZodEnum<{ done: "done"; "in-progress": "in-progress"; "in-review": "in-review"; other: "other"; todo: "todo"; }>; repository: z.ZodNullable; agent: z.ZodNullable; assignee: z.ZodString; updatedAt: z.ZodString; blockers: z.ZodArray; statusReason: z.ZodOptional>; nativeStatus: z.ZodOptional; }, z.core.$strip>>; hasMoreBlockers: z.ZodDefault>; url: z.ZodOptional; worktreePreparation: z.ZodOptional>; sourceRef: z.ZodUnknown; }, z.core.$strip>; export type ShellIssue = z.infer; export declare const shellFetchOutputSchema: z.ZodArray; repository: z.ZodNullable; agent: z.ZodNullable; assignee: z.ZodString; updatedAt: z.ZodString; blockers: z.ZodArray; statusReason: z.ZodOptional>; nativeStatus: z.ZodOptional; }, z.core.$strip>>; hasMoreBlockers: z.ZodDefault>; url: z.ZodOptional; worktreePreparation: z.ZodOptional>; sourceRef: z.ZodUnknown; }, z.core.$strip>>; /** * Shape a `commands.validate` script must emit on stdout: a JSON array of * human-readable error strings. An empty array (or empty stdout, handled by * the factory) means "no problems found". */ export declare const shellValidateOutputSchema: z.ZodArray; export declare const shellAdapterConfigSchema: z.ZodObject<{ kind: z.ZodLiteral<"shell">; name: z.ZodString; sandboxWritePaths: z.ZodOptional>; commands: z.ZodObject<{ verify: z.ZodOptional; listTasks: z.ZodOptional; fetch: z.ZodOptional; getTask: z.ZodOptional; resolveOne: z.ZodOptional; markInProgress: z.ZodOptional; markInReview: z.ZodOptional; markDone: z.ZodOptional; createTask: z.ZodOptional; validate: z.ZodOptional; }, z.core.$strip>; cwd: z.ZodOptional; timeouts: z.ZodOptional; listTasks: z.ZodOptional; fetch: z.ZodOptional; getTask: z.ZodOptional; resolveOne: z.ZodOptional; markInProgress: z.ZodOptional; markInReview: z.ZodOptional; markDone: z.ZodOptional; createTask: z.ZodOptional; validate: z.ZodOptional; }, z.core.$strip>>; env: z.ZodOptional>; }, z.core.$strip>; export type ShellAdapterConfig = z.infer; //# sourceMappingURL=schema.d.ts.map