unbound-claude-code
Version:
Claude Code with Unbound integration - Drop-in replacement for Claude Code with multi-provider routing and cost optimization
19 lines • 703 B
TypeScript
/**
* Unbound Code Interceptor
*
* Intercepts and logs requests. Used for debugging.
* Uses environment variables to redirect Claude to Unbound gateway.
*/
import { UnboundConfig } from "./types";
export declare class UnboundInterceptor {
private config;
constructor(config?: UnboundConfig);
setApiKey(apiKey: string): void;
private logRequest;
instrumentFetch(): void;
instrumentAll(): void;
}
export declare function initializeUnboundInterceptor(config?: UnboundConfig): UnboundInterceptor;
export declare function getUnboundInterceptor(): UnboundInterceptor | null;
export declare function setUnboundApiKey(apiKey: string): void;
//# sourceMappingURL=interceptor.d.ts.map