// Package gateway: interactive.go re-exports the adapter interactive-UX // contract from internal/domain/messaging so gateway-internal code and // channel tests can name it without qualifying the domain package. // // The contract is the interactive counterpart of the media/delete // capabilities in adapter_capabilities.go: clarify and picker are optional // interfaces an adapter type-asserts through ClarifierOf/PickerOf, and // approval reuses the existing ApprovalRequester flow rather than a second // decision model. TextFallback is the shared text degrade for an adapter // with no native question or selection UI. package gateway import "github.com/samcharles93/archie-core/internal/domain/messaging" // Interactive request and answer types. type ( InteractiveChoice = messaging.InteractiveChoice ClarifyRequest = messaging.ClarifyRequest PickerRequest = messaging.PickerRequest ) // Optional interactive interfaces an adapter may implement. type ( ClarifyRequester = messaging.ClarifyRequester PickerRequester = messaging.PickerRequester ) // TextFallback is the shared text-based degrade. type TextFallback = messaging.TextFallback // Re-exported sentinel errors. var ( ErrNoPickerOptions = messaging.ErrNoPickerOptions ErrEmptyReply = messaging.ErrEmptyReply ErrTextFallbackNotConfigured = messaging.ErrTextFallbackNotConfigured ) // Re-exported capability lookups. var ( ClarifierOf = messaging.ClarifierOf PickerOf = messaging.PickerOf ApproverOf = messaging.ApproverOf ) // Re-exported text rendering and parsing helpers. var ( FormatClarifyText = messaging.FormatClarifyText FormatPickerText = messaging.FormatPickerText ParsePickerReply = messaging.ParsePickerReply )