MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isMcpSessionMetaUnavailable

Function isMcpSessionMetaUnavailable

apps/cloud/src/mcp/session-meta.ts:75–77  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

73 * the organization directory"? Matches on the message because that is what
74 * survives the Durable Object RPC boundary. */
75export const isMcpSessionMetaUnavailable = (error: unknown): boolean =>
76 // oxlint-disable-next-line executor/no-unknown-error-message -- adapter boundary: a Durable Object rejection reaches the worker as a plain Error whose message IS the signal (same mechanism as the "destroyed" abort)
77 Predicate.isError(error) && error.message.includes(MCP_SESSION_META_UNAVAILABLE);
78
79/**
80 * Retries for the database path. Deliberately small: the point is to ride out a

Callers 2

makeCloudMcpAgentHandlerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected