@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
24 lines • 1.53 kB
TypeScript
declare const messages: {
readonly MCP_MRTR_ROUND_LIMIT: "Request stopped after 8 input rounds; start a new request to continue.";
readonly MCP_MRTR_INPUT_LIMIT: "Server input exceeds the client's supported limits.";
readonly MCP_MRTR_INVALID_INPUT: "Server returned an invalid input request or form schema.";
readonly MCP_MRTR_UNSUPPORTED_INPUT: "Server requested an undeclared client feature.";
readonly MCP_MRTR_PROCESSING_UNAVAILABLE: "Elicitation processing unavailable.";
readonly MCP_MRTR_INVALID_RESULT: "Server returned an unsupported or invalid result type/shape.";
readonly MCP_MRTR_CONTEXT_CHANGED: "Request stopped because its session or server authorization changed.";
readonly MCP_MRTR_CANCELLED: "Request was canceled before completion.";
readonly MCP_MRTR_TIMEOUT: "Request exceeded its operation deadline.";
readonly MCP_MRTR_TRANSPORT_FAILED: "Request could not complete; it was not automatically replayed.";
readonly MCP_TASK_TIMEOUT: "Task exceeded SENPI_MCP_TASK_TIMEOUT_MS; cancellation was requested.";
readonly MCP_TASK_FAILED: "Task failed with a JSON-RPC error.";
readonly MCP_TASK_CANCELLED: "Task was cancelled by the server.";
};
export declare class McpMrtrError extends Error {
readonly source = "local";
readonly retriable = false;
readonly code: keyof typeof messages;
readonly remoteCode?: number;
constructor(code: keyof typeof messages, remoteCode?: number, taskId?: string);
}
export {};
//# sourceMappingURL=errors.d.ts.map