ui/user_message_projection library

Functions

isAttachmentProjectionText(String text) bool
textImagePaths(String text) List<String>
userPromptDisplayText(String text) String
Projects a persisted user message into the same privacy-safe text shown by the chat UI. Attachment envelopes and local image markers are metadata, not user-visible prompt content.