import type { JsonValue } from "./mod.ts"; /** A user-run shell command, shown independently of assistant tool calls. */ export type ShellExecution = { taskId: number; command: string; excludeFromContext: boolean; status: "running" | "ok" | "error" | "cancelled"; result: JsonValue | null; details: JsonValue | null; error: string | null; startedAt: number; durationMs: number | null; }; export type ShellState = { run?: ShellExecution };