(event: Record<string, unknown> | undefined, fallback: string)
| 115 | } |
| 116 | |
| 117 | function actionHarnessId(event: Record<string, unknown> | undefined, fallback: string): string { |
| 118 | const execution = eventRecord(event?.execution) |
| 119 | return typeof execution?.harnessId === "string" ? execution.harnessId : fallback |
| 120 | } |
| 121 | |
| 122 | function taskReviewThreadXml(task: OpenADETask): string { |
| 123 | const events = task.events.filter((event) => eventRecord(event)?.type !== "snapshot") |
no test coverage detected