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

18 lines (17 loc) • 670 B
/** * Filesystem roots for the built-in file tools — types. * * Naming: `pathSandbox.ts` owns `PathSandbox*` and `file.ts` owns `FilePath*`, * so this carries the `FileToolRoot` prefix (Critical Rule 9). */ /** * The directories the built-in file tools (readFile, listDirectory, * writeFile, analyzeCSV) and bash's `cwd` argument may touch for one request. * * `roots` are real, existing directories resolved once when the request * starts. `null` means the historical default: the process working * directory, read at call time. An empty array denies all file access. */ export type FileToolRootPolicy = { readonly roots: readonly string[] | null; };