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