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.cjs +19 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.global.js +44 -44
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/panel.ts +19 -2
- package/src/components/reasoning-bubble.ts +30 -23
- package/src/components/tool-bubble.ts +31 -23
- package/src/types.ts +13 -0
- package/src/ui.ts +68 -2
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
|