chat
agent-composer
The session-bound composer — ChatInput's contained box wired to an agent session: busy/streaming state, send-through-session, stop-when-streaming, clear-on-accepted.
budget-graph.png
notes.mduploading…
mock-model · balanced
Full: attachment chips with upload states, a model badge in the trailing slot, send/stop driven by the session's busy state. Remove an attachment — the chip dismisses.
Installation
import from @workspace/chat — module-owned, not registry-installable
Usage
Use when
- Any agent conversation surface — full variant with attachments and control-row slots on session surfaces (sigil-chat's shape)
- compact variant in the narrow shells (sidecar, inline, dock) where the control row has no room
Not for
- Non-agent chat — use ChatInput directly (it knows nothing about sessions)
Compact
Compact: the contained box only — textarea + send/stop. This is what the sidecar and inline shells inject through the conversation core's composer slot.