( executionId: string, outcome: ResumeFallbackOutcome, )
| 595 | resumeUnavailableResult({ status: "execution_already_settled", executionId }); |
| 596 | |
| 597 | const fallbackOutcomeResult = ( |
| 598 | executionId: string, |
| 599 | outcome: ResumeFallbackOutcome, |
| 600 | ): McpToolResult => { |
| 601 | if (outcome.status === "result") return outcome.result; |
| 602 | return resumeUnavailableResult({ |
| 603 | status: outcome.status, |
| 604 | executionId, |
| 605 | ttlMs: "ttlMs" in outcome ? outcome.ttlMs : undefined, |
| 606 | }); |
| 607 | }; |
| 608 | |
| 609 | // The `skills` tool serves named, static how-to docs (see the execution |
| 610 | // package's skills registry). No name -> the index; a known name -> that |
no test coverage detected