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; streaming subcommands carry empty rendered text and
emit their output live, while query/pull return their own envelopes.
PACS subsystem command — server context management, query, and pull.
Subcommands: pacs — show active server pacs connect — list servers with active marked pacs connect <name|id> — set active PACS server pacs disconnect — clear active PACS server pacs list — list servers (alias for: pacs connect) pacs query Key:Value... — create PACS query and wait for results pacs pull <vfs-path...> — pull DICOM series into ChRIS storage pacs status — per-series pulled/pending report with CUBE paths