/** * Silent handoff: a transfer between agents should read as one continuous * assistant to the user. The transfer itself is already a silent control tool * call, but the TARGET agent's own instructions may tell it to introduce itself * ("Bill here"), which leaks the switch. On a silent handoff we append a strong * continuation directive to the target's system prompt so it does not greet or * re-introduce — mirroring the OpenAI Agents SDK's `nest_handoff_history` * context-note approach. Off (visible handoff) leaves the target's instructions * untouched. */ import type { Instructions } from '../types/agentConfig.js'; export declare const HANDOFF_CONTINUATION_DIRECTIVE: string; /** * Append the continuation directive to a target agent's instructions on a silent * handoff. Handles every `Instructions` form: a string is suffixed; a (sync) * function is wrapped so the directive is appended to its resolved text; an * `AgentPrompt` object is left untouched (it cannot be safely suffixed, and is * rare as a base layer); `undefined` yields the directive alone. */ export declare function applyHandoffContinuation(base: Instructions | undefined): Instructions;