githubnext/chopinPublic

Let's compose rich plans together

Open the document research composer from Chat /research

Choosing Research in Chat, or sending a /research brief, now switches to
the document and opens the existing research composer after the last
paragraph with the brief filled in. The editor exposes this through a
host-owned ResearchLauncher that attaches the same ResearchDraftStore
path the / menu uses. Chat reuses the / menu's exported surface and row
classes. The notice remains only where research is unavailable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C5MAMaggie Appleton and Claude Opus 5.5 authored
67a307aPatch
Parent98d8e8f
13 files changed+193-120
StackedSplit
apps/web/src/chat/chat.tsx+40 −41
apps/web/src/chat/command-picker.tsx+4 −4
apps/web/src/chat/commands.ts+3 −3
apps/web/src/document-end.ts+0 −29
apps/web/src/room-workspace.tsx+9 −12
e2e/chat-commands.e2e.ts+25 −30
packages/editor/src/index.ts+7 −0
packages/editor/src/plan-editor.tsx+6 −0
packages/editor/src/research-launcher.ts+31 −0
packages/editor/src/toolbar/index.tsx+9 −0
packages/editor/src/toolbar/research-launch.tsx+52 −0
packages/editor/src/toolbar/surface.ts+5 −1
packages/editor/src/widget-options.ts+2 −0