im_wower
·
2026-03-21
index.ts
1export type AutomationMode = "running" | "draining" | "paused";
2export type TaskStatus = "queued" | "planning" | "running" | "paused" | "done" | "failed" | "canceled";
3export type StepStatus = "pending" | "running" | "done" | "failed" | "timeout";
4export type StepKind = "planner" | "codex" | "shell" | "git" | "review" | "finalize";
5
6export interface TaskRecord {
7 taskId: string;
8 repo: string;
9 taskType: string;
10 title: string;
11 goal: string;
12 status: TaskStatus;
13 branchName: string | null;
14 baseRef: string | null;
15}
16
17export interface StepRecord {
18 stepId: string;
19 taskId: string;
20 stepIndex: number;
21 stepName: string;
22 stepKind: StepKind;
23 status: StepStatus;
24 timeoutSec: number;
25}
26