histoire
Version:
A fast story book powered by Vite
51 lines • 1.88 kB
TypeScript
export declare const MCP_LIMITS: Readonly<{
/** Maximum encoded ID size. */
idBytes: 2048;
/** Maximum tool JSON payload size. */
responseBytes: number;
/** Maximum structured domain error details. */
errorDetailsBytes: number;
/** Maximum physical content read. */
sourceBytes: number;
/** Default catalog page size. */
pageSize: 50;
/** Maximum catalog page size. */
maxPageSize: 100;
/** Default documentation page in Unicode code points. */
docsCharacters: 8192;
/** Maximum documentation page in Unicode code points. */
maxDocsCharacters: 32768;
/** Default source line page. */
sourceLines: 200;
/** Maximum source line page. */
maxSourceLines: 500;
/** Maximum diagnostic entries per publication. */
diagnostics: 100;
/** Maximum diagnostic message size. */
diagnosticBytes: 4096;
/** Maximum waiting jobs per MCP principal. */
queuedPerPrincipal: 4;
/** Maximum waiting server jobs. */
queuedTotal: 8;
/** Maximum retained terminal operations. */
terminalOperations: 20;
/** Maximum retained request-key tombstones. */
requestKeys: 100;
/** Retention after terminal transition. */
retentionMs: number;
/** Retention of previous catalog for cursors. */
cursorRetentionMs: number;
/** Maximum stored results and artifacts combined. */
storageBytes: number;
/** Maximum full sanitized test result or screenshot. */
artifactBytes: number;
/** Maximum image embedded in tool content. */
inlineImageBytes: number;
/** Preview readiness deadline. */
previewTimeoutMs: 30000;
/** Owned browser shutdown deadline. */
cleanupTimeoutMs: number;
}>;
/** UTF-8 size used for all protocol byte limits. */
export declare function mcpByteLength(value: string): number;
//# sourceMappingURL=limits.d.ts.map