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

Function json

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

Source from the content-addressed store, hash-verified

95const approvalRequestPattern = /^\/api\/mcp-sessions\/([^/?#]+)\/executions\/([^/?#]+)\/resume$/;
96
97const json = (value: unknown, status = 200): Response =>
98 new Response(JSON.stringify(value), {
99 status,
100 headers: { "content-type": "application/json" },
101 });
102
103const readResumeResponse = (request: Request): Promise<ResumeResponse | null> =>
104 Effect.runPromise(

Callers 2

createMcpRequestHandlerFunction · 0.70
executor-schema.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected