/** * Tool adapter for the seven additive `terminal.*` operations. * * Existing shell and job tools are untouched. Every handler requires an owning * conversation id, projects a concise ANSI-free `output` for providers and * transcripts, and returns the structured result under `interactiveSession`. */ import { InteractiveSessionManager } from "../interactive-session/manager.js"; import type { ToolHandler } from "./tool-types.js"; export declare const INTERACTIVE_SESSION_TOOL_NAMES: readonly ["terminal.start", "terminal.send", "terminal.read", "terminal.status", "terminal.list", "terminal.resize", "terminal.close"]; export declare function createInteractiveSessionHandlers(manager?: InteractiveSessionManager): Record<(typeof INTERACTIVE_SESSION_TOOL_NAMES)[number], ToolHandler>;