@alxxsck/ai-assistant 2.23.0 → 2.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/README.md +27 -0
  2. package/dist/App.d.ts +5 -0
  3. package/dist/{Avatar-BiRx7xkN.js → Avatar-C6dvOio6.js} +1 -1
  4. package/dist/{ChatWidgetContent-CtUehfbL.js → ChatWidgetContent-BYZ7Qq06.js} +2325 -2395
  5. package/dist/bridge-ai-chat-widget.es.js +3 -3
  6. package/dist/context/ChatWidgetContext.d.ts +12 -3
  7. package/dist/domain/command/CommandRuntime.d.ts +10 -4
  8. package/dist/domain/command/command.types.d.ts +12 -0
  9. package/dist/domain/compact-preview/CompactPreviewController.d.ts +123 -0
  10. package/dist/domain/message/cable/CableContext.d.ts +16 -1
  11. package/dist/domain/message/cable/widget-frame.d.ts +9 -0
  12. package/dist/domain/message/message.store.d.ts +3 -2
  13. package/dist/domain/message/unread.d.ts +1 -0
  14. package/dist/domain/scenario/ScenarioChoiceSubmissionController.d.ts +49 -0
  15. package/dist/domain/scenario/scenario-choice.d.ts +6 -0
  16. package/dist/domain/scenario-interaction/ScenarioInteractionRuntime.d.ts +7 -1
  17. package/dist/domain/scenario-interaction/presentation-observer.d.ts +6 -1
  18. package/dist/domain/scenario-interaction/scenario-interaction.types.d.ts +10 -0
  19. package/dist/domain/ui/ui.service.d.ts +6 -5
  20. package/dist/domain/ui/widget-geometry.d.ts +28 -0
  21. package/dist/i18n/messages.d.ts +25 -2
  22. package/dist/index-WDFSbfaV.js +2208 -0
  23. package/dist/index.types.d.ts +9 -0
  24. package/dist/{index-DMOAaoVj.js → mount-CXUq37eu.js} +9018 -8324
  25. package/dist/ui/components/ChatUnreadIndicator.d.ts +3 -1
  26. package/dist/ui/components/ChatWidgetFrame.d.ts +9 -1
  27. package/dist/ui/components/CompactPreviewSurface.d.ts +8 -0
  28. package/dist/ui/components/CompactScenarioPreview.d.ts +24 -0
  29. package/dist/ui/components/compact-preview-content.d.ts +10 -0
  30. package/dist/ui/hooks/useAttentionInterruption.d.ts +1 -0
  31. package/package.json +1 -1
@@ -11,6 +11,15 @@ export type WidgetConfig = {
11
11
  hideOpenButton?: boolean;
12
12
  /** Enables verbose `[Lola-Widget]` diagnostics. Errors are always logged. */
13
13
  debug?: boolean;
14
+ /** Enables the opt-in compact Scenario preview next to the built-in launcher. */
15
+ compactScenarioPreview?: {
16
+ enabled: false;
17
+ storageNamespace?: string;
18
+ } | {
19
+ enabled: true;
20
+ /** Stable project/widget key used to persist launcher geometry across sessions. */
21
+ storageNamespace: string;
22
+ };
14
23
  /**
15
24
  * Configures the attachment composer. Attachments use Lola Backend by
16
25
  * default; set `enabled: false` to hide them or pass a custom transport for