(result: ExecuteResult)
| 70 | * error message itself. |
| 71 | */ |
| 72 | const annotateExecuteOutcome = (result: ExecuteResult) => |
| 73 | Effect.annotateCurrentSpan( |
| 74 | result.error |
| 75 | ? { "mcp.execute.outcome": "fail", "mcp.execute.error_kind": result.errorKind ?? "unknown" } |
| 76 | : { "mcp.execute.outcome": "ok" }, |
| 77 | ); |
| 78 | |
| 79 | const annotateExecutionOutcome = (execution: ExecutionResult) => |
| 80 | execution.status === "paused" |
no outgoing calls
no test coverage detected