import type { StartStep } from "@uncaged/nerve-core"; type StartMetaWithWorkdir = StartStep["meta"] & { workdir?: string | null }; export function resolveWorkdir(start: StartStep): string { const m = start.meta as StartMetaWithWorkdir; return m.workdir ?? process.cwd(); }