/** * `SourceManifest` describes a packaged task source's `source.json` (for * example `task-sources/jira/source.json`). It is the install-time contract * between whoever ships a source (groundcrew itself, or an external installer * that drops a bundle into `~/.config/groundcrew/task-sources`) and groundcrew, * which discovers manifests and exposes each as an enable-by-kind adapter. * * Deliberately separate from `ShellAdapterConfig` (the runtime config block in * `./schema.ts`): the manifest carries install-only fields (`installDir`, * `files`, `prerequisites`, `secrets`) and command templates whose script paths * are not yet installed. `shellConfigFromManifest` (see `./manifestAdapter.ts`) * bridges the two once the scripts are materialized. */ import { z } from "zod"; /** * Per-command timeouts in milliseconds. Shared with the override schema in * `./manifestAdapter.ts` so a `{ kind }` entry can override manifest timeouts. */ export declare const manifestTimeoutsSchema: z.ZodObject<{ verify: z.ZodOptional; listTasks: z.ZodOptional; getTask: z.ZodOptional; markInProgress: z.ZodOptional; markInReview: z.ZodOptional; markDone: z.ZodOptional; createTask: z.ZodOptional; validate: z.ZodOptional; }, z.core.$strict>; export declare const sourceManifestSchema: z.ZodObject<{ name: z.ZodString; kind: z.ZodLiteral<"shell">; description: z.ZodString; installDir: z.ZodString; files: z.ZodDefault>; prerequisites: z.ZodOptional; linux: z.ZodOptional; default: z.ZodOptional; }, z.core.$strict>]>>; setup: z.ZodOptional; }, z.core.$strict>>>; secrets: z.ZodOptional; url: z.ZodOptional; }, z.core.$strict>>>; env: z.ZodOptional>; commands: z.ZodObject<{ verify: z.ZodOptional; listTasks: z.ZodString; getTask: z.ZodOptional; markInProgress: z.ZodOptional; markInReview: z.ZodOptional; markDone: z.ZodOptional; createTask: z.ZodOptional; validate: z.ZodOptional; }, z.core.$strict>; timeouts: z.ZodOptional; listTasks: z.ZodOptional; getTask: z.ZodOptional; markInProgress: z.ZodOptional; markInReview: z.ZodOptional; markDone: z.ZodOptional; createTask: z.ZodOptional; validate: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; export type SourceManifest = z.infer; //# sourceMappingURL=manifest.d.ts.map