/** * Idle State Pattern Definitions * * Patterns for detecting when an agent has returned * to an idle state (shell prompt, Claude exited, etc.). * * @module services/continuation/patterns/idle-patterns */ /** * Patterns indicating shell prompt is visible (agent returned to shell). * * IMPORTANT: These patterns run against `tmux capture-pane` output to verify * that an agent CLI has actually exited back to the shell. They must be * specific enough to avoid false positives from normal CLI output (e.g., * markdown `>` blockquotes, `$variable` references, `100%` progress bars). * * Each pattern requires a prompt-like prefix (username, path, or start-of-line) * to distinguish real shell prompts from incidental occurrences in output text. */ export declare const SHELL_PROMPT_PATTERNS: RegExp[]; /** * Patterns indicating Claude Code has exited or is idle */ export declare const CLAUDE_IDLE_PATTERNS: RegExp[]; /** * Patterns indicating a process has completed */ export declare const PROCESS_COMPLETE_PATTERNS: RegExp[]; /** * All idle pattern categories */ export declare const IDLE_PATTERNS: { readonly shellPrompt: RegExp[]; readonly claudeIdle: RegExp[]; readonly processComplete: RegExp[]; }; //# sourceMappingURL=idle-patterns.d.ts.map