|
Some checks failed
Publish Swift Package / build-test-publish (push) Failing after 20s
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com> |
||
|---|---|---|
| .forgejo/workflows | ||
| Sources/MessagingRichCards | ||
| .gitignore | ||
| Package.swift | ||
| README.md | ||
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 found — macOS-required, build on plum.