import { Command } from "commander"; /** * Create the `skaile run` command. * * Accepts a flow ID or a free-text prompt as positional arguments. When the * first positional arg matches a known flow ID (discovered from `ai-assets/`), * the flow is executed via {@link runFlow}. Otherwise all positional args are * joined and forwarded as a one-shot agent prompt via {@link runAgentChat}. * Supports `--dry-run`, `--project-dir`, `--driver`, `--model`, `--provider`, * `--label`, and `--skill` options. When called with no arguments an * interactive selection prompt is shown. * * @returns Configured {@link Command} ready for `program.addCommand()`. * @docLink cli/commands/run#make-run-command */ export declare function makeRunCommand(): Command; /** * Create the `skaile resume` command. * * Resumes the current or a specified session in `--project-dir`. Loads the * session pointer from `.skaile/session.json` (or a specific run-id via * `--session`) and delegates to {@link resumeFlow}. Supports `--dry-run` to * print the remaining plan without re-executing any agent steps. * * @returns Configured {@link Command} ready for `program.addCommand()`. * @docLink cli/commands/run#make-resume-command */ export declare function makeResumeCommand(): Command; /** * Create the `skaile status` command. * * Reads the current session from `.skaile/session.json` in `--project-dir` and * prints a formatted summary: flow ID, run-id prefix, label, status (coloured), * driver/model, and age. Exits cleanly with an info message when no session * is active. * * @returns Configured {@link Command} ready for `program.addCommand()`. * @docLink cli/commands/run#make-status-command */ export declare function makeStatusCommand(): Command; /** * Create the `skaile clear` command. * * Removes the current session pointer from `.skaile/session.json` in * `--project-dir` via {@link clearSession}. Does not delete the underlying * session file — use `skaile session delete` for that. * * @returns Configured {@link Command} ready for `program.addCommand()`. * @docLink cli/commands/run#make-clear-command */ export declare function makeClearCommand(): Command; /** * Create the `skaile repl` command. * * Starts an interactive REPL session via `@skaile/workspaces/tui`. * * Workspace resolution: * 1. Walk upward from CWD (or --project-dir) looking for skaile.yaml * 2. If found → that directory becomes the projectDir (config root); * the user's CWD is forwarded as the agent working directory * 3. If not found → prompt the user to create a temporary workspace * in /tmp; auto-detect backend (claude-sdk if ~/.claude exists, else omp) * * @returns Configured {@link Command} ready for `program.addCommand()`. * @docLink cli/commands/repl#make-repl-command */ export declare function makeReplCommand(): Command; //# sourceMappingURL=run.d.ts.map