/** * v0.3.0 — parse `[focus:]` markers PM emits in assistant replies. * * When PM switches its mental "active workflow" from one to another, it * includes a single `[focus:wf-YYYY-MM-DD-slug]` line in its reply. chief-runner * reads the marker out of the assistant text and updates the SessionStore's * activeWorkflowId so the next turn's system prompt prefix reflects it. * * Special token `[focus:none]` clears the active workflow. * * The marker is invisible to the user — it sits on its own line and the * messenger doesn't render it specially. Cosmetically harmless. */ export interface FocusUpdate { /** New active workflow id, or null to clear. */ workflowId: string | null; } /** Find the *last* focus marker in a text (PM's latest decision wins). */ export declare function parseFocusMarker(text: string): FocusUpdate | null; /** Optionally strip focus markers from a reply before forwarding to messenger. */ export declare function stripFocusMarkers(text: string): string;