/** * Per-tool detail + inline-summary formatters for gg-editor's ~91 tools. * * ggcoder's ToolExecution component renders every tool as `Label * (detail) — inline_summary` once done. The default behaviour does * snake_case → Title Case for the label and shows nothing for detail / inline * unless an explicit case exists in `getToolHeaderParts` / `getInlineSummary`. * * This file plugs gg-editor specifics into that surface via the * `ToolExecutionFormatters` API. Everything we add here is OPT-IN — returning * undefined keeps ggcoder's built-in defaults. * * Convention for `formatDetail`: * - Show the most identifying argument the model picked (file path, clip id, * candidate count, target aspect, etc.) — at most ~50 chars. * - Skip generic args (model name, detail level) unless they're the only * thing the user cares about for that tool. * * Convention for `formatInline`: * - Tools that return one-shot status (e.g. `"ok"`, `"ok:"`) get a * concise summary derived from the JSON result. * - Tools that return structured JSON we know about (compact()-shaped * objects from `core/format.ts`) get key fields surfaced. */ import type { ToolExecutionFormatters } from "@kenkaiiii/ggcoder/ui"; export declare function formatGgEditorDetail(name: string, args: Record): string | undefined; export declare function formatGgEditorInline(name: string, result: string, isError: boolean): string | undefined; /** Bundled formatter object passed straight to ToolExecution's `formatters` prop. */ export declare const ggEditorFormatters: ToolExecutionFormatters; //# sourceMappingURL=tool-formatters.d.ts.map