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

Function json

apps/local/src/mcp.ts:87–91  ·  view source on GitHub ↗
(value: unknown, status = 200)

Source from the content-addressed store, hash-verified

85const approvalRequestPattern = /^\/api\/mcp-sessions\/([^/?#]+)\/executions\/([^/?#]+)\/resume$/;
86
87const json = (value: unknown, status = 200): Response =>
88 new Response(JSON.stringify(value), {
89 status,
90 headers: { "content-type": "application/json" },
91 });
92
93const readResumeResponse = (request: Request): Promise<ResumeResponse | null> =>
94 Effect.runPromise(

Callers 2

createMcpRequestHandlerFunction · 0.70
executor-schema.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected