@flamingo-stack/openframe-frontend-core 0.0.752 → 0.0.753

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 (92) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-OXEAN3EQ.cjs → chunk-35BJY5RR.cjs} +44 -44
  3. package/dist/{chunk-ZYRRRKSZ.cjs → chunk-5E6JHOGX.cjs} +3 -3
  4. package/dist/{chunk-35RU25PJ.cjs → chunk-7Z4EQOIX.cjs} +44 -44
  5. package/dist/{chunk-4PEG4JTM.cjs → chunk-B27XV2TC.cjs} +6 -6
  6. package/dist/{chunk-WQCLN27R.cjs → chunk-C6JHDRK3.cjs} +4 -4
  7. package/dist/{chunk-KBJSZFBZ.cjs → chunk-ITQZK3UT.cjs} +3 -3
  8. package/dist/{chunk-JI6NRWCC.cjs → chunk-J3E5UN2O.cjs} +13 -13
  9. package/dist/{chunk-7WEGXNNS.cjs → chunk-JLAYELWS.cjs} +30 -30
  10. package/dist/{chunk-EUQJ7QHW.cjs → chunk-QXQHCX2R.cjs} +4 -4
  11. package/dist/{chunk-IPVJAML5.cjs → chunk-R45NJ5ZA.cjs} +69 -69
  12. package/dist/{chunk-P4ODFQGA.cjs → chunk-RGYLC3US.cjs} +4 -4
  13. package/dist/{chunk-EM4OEWCM.cjs → chunk-SDF5UUTE.cjs} +749 -608
  14. package/dist/{chunk-7OEVVMAU.cjs → chunk-T4BBZ5ST.cjs} +2 -2
  15. package/dist/{chunk-U2AE4UG7.cjs → chunk-UNRNLSG4.cjs} +2 -2
  16. package/dist/{chunk-4OTCQEP3.cjs → chunk-UVTJT5BK.cjs} +11 -11
  17. package/dist/{chunk-Y6PVZRYL.cjs → chunk-W77VPNBJ.cjs} +12 -12
  18. package/dist/{chunk-ZVOXBSDP.cjs → chunk-WBOHLXFC.cjs} +2 -2
  19. package/dist/{chunk-OXCGQV6B.cjs → chunk-WIT36ZTN.cjs} +65 -65
  20. package/dist/{chunk-J5G4CF2V.cjs → chunk-XSOGT6DF.cjs} +16 -16
  21. package/dist/{chunk-VD3XBUQR.cjs → chunk-XW6WSW36.cjs} +158 -158
  22. package/dist/{chunk-KUVYVAS2.cjs → chunk-Y7AZCDLZ.cjs} +16 -16
  23. package/dist/{chunk-XADJG35G.cjs → chunk-Z6TUOE6L.cjs} +31 -31
  24. package/dist/{chunk-G44V3UGE.cjs → chunk-ZGADZHLD.cjs} +81 -81
  25. package/dist/{chunk-RDH63XXW.cjs → chunk-ZJ77IOMY.cjs} +34 -34
  26. package/dist/{cloud-tenants-WAOMZZQ2.cjs → cloud-tenants-7LTS4DAP.cjs} +7 -7
  27. package/dist/components/case-studies/index.cjs +20 -20
  28. package/dist/components/chat/chat-dialog-menu-items.js +6 -6
  29. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  30. package/dist/components/chat/chat-message-enhanced.js +3 -0
  31. package/dist/components/chat/chat-panel-context.d.ts +3 -0
  32. package/dist/components/chat/chat-panel-context.d.ts.map +1 -1
  33. package/dist/components/chat/embeddable-chat.d.ts +20 -0
  34. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  35. package/dist/components/chat/embeddable-chat.js +78 -8
  36. package/dist/components/chat/hooks/index.d.ts +1 -0
  37. package/dist/components/chat/hooks/index.d.ts.map +1 -1
  38. package/dist/components/chat/hooks/index.js +1 -0
  39. package/dist/components/chat/hooks/use-what-to-ask.d.ts +69 -0
  40. package/dist/components/chat/hooks/use-what-to-ask.d.ts.map +1 -0
  41. package/dist/components/chat/hooks/use-what-to-ask.js +106 -0
  42. package/dist/components/chat/index.cjs +13 -5
  43. package/dist/components/chat/index.d.ts +1 -0
  44. package/dist/components/chat/index.d.ts.map +1 -1
  45. package/dist/components/chat/index.js +1 -0
  46. package/dist/components/chat/mingo-chat-header.d.ts +4 -2
  47. package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
  48. package/dist/components/chat/mingo-chat-header.js +7 -2
  49. package/dist/components/chat/suggestions-display.d.ts +11 -0
  50. package/dist/components/chat/suggestions-display.d.ts.map +1 -0
  51. package/dist/components/chat/suggestions-display.js +27 -0
  52. package/dist/components/chat/types/message.types.d.ts +27 -1
  53. package/dist/components/chat/types/message.types.d.ts.map +1 -1
  54. package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
  55. package/dist/components/chat/utils/extract-incomplete-message-state.js +2 -0
  56. package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
  57. package/dist/components/chat/utils/message-segment-accumulator.js +3 -0
  58. package/dist/components/contact/index.cjs +8 -8
  59. package/dist/components/docs/index.cjs +11 -11
  60. package/dist/components/embeds/index.cjs +8 -8
  61. package/dist/components/faq/index.cjs +9 -9
  62. package/dist/components/features/index.cjs +7 -7
  63. package/dist/components/help-center-pages/index.cjs +84 -84
  64. package/dist/components/index.cjs +64 -56
  65. package/dist/components/meeting-scheduler/index.cjs +31 -31
  66. package/dist/components/navigation/index.cjs +10 -10
  67. package/dist/components/onboarding-guides/index.cjs +10 -10
  68. package/dist/components/product-demo/index.cjs +7 -7
  69. package/dist/components/related-content/index.cjs +5 -5
  70. package/dist/components/tickets/index.cjs +13 -13
  71. package/dist/components/ui/index.cjs +15 -7
  72. package/dist/{devices-VFEPXW2N.cjs → devices-CGDJAYRB.cjs} +8 -8
  73. package/dist/{embeddable-chat-BYQBABDV.cjs → embeddable-chat-CMEHSDV7.cjs} +163 -91
  74. package/dist/index.cjs +19 -11
  75. package/dist/{knowledge-4TE7AWZX.cjs → knowledge-X5I4QJKV.cjs} +8 -8
  76. package/dist/{logs-3B2P3JXN.cjs → logs-GDGIRJFI.cjs} +15 -15
  77. package/dist/{policies-DVI6V22X.cjs → policies-2UOCENDX.cjs} +11 -11
  78. package/dist/{scripts-JJ2BVYQ5.cjs → scripts-AS4GEG6L.cjs} +12 -12
  79. package/dist/{software-update-BN23RATE.cjs → software-update-ADPUFMFY.cjs} +10 -10
  80. package/package.json +1 -1
  81. package/src/components/chat/chat-dialog-menu-items.tsx +6 -6
  82. package/src/components/chat/chat-message-enhanced.tsx +3 -0
  83. package/src/components/chat/chat-panel-context.tsx +3 -0
  84. package/src/components/chat/embeddable-chat.tsx +132 -9
  85. package/src/components/chat/hooks/index.ts +1 -0
  86. package/src/components/chat/hooks/use-what-to-ask.ts +203 -0
  87. package/src/components/chat/index.ts +1 -0
  88. package/src/components/chat/mingo-chat-header.tsx +11 -4
  89. package/src/components/chat/suggestions-display.tsx +41 -0
  90. package/src/components/chat/types/message.types.ts +31 -1
  91. package/src/components/chat/utils/extract-incomplete-message-state.ts +2 -0
  92. package/src/components/chat/utils/message-segment-accumulator.ts +4 -0
@@ -57,7 +57,9 @@ require('./chunk-24I6RFVU.cjs');
57
57
 
58
58
 
59
59
 
60
- var _chunkEM4OEWCMcjs = require('./chunk-EM4OEWCM.cjs');
60
+
61
+
62
+ var _chunkSDF5UUTEcjs = require('./chunk-SDF5UUTE.cjs');
61
63
 
62
64
 
63
65
  var _chunkLVO7FALWcjs = require('./chunk-LVO7FALW.cjs');
@@ -65,6 +67,7 @@ require('./chunk-3RFQPQ7Z.cjs');
65
67
 
66
68
 
67
69
 
70
+
68
71
  var _chunkYRULLK7Ncjs = require('./chunk-YRULLK7N.cjs');
69
72
 
70
73
 
@@ -1884,7 +1887,7 @@ require('./chunk-SKI6NKOE.cjs');
1884
1887
 
1885
1888
 
1886
1889
 
1887
- var _chunk35RU25PJcjs = require('./chunk-35RU25PJ.cjs');
1890
+ var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
1888
1891
  require('./chunk-QYLIHZKZ.cjs');
1889
1892
  require('./chunk-63N4FN5V.cjs');
1890
1893
  require('./chunk-L2IQESTQ.cjs');
@@ -2130,7 +2133,7 @@ function splitCitedSources(sources, content) {
2130
2133
  }
2131
2134
  const cited = sources.filter((source) => firstMentionAt.has(source.index)).sort((a, b) => (_nullishCoalesce(firstMentionAt.get(a.index), () => ( 0))) - (_nullishCoalesce(firstMentionAt.get(b.index), () => ( 0))));
2132
2135
  const uncited = sources.filter((source) => !firstMentionAt.has(source.index));
2133
- return { cited: _chunkEM4OEWCMcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkEM4OEWCMcjs.groupSourcesByTable.call(void 0, uncited) };
2136
+ return { cited: _chunkSDF5UUTEcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkSDF5UUTEcjs.groupSourcesByTable.call(void 0, uncited) };
2134
2137
  }
2135
2138
 
2136
2139
  // src/components/chat/utils/host-message.ts
