Expand description
Public UserMessage and Attachment types plus the internal
prepare_user_message pipeline that turns them into a
motosan_agent_loop::Message for provider dispatch.
See spec §2 / §3 in
docs/superpowers/specs/2026-05-20-capo-v0.6-design.md.
Structs§
- User
Message - A user message comprising a text body and zero-or-more attachments.
Enums§
- Attachment
- A user-message attachment.
non_exhaustivebecause future variants (inline-bytes, skill, mention) must not break downstream pattern-match. - Attachment
Error - Why
prepare_user_messagerejected an attachment. - Attachment
Error Kind - Discriminator for
AttachmentError. Carried over the wire onUiEvent::AttachmentErrorso RPC clients can branch programmatically.