/** * How codex's thread items present themselves on a display line. * * A tool row wants four neutral facts beside the tool's name: what kind of * thing the item does (`action`), the one line codex's own TUI leads with * (`summary`), the member of the item that has a notation of its own * (`invocation`), and the items a read or a patch is about (`items`). The * wording follows the TUI's exec, patch and web-search * cells (`codex-rs/tui/src/exec_cell`, `diff_render.rs`, `history_cell/search.rs`) * so that a card and a terminal describe one call the same way. An item this * module does not label — MCP and dynamic tool calls included — gets `null` * for summary and invocation and shows as its name. */ import type { RuntimeToolAction } from '@excitedjs/dreamux-types'; import type { ThreadItem } from './types.js'; export interface ToolDisplay { readonly action: RuntimeToolAction | null; readonly summary: string | null; readonly invocation: string | null; readonly items: readonly string[]; } export declare function toolDisplay(item: ThreadItem): ToolDisplay; //# sourceMappingURL=tool-display.d.ts.map