( executionId: string, outcome: ResumeFallbackOutcome, )
| 766 | resumeUnavailableResult({ status: "execution_already_settled", executionId }); |
| 767 | |
| 768 | const fallbackOutcomeResult = ( |
| 769 | executionId: string, |
| 770 | outcome: ResumeFallbackOutcome, |
| 771 | ): McpToolResult => { |
| 772 | if (outcome.status === "result") return outcome.result; |
| 773 | return resumeUnavailableResult({ |
| 774 | status: outcome.status, |
| 775 | executionId, |
| 776 | ttlMs: "ttlMs" in outcome ? outcome.ttlMs : undefined, |
| 777 | }); |
| 778 | }; |
| 779 | |
| 780 | // The `skills` tool serves named, static how-to docs (see the execution |
| 781 | // package's skills registry). No name -> the index; a known name -> that |
no test coverage detected