/** * Plain words for a shell command. * * A command row reads as what the command did ("Downloaded report.json", * "Read notes.md", "Ran make_chart.py") instead of the command itself. The * command stays one click away in the row's body. This is a best-effort, * display-only reading of the command text: anything it can't place falls back * to "Ran a command", and nothing here runs or changes the command. */ import type { OpenGeniText } from "../messages/runtime.js"; import { type ToolStepPhase } from "./tool-steps.js"; type NamedStep = "read" | "write" | "edit" | "list" | "download" | "runScript" | "install" | "createFolder" | "createFile" | "copy" | "move" | "delete" | "unpack" | "pack" | "convert"; type FixedStep = "readFile" | "writeFile" | "browseFiles" | "searchFiles" | "runTests" | "installPackages" | "createFolderUnnamed" | "createFileUnnamed" | "copyFiles" | "moveFiles" | "deleteFiles" | "unpackFiles" | "packFiles" | "convertFile" | "checkChanges" | "saveChanges" | "uploadChanges" | "getChanges" | "queryDatabase" | "useGitHub" | "runDownloadedCode" | "reinstallPackages"; /** * Every step id a title is built from (`timeline.commandStep..`), * so the message catalog can check each one still has a use. */ export declare const COMMAND_STEP_IDS: ReadonlyArray; /** * What a shell command did, in plain words and in the given phase ("Downloading * report.json" while it runs, "Downloaded report.json" once done), or null when * the command can't be placed; callers then say "Ran a command". */ export declare function commandStepTitle(t: OpenGeniText, command: string, phase: ToolStepPhase): string | null; export {};