MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / jsonResponse

Function jsonResponse

services/cloud-agent-next/wrapper/src/server.ts:151–156  ·  view source on GitHub ↗
(data: unknown, status = 200)

Source from the content-addressed store, hash-verified

149 rows?: number;
150 };
151};
152
153// ---------------------------------------------------------------------------
154// Helper Functions
155// ---------------------------------------------------------------------------
156
157const PTY_ID_RE = /^[a-zA-Z0-9_-]+$/;
158const MIN_PTY_COLS = 2;
159const MAX_PTY_COLS = 500;

Callers 15

errorResponseFunction · 0.70
createHealthHandlerFunction · 0.70
createStatusHandlerFunction · 0.70
createPromptHandlerFunction · 0.70
createCommandHandlerFunction · 0.70
createAbortHandlerFunction · 0.70
createPtyCreateHandlerFunction · 0.70
createPtyResizeHandlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected