Repository navigation
feat(qc): message anyone new from the TUI, CLI and MCP (0.17.0, qc 0.13.0) - #344
Merged
Merged
Conversation
…13.0) Anthony: "qrypt.chat tui has no way to message a new user." qc could only talk in chats that already existed. Both server routes a new chat needs were cookie-only, so even a hand-rolled call from qc got 401: - /api/users/search and POST /api/chat/conversations now authenticate with authenticateRequest (Bearer or cookie), like the rest of the API. - A new chat is announced (announceJoined): every member's open devices put it in their list at once and join its live room. qc: - TUI: /msg @name [first message] (also /dm, /query, /new) finds the person, opens or reuses your direct chat with them and sends the text. `n` in the chat list types "/msg @" for you; the empty screen says how. - CLI: qc dm <@user> [text] (qc msg is the same; "-" reads stdin). - MCP: start_direct_chat { user, text? }. - QcClient.searchUsers / startDirect; pickUser takes an exact @username, else the only match, else lists who it could be. 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.
qc had no way to start a chat with someone you had never talked to.
Tests: tests/cli (88 pass) incl. pickUser, startDirect over Bearer, /msg parsing, empty-state hint, MCP tool list.
🤖 Generated with Claude Code