Returns Promise<
{
errors?: { message: string; type: "error"
| "warning" }[];
model?: { data: unknown; kind: string };
rendered: string;
renderedErr?: string;
status: "error" | "ok";
trace?: {
executed?: string;
input: string;
proposed: string;
validated: boolean;
};
},
>
An envelope whose rendered text carries the (highlighted) file
contents and whose model lists per-file outcomes.
Prints files: the shared typed core behind the parsed builtin and the typed API.