vanilla-agent 1.15.0 → 1.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-agent",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "Themeable, plugable streaming agent widget for websites, in plain JS with support for voice input and reasoning / tool output.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
package/src/ui.ts CHANGED
@@ -446,19 +446,27 @@ export const createAgentExperience = (
446
446
  container.style.borderRadius = panelBorderRadius;
447
447
 
448
448
  if (fullHeight) {
449
+ // Check if this is inline embed mode (launcher disabled) vs launcher mode
450
+ const isInlineEmbed = config.launcher?.enabled === false;
451
+
449
452
  // Mount container
450
453
  mount.style.display = 'flex';
451
454
  mount.style.flexDirection = 'column';
452
455
  mount.style.height = '100%';
453
456
  mount.style.minHeight = '0';
454
457
 
455
- // Wrapper - no overflow:hidden to allow panel's box-shadow to render fully
458
+ // Wrapper
459
+ // - Inline embed: needs overflow:hidden to contain the flex layout
460
+ // - Launcher mode: no overflow:hidden to allow panel's box-shadow to render fully
456
461
  wrapper.style.display = 'flex';
457
462
  wrapper.style.flexDirection = 'column';
458
463
  wrapper.style.flex = '1 1 0%';
459
464
  wrapper.style.minHeight = '0';
460
465
  wrapper.style.maxHeight = '100%';
461
466
  wrapper.style.height = '100%';
467
+ if (isInlineEmbed) {
468
+ wrapper.style.overflow = 'hidden';
469
+ }
462
470
 
463
471
  // Panel
464
472
  panel.style.display = 'flex';