githubnext/chopinPublic

Let's compose rich plans together

Explain why Chat /research cannot open, and keep the draft until it does

Briefs longer than the composer accepts are refused in Chat. The launcher
returns a cause-specific result after the document has laid out, so the
Chat draft clears only once the composer holds the brief: an open draft
offers Go to it, read-only and reconnecting say so, and transient causes
offer Retry. The caret lands after a prefilled brief, and @chopin
/research is the same command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
ccd22b8Patch
Parent0fc2dff
10 files changed+281-50
StackedSplit
apps/web/src/chat/chat.tsx+65 −24
apps/web/src/chat/commands.test.ts+11 −0
apps/web/src/chat/commands.ts+12 −2
apps/web/src/room-workspace.tsx+16 −5
e2e/chat-commands.e2e.ts+26 −1
packages/editor/src/index.ts+2 −1
packages/editor/src/research-launcher.test.ts+68 −0
packages/editor/src/research-launcher.ts+30 −7
packages/editor/src/toolbar/index.tsx+2 −0
packages/editor/src/toolbar/research-launch.tsx+49 −10