Chat extensions

MessageThread

Slack-style threaded conversation with nested replies, inline composer, and a left gutter line. Press R on a focused message to open the composer.

Sourcesrc/components/ai/message-thread.tsx

With replies

Root message plus two levels of nested replies. Hover a message to reveal Reply.

AlexApr 14
Ready to ship the streaming fix — any concerns before I merge?
ClaudeApr 14· reply
Looks good. One nit: the token buffer flush should happen before the final onFinish callback, otherwise the last delta can drop on fast disconnects.
SamApr 14· reply
Good catch — I saw that once in the logs but couldn’t repro.
JordanApr 14· reply
+1 from me. LGTM.

Read-only

Omit onReply to disable the reply affordance entirely.

AlexApr 14
Ready to ship the streaming fix — any concerns before I merge?
ClaudeApr 14· reply
Looks good. One nit: the token buffer flush should happen before the final onFinish callback, otherwise the last delta can drop on fast disconnects.
SamApr 14· reply
Good catch — I saw that once in the logs but couldn’t repro.
JordanApr 14· reply
+1 from me. LGTM.

Flat replies (maxDepth=1)

All replies render at depth 1 regardless of parentId — good for comment-thread style surfaces.

AlexApr 14
Ready to ship the streaming fix — any concerns before I merge?
ClaudeApr 14· reply
Looks good. One nit: the token buffer flush should happen before the final onFinish callback, otherwise the last delta can drop on fast disconnects.
JordanApr 14· reply
+1 from me. LGTM.