Composer lost focus — hosts persist drafts on this.
Whether a voice session can be started right now (mic disabled when false).
OptionalcurrentMaster switch for all mention/command triggers (pass-through to the mention editor).
Shows the in-composer Plan Mode toggle button when true.
Shows the in-composer mic button when true.
Discovery-mode filter: provider Keys to skip (pass-through to the mention editor).
OptionalmentionCurrent Plan Mode toggle state (renders the button in its active state).
Emitted when the user clicks the in-composer Plan Mode toggle button.
Optional metadata provider scoping this composer (pass-through to the mention editor).
Explicit trigger-provider list (pass-through to the mention editor; explicit list wins over discovery).
Whether a realtime voice session is currently active (mic renders in its active state).
Emitted when the user clicks the small caret next to the phone button — the host opens the voice agent/model picker so call options (which agent, which voice model) stay reachable without adding friction to the plain phone click's instant-start path.
Emitted when the user clicks the mic button to start/stop a voice session.
Add an artifact as a pending attachment (called by parent after artifact selection)
Focus with the caret at the end of content (see MentionEditorComponent.FocusCaretAtEnd).
Get pending attachments from the editor
Inserts a resolved mention chip + space and focuses (see MentionEditorComponent.InsertMention).
Handle attachment click from MentionEditorComponent
Handle attachment errors from MentionEditorComponent
Handle attachment changes from MentionEditorComponent
Handle clicks on the container - focus the mention editor Only moves cursor to end if clicking outside the contentEditable area
Handle Enter key from MentionEditorComponent Extracts plain text with JSON-encoded mentions for message submission
Handle mention selection from MentionEditorComponent
Send the message Extracts plain text with JSON-encoded mentions for proper persistence
Handle value changes from MentionEditorComponent
Open file picker programmatically
Reusable message input box component (presentational) Now uses MentionEditorComponent for rich
Mention
functionality with chips
Handles:
Mention
autocomplete with visual chips (contentEditable)
Does NOT handle: