@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
26 lines (25 loc) • 1.39 kB
TypeScript
/**
* Proxy file path resolver.
*
* In normal mode, all paths resolve under ~/.neurolink/.
* In dev mode (--dev), writable paths resolve under <cwd>/.neurolink-dev/
* so a local dev proxy never touches the global proxy's state.
*
* Read-only paths (like .env) always point to the global location
* since credentials must be shared.
*
* NOTE: Claude Code header snapshots (~/.neurolink/header-snapshots/) are
* not redirected in dev mode. They are only written when a real Claude Code
* client connects, which typically does not happen during dev testing.
*/
import type { ProxyPaths } from "../types/index.js";
export declare function resolveProxyPaths(dev: boolean): ProxyPaths;
export declare function resolveProxyUsageStatsPath(paths: ProxyPaths): string;
export declare function resolveProxyGrantsPath(paths: ProxyPaths): string;
export declare function resolveProxyLedgerPath(paths: ProxyPaths): string;
export declare function resolveProxyPeersPath(paths: ProxyPaths): string;
export declare function resolveProxyResidentGrantsPath(paths: ProxyPaths): string;
export declare function resolveProxyShareAuditPath(paths: ProxyPaths): string;
export declare function resolveProxyProvisioningPath(paths: ProxyPaths): string;
export declare function resolveProxyReceiptsPath(paths: ProxyPaths): string;
export declare function resolveProxyNotesPath(paths: ProxyPaths): string;