@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 851 B
TypeScript
/** RFC 9110 field values, preserving whitespace and literal sentinel strings. */
export declare function encodeMcpHeaderValue(value: string): string;
/** Configured headers must never supply parameter metadata absent from the request body. */
export declare function clearMcpParameterHeaders(headers: Headers): void;
/** A local argument error, not a failed transport or an untrusted server diagnostic. */
export declare class ParameterHeaderValidationError extends Error {
}
/** Connection-local catalog: never shared with another server or transport generation. */
export declare class ModernParameterHeaders {
#private;
filterTools(tools: readonly unknown[], firstPage: boolean, warn: (message: string) => void): unknown[];
append(headers: Headers, name: unknown, args: unknown): void;
}
//# sourceMappingURL=parameter-headers.d.ts.map