Repository navigation
feat: @mention autocomplete everywhere: web/PWA, TUI, CLI, MCP (0.16.0, qc 0.11.0) - #339
Merged
Merged
Conversation
…0, qc 0.11.0) Anthony: "qc tui needs an @ and optional partial-name[tab] to autocomplete like both x.com and irc do" ... "add that to all surfaces pwa/desktop/cli/mcp". - src/lib/chat/mentions.js: one shared module. mentionAt (the @word at the cursor, never a@b.com), matchMentions (username prefix, display-name word, substring), completeMention (Tab, Tab again cycles, Shift+Tab back), expandMentions (unique @partial -> @username for non-interactive sends). - Web composer (PWA and the installed desktop app): x.com-style list above the composer as you type @..., arrows move, Tab/Enter pick, Tab again cycles, Esc closes, tap picks on phones. EmojiEditor gains onKeyDown/onCaret/ref.replace. - qc TUI: Tab/Shift+Tab complete inside an @name (otherwise Tab still switches panes); the line above the composer lists the matches. - qc send expands a unique @partial and warns on ambiguous ones; new qc mentions <chat> [@partial]. - MCP: send_message expands @partials (reports mentions/ambiguous); new list_mentions tool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan17 finding(s) MEDIUM: 13 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Anthony: "qc tui needs an @ and optional partial-name[tab] to autocomplete like
both x.com and irc do" ... "add that to all surfaces pwa/desktop/cli/mcp".
cursor, never a@b.com), matchMentions (username prefix, display-name word,
substring), completeMention (Tab, Tab again cycles, Shift+Tab back),
expandMentions (unique @partial -> @username for non-interactive sends).
composer as you type @..., arrows move, Tab/Enter pick, Tab again cycles, Esc
closes, tap picks on phones. EmojiEditor gains onKeyDown/onCaret/ref.replace.
panes); the line above the composer lists the matches.
qc mentions [@partial].
list_mentions tool.
Tests: 131 files / 865 tests green locally (new: src/lib/chat/mentions.test.js, tests/components/MentionComplete.test.jsx, TUI + MCP cases).
next buildandbuild-qcpass.🤖 Generated with Claude Code