(executionId: string)
| 496 | // rebuilt (host restart, redeploy). Either way the recovery is the same and |
| 497 | // the model should be told it, not just handed a miss. |
| 498 | const missingExecutionResult = (executionId: string): McpToolResult => ({ |
| 499 | content: [ |
| 500 | { |
| 501 | type: "text" as const, |
| 502 | text: [ |
| 503 | `No paused execution: ${executionId}.`, |
| 504 | "The paused execution expired or was lost when its session was restarted — paused executions only stay resumable for a few minutes.", |
| 505 | "To recover, run the execute tool again with the original code; if it pauses, a fresh executionId will be issued.", |
| 506 | ].join(" "), |
| 507 | }, |
| 508 | ], |
| 509 | structuredContent: { |
| 510 | status: "execution_not_found", |
| 511 | executionId, |
| 512 | recovery: "re_execute", |
| 513 | }, |
| 514 | isError: true, |
| 515 | }); |
| 516 | |
| 517 | // The `skills` tool serves named, static how-to docs (see the execution |
| 518 | // package's skills registry). No name -> the index; a known name -> that |
no outgoing calls
no test coverage detected