( executionId: string, outcome: ResumeFallbackOutcome, )
| 905 | resumeUnavailableResult({ status: "execution_already_settled", executionId }); |
| 906 | |
| 907 | const fallbackOutcomeResult = ( |
| 908 | executionId: string, |
| 909 | outcome: ResumeFallbackOutcome, |
| 910 | ): McpToolResult => { |
| 911 | if (outcome.status === "result") return outcome.result; |
| 912 | return resumeUnavailableResult({ |
| 913 | status: outcome.status, |
| 914 | executionId, |
| 915 | ttlMs: "ttlMs" in outcome ? outcome.ttlMs : undefined, |
| 916 | }); |
| 917 | }; |
| 918 | |
| 919 | // The `skills` tool serves named, static how-to docs (see the execution |
| 920 | // package's skills registry). No name -> the index; a known name -> that |
no test coverage detected