@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
22 lines (21 loc) • 1.33 kB
TypeScript
import type { CliProxyClientApplyOptions, CliProxyClientApplyResult, CliProxyClientConfigurator, CliProxyClientRestoreResult } from "../../types/index.js";
/**
* Every CLI the proxy auto-configures, in apply order.
*
* Order is behaviour: it is the order messages appear during `proxy start`.
* Restore runs in the same order.
*/
export declare const PROXY_CLIENT_CONFIGURATORS: readonly CliProxyClientConfigurator[];
/**
* Point every detected client at the proxy.
*
* One client failing must never stop the others, so each is wrapped
* independently and its error is returned rather than thrown. Callers decide
* how loudly to report — the daemon-start path logs failures at debug level
* while the setup wizard prints a visible warning.
*/
export declare function applyAllClients(proxyBaseUrl: string, options?: CliProxyClientApplyOptions): Promise<CliProxyClientApplyResult[]>;
/** Service replacements own the server process, not the user's client routing. */
export declare function applyClientsOnProxyStart(proxyBaseUrl: string, options: CliProxyClientApplyOptions, managedByLaunchd: boolean): Promise<CliProxyClientApplyResult[]>;
/** Restore every client's previous configuration. See applyAllClients. */
export declare function restoreAllClients(proxyBaseUrl: string): Promise<CliProxyClientRestoreResult[]>;