( executionId: string, outcome: ResumeFallbackOutcome, )
| 734 | resumeUnavailableResult({ status: "execution_already_settled", executionId }); |
| 735 | |
| 736 | const fallbackOutcomeResult = ( |
| 737 | executionId: string, |
| 738 | outcome: ResumeFallbackOutcome, |
| 739 | ): McpToolResult => { |
| 740 | if (outcome.status === "result") return outcome.result; |
| 741 | return resumeUnavailableResult({ |
| 742 | status: outcome.status, |
| 743 | executionId, |
| 744 | ttlMs: "ttlMs" in outcome ? outcome.ttlMs : undefined, |
| 745 | }); |
| 746 | }; |
| 747 | |
| 748 | // The `skills` tool serves named, static how-to docs (see the execution |
| 749 | // package's skills registry). No name -> the index; a known name -> that |
no test coverage detected