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

22 lines • 780 B
/** * CLI → SkillsConfig mapping, following the toolRoutingFlags / * classifierRouterFlags pattern. * * `--skills-dir <path>` (or NEUROLINK_SKILLS_DIR) enables skills with a * filesystem store for generate / stream / batch / loop runs. Returns null * when neither is provided so the SDK stays skills-free by default. */ export function buildSkillsConfigFromCli(options) { const dir = (typeof options.skillsDir === "string" && options.skillsDir.trim()) || (typeof process.env.NEUROLINK_SKILLS_DIR === "string" && process.env.NEUROLINK_SKILLS_DIR.trim()) || ""; if (!dir) { return null; } return { enabled: true, storage: { type: "filesystem", path: dir }, }; } //# sourceMappingURL=skillsFlags.js.map