@@ -2181,7 +2184,7 @@ function pruneTimestampCache(timestampCache, liveIds) {
2181
2184
  // src/components/chat/embeddable-chat.tsx
2182
2185
  var _jsxruntime = require('react/jsx-runtime');
2183
2186
  var HISTORY_RAIL_WIDTH = 320;
2184
- var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkEM4OEWCMcjs.CHAT_BLOCK_MIN_WIDTH;
2187
+ var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkSDF5UUTEcjs.CHAT_BLOCK_MIN_WIDTH;
2185
2188
  var DRAWER_DEFAULT_WIDTH_RATIO = 0.5;
2186
2189
  var DRAWER_WIDTH_KEY = "mingo-chat-width-v4";
2187
2190
  var DRAWER_DEFAULT_WIDTH_PX = 750;
@@ -2262,7 +2265,7 @@ function dispatchSlashCommandAction(actionId, cmdId, ref) {
2262
2265
  if (!input) return;
2263
2266
  switch (actionId) {
2264
2267
  case "browse":
2265
- input.submit(_chunkEM4OEWCMcjs.formatSingularLookupInvocation.call(void 0, cmdId));
2268
+ input.submit(_chunkSDF5UUTEcjs.formatSingularLookupInvocation.call(void 0, cmdId));
2266
2269
  return;
2267
2270
  case "search":
2268
2271
  input.setValue(`/${cmdId} `);
@@ -2288,7 +2291,7 @@ function SourceChip({
2288
2291
  }) {
2289
2292
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2290
2293
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
2291
- const cta = _chunkEM4OEWCMcjs.resolveSourceRowCTA.call(void 0,
2294
+ const cta = _chunkSDF5UUTEcjs.resolveSourceRowCTA.call(void 0,
2292
2295
  {
2293
2296
  sourceRepo: src.sourceRepo,
2294
2297
  documentType: src.documentType,
@@ -2298,15 +2301,15 @@ function SourceChip({
2298
2301
  targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
2299
2302
  path: src.path
2300
2303
  },
2301
- _chunkEM4OEWCMcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
2304
+ _chunkSDF5UUTEcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
2302
2305
  );
2303
2306
  const Icon = cta.icon;
2304
2307
  const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
2305
- const chipClass = _chunkEM4OEWCMcjs.chatChipClass.call(void 0, { tone: "secondary" });
2306
- const decideTab = (href, targetPlatform) => _chunk35RU25PJcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
2308
+ const chipClass = _chunkSDF5UUTEcjs.chatChipClass.call(void 0, { tone: "secondary" });
2309
+ const decideTab = (href, targetPlatform) => _chunk7Z4EQOIXcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
2307
2310
  if (src.items && src.items.length > 0) {
2308
2311
  const dropdownItems = src.items.map((item) => {
2309
- const itemCta = _chunkEM4OEWCMcjs.resolveSourceRowCTA.call(void 0,
2312
+ const itemCta = _chunkSDF5UUTEcjs.resolveSourceRowCTA.call(void 0,
2310
2313
  {
2311
2314
  sourceRepo: src.sourceRepo,
2312
2315
  documentType: item.documentType,
@@ -2316,7 +2319,7 @@ function SourceChip({
2316
2319
  targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
2317
2320
  path: item.path
2318
2321
  },
2319
- _chunkEM4OEWCMcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
2322
+ _chunkSDF5UUTEcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
2320
2323
  );
2321
2324
  const ItemIcon = itemCta.icon;
2322
2325
  const itemChatRef = itemCta.chatRef;
@@ -2336,13 +2339,13 @@ function SourceChip({
2336
2339
  };
2337
2340
  });
2338
2341
  const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
2339
- const groupIndices = itemIndices.length > 0 ? _chunkEM4OEWCMcjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2342
+ const groupIndices = itemIndices.length > 0 ? _chunkSDF5UUTEcjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
2340
2343
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2341
2344
  _chunkNTGIQP7Ocjs.HoverDropdown,
2342
2345
  {
2343
2346
  items: dropdownItems,
2344
2347
  renderAnchor: ({ href, targetPlatform, path, className, children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2345
- _chunkEM4OEWCMcjs.NavLinkAnchorViaRuntime,
2348
+ _chunkSDF5UUTEcjs.NavLinkAnchorViaRuntime,
2346
2349
  {
2347
2350
  href,
2348
2351
  targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)),
@@ -2375,10 +2378,10 @@ function SourceChip({
2375
2378
  ] });
2376
2379
  const wrapChip = (clickable) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "inline-flex items-center", children: [
2377
2380
  clickable,
2378
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2381
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
2379
2382
  ] });
2380
2383
  const buildClickHandler = (href, path, targetPlatform, isNewTab) => (e) => {
2381
- const handled = _chunkEM4OEWCMcjs.executeNavigation.call(void 0, {
2384
+ const handled = _chunkSDF5UUTEcjs.executeNavigation.call(void 0, {
2382
2385
  event: e,
2383
2386
  runtime,
2384
2387
  href,
@@ -2389,14 +2392,14 @@ function SourceChip({
2389
2392
  if (handled && !isNewTab && onClose) onClose();
2390
2393
  };
2391
2394
  if (cta.href && !!src.externalUrl) {
2392
- const resolvedHref = _chunk35RU25PJcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
2395
+ const resolvedHref = _chunk7Z4EQOIXcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
2393
2396
  const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
2394
2397
  return wrapChip(
2395
2398
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2396
2399
  _chunkV45KLJQPcjs.next_link_default,
2397
2400
  {
2398
2401
  href: resolvedHref,
2399
- ..._chunk35RU25PJcjs.newTabAnchorAttrs.call(void 0, isNewTab),
2402
+ ..._chunk7Z4EQOIXcjs.newTabAnchorAttrs.call(void 0, isNewTab),
2400
2403
  onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
2401
2404
  className: chipClass,
2402
2405
  children: chipBody(src.name)
@@ -2405,14 +2408,14 @@ function SourceChip({
2405
2408
  );
2406
2409
  }
2407
2410
  if (cta.href) {
2408
- const resolvedHref = _chunk35RU25PJcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
2411
+ const resolvedHref = _chunk7Z4EQOIXcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
2409
2412
  const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
2410
2413
  return wrapChip(
2411
2414
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2412
2415
  _chunkV45KLJQPcjs.next_link_default,
2413
2416
  {
2414
2417
  href: resolvedHref,
2415
- ..._chunk35RU25PJcjs.newTabAnchorAttrs.call(void 0, isNewTab),
2418
+ ..._chunk7Z4EQOIXcjs.newTabAnchorAttrs.call(void 0, isNewTab),
2416
2419
  onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
2417
2420
  className: chipClass,
2418
2421
  title: displayName,
@@ -2541,6 +2544,8 @@ function EmbeddableChatInner({
2541
2544
  contextMemory,
2542
2545
  aboveComposer,
2543
2546
  onWhatToAsk,
2547
+ whatToAsk: whatToAskContent,
2548
+ chatMenuExtraItems,
2544
2549
  handleRef
2545
2550
  }) {
2546
2551
  const shellLess = shell !== "drawer";
@@ -2548,7 +2553,7 @@ function EmbeddableChatInner({
2548
2553
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
2549
2554
  const source = _nullishCoalesce(runtime.source, () => ( ""));
2550
2555
  const commandsUrl = runtime.endpoints.commandsUrl;
2551
- const { attachmentsEnabled, user: identityUser } = _chunkEM4OEWCMcjs.useChatIdentity.call(void 0, );
2556
+ const { attachmentsEnabled, user: identityUser } = _chunkSDF5UUTEcjs.useChatIdentity.call(void 0, );
2552
2557
  const viewUrlPrefix = runtime.endpoints.attachmentViewUrlPrefix;
2553
2558
  _react.useEffect.call(void 0, () => {
2554
2559
  if (process.env.NODE_ENV !== "production") {
@@ -2602,9 +2607,9 @@ function EmbeddableChatInner({
2602
2607
  const [quickActionPreview, setQuickActionPreview] = _react.useState.call(void 0, null);
2603
2608
  const slashCommandsProp = _react.useMemo.call(void 0,
2604
2609
  () => ({
2605
- fetchCommands: (prefix, signal) => _chunkEM4OEWCMcjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2610
+ fetchCommands: (prefix, signal) => _chunkSDF5UUTEcjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
2606
2611
  resolveSourceIcon: (sourceId) => {
2607
- const iconName = _chunkEM4OEWCMcjs.getSourceIconName.call(void 0, sourceId);
2612
+ const iconName = _chunkSDF5UUTEcjs.getSourceIconName.call(void 0, sourceId);
2608
2613
  if (!iconName) return void 0;
2609
2614
  return { Icon: _chunkKTPR66EEcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
2610
2615
  },
@@ -2633,7 +2638,7 @@ function EmbeddableChatInner({
2633
2638
  },
2634
2639
  [controlledActiveMode, onActiveModeChange]
2635
2640
  );
2636
- const { commands: commandsList, loaded: commandsLoaded } = _chunkEM4OEWCMcjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2641
+ const { commands: commandsList, loaded: commandsLoaded } = _chunkSDF5UUTEcjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
2637
2642
  enabled: activeMode === "guide"
2638
2643
  });
2639
2644
  const commandsById = _react.useMemo.call(void 0, () => {
@@ -2644,7 +2649,7 @@ function EmbeddableChatInner({
2644
2649
  const resolveAgentConfigUrl = _nullishCoalesce(_nullishCoalesce(aiAgentConfigUrlProp, () => ( runtime.endpoints.aiAgentConfigUrl)), () => ( DEFAULT_AI_AGENT_CONFIG_URL));
2645
2650
  const agentConfigUrl = activeAgentSlug ? resolveAgentConfigUrl(activeAgentSlug) : void 0;
2646
2651
  const emptyStateUrl = _nullishCoalesce(agentConfigUrl, () => ( runtime.endpoints.emptyStateUrl));
2647
- const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkEM4OEWCMcjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2652
+ const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkSDF5UUTEcjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
2648
2653
  enabled: activeMode === "guide" || !!activeAgentSlug
2649
2654
  });
2650
2655
  const effectiveGreeting = _nullishCoalesce(emptyStateConfig.greeting, () => ( emptyStateGreeting));
@@ -2691,7 +2696,7 @@ function EmbeddableChatInner({
2691
2696
  hasMoreMessages,
2692
2697
  loadMoreMessages,
2693
2698
  dialogCapabilities
2694
- } = _chunkEM4OEWCMcjs.useUnifiedChat.call(void 0, {
2699
+ } = _chunkSDF5UUTEcjs.useUnifiedChat.call(void 0, {
2695
2700
  modes: effectiveModes,
2696
2701
  activeMode,
2697
2702
  mingoStateOverride: mingoState,
@@ -2738,8 +2743,8 @@ function EmbeddableChatInner({
2738
2743
  addFiles: addAttachmentFiles,
2739
2744
  removeAttachment,
2740
2745
  clear: clearAttachments
2741
- } = _chunkEM4OEWCMcjs.useChatAttachments.call(void 0, );
2742
- const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkEM4OEWCMcjs.useChatAttachmentImageGallery.call(void 0, );
2746
+ } = _chunkSDF5UUTEcjs.useChatAttachments.call(void 0, );
2747
+ const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkSDF5UUTEcjs.useChatAttachmentImageGallery.call(void 0, );
2743
2748
  const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _16 => _16.maxItems]), () => ( 10));
2744
2749
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
2745
2750
  const [contextItems, setContextItems] = _react.useState.call(void 0, NO_CONTEXT_ITEMS);
@@ -2847,14 +2852,19 @@ function EmbeddableChatInner({
2847
2852
  navigatingAwayRef.current = true;
2848
2853
  setIsOpen(false);
2849
2854
  }, [setIsOpen]);
2855
+ const sendPromptRef = _react.useRef.call(void 0, () => {
2856
+ });
2850
2857
  const chatPanelHandle = _react.useMemo.call(void 0,
2851
- () => ({ closeChat: handleNavigationClose }),
2858
+ () => ({
2859
+ closeChat: handleNavigationClose,
2860
+ sendPrompt: (text) => sendPromptRef.current(text)
2861
+ }),
2852
2862
  [handleNavigationClose]
2853
2863
  );
2854
2864
  const askAboutRef = _react.useRef.call(void 0, discussRef);
2855
2865
  const askAbout = _react.useCallback.call(void 0, (reference) => askAboutRef.current(reference), []);
2856
2866
  const renderEntityCard = _react.useCallback.call(void 0,
2857
- (reference) => _chunkEM4OEWCMcjs.renderChatInlineEntityCard.call(void 0, reference, {
2867
+ (reference) => _chunkSDF5UUTEcjs.renderChatInlineEntityCard.call(void 0, reference, {
2858
2868
  onDiscuss: askAbout,
2859
2869
  onDisplay: displayRef,
2860
2870
  baseRoute: resolvedBaseRoute,
@@ -2864,24 +2874,38 @@ function EmbeddableChatInner({
2864
2874
  [askAbout, displayRef, resolvedBaseRoute, chipBasePlatform, extras]
2865
2875
  );
2866
2876
  const mingoAssistantIcon = _react.useMemo.call(void 0,
2867
- () => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVO7FALWcjs.AgentMark, { agent: "mingo", className: "h-6 w-6" }),
2877
+ () => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Z4EQOIXcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLVO7FALWcjs.AgentMark, { agent: "mingo", className: "h-6 w-6" }),
2868
2878
  [effectiveAssistantIcon]
2869
2879
  );
2870
2880
  const [timestampCache] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
2871
2881
  const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _32 => _32.firstName]), _optionalChain([identityUser, 'optionalAccess', _33 => _33.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _34 => _34.name, 'optionalAccess', _35 => _35.trim, 'call', _36 => _36()]) || void 0 : void 0;
2872
2882
  const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _37 => _37.avatarUrl, 'optionalAccess', _38 => _38.trim, 'call', _39 => _39()]) || void 0 : void 0;
2873
- const messages = _react.useMemo.call(void 0, () => {
2883
+ const hostMessages = _react.useMemo.call(void 0, () => {
2874
2884
  const options = { userName: guideUserName, userAvatar: guideUserAvatar, timestampCache };
2875
2885
  const mapped = rawMessages.map((m) => mapHostMessage(m, options));
2876
2886
  pruneTimestampCache(timestampCache, new Set(rawMessages.map((m) => m.id)));
2877
2887
  return mapped;
2878
2888
  }, [rawMessages, guideUserName, guideUserAvatar, timestampCache]);
2889
+ const whatToAsk = _chunkSDF5UUTEcjs.useWhatToAsk.call(void 0, {
2890
+ dialogId: activeDialogId,
2891
+ content: typeof whatToAskContent === "function" ? void 0 : whatToAskContent,
2892
+ user: {
2893
+ name: _nullishCoalesce(headerUserName, () => ( "You")),
2894
+ avatar: _optionalChain([identityUser, 'optionalAccess', _40 => _40.avatarUrl, 'optionalAccess', _41 => _41.trim, 'call', _42 => _42()]) || _optionalChain([userAvatarUrl, 'optionalAccess', _43 => _43.trim, 'call', _44 => _44()]) || null,
2895
+ authorType: _chunkYRULLK7Ncjs.AUTHOR_TYPE.ADMIN
2896
+ },
2897
+ assistant: { name: "Mingo", assistantType: "mingo" }
2898
+ });
2899
+ const noteWhatToAskSend = whatToAsk.noteSend;
2900
+ const messages = whatToAsk.withExchanges(hostMessages);
2901
+ const isWhatToAskDraft = activeDialogId == null && hostMessages.length === 0 && messages.length > 0;
2879
2902
  const handleSend = _react.useCallback.call(void 0,
2880
2903
  (text) => {
2881
2904
  if (composerLock) return;
2905
+ noteWhatToAskSend();
2882
2906
  let augmentedText = text;
2883
2907
  if (readyAttachments.length > 0) {
2884
- const markdown = readyAttachments.map((att) => _chunkEM4OEWCMcjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2908
+ const markdown = readyAttachments.map((att) => _chunkSDF5UUTEcjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
2885
2909
  augmentedText = `${text}${markdown}`;
2886
2910
  }
2887
2911
  void sendMessage(augmentedText, {
@@ -2897,7 +2921,7 @@ function EmbeddableChatInner({
2897
2921
  setContextItems([]);
2898
2922
  }
2899
2923
  },
2900
- [composerLock, sendMessage, readyAttachments, viewUrlPrefix, clearAttachments, contextItems]
2924
+ [composerLock, noteWhatToAskSend, sendMessage, readyAttachments, viewUrlPrefix, clearAttachments, contextItems]
2901
2925
  );
2902
2926
  const handleAskSelect = _react.useCallback.call(void 0,
2903
2927
  (label) => {
@@ -2920,7 +2944,7 @@ function EmbeddableChatInner({
2920
2944
  // agent/persona (`icon_props.color`) wins; the built-in slug map
2921
2945
  // (fae→pink, mingo→cyan) is only the fallback for unconfigured
2922
2946
  // built-in agents.
2923
- accent: _nullishCoalesce(_chunkEM4OEWCMcjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkEM4OEWCMcjs.getAgentAccent.call(void 0, activeAgentSlug)))
2947
+ accent: _nullishCoalesce(_chunkSDF5UUTEcjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkSDF5UUTEcjs.getAgentAccent.call(void 0, activeAgentSlug)))
2924
2948
  }));
2925
2949
  }
2926
2950
  return (_nullishCoalesce(effectiveSuggestedQueries, () => ( []))).map((q, i) => ({
@@ -2968,7 +2992,7 @@ function EmbeddableChatInner({
2968
2992
  unarchiveDialog: mingoCaps.unarchiveDialog
2969
2993
  });
2970
2994
  const handleOpen = _react.useCallback.call(void 0, () => setIsOpen(true), [setIsOpen]);
2971
- _chunkEM4OEWCMcjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
2995
+ _chunkSDF5UUTEcjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
2972
2996
  _react.useEffect.call(void 0, () => {
2973
2997
  const handler = (e) => {
2974
2998
  const detail = e.detail;
@@ -2976,8 +3000,8 @@ function EmbeddableChatInner({
2976
3000
  setIsOpen(true);
2977
3001
  setTimeout(() => askAbout(detail.ref), 0);
2978
3002
  };
2979
- window.addEventListener(_chunkEM4OEWCMcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2980
- return () => window.removeEventListener(_chunkEM4OEWCMcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3003
+ window.addEventListener(_chunkSDF5UUTEcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
3004
+ return () => window.removeEventListener(_chunkSDF5UUTEcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
2981
3005
  }, [source, askAbout, setIsOpen]);
2982
3006
  const pendingAskRef = _react.useRef.call(void 0, null);
2983
3007
  const isDraft = activeDialogId == null && messages.length === 0;
@@ -3011,10 +3035,10 @@ function EmbeddableChatInner({
3011
3035
  const prompt = typeof detail.prompt === "string" ? detail.prompt.trim() : "";
3012
3036
  if (prompt) setTimeout(() => sendAskPrompt(prompt), 0);
3013
3037
  };
3014
- window.addEventListener(_chunkEM4OEWCMcjs.ASK_AI_OPEN_EVENT, handler);
3015
- return () => window.removeEventListener(_chunkEM4OEWCMcjs.ASK_AI_OPEN_EVENT, handler);
3038
+ window.addEventListener(_chunkSDF5UUTEcjs.ASK_AI_OPEN_EVENT, handler);
3039
+ return () => window.removeEventListener(_chunkSDF5UUTEcjs.ASK_AI_OPEN_EVENT, handler);
3016
3040
  }, [source, setIsOpen, sendAskPrompt]);
3017
- _react.useEffect.call(void 0, () => _chunkEM4OEWCMcjs.chatListensForAskAiOpens.call(void 0, ), []);
3041
+ _react.useEffect.call(void 0, () => _chunkSDF5UUTEcjs.chatListensForAskAiOpens.call(void 0, ), []);
3018
3042
  const hasMessages = messages.length > 0;
3019
3043
  const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
3020
3044
  const dialogsLoadError = dialogsError && dialogs.length === 0;
@@ -3050,7 +3074,7 @@ function EmbeddableChatInner({
3050
3074
  (message, index) => {
3051
3075
  if (message.role !== "assistant") return null;
3052
3076
  if (chatLoading && index === messages.length - 1) return null;
3053
- const { cited, uncited } = splitCitedSources(message.sources, _chunkEM4OEWCMcjs.flattenAssistantContent.call(void 0, message.content));
3077
+ const { cited, uncited } = splitCitedSources(message.sources, _chunkSDF5UUTEcjs.flattenAssistantContent.call(void 0, message.content));
3054
3078
  if (cited.length === 0 && uncited.length === 0) return null;
3055
3079
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pb-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3056
3080
  SourceChips,
@@ -3068,12 +3092,12 @@ function EmbeddableChatInner({
3068
3092
  );
3069
3093
  const [portalHost, setPortalHost] = _react.useState.call(void 0, null);
3070
3094
  const [panelBoundary, setPanelBoundary] = _react.useState.call(void 0, null);
3071
- const splitMinWidth = (isV2 ? _chunkEM4OEWCMcjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkEM4OEWCMcjs.CHAT_BLOCK_MIN_WIDTH;
3095
+ const splitMinWidth = (isV2 ? _chunkSDF5UUTEcjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkSDF5UUTEcjs.CHAT_BLOCK_MIN_WIDTH;
3072
3096
  const [canSplit, setCanSplit] = _react.useState.call(void 0, false);
3073
3097
  _react.useEffect.call(void 0, () => {
3074
3098
  if (!panelBoundary || typeof ResizeObserver === "undefined") return void 0;
3075
3099
  const ro = new ResizeObserver((entries) => {
3076
- const w = _optionalChain([entries, 'access', _40 => _40[0], 'optionalAccess', _41 => _41.contentRect, 'optionalAccess', _42 => _42.width]);
3100
+ const w = _optionalChain([entries, 'access', _45 => _45[0], 'optionalAccess', _46 => _46.contentRect, 'optionalAccess', _47 => _47.width]);
3077
3101
  if (typeof w === "number") setCanSplit(w >= splitMinWidth);
3078
3102
  });
3079
3103
  ro.observe(panelBoundary);
@@ -3087,7 +3111,7 @@ function EmbeddableChatInner({
3087
3111
  [splitMinWidth]
3088
3112
  );
3089
3113
  const [railCollapsed, setRailCollapsed] = _react.useState.call(void 0, false);
3090
- const railStorageHydrated = _chunkEM4OEWCMcjs.useIsHydrated.call(void 0, );
3114
+ const railStorageHydrated = _chunkSDF5UUTEcjs.useIsHydrated.call(void 0, );
3091
3115
  const [railStorageRead, setRailStorageRead] = _react.useState.call(void 0, false);
3092
3116
  if (railStorageHydrated && !railStorageRead) {
3093
3117
  setRailStorageRead(true);
@@ -3119,22 +3143,68 @@ function EmbeddableChatInner({
3119
3143
  const stackedListView = isMingoMode && !hasConversation && !archiveOpen && !wideMingo && !composeOpen && !emptyListSkipped;
3120
3144
  const headerShowBack = hasConversation || guideCanReturnToMingo;
3121
3145
  const freshConversationTitle = isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "New Chat";
3122
- const headerTitle = hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _43 => _43.title]) || freshConversationTitle : isGuideEmpty ? freshConversationTitle : "Current Chats";
3146
+ const headerTitle = hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _48 => _48.title]) || freshConversationTitle : isGuideEmpty ? freshConversationTitle : "Current Chats";
3123
3147
  const headerBackAriaLabel = hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo";
3124
- const headerOnBack = hasConversation ? handleBack : () => handleActiveModeChange("mingo");
3148
+ const clearWhatToAskDraft = whatToAsk.clearDraft;
3149
+ const headerOnBack = hasConversation ? () => {
3150
+ if (activeDialogId == null) clearWhatToAskDraft();
3151
+ handleBack();
3152
+ } : () => handleActiveModeChange("mingo");
3125
3153
  const headerOnRestore = isViewingArchived && unarchiveDialog && activeDialog ? () => setRestoreTarget(activeDialog) : void 0;
3126
3154
  const headerOnRename = activeDialogId && activeDialog && mingoCaps.canRename ? () => setRenameTarget(activeDialog) : void 0;
3127
3155
  const headerOnArchive = activeDialogId && activeDialog && mingoCaps.canArchive ? () => setArchiveTarget(activeDialog) : void 0;
3128
- const headerOnCopyLink = activeDialogId && activeDialog && mingoCaps.onCopyLink ? () => _optionalChain([mingoCaps, 'access', _44 => _44.onCopyLink, 'optionalCall', _45 => _45(activeDialog)]) : void 0;
3129
- const headerOnCompact = activeDialogId && activeDialog && mingoCaps.compactDialog ? () => _optionalChain([mingoCaps, 'access', _46 => _46.compactDialog, 'optionalCall', _47 => _47(activeDialog)]) : void 0;
3156
+ const headerOnCopyLink = activeDialogId && activeDialog && mingoCaps.onCopyLink ? () => _optionalChain([mingoCaps, 'access', _49 => _49.onCopyLink, 'optionalCall', _50 => _50(activeDialog)]) : void 0;
3157
+ const headerOnCompact = activeDialogId && activeDialog && mingoCaps.compactDialog ? () => _optionalChain([mingoCaps, 'access', _51 => _51.compactDialog, 'optionalCall', _52 => _52(activeDialog)]) : void 0;
3130
3158
  const headerOnOpenArchive = fetchArchivedDialogs ? openArchive : void 0;
3131
- const headerOwner = hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _48 => _48.owner]) : void 0;
3132
- const headerPersonName = _optionalChain([headerOwner, 'optionalAccess', _49 => _49.name, 'optionalAccess', _50 => _50.trim, 'call', _51 => _51()]) || headerUserName;
3133
- const headerPersonAvatarUrl = headerOwner ? _optionalChain([headerOwner, 'access', _52 => _52.avatarUrl, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]) || void 0 : _optionalChain([identityUser, 'optionalAccess', _55 => _55.avatarUrl, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]) || _optionalChain([userAvatarUrl, 'optionalAccess', _58 => _58.trim, 'call', _59 => _59()]) || void 0;
3159
+ const headerOwner = hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _53 => _53.owner]) : void 0;
3160
+ const headerPersonName = _optionalChain([headerOwner, 'optionalAccess', _54 => _54.name, 'optionalAccess', _55 => _55.trim, 'call', _56 => _56()]) || headerUserName;
3161
+ const headerPersonAvatarUrl = headerOwner ? _optionalChain([headerOwner, 'access', _57 => _57.avatarUrl, 'optionalAccess', _58 => _58.trim, 'call', _59 => _59()]) || void 0 : _optionalChain([identityUser, 'optionalAccess', _60 => _60.avatarUrl, 'optionalAccess', _61 => _61.trim, 'call', _62 => _62()]) || _optionalChain([userAvatarUrl, 'optionalAccess', _63 => _63.trim, 'call', _64 => _64()]) || void 0;
3134
3162
  const headerAvatar = headerPersonName || headerPersonAvatarUrl ? { name: headerPersonName, avatarUrl: headerPersonAvatarUrl } : void 0;
3135
3163
  const handleNewChat = _react.useCallback.call(void 0, () => {
3164
+ clearWhatToAskDraft();
3136
3165
  resetToNewChat();
3137
- }, [resetToNewChat]);
3166
+ }, [clearWhatToAskDraft, resetToNewChat]);
3167
+ const activeDialogStatus = activeDialog && dialogStatusOf ? dialogStatusOf(activeDialog) : void 0;
3168
+ const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _65 => _65.length]), () => ( 0))) > 0 || _chunkSDF5UUTEcjs.awaitsDecision.call(void 0, hostMessages);
3169
+ const showWhatToAsk = (content) => {
3170
+ if (activeDialogId && hasConversation && !isViewingArchived && !isMessagesLoading && !isChatBlocked) {
3171
+ whatToAsk.ask("current", content);
3172
+ return;
3173
+ }
3174
+ const isUnsentNewChat = activeDialogId == null && hostMessages.length === 0 && !isViewingArchived;
3175
+ if (!isUnsentNewChat) {
3176
+ whatToAsk.clearDraft();
3177
+ resetToNewChat();
3178
+ }
3179
+ setComposeOpen(true);
3180
+ whatToAsk.ask("draft", content);
3181
+ };
3182
+ _react.useEffect.call(void 0, () => {
3183
+ sendPromptRef.current = (text) => {
3184
+ if (isChatBlocked) return;
3185
+ noteWhatToAskSend();
3186
+ void sendMessage(text).catch((err) => {
3187
+ console.error("[EmbeddableChat] sendPrompt failed:", err);
3188
+ });
3189
+ };
3190
+ });
3191
+ const showWhatToAskRef = _react.useRef.call(void 0, showWhatToAsk);
3192
+ _react.useEffect.call(void 0, () => {
3193
+ showWhatToAskRef.current = showWhatToAsk;
3194
+ });
3195
+ const whatToAskPendingRef = _react.useRef.call(void 0, false);
3196
+ const requestWhatToAsk = () => {
3197
+ if (!whatToAskContent) return;
3198
+ if (typeof whatToAskContent !== "function") {
3199
+ showWhatToAsk(whatToAskContent);
3200
+ return;
3201
+ }
3202
+ if (whatToAskPendingRef.current) return;
3203
+ whatToAskPendingRef.current = true;
3204
+ whatToAskContent().then((content) => showWhatToAskRef.current(content)).catch((err) => console.error("[EmbeddableChat] whatToAsk failed:", err)).finally(() => {
3205
+ whatToAskPendingRef.current = false;
3206
+ });
3207
+ };
3138
3208
  const queuedAskRef = _react.useRef.call(void 0, null);
3139
3209
  _react.useEffect.call(void 0, () => {
3140
3210
  askAboutRef.current = (reference) => {
@@ -3198,7 +3268,7 @@ function EmbeddableChatInner({
3198
3268
  }),
3199
3269
  [resetToNewChat, contextMaxItems]
3200
3270
  );
3201
- const splitHeaderMenuItems = _chunkEM4OEWCMcjs.chatDialogMenuItems.call(void 0, {
3271
+ const splitHeaderMenuItems = _chunkSDF5UUTEcjs.chatDialogMenuItems.call(void 0, {
3202
3272
  onCopyLink: headerOnCopyLink,
3203
3273
  onRename: headerOnRename,
3204
3274
  onCompact: headerOnCompact,
@@ -3246,13 +3316,14 @@ function EmbeddableChatInner({
3246
3316
  dialogs,
3247
3317
  activeDialogId: _nullishCoalesce(activeDialogId, () => ( void 0)),
3248
3318
  // Beside a new chat (wide only: narrow, the list is its own screen).
3249
- draftTitle: wideMingo && !hasConversation && !archiveOpen ? freshConversationTitle : void 0,
3319
+ // A new chat holding only "What to ask?" exchanges is still that new chat.
3320
+ draftTitle: wideMingo && (!hasConversation || isWhatToAskDraft) && !archiveOpen ? freshConversationTitle : void 0,
3250
3321
  onSelectDialog: (id) => leaveArchiveThen(() => handleSelectDialog(id))(),
3251
3322
  onNewChat: leaveArchiveThen(handleNewChat),
3252
3323
  onOpenArchive: headerOnOpenArchive && (archiveOpen ? closeArchive : headerOnOpenArchive),
3253
3324
  archiveActive: archiveOpen,
3254
3325
  // The suggestions a new chat opens on, unless the host has a surface of its own.
3255
- onWhatToAsk: leaveArchiveThen(_nullishCoalesce(onWhatToAsk, () => ( handleNewChat))),
3326
+ onWhatToAsk: () => leaveArchiveThen(_nullishCoalesce(onWhatToAsk, () => ( (whatToAskContent ? requestWhatToAsk : handleNewChat))))(),
3256
3327
  statusOf: dialogStatusOf,
3257
3328
  onRequestRename: mingoCaps.canRename ? setRenameTarget : void 0,
3258
3329
  onRequestArchive: mingoCaps.canArchive ? setArchiveTarget : void 0,
@@ -3272,7 +3343,7 @@ function EmbeddableChatInner({
3272
3343
  onRetry: reloadDialogs
3273
3344
  };
3274
3345
  const v2Header = isV2 && !stackedListView ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "col-start-2 row-start-1 min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3275
- _chunkEM4OEWCMcjs.MingoChatHeader,
3346
+ _chunkSDF5UUTEcjs.MingoChatHeader,
3276
3347
  {
3277
3348
  title: headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle,
3278
3349
  subtitle: headerPersonName,
@@ -3280,6 +3351,7 @@ function EmbeddableChatInner({
3280
3351
  onToggleList: wideMingo ? toggleRailCollapsed : headerShowBack ? headerOnBack : () => setComposeOpen(false),
3281
3352
  listOpen: splitActive,
3282
3353
  menuItems: headerShowBack && !isViewingArchived ? splitHeaderMenuItems : [],
3354
+ extraMenuItems: isViewingArchived || archiveOpen ? void 0 : chatMenuExtraItems,
3283
3355
  onRestore: isViewingArchived ? headerOnRestore : void 0,
3284
3356
  onCollapse: wideMingo && onCollapse ? () => {
3285
3357
  if (collapseTo === "list" && hasConversation) headerOnBack();
@@ -3291,7 +3363,7 @@ function EmbeddableChatInner({
3291
3363
  const body = (
3292
3364
  // The whole panel reads the appearance (the composer's footer too), not
3293
3365
  // only the thread `ChatMessageList` provides it to.
3294
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRB6BSE3Ocjs.CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
3366
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRB6BSE3Ocjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRB6BSE3Ocjs.CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
3295
3367
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3296
3368
  "div",
3297
3369
  {
@@ -3299,7 +3371,7 @@ function EmbeddableChatInner({
3299
3371
  "data-surface": isV2 ? "mingo" : void 0,
3300
3372
  className: `flex h-full flex-col overflow-hidden transition-colors duration-200 ${!isV2 && (archiveOpen && !splitActive || stackedListView) ? "bg-ods-card" : "bg-ods-bg"} ${previewMode ? "pointer-events-none select-none" : ""}`,
3301
3373
  children: archiveOpen && !splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3302
- _chunkEM4OEWCMcjs.ChatArchivePage,
3374
+ _chunkSDF5UUTEcjs.ChatArchivePage,
3303
3375
  {
3304
3376
  dialogs: archivedDialogs,
3305
3377
  onSelectDialog: handleArchivedSelect,
@@ -3329,7 +3401,7 @@ function EmbeddableChatInner({
3329
3401
  narrow: true,
3330
3402
  className: "col-start-1 row-span-3 row-start-1",
3331
3403
  innerClassName: "flex min-h-0 flex-col",
3332
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3404
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
3333
3405
  }
3334
3406
  ),
3335
3407
  isV2 ? v2Header : showWideHeader ? (
@@ -3353,7 +3425,7 @@ function EmbeddableChatInner({
3353
3425
  // Back is a full-height leading cell, matching the other
3354
3426
  // header cells (not a small inline chevron).
3355
3427
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3356
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }) }),
3428
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }) }),
3357
3429
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Chat Archive" }) })
3358
3430
  ] })
3359
3431
  ) : (
@@ -3363,7 +3435,7 @@ function EmbeddableChatInner({
3363
3435
  // (Figma 116:51217) and the magnifier toggle is hidden.
3364
3436
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3365
3437
  railSearchOpen && mingoCaps.onSearchChange ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3366
- _chunkEM4OEWCMcjs.ChatHeaderSearchField,
3438
+ _chunkSDF5UUTEcjs.ChatHeaderSearchField,
3367
3439
  {
3368
3440
  initialValue: mingoCaps.searchQuery,
3369
3441
  onSearchChange: mingoCaps.onSearchChange,
@@ -3372,7 +3444,7 @@ function EmbeddableChatInner({
3372
3444
  ) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3373
3445
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Current Chats" }) }),
3374
3446
  mingoCaps.onSearchChange && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3375
- _chunkEM4OEWCMcjs.ChatHeaderIconButton,
3447
+ _chunkSDF5UUTEcjs.ChatHeaderIconButton,
3376
3448
  {
3377
3449
  onClick: () => setRailSearchOpen((o) => !o),
3378
3450
  "aria-label": "Search chats",
@@ -3381,7 +3453,7 @@ function EmbeddableChatInner({
3381
3453
  }
3382
3454
  )
3383
3455
  ] }),
3384
- headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JKBT3LTcjs.ClockHistoryIcon, { size: 24 }) })
3456
+ headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JKBT3LTcjs.ClockHistoryIcon, { size: 24 }) })
3385
3457
  ] })
3386
3458
  ) }),
3387
3459
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1", children: [
@@ -3418,17 +3490,17 @@ function EmbeddableChatInner({
3418
3490
  )
3419
3491
  ) : null
3420
3492
  ] }),
3421
- isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
3493
+ isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
3422
3494
  headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3423
3495
  _chunkP6F6PHVKcjs.ActionsMenuDropdown,
3424
3496
  {
3425
3497
  triggerAriaLabel: "Chat actions",
3426
3498
  onCloseAutoFocus: (e) => e.preventDefault(),
3427
3499
  groups: [{ items: splitHeaderMenuItems }],
3428
- customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
3500
+ customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
3429
3501
  }
3430
3502
  ),
3431
- closeControl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ChatHeaderIconButton, { onClick: closeControl, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
3503
+ closeControl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ChatHeaderIconButton, { onClick: closeControl, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
3432
3504
  ] })
3433
3505
  ] })
3434
3506
  ) : (
@@ -3436,10 +3508,10 @@ function EmbeddableChatInner({
3436
3508
  // guide, resolved into `narrowHeaderProps` above. (Wide layouts,
3437
3509
  // including rail-collapsed, use the wide header above.) Embedded
3438
3510
  // previews (hero demo tabs) force the compact bar via `compact`.
3439
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3511
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
3440
3512
  ),
3441
3513
  activeMode === "guide" && hasMingoMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3442
- _chunkEM4OEWCMcjs.GuideModeBanner,
3514
+ _chunkSDF5UUTEcjs.GuideModeBanner,
3443
3515
  {
3444
3516
  className: _chunk3ATAYP36cjs.cn.call(void 0, "duration-200 animate-in fade-in-0", isV2 && "col-start-2 row-start-2")
3445
3517
  }
@@ -3449,7 +3521,7 @@ function EmbeddableChatInner({
3449
3521
  // Archive list inside the rail (header lives in the split
3450
3522
  // header's left cell above). Right chat block stays put.
3451
3523
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3452
- _chunkEM4OEWCMcjs.ChatArchivePage,
3524
+ _chunkSDF5UUTEcjs.ChatArchivePage,
3453
3525
  {
3454
3526
  embedded: true,
3455
3527
  dialogs: archivedDialogs,
@@ -3463,7 +3535,7 @@ function EmbeddableChatInner({
3463
3535
  }
3464
3536
  )
3465
3537
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3466
- _chunkEM4OEWCMcjs.MingoHistoryRail,
3538
+ _chunkSDF5UUTEcjs.MingoHistoryRail,
3467
3539
  {
3468
3540
  dialogs,
3469
3541
  activeDialogId: _nullishCoalesce(activeDialogId, () => ( void 0)),
@@ -3490,7 +3562,7 @@ function EmbeddableChatInner({
3490
3562
  // v2: the archive opens in the chat column under the chat's
3491
3563
  // header; the list stays, and "Chat Archive" there toggles back.
3492
3564
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3493
- _chunkEM4OEWCMcjs.MingoArchiveList,
3565
+ _chunkSDF5UUTEcjs.MingoArchiveList,
3494
3566
  {
3495
3567
  dialogs: archivedDialogs,
3496
3568
  onSelectDialog: handleArchivedSelect,
@@ -3503,13 +3575,13 @@ function EmbeddableChatInner({
3503
3575
  }
3504
3576
  )
3505
3577
  ) : stackedListView && isV2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3506
- _chunkEM4OEWCMcjs.MingoChatRail,
3578
+ _chunkSDF5UUTEcjs.MingoChatRail,
3507
3579
  {
3508
3580
  ...mingoRailProps,
3509
3581
  onNewChat: () => setComposeOpen(true),
3510
3582
  onExpand: onExpand && (() => {
3511
3583
  const last = lastDialogIdRef.current;
3512
- const target = last && dialogs.some((d) => d.id === last) ? last : _optionalChain([dialogs, 'access', _60 => _60[0], 'optionalAccess', _61 => _61.id]);
3584
+ const target = last && dialogs.some((d) => d.id === last) ? last : _optionalChain([dialogs, 'access', _66 => _66[0], 'optionalAccess', _67 => _67.id]);
3513
3585
  if (archiveOpen) closeArchive();
3514
3586
  if (target) handleSelectDialog(target);
3515
3587
  else handleNewChat();
@@ -3522,7 +3594,7 @@ function EmbeddableChatInner({
3522
3594
  // single-column view. No composer here; "Start New Chat" opens
3523
3595
  // the compose view.
3524
3596
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3525
- _chunkEM4OEWCMcjs.MingoHistoryRail,
3597
+ _chunkSDF5UUTEcjs.MingoHistoryRail,
3526
3598
  {
3527
3599
  className: "duration-200 animate-in fade-in-0",
3528
3600
  dialogs,
@@ -3562,14 +3634,14 @@ function EmbeddableChatInner({
3562
3634
  // skeleton overflows a short panel and grows its OWN
3563
3635
  // scrollbar — ugly. `fill` top-anchors + clips overflow so
3564
3636
  // it reads as "the whole panel is loading" and never scrolls.
3565
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ChatMessageListSkeleton, { fullWidth: true, fill: previewMode, className: "flex-1" })
3637
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ChatMessageListSkeleton, { fullWidth: true, fill: previewMode, className: "flex-1" })
3566
3638
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3567
- _chunkEM4OEWCMcjs.ChatMessageList,
3639
+ _chunkSDF5UUTEcjs.ChatMessageList,
3568
3640
  {
3569
3641
  messages,
3570
3642
  appearance,
3571
3643
  isTyping: chatLoading,
3572
- typingMessage: streamingProgress ? _chunkEM4OEWCMcjs.chatProgressLabel.call(void 0, streamingProgress) : void 0,
3644
+ typingMessage: streamingProgress ? _chunkSDF5UUTEcjs.chatProgressLabel.call(void 0, streamingProgress) : void 0,
3573
3645
  pendingApprovals,
3574
3646
  autoScroll: !previewMode,
3575
3647
  pinBottom: previewMode,
@@ -3582,7 +3654,7 @@ function EmbeddableChatInner({
3582
3654
  renderMention,
3583
3655
  renderAfterMessage: renderMessageSources,
3584
3656
  onAskSelect: chatLoading || previewMode ? void 0 : handleAskSelect,
3585
- NavLinkAnchor: _chunkEM4OEWCMcjs.NavLinkAnchorViaRuntime,
3657
+ NavLinkAnchor: _chunkSDF5UUTEcjs.NavLinkAnchorViaRuntime,
3586
3658
  className: previewMode ? "pointer-events-auto flex-1" : "flex-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
3587
3659
  contentClassName: "max-w-none pb-0",
3588
3660
  fullWidth: true,
@@ -3596,7 +3668,7 @@ function EmbeddableChatInner({
3596
3668
  quick-action chips. Guide mode keeps the slash-command
3597
3669
  onboarding list below. */
3598
3670
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3599
- _chunkEM4OEWCMcjs.MingoWelcome,
3671
+ _chunkSDF5UUTEcjs.MingoWelcome,
3600
3672
  {
3601
3673
  onStartGuideChat: effectiveModes.guide ? () => handleActiveModeChange("guide") : void 0,
3602
3674
  ...mingoWelcome,
@@ -3611,14 +3683,14 @@ function EmbeddableChatInner({
3611
3683
  + slash-command onboarding list share one scroll region,
3612
3684
  with a pinned quick-action chip row above the composer. */
3613
3685
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3614
- _chunkEM4OEWCMcjs.GuideWelcome,
3686
+ _chunkSDF5UUTEcjs.GuideWelcome,
3615
3687
  {
3616
3688
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
3617
3689
  subtitleLoading: emptyStateLoading,
3618
3690
  ...guideWelcome,
3619
- title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _62 => _62.title]))),
3620
- icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _63 => _63.icon]))),
3621
- quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _64 => _64.quickActions]), () => ( guideSuggestedActions)),
3691
+ title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _68 => _68.title]))),
3692
+ icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _69 => _69.icon]))),
3693
+ quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _70 => _70.quickActions]), () => ( guideSuggestedActions)),
3622
3694
  onQuickAction: (action) => {
3623
3695
  setQuickActionPreview(null);
3624
3696
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
@@ -3628,7 +3700,7 @@ function EmbeddableChatInner({
3628
3700
  agentSlug: activeAgentSlug,
3629
3701
  children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
3630
3702
  !commandsLoaded && chipCommands.length === 0 && SKELETON_ROW_VARIANTS.map((variant, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3631
- _chunkEM4OEWCMcjs.MingoOnboardingCardSkeleton,
3703
+ _chunkSDF5UUTEcjs.MingoOnboardingCardSkeleton,
3632
3704
  {
3633
3705
  titleWidth: variant.titleWidth,
3634
3706
  slashWidth: variant.slashWidth,
@@ -3666,7 +3738,7 @@ function EmbeddableChatInner({
3666
3738
  ) }),
3667
3739
  aboveComposer != null && aboveComposer !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 px-[var(--spacing-system-m)] pb-[var(--spacing-system-m)]", children: aboveComposer }),
3668
3740
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3669
- _chunkEM4OEWCMcjs.ChatAttachmentChipStrip,
3741
+ _chunkSDF5UUTEcjs.ChatAttachmentChipStrip,
3670
3742
  {
3671
3743
  attachments: stagedAttachments,
3672
3744
  onRemove: removeAttachment,
@@ -3674,7 +3746,7 @@ function EmbeddableChatInner({
3674
3746
  }
3675
3747
  ),
3676
3748
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3677
- _chunkEM4OEWCMcjs.ChatComposer,
3749
+ _chunkSDF5UUTEcjs.ChatComposer,
3678
3750
  {
3679
3751
  archived: isViewingArchived,
3680
3752
  lock: composerLock,
@@ -3694,8 +3766,8 @@ function EmbeddableChatInner({
3694
3766
  selectedContextItems: contextItems,
3695
3767
  onToggleContextItem: toggleContextItem,
3696
3768
  onRemoveContextItem: removeContextItem,
3697
- contextMemoryItems: _optionalChain([contextMemory, 'optionalAccess', _65 => _65.items]),
3698
- onRemoveContextMemoryItem: _optionalChain([contextMemory, 'optionalAccess', _66 => _66.onRemove]),
3769
+ contextMemoryItems: _optionalChain([contextMemory, 'optionalAccess', _71 => _71.items]),
3770
+ onRemoveContextMemoryItem: _optionalChain([contextMemory, 'optionalAccess', _72 => _72.onRemove]),
3699
3771
  contextPickerOpen,
3700
3772
  onOpenContextPicker: openContextPicker,
3701
3773
  onCloseContextPicker: closeContextPicker,
@@ -3725,7 +3797,7 @@ function EmbeddableChatInner({
3725
3797
  ),
3726
3798
  galleryModal,
3727
3799
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3728
- _chunkEM4OEWCMcjs.ChatDialogModals,
3800
+ _chunkSDF5UUTEcjs.ChatDialogModals,
3729
3801
  {
3730
3802
  renameTarget,
3731
3803
  setRenameTarget,
@@ -3741,13 +3813,13 @@ function EmbeddableChatInner({
3741
3813
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
3742
3814
  ] }) }) })
3743
3815
  );
3744
- const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkEM4OEWCMcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3816
+ const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSDF5UUTEcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
3745
3817
  shell === "none" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactvisuallyhidden.VisuallyHidden, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPrimitive.Title, { children: [
3746
3818
  sourceLabel,
3747
3819
  " AI Assistant"
3748
3820
  ] }) }),
3749
3821
  body
3750
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNTGIQP7Ocjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEM4OEWCMcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3822
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNTGIQP7Ocjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSDF5UUTEcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3751
3823
  _chunkNTGIQP7Ocjs.DrawerContent,
3752
3824
  {
3753
3825
  side: "right",