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

15 lines (14 loc) • 1.03 kB
import type { ProxyRestartControlIdentity, ProxyRestartControlOptions, ProxyRestartResult, ProxySupervisorTelemetry } from "../types/index.js"; /** * Own restart completion in the supervisor, so a disconnected CLI cannot leave * admission closed. The control socket is private to the service's OS user. * No update history, launcher, environment file or launchd unit is rewritten. */ export declare function startProxyRestartControl(options: ProxyRestartControlOptions): Promise<{ identity: ProxyRestartControlIdentity; close: () => Promise<void>; }>; /** Query the private supervisor endpoint with a short, bounded read; never restart. */ export declare function requestProxySupervisorTelemetry(identity: ProxyRestartControlIdentity | undefined, expectedPid: number): Promise<ProxySupervisorTelemetry>; /** Perform one local control operation; never fall back to killing a process. */ export declare function requestProxyRestart(identity: ProxyRestartControlIdentity, check: boolean): Promise<ProxyRestartResult>;