/** * interrupt Command - Stop the turn an agent is currently generating * Issue #2101: [DR1-08] Factory pattern * * The CLI face of `POST /api/worktrees/:id/interrupt`, which the browser UI has * had since Issue #46 and which Issue #2034 taught to abort an opencode turn * through the agent's own server (`POST /session/:id/abort`) before falling back * to the measured Escape-Escape keystroke pair. Nothing in the subcommand list * reached it: `stop` stops the CommandMate *server*, and an orchestration that * wanted to cut a runaway turn short had to either curl the endpoint or attach * to tmux. * * A thin client, deliberately. Every decision about WHAT gets interrupted — * which instances are running, which transport applies, whether the abort took — * belongs to the route and to `CLIToolManager`; this file validates its two * inputs, POSTs, and translates the route's one expected refusal into an exit * code a caller can branch on. */ import { Command } from 'commander'; /** * Create the interrupt command. * [DR1-08] Factory pattern for addCommand() registration. */ export declare function createInterruptCommand(): Command; //# sourceMappingURL=interrupt.d.ts.map