( executionId: string, outcome: ResumeFallbackOutcome, )
| 779 | resumeUnavailableResult({ status: "execution_already_settled", executionId }); |
| 780 | |
| 781 | const fallbackOutcomeResult = ( |
| 782 | executionId: string, |
| 783 | outcome: ResumeFallbackOutcome, |
| 784 | ): McpToolResult => { |
| 785 | if (outcome.status === "result") return outcome.result; |
| 786 | return resumeUnavailableResult({ |
| 787 | status: outcome.status, |
| 788 | executionId, |
| 789 | ttlMs: "ttlMs" in outcome ? outcome.ttlMs : undefined, |
| 790 | }); |
| 791 | }; |
| 792 | |
| 793 | // The `skills` tool serves named, static how-to docs (see the execution |
| 794 | // package's skills registry). No name -> the index; a known name -> that |
no test coverage detected