@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) • 750 B
TypeScript
import type { TerminalAgentModeOption, TerminalAgentModeVersion } from "../../types/index.js";
export declare const TERMINAL_AGENT_PROMPT_VERSION: TerminalAgentModeVersion;
export declare const TERMINAL_AGENT_PROMPT_V1: string;
export declare const TERMINAL_AGENT_PROMPT_V2: string;
/**
* Prepends the agent instructions to the caller's system prompt. The caller's
* prompt is kept after them so task-specific guidance still has the last word.
* `true` applies the current version; `{ version }` pins an earlier one.
*/
export declare function resolveTerminalAgentMode(agentMode: TerminalAgentModeOption | undefined, systemPrompt: string | undefined): {
systemPrompt: string | undefined;
version: TerminalAgentModeVersion | undefined;
};