vanilla-agent 1.30.0 → 1.31.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.
package/dist/index.d.cts CHANGED
@@ -767,6 +767,19 @@ type AgentWidgetLayoutConfig = {
767
767
  messages?: AgentWidgetMessageLayoutConfig;
768
768
  /** Slot renderers for custom content injection */
769
769
  slots?: Partial<Record<WidgetLayoutSlot, SlotRenderer>>;
770
+ /**
771
+ * Show/hide the header section entirely.
772
+ * When false, the header (including icon, title, buttons) is completely hidden.
773
+ * @default true
774
+ */
775
+ showHeader?: boolean;
776
+ /**
777
+ * Show/hide the footer/composer section entirely.
778
+ * When false, the footer (including input field, send button, suggestions) is completely hidden.
779
+ * Useful for read-only conversation previews.
780
+ * @default true
781
+ */
782
+ showFooter?: boolean;
770
783
  };
771
784
  /**
772
785
  * Token types for marked renderer methods
package/dist/index.d.ts CHANGED
@@ -767,6 +767,19 @@ type AgentWidgetLayoutConfig = {
767
767
  messages?: AgentWidgetMessageLayoutConfig;
768
768
  /** Slot renderers for custom content injection */
769
769
  slots?: Partial<Record<WidgetLayoutSlot, SlotRenderer>>;
770
+ /**
771
+ * Show/hide the header section entirely.
772
+ * When false, the header (including icon, title, buttons) is completely hidden.
773
+ * @default true
774
+ */
775
+ showHeader?: boolean;
776
+ /**
777
+ * Show/hide the footer/composer section entirely.
778
+ * When false, the footer (including input field, send button, suggestions) is completely hidden.
779
+ * Useful for read-only conversation previews.
780
+ * @default true
781
+ */
782
+ showFooter?: boolean;
770
783
  };
771
784
  /**
772
785
  * Token types for marked renderer methods