package contract import "context" // CustomerQuickAction is a deterministic customer-facing action supplied by // the host application. It does not require an AI model and must only expose // data belonging to the trusted conversation identity. type CustomerQuickAction struct { Code string Title string Description string Message string Sort int CustomerTypes []string TriggerAI bool MatchIntent func(string) bool Available func(context.Context, BusinessReadContext) (bool, error) Execute func(context.Context, BusinessReadContext) (string, error) }