* Runs a one-shot prompt and returns the result. * * This spawns Claude CLI with `--output-format stream-json` to get * structured JSON output. The promise resolves when Claude completes * the response. * * @param prompt - The prompt text to send to Claude * @param options - Opt
(
prompt: string,
options?: { model?: string; onProgress?: (info: { tokens?: number; status?: string }) => void }
)
source not stored for this graph (policy: none)
no test coverage detected