/** * live-session.ts — Full live session TUI orchestrator. * * Opens an overlay showing a running agent's conversation in real-time, * with a status bar, streaming conversation view, tool call visualization, * and an input harness for injecting messages. * * Uses ctx.ui.custom() for rendering — the same pattern as ConversationViewer. */ import type { AgentSession, ExtensionCommandContext } from "@mariozechner/pi-coding-agent"; import type { AgentRecord } from "../types.js"; import type { AgentActivity } from "./agent-widget.js"; /** * Open the live session TUI overlay for watching and interacting with a running agent. * * The overlay shows: * 1. Status bar (agent name, elapsed time, tool/turn counts) * 2. Streaming conversation pane (scrollable, auto-follow) * 3. Tool call boxes (inline, active/completed) * 4. Input harness (type messages to inject into the session) * * @param ctx Extension command context from pi-coding-agent * @param session The agent session to observe * @param record Agent record with metadata * @param activity Optional activity tracker for live stats */ export declare function showLiveSession(ctx: ExtensionCommandContext, session: AgentSession, record: AgentRecord, _activity: AgentActivity | undefined): Promise;