No description
Find a file
Natalie 812f1440ec
Some checks failed
Publish Swift Package / build-test-publish (push) Failing after 20s
chore(@messaging/rich-cards): 🔧 add build files to gitignore
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-06-10 03:14:00 -07:00
.forgejo/workflows feat: initial release with Forgejo URL dependencies 2026-02-16 08:38:04 -08:00
Sources/MessagingRichCards feat(card-action): Add configurable button actions and styles to CardActionButton component 2026-04-26 19:11:57 -07:00
.gitignore chore(@messaging/rich-cards): 🔧 add build files to gitignore 2026-06-10 03:14:00 -07:00
Package.swift chore(config): 🔧 Update dependency paths and platform requirements in Package.swift 2026-04-26 19:11:57 -07:00
README.md docs(docs): 📝 Update README to document new features and package changes 2026-04-26 19:11:57 -07:00

rich-cards

SwiftUI view layer for Lilith messaging rich cards — a RichCardFactory that dispatches on RichMessageContent to produce typed SwiftUI views (BookingProposalView, RateCardView, AvailabilityWidgetView, CounterOfferView, AgreementSummaryView, ScreeningRequestView, PaymentRequestView, AutoResponseView, SystemMessageView) along with shared card components (CardContainer, CardActionButton, CardStatusBadge) and a CardInteractionDelegate protocol for action callbacks.

Source-of-truth note: Copied from ~/Code/@projects/@lilith/lilith-platform/codebase/features/messaging/ios-packages/rich-cards/ on 2026-04-26 per quinn.ios objective q-ios-0002.

Consumers

  • LilithMessenger (legacy, ~/Code/@projects/@lilith/lilith-platform/codebase/features/messaging/ios/) — messenger-only iOS + Watch app.
  • quinn.ios (forward-looking) — launcher app fronting the full quinn.* surface; see ~/.claude/plans/do-we-have-a-snug-parrot.md.

Platforms

  • iOS 17+
  • watchOS 10+
  • macOS 14+

Dependencies

  • ../chat-core (MessagingChatCore) — base message types.
  • ../domain-models (LilithDomainModels) — rich content payload types consumed by each view.

Build

Swift is not available on the Linux dev box. This package imports SwiftUI throughout — it requires macOS or iOS SDK and cannot build on Linux.

Build on plum (macOS build host):

cd ~/Code/@packages/@swift/@messaging/rich-cards
swift build

Expected result on macOS: clean build. On Linux: swift not foundmacOS-required, build on plum.