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

Function errorResponse

services/cloud-agent-next/wrapper/src/server.ts:158–160  ·  view source on GitHub ↗
(error: string, message: string, status: number)

Source from the content-addressed store, hash-verified

156
157const PTY_ID_RE = /^[a-zA-Z0-9_-]+$/;
158const MIN_PTY_COLS = 2;
159const MAX_PTY_COLS = 500;
160const MIN_PTY_ROWS = 2;
161const MAX_PTY_ROWS = 200;
162const WORKSPACE_TERMINAL_ENV = {
163 // Shell startup files may replace inherited PS1, so reapply it before each prompt.

Callers 15

applyCommitAttributionFunction · 0.70
bindSessionContextFunction · 0.70
createPromptHandlerFunction · 0.70
createCommandHandlerFunction · 0.70
createAbortHandlerFunction · 0.70
createPtyCreateHandlerFunction · 0.70
createPtyResizeHandlerFunction · 0.70
createPtyDeleteHandlerFunction · 0.70

Calls 1

jsonResponseFunction · 0.70

Tested by

no test coverage detected