(...prompts: Array<string | undefined>)
| 784 | } |
| 785 | |
| 786 | function mergeSystemPrompts(...prompts: Array<string | undefined>): string | undefined { |
| 787 | const merged = prompts.filter((prompt): prompt is string => typeof prompt === "string" && prompt.trim().length > 0).join("\n\n") |
| 788 | return merged.length > 0 ? merged : undefined |
| 789 | } |
| 790 | |
| 791 | async function runHeadlessHyperPlanTurn({ |
| 792 | server, |
no outgoing calls
no test coverage detected