@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
24 lines (23 loc) • 1.06 kB
TypeScript
/**
* Codex (ChatGPT) client configurator.
*
* Moved verbatim out of `proxy.ts`. Codex is the writer the other two should
* have copied: it probes for an installed CLI and reports whether it wrote.
*/
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 getCodexConfigPath(): string;
declare function getCodexSnapshotPath(): string;
export declare function setCodexProxySettings(baseUrl: string): Promise<boolean>;
export declare function clearCodexProxySettings(expectedBaseUrl?: string): Promise<boolean>;
export declare const codexConfigurator: CliProxyClientConfigurator;
export declare const __codexClientTestHooks: {
getCodexConfigPath: typeof getCodexConfigPath;
getCodexSnapshotPath: typeof getCodexSnapshotPath;
setCodexProxySettings: typeof setCodexProxySettings;
clearCodexProxySettings: typeof clearCodexProxySettings;
};
export {};