{{/* The small gallery of files attached to a user message (see internal/handlers/attachments.go's renderUserMessage, which appends this after the escaped prompt text — the same trick deliverables.go uses to append download cards to an assistant reply). Data: []attachmentChipView. An archive chip (IsArchive) has no DownloadURL — it's a folder of extracted files, not one file — so it renders as a plain , not a link. */}} {{ define "message_attachments" }}
{{ range . }} {{ if .IsArchive }} {{ .Name }} · {{ .EntryCount }} file{{ if ne .EntryCount 1 }}s{{ end }} {{ else }} {{ if .IsImage }} {{ .Name }} {{ else }} {{ end }} {{ .Name }} {{ end }} {{ end }}
{{ end }}