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

21 lines (20 loc) • 780 B
import type { TaskManager } from "../taskManager.js"; import type { Tool } from "../../types/index.js"; /** * Create task management tools bound to a TaskManager instance. * * These tools follow the same factory pattern as `createFileTools()` in * `src/lib/files/fileTools.ts`. The `manager` is captured via closure, * eliminating the need for module-level singleton state. * * @param manager - The TaskManager instance to bind to * @returns Record of tool name to tool definition * * @example * ```typescript * const manager = new TaskManager(neurolink, config); * const tools = createTaskTools(manager); * // tools.createTask, tools.listTasks, tools.getTaskRuns, etc. * ``` */ export declare function createTaskTools(manager: TaskManager): Record<string, Tool>;