import { z } from 'zod'; /** * One discovered skill: repo (`.ai/skills`, `.ai/cezar/skills`), `npx skills` install dirs * (project + global), or a configured team skills repo (spec 005). */ export declare const skillSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; interactive: z.ZodOptional>; body: z.ZodString; path: z.ZodString; source: z.ZodEnum<{ agents: "agents"; ai: "ai"; cezar: "cezar"; global: "global"; team: "team"; }>; team: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type Skill = z.infer; /** * One row in the "Manage skills" panel — a skill a default (vendor) repo offers, from * `GET /skills/importable`, independent of whether it is currently kept. * * `description` is optional because that is what the WIRE says: the handler builds * `{ name, description: skill.description }` and `JSON.stringify` omits an undefined value, so * a description-less skill is serialized as `{ "name": "…" }`. The route's own type disagrees * (it claims the key is always present) — a handler defect, see * `contract-parity.workflows.test.ts`. */ export declare const importableSkillSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; }, z.core.$strip>; export type ImportableSkill = z.infer; /** One entry of `.ai/cezar/todos.json`, as `GET /todos` serves it (ids are backfilled on read). */ export declare const todoItemSchema: z.ZodObject<{ id: z.ZodString; ts: z.ZodOptional; taskId: z.ZodOptional; summary: z.ZodString; action: z.ZodOptional; prUrl: z.ZodOptional; suggestedSkill: z.ZodOptional; suggestedArgs: z.ZodOptional; suggestedPrompt: z.ZodOptional; runnable: z.ZodOptional; startedTaskId: z.ZodOptional; }, z.core.$strip>; export type TodoItem = z.infer; /** * `DELETE /todos/:id` — Dismiss checks the entry off. * * `removed` is the LITERAL `true`: a miss is a 404 `{ error }`, never `{ removed: false }`. * The hand-written DTO said `boolean`, which was wider than the route. */ export declare const removeTodoResponseSchema: z.ZodObject<{ removed: z.ZodLiteral; }, z.core.$strip>; export type RemoveTodoResponse = z.infer; /** `POST /todos/:id/start` — 201 with the run the entry became. */ export declare const startTodoResponseSchema: z.ZodObject<{ run: z.ZodObject<{ id: z.ZodString; title: z.ZodString; titleSummary: z.ZodOptional; diffStat: z.ZodOptional; }, z.core.$strip>>; workflow: z.ZodString; task: z.ZodString; queuedMessages: z.ZodOptional>; createdAt: z.ZodString; }, z.core.$strip>>>; taskImages: z.ZodOptional>; model: z.ZodOptional; modelIdentity: z.ZodOptional; runner: z.ZodOptional>; agentProfile: z.ZodOptional; systemPrompt: z.ZodOptional; generateFollowups: z.ZodOptional; autonomous: z.ZodOptional; automation: z.ZodOptional>; status: z.ZodEnum<{ cancelled: "cancelled"; done: "done"; failed: "failed"; queued: "queued"; review: "review"; running: "running"; waiting: "waiting"; }>; activity: z.ZodOptional>; monitoringWakeAt: z.ZodOptional; monitoringWakeCapReached: z.ZodOptional; autoResumeAt: z.ZodOptional; autoResumeAttempts: z.ZodOptional; createdAt: z.ZodString; startedAt: z.ZodOptional; finishedAt: z.ZodOptional; tokensUsed: z.ZodNumber; inputTokens: z.ZodOptional; outputTokens: z.ZodOptional; costUsd: z.ZodOptional; pullRequestUrl: z.ZodOptional; referencedPullRequestUrl: z.ZodOptional; prNumber: z.ZodOptional; issueNumber: z.ZodOptional; referencedIssueNumberSeeded: z.ZodOptional; titleOrigin: z.ZodOptional>; markerRefs: z.ZodOptional; issue: z.ZodOptional; }, z.core.$strip>>; referencedPrCandidates: z.ZodOptional>; referencedIssueUrl: z.ZodOptional; referencedIssueCandidates: z.ZodOptional>; worktree: z.ZodOptional>; worktreePath: z.ZodOptional; branch: z.ZodOptional; baseBranch: z.ZodOptional; worktreeReclaimedAt: z.ZodOptional; groupId: z.ZodOptional; variant: z.ZodOptional; peakRssBytes: z.ZodOptional; peakProcCount: z.ZodOptional; archived: z.ZodBoolean; archivedAt: z.ZodOptional; seenAt: z.ZodOptional; currentStepId: z.ZodOptional; error: z.ZodOptional; steps: z.ZodArray; status: z.ZodEnum<{ cancelled: "cancelled"; done: "done"; failed: "failed"; pending: "pending"; review: "review"; running: "running"; skipped: "skipped"; waiting: "waiting"; }>; iterations: z.ZodNumber; tokensUsed: z.ZodNumber; inputTokens: z.ZodOptional; outputTokens: z.ZodOptional; usageInvocationsStarted: z.ZodOptional; usageInvocationsObserved: z.ZodOptional; usageTurnsStarted: z.ZodOptional; usageTurnsRecorded: z.ZodOptional; usageInvocationEpoch: z.ZodOptional; startedAt: z.ZodOptional; finishedAt: z.ZodOptional; error: z.ZodOptional; sessionId: z.ZodOptional; backend: z.ZodOptional>; profileId: z.ZodOptional; costUsd: z.ZodOptional; }, z.core.$strip>>; workflowDef: z.ZodOptional; steps: z.ZodArray; prompt: z.ZodOptional; skill: z.ZodOptional; model: z.ZodOptional; runner: z.ZodOptional>; allowedTools: z.ZodOptional>; bashAllowlist: z.ZodOptional>; command: z.ZodOptional; onFail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; source: z.ZodEnum<{ "built-in": "built-in"; file: "file"; }>; path: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export type StartTodoResponse = z.infer;