JobState
A job as it is now (readJob): its record, what it has printed (out, from log), how it ended, or lost if its
process is gone without saying how (stopped from outside, or with the machine).
import type { Job, JobEnd } from "#codebase/tcmts/cli/mcp"; export interface JobState extends Job { id: number; log: string; out: string; done?: JobEnd; lost?: boolean; }