chat

chat-input

The generic chat compose bar — one contained box, textarea on top, a single control row beneath: attach, app controls, send/stop. Knows nothing about agents.

chapter-04.md

Type and hit Enter — the sent log below the box records each send. The attachment chip is removable; a message that's only an attachment still sends.

Installation

import from @workspace/chat module-owned, not registry-installable

Usage

Use when

  • Any compose surface — Enter sends, Shift+Enter newlines, the send button becomes stop while streaming
  • Attachments via the file-upload core: drag-drop, paste, picker, or a pasted image URL

Not for

  • Agent sessions — wrap it in AgentComposer instead of re-wiring send/stop yourself