@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
14 lines (13 loc) • 636 B
JavaScript
/**
* Types for `src/lib/localUsage/` — reading token usage out of each AI CLI's
* own local session logs.
*
* Why this exists alongside the proxy's ledger: the proxy can only account for
* traffic that went through it, which caps coverage at the CLIs that expose a
* base-URL override. Every CLI writes its own local transcript regardless, so
* reading those recovers the rest — and recovers history from before the proxy
* was ever installed. It is also an independent source of truth: a pricing
* defect in the proxy's own accounting cannot hide from a reader that derives
* cost from a different input.
*/
export {};