(result: unknown)
| 462 | } |
| 463 | |
| 464 | function extractReportMarkdown(result: unknown): string { |
| 465 | if (typeof result === "object" && result != null && "reportMarkdown" in result) { |
| 466 | const reportMarkdown = (result as { reportMarkdown?: unknown }).reportMarkdown; |
| 467 | return typeof reportMarkdown === "string" ? reportMarkdown : ""; |
| 468 | } |
| 469 | return ""; |
| 470 | } |
| 471 | |
| 472 | function configureLogging(options: Pick<WorkflowCLIOptions, "logLevel" | "verbose">): void { |
| 473 | if (options.logLevel == null) { |