/** * Waiting Signal Pattern Definitions * * Patterns for detecting when an agent is waiting * for input, approval, or other agents. * * @module services/continuation/patterns/waiting-patterns */ /** * Patterns indicating agent is waiting for input */ export declare const INPUT_WAITING_PATTERNS: RegExp[]; /** * Patterns indicating agent is waiting for approval */ export declare const APPROVAL_WAITING_PATTERNS: RegExp[]; /** * Patterns indicating agent is waiting for another agent */ export declare const OTHER_AGENT_WAITING_PATTERNS: RegExp[]; /** * Patterns indicating agent is asking a question */ export declare const QUESTION_PATTERNS: RegExp[]; /** * Patterns indicating agent is stuck in plan mode * (Claude Code's interactive approval prompt that cannot be resolved via PTY input) * * Used (as PLAN_MODE_DISMISS_PATTERNS) to decide whether to send ESC before a * message is delivered. Every pattern must be specific to the plan-approval * menu: `shift+tab to cycle` was removed (#815) because it is in the footer of * EVERY idle Claude Code screen ("auto mode on (shift+tab to cycle)"), so ESC * was being sent to idle agents. Pinned by the captured-screen fixtures in * services/monitoring/agent-attention.test.ts. */ export declare const PLAN_MODE_PATTERNS: RegExp[]; /** * All waiting pattern categories */ export declare const WAITING_PATTERNS: { readonly input: RegExp[]; readonly approval: RegExp[]; readonly otherAgent: RegExp[]; readonly question: RegExp[]; readonly planMode: RegExp[]; }; //# sourceMappingURL=waiting-patterns.d.ts.map