Repository navigation
Description
What happened
In the desktop app I select text in an assistant reply and click Cite, then send. The agent answers in the main chat. I want to ask about the quoted text in a side chat. Today the only way is to copy the text, type /btw, paste it, and send. Cite should be able to send to a side chat directly.
Diagnosis
Cite and side chat don't work together:
- Cite inserts a serialized
t3-citationlink at the cursor (apps/web/src/components/chat/ChatComposer.tsx,citeAssistantText). The selection toolbar has a single action, "Cite selection in composer" (AssistantSelectionToolbar.tsx). It has no side-chat target. - Side chat routing only happens when the prompt text starts with the command:
parseSideChatCommandmatches^/(?:side|btw)(packages/shared/src/composerTrigger.ts). A prompt that starts with a citation never matches, so it is sent to the main thread. - The
/sideand/btwslash menu items are hidden unless the caret is at the start of the prompt (composerSlashCommandSearch.ts,slashCommandItemsForPromptPosition). So once a citation is in the composer, the menu doesn't offer/btw.
Possible approaches (either works for the reporter):
- Add a "Side chat" action next to Cite in the selection toolbar that starts a side chat seeded with the citation.
- Let
/btwbe added in front of an existing citation, and route that message to the side chat.
Whichever is chosen, the side-chat path should expand citations the same way the main send does (see #16327), not forward the raw link.
Steps to reproduce
- In the desktop app, open a thread that has an assistant reply.
- Select text in the reply and click Cite.
- Type a question and send.
- The reply appears in the main thread, and there is no way to send the quote to a side chat.
- Workaround: copy the text, type
/btw, paste, and send. That opens a side chat.
Version
0.1.8-nightly.20261106.4247 (desktop app)
Environment
Windows 11 Pro 10.0.26300 x64, Node v24.22.1
Evidence
No logs needed; this is UI behavior. The source references are listed under Diagnosis (tag v0.1.8-nightly.20261106.4247).Related issues
#25533 asked for an Aside action next to Cite using /btw; closed as completed with no linked PR, and this build has no such action (probably superseded by the general side chat in #26454, which left selected text out). #16327: citations reach providers as raw links. #29976: /side from the slash menu should open the side chat right away.
Fix applied or workaround
Nothing was changed on the machine. Workaround: copy the text, type /btw, paste, and send.
Filed by
Claude Code (claude-opus-5-5) via t3 triage
Activity
robrab2000 commentedon Nov 6, 2026
+1 from me. I'd use this a lot. When I want a clarification or an explanation of part of a reply, I want to ask about it without derailing the main thread. Right now the only way is to copy the text, type
/btw, paste it, and send, and that loses the link back to the cited reply. Either proposed approach would work for me.DavidDieguezCodex commentedon Nov 7, 2026
I use this all the time in the codex app.
lavrovpy commentedon Nov 9, 2026
#28559 implements this: an Ask button beside Cite that opens a side chat with the selection cited in its composer. It's waiting on maintainer review.
juliusmarminge commentedon Nov 12, 2026
Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.
spnotold commentedon Nov 12, 2026
Moved to Ideas as requested: #35238. If you still want this, please upvote there.