UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

25 lines (24 loc) • 1.11 kB
/** * Claude Code client configurator. * * Moved verbatim out of `proxy.ts`, with one behaviour change: `detect()` is * new. This was the only writer that created its config file for a CLI that * may never have been installed. */ import type { CliProxyClientConfigurator } from "../../types/index.js"; /** * Resolved per call rather than at module load so `detect()` and `apply()` * agree when HOME changes — under test, and on the `--dev` isolation path. */ declare function getClaudeSettingsDir(): string; declare function getClaudeSettingsPath(): string; export declare function setClaudeProxySettings(baseUrl: string): Promise<void>; export declare function clearClaudeProxySettings(expectedBaseUrl?: string): Promise<boolean>; export declare const claudeCodeConfigurator: CliProxyClientConfigurator; export declare const __claudeCodeTestHooks: { getClaudeSettingsDir: typeof getClaudeSettingsDir; getClaudeSettingsPath: typeof getClaudeSettingsPath; setClaudeProxySettings: typeof setClaudeProxySettings; clearClaudeProxySettings: typeof clearClaudeProxySettings; }; export {};