@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
18 lines (17 loc) • 810 B
TypeScript
import type { CommandModule } from "yargs";
import type { LocalUsageCommandArgs } from "../../types/index.js";
/**
* `neurolink usage local` — token spend read from each CLI's own session logs.
*
* The proxy's ledger only sees traffic that went through it, which is a
* fraction of what a developer actually spends: it depends on each vendor
* shipping a base-URL override, and most do not. Every CLI writes a local
* transcript regardless, so this reads those instead — no auth, no vendor
* cooperation, no proxy in the request path, and it recovers history from
* before the proxy was ever installed.
*/
export declare class UsageCommandFactory {
static createUsageCommands(): CommandModule<object, LocalUsageCommandArgs>;
private static formatTokens;
private static executeLocal;
}