@mgamadeus/ddd-agents 0.1.1 → 0.1.2

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 (86) hide show
  1. package/README.md +100 -0
  2. package/dist/chat.js +132 -111
  3. package/dist/chat.js.map +1 -1
  4. package/dist/chunks/{ConversationMessageInputComposerWidgets-BO3jS0eZ.js → ConversationMessageInputComposerWidgets-r_RwCqr7.js} +11 -8
  5. package/dist/chunks/ConversationMessageInputComposerWidgets-r_RwCqr7.js.map +1 -0
  6. package/dist/chunks/{WebSearchResultsConversationWidget-H6cbTapV.js → WebSearchResultsConversationWidget-BXt98hGu.js} +161 -102
  7. package/dist/chunks/WebSearchResultsConversationWidget-BXt98hGu.js.map +1 -0
  8. package/dist/chunks/{canvas-behaviours-AvzKSYyv.js → canvas-behaviours-BpN_1xdZ.js} +2 -2
  9. package/dist/chunks/{canvas-behaviours-AvzKSYyv.js.map → canvas-behaviours-BpN_1xdZ.js.map} +1 -1
  10. package/dist/chunks/{canvas-reducers-Cdxt8yDF.js → canvas-reducers-CuX6L1zg.js} +3 -3
  11. package/dist/chunks/{canvas-reducers-Cdxt8yDF.js.map → canvas-reducers-CuX6L1zg.js.map} +1 -1
  12. package/dist/chunks/{canvasBodies-CsLrZ-M-.js → canvasBodies-Ds-cTn47.js} +9 -6
  13. package/dist/chunks/{canvasBodies-CsLrZ-M-.js.map → canvasBodies-Ds-cTn47.js.map} +1 -1
  14. package/dist/chunks/{canvasStorage-EvQsGdto.js → canvasStorage-DHNluopA.js} +2 -2
  15. package/dist/chunks/{canvasStorage-EvQsGdto.js.map → canvasStorage-DHNluopA.js.map} +1 -1
  16. package/dist/chunks/compose-attachment-message-text-FvVJbrge.js +8 -0
  17. package/dist/chunks/compose-attachment-message-text-FvVJbrge.js.map +1 -0
  18. package/dist/chunks/{contract-BxmMxYPF.js → contract-Z08LBOqt.js} +4 -3
  19. package/dist/chunks/contract-Z08LBOqt.js.map +1 -0
  20. package/dist/chunks/conversation-BEF0aesf.js.map +1 -1
  21. package/dist/chunks/host-color-scheme-Jhb7JZR7.js +30 -0
  22. package/dist/chunks/host-color-scheme-Jhb7JZR7.js.map +1 -0
  23. package/dist/chunks/{index-7Qc_3GbG.js → link-navigation-DyTApNeA.js} +156 -73
  24. package/dist/chunks/link-navigation-DyTApNeA.js.map +1 -0
  25. package/dist/chunks/text-key-DnoZ4lAk.js +6 -0
  26. package/dist/chunks/text-key-DnoZ4lAk.js.map +1 -0
  27. package/dist/chunks/{widget-click-signal-sources-1gIs1yiN.js → widget-click-signal-sources-Ch-y8gxw.js} +9 -5
  28. package/dist/chunks/{widget-click-signal-sources-1gIs1yiN.js.map → widget-click-signal-sources-Ch-y8gxw.js.map} +1 -1
  29. package/dist/chunks/{widget-image-readiness-signal-D3ci53xr.js → widget-image-readiness-signal-C5yaKpJJ.js} +2 -2
  30. package/dist/chunks/{widget-image-readiness-signal-D3ci53xr.js.map → widget-image-readiness-signal-C5yaKpJJ.js.map} +1 -1
  31. package/dist/chunks/{widget-name-resolver-D_ZzXy-Q.js → widget-name-resolver-DboFMAq2.js} +25 -25
  32. package/dist/chunks/widget-name-resolver-DboFMAq2.js.map +1 -0
  33. package/dist/chunks/{withPollingChangeSubscription-B16htQGd.js → withPollingChangeSubscription-CNXgt3Ri.js} +6 -2
  34. package/dist/chunks/withPollingChangeSubscription-CNXgt3Ri.js.map +1 -0
  35. package/dist/client-testing.js +6 -7
  36. package/dist/client-testing.js.map +1 -1
  37. package/dist/client.js +431 -2
  38. package/dist/client.js.map +1 -1
  39. package/dist/contract.js +1 -1
  40. package/dist/files/chat/Conversation.module.scss +1 -1
  41. package/dist/files/chat/ConversationViewBody/ConversationViewBody.module.scss +1 -1
  42. package/dist/files/i18n-keys.json +1617 -0
  43. package/dist/files/image-render/WidgetImageRender.module.scss +9 -3
  44. package/dist/files/styles/_surfaces.scss +6 -6
  45. package/dist/image-render.js +7 -7
  46. package/dist/index.js +64 -55
  47. package/dist/index.js.map +1 -1
  48. package/dist/kit.js +2 -2
  49. package/dist/preview.js +8 -8
  50. package/dist/provider.js +61 -52
  51. package/dist/provider.js.map +1 -1
  52. package/dist/renderer.js +16 -15
  53. package/dist/styles.css +170 -107
  54. package/dist/types/chat/AgentChat/AgentChat.d.ts +6 -0
  55. package/dist/types/chat/controller/AgentChatController.d.ts +28 -1
  56. package/dist/types/client/AgentsConversationClient.d.ts +7 -1
  57. package/dist/types/client/compose-attachment-message-text.d.ts +7 -0
  58. package/dist/types/client/http/agents-http-mappers.d.ts +23 -0
  59. package/dist/types/client/http/agents-http-wire.d.ts +188 -0
  60. package/dist/types/client/http/createAgentsHttpConversationClient.d.ts +55 -0
  61. package/dist/types/client/polling/createPollingConversationChangeSubscription.d.ts +7 -4
  62. package/dist/types/client/polling/withPollingChangeSubscription.d.ts +3 -2
  63. package/dist/types/contract/conversation.d.ts +8 -0
  64. package/dist/types/entries/chat.d.ts +2 -1
  65. package/dist/types/entries/client.d.ts +4 -0
  66. package/dist/types/entries/renderer.d.ts +1 -0
  67. package/dist/types/entries/widgets.d.ts +1 -1
  68. package/dist/types/provider/components/types.d.ts +5 -2
  69. package/dist/types/provider/environment.d.ts +13 -0
  70. package/dist/types/provider/host-color-scheme.d.ts +24 -0
  71. package/dist/types/provider/index.d.ts +4 -0
  72. package/dist/types/provider/link-navigation.d.ts +28 -0
  73. package/dist/types/provider/text-key.d.ts +6 -0
  74. package/dist/types/renderer/MarkdownLink.d.ts +8 -6
  75. package/dist/types/widgets/CanvasLauncherWidget/use-canvas-viable.d.ts +43 -9
  76. package/dist/types/widgets/EntityMentionConversationWidget/shared/entity-mention-presentation.d.ts +1 -1
  77. package/dist/types/widgets/_shared/modern/WidgetKpiValue.d.ts +2 -1
  78. package/dist/widgets.js +43 -40
  79. package/package.json +4 -2
  80. package/public-api.json +85 -18
  81. package/dist/chunks/ConversationMessageInputComposerWidgets-BO3jS0eZ.js.map +0 -1
  82. package/dist/chunks/WebSearchResultsConversationWidget-H6cbTapV.js.map +0 -1
  83. package/dist/chunks/contract-BxmMxYPF.js.map +0 -1
  84. package/dist/chunks/index-7Qc_3GbG.js.map +0 -1
  85. package/dist/chunks/widget-name-resolver-D_ZzXy-Q.js.map +0 -1
  86. package/dist/chunks/withPollingChangeSubscription-B16htQGd.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
3
  import React, { useReducer, useRef, useCallback, useMemo, useEffect, useState, useContext, createContext, useLayoutEffect, useId, useSyncExternalStore, Fragment as Fragment$1 } from "react";
4
- import { b as registerWidgetHydrator, Y as SkeletonLine, V as WidgetSurface, ae as WidgetKpiValue, A as readWidgetAgentSpaceKeyAttribute, W as WidgetRenderReportContext, j as buildWidgetAgentSpaceKeyProps, aE as readTextNodeContent, aF as readAllowedValue, E as useConversationWidgetContext, M as ModelText, a5 as DonePill, aD as ConversationWidgetButton, D as shortStringHash, K as WidgetImageReadinessContext, y as messageAnchor, C as ConversationWidgetActions, aG as useReportTextNodeRenderState, aH as readTextNodeRenderState, a9 as SkeletonPill, aI as buildFaviconUrl, aJ as readSiteHostname, X as SkeletonCircle, aK as readSafeHttpUrl, H as useWidgetHydration, F as useIsEmailWidgetRender, G as useReportWidgetRenderStatus, a0 as ClockConversationWidget, a1 as ConceptExplainerConversationWidget, a3 as CurrencyConverterConversationWidget, a4 as CustomVisualizationConversationWidget, az as normalizeEntityMentionFields, a6 as EntityMentionConversationWidget, af as WritingDraftConversationWidget, ab as SuggestedActions, a7 as MultiChoiceConversationWidget, a8 as QuickRepliesConversationWidget, ac as ToolTraceConversationWidget, a2 as ConversationSearchResultsConversationWidget, ad as WebSearchResultsConversationWidget } from "./WebSearchResultsConversationWidget-H6cbTapV.js";
5
- import { V as getWidgetSelfHydrationKeyFieldName, J as getAgentsEnvironment, E as escapePlainTextForText, q as Text, I as Icon, a5 as useAgentsOwnerSettings, z as classNames, B as Button, S as SegmentBar, u as TrendDelta, v as WidgetText, $ as translateText, Z as reportWidgetCrash, W as WidgetFeatureGate, f as InteractiveSurface, C as Checkbox, d as DateInput, s as TextInput, R as RadioGroup, k as Select, j as RangeSlider, T as Tabs, r as TextArea, M as Map$1, g as MapMarker, a4 as useAgentsMapsLoader, l as Skeleton, X as openImageGallery, o as StatusBadge, h as Markdown } from "./index-7Qc_3GbG.js";
4
+ import { b as registerWidgetHydrator, Z as SkeletonLine, X as WidgetSurface, ah as WidgetKpiValue, A as readWidgetAgentSpaceKeyAttribute, W as WidgetRenderReportContext, j as buildWidgetAgentSpaceKeyProps, aH as readTextNodeContent, aI as readAllowedValue, E as useConversationWidgetContext, M as ModelText, a7 as DonePill, aG as ConversationWidgetButton, D as shortStringHash, K as WidgetImageReadinessContext, y as messageAnchor, C as ConversationWidgetActions, aJ as useReportTextNodeRenderState, aK as readTextNodeRenderState, ac as SkeletonPill, aL as buildFaviconUrl, aM as readSiteHostname, Y as SkeletonCircle, aN as readSafeHttpUrl, H as useWidgetHydration, F as useIsEmailWidgetRender, G as useReportWidgetRenderStatus, a2 as ClockConversationWidget, a3 as ConceptExplainerConversationWidget, a5 as CurrencyConverterConversationWidget, a6 as CustomVisualizationConversationWidget, aC as normalizeEntityMentionFields, a9 as EntityMentionConversationWidget, ai as WritingDraftConversationWidget, ae as SuggestedActions, aa as MultiChoiceConversationWidget, ab as QuickRepliesConversationWidget, af as ToolTraceConversationWidget, a4 as ConversationSearchResultsConversationWidget, ag as WebSearchResultsConversationWidget } from "./WebSearchResultsConversationWidget-BXt98hGu.js";
5
+ import { Y as getWidgetSelfHydrationKeyFieldName, N as getAgentsEnvironment, J as escapePlainTextForText, s as Text, I as Icon, a8 as useAgentsOwnerSettings, F as classNames, a6 as useAgentsLinkNavigation, B as Button, A as AgentsLink, S as SegmentBar, w as TrendDelta, x as WidgetText, a1 as translateText, $ as reportWidgetCrash, W as WidgetFeatureGate, h as InteractiveSurface, C as Checkbox, f as DateInput, u as TextInput, R as RadioGroup, m as Select, l as RangeSlider, T as Tabs, t as TextArea, M as Map$1, i as MapMarker, a7 as useAgentsMapsLoader, n as Skeleton, Z as openImageGallery, q as StatusBadge, j as Markdown, a5 as useAgentsEnvironment } from "./link-navigation-DyTApNeA.js";
6
6
  import ReactApexChartImport from "react-apexcharts";
7
7
  import { i as isAgentsIconName } from "./icon-names-Di6c4zLo.js";
8
8
  import { unified } from "unified";
@@ -2829,8 +2829,9 @@ const readFootnoteSources = (source2) => {
2829
2829
  };
2830
2830
  const SourceChip$1 = (props) => {
2831
2831
  const { footnoteSource, isEmailRender, appearance, testId } = props;
2832
+ const { openLink: openLink2 } = useAgentsLinkNavigation();
2832
2833
  const openSource = () => {
2833
- if (footnoteSource.url) window.open(footnoteSource.url, "_blank", "noopener,noreferrer");
2834
+ if (footnoteSource.url) openLink2(footnoteSource.url);
2834
2835
  };
2835
2836
  if (appearance === "quiet") {
2836
2837
  return /* @__PURE__ */ jsx(
@@ -2855,7 +2856,7 @@ const SourceChip$1 = (props) => {
2855
2856
  /* @__PURE__ */ jsx(Text, { role: "caption", color: "var(--agents-fg-light)", translate: false, children: escapePlainTextForText(footnoteSource.name) })
2856
2857
  ] });
2857
2858
  if (footnoteSource.url && !isEmailRender) {
2858
- return /* @__PURE__ */ jsx("a", { className, "data-testid": testId, href: footnoteSource.url, target: "_blank", rel: "noopener noreferrer", children: sourceChipContent });
2859
+ return /* @__PURE__ */ jsx(AgentsLink, { className, "data-testid": testId, href: footnoteSource.url, children: sourceChipContent });
2859
2860
  }
2860
2861
  return /* @__PURE__ */ jsx("span", { className, "data-testid": testId, children: sourceChipContent });
2861
2862
  };
@@ -5310,12 +5311,10 @@ const Quote = (props) => {
5310
5311
  attribution2 !== void 0 ? /* @__PURE__ */ jsx(Text, { role: "caption", color: "var(--agents-fg-light)", translate: false, children: escapePlainTextForText(attribution2) }) : null,
5311
5312
  attribution2 !== void 0 && sourceLabel2 !== void 0 ? /* @__PURE__ */ jsx(Text, { role: "caption", color: "var(--agents-fg-lightest)", translate: false, ariaHidden: true, children: "·" }) : null,
5312
5313
  sourceLabel2 !== void 0 && canOpenSource ? /* @__PURE__ */ jsx(
5313
- "a",
5314
+ AgentsLink,
5314
5315
  {
5315
5316
  className: styles$q.sourceLink,
5316
5317
  href: source2?.url,
5317
- target: "_blank",
5318
- rel: "noopener noreferrer",
5319
5318
  "data-testid": `${testId}-source`,
5320
5319
  children: /* @__PURE__ */ jsx(Text, { role: "caption", color: "var(--agents-fg-light)", translate: false, children: escapePlainTextForText(sourceLabel2) })
5321
5320
  }
@@ -7047,6 +7046,7 @@ const VideoNode = (props) => {
7047
7046
  const source2 = useMemo(() => readMediaSource(nodeProps.source), [nodeProps.source]);
7048
7047
  const isCompact = sizeClass === "compact";
7049
7048
  const [isPlaying, setIsPlaying] = useState(false);
7049
+ const { openLink: openLink2 } = useAgentsLinkNavigation();
7050
7050
  const {
7051
7051
  loadState: thumbnailLoadState,
7052
7052
  imageRef: thumbnailRef,
@@ -7085,7 +7085,7 @@ const VideoNode = (props) => {
7085
7085
  setIsPlaying(true);
7086
7086
  return;
7087
7087
  }
7088
- if (watchUrl) window.open(watchUrl, "_blank", "noopener,noreferrer");
7088
+ if (watchUrl) openLink2(watchUrl);
7089
7089
  };
7090
7090
  const metaLine2 = [channel, duration].filter((metaPart) => metaPart !== void 0).join(" · ");
7091
7091
  const sourceName = source2 && source2.name !== channel ? source2.name : void 0;
@@ -7142,12 +7142,10 @@ const VideoNode = (props) => {
7142
7142
  sourceName ? /* @__PURE__ */ jsx(ModelText, { role: "caption", color: "var(--agents-fg-lightest)", children: sourceName }) : null
7143
7143
  ] }),
7144
7144
  canOpen && watchUrl ? /* @__PURE__ */ jsxs(
7145
- "a",
7145
+ AgentsLink,
7146
7146
  {
7147
7147
  className: styles$i.openLink,
7148
7148
  href: watchUrl,
7149
- target: "_blank",
7150
- rel: "noopener noreferrer",
7151
7149
  "data-testid": `${testId}-open-link`,
7152
7150
  children: [
7153
7151
  /* @__PURE__ */ jsx(Text, { role: "help", weight: "medium", color: "var(--agents-fg-cta)", children: "Open video" }),
@@ -7235,6 +7233,7 @@ const VideoWidgetNode = (props) => {
7235
7233
  const publishedDay = formatPublishedDay(nodeProps.publishedAt, numberLocale);
7236
7234
  const isCompact = sizeClass === "compact";
7237
7235
  const [isPlaying, setIsPlaying] = useState(false);
7236
+ const { openLink: openLink2 } = useAgentsLinkNavigation();
7238
7237
  const {
7239
7238
  loadState: thumbnailLoadState,
7240
7239
  imageRef: thumbnailRef,
@@ -7280,7 +7279,7 @@ const VideoWidgetNode = (props) => {
7280
7279
  setIsPlaying(true);
7281
7280
  return;
7282
7281
  }
7283
- if (watchUrl) window.open(watchUrl, "_blank", "noopener,noreferrer");
7282
+ if (watchUrl) openLink2(watchUrl);
7284
7283
  };
7285
7284
  const frame2 = isPlaying && videoId ? /* @__PURE__ */ jsx("span", { className: styles$h.frame, children: /* @__PURE__ */ jsx(
7286
7285
  "iframe",
@@ -7352,12 +7351,10 @@ const VideoWidgetNode = (props) => {
7352
7351
  ] }, phraseIndex)) }) : null
7353
7352
  ] }),
7354
7353
  hasControls && watchUrl ? /* @__PURE__ */ jsxs(
7355
- "a",
7354
+ AgentsLink,
7356
7355
  {
7357
7356
  className: styles$h.openLink,
7358
7357
  href: watchUrl,
7359
- target: "_blank",
7360
- rel: "noopener noreferrer",
7361
7358
  "data-testid": `${testId}-open-link`,
7362
7359
  children: [
7363
7360
  /* @__PURE__ */ jsx(Text, { role: "help", weight: "medium", color: "var(--agents-fg-cta)", children: "Open on YouTube" }),
@@ -8317,7 +8314,7 @@ const LinkNode = (props) => {
8317
8314
  if (safeUrl === null) {
8318
8315
  return /* @__PURE__ */ jsx(Text, { role: "body", translate: false, display: "inline", className: styles$7.unlinked, testId, children: escapePlainTextForText(content2.text) });
8319
8316
  }
8320
- return /* @__PURE__ */ jsxs("a", { className: styles$7.link, href: safeUrl, target: "_blank", rel: "noopener noreferrer", "data-testid": testId, children: [
8317
+ return /* @__PURE__ */ jsxs(AgentsLink, { className: styles$7.link, href: safeUrl, "data-testid": testId, children: [
8321
8318
  /* @__PURE__ */ jsx(Text, { role: "body", translate: false, display: "inline", className: styles$7.linkText, children: escapePlainTextForText(content2.text) }),
8322
8319
  /* @__PURE__ */ jsx(Icon, { color: "var(--agents-fg-light)", className: styles$7.newTabIcon, pixelSize: 14, name: "newTab" })
8323
8320
  ] });
@@ -8365,7 +8362,7 @@ const SAFE_MARKDOWN_COMPONENTS = {
8365
8362
  a: (props) => {
8366
8363
  const safeUrl = readSafeHttpUrl(props.href);
8367
8364
  if (safeUrl === null) return /* @__PURE__ */ jsx("span", { children: props.children });
8368
- return /* @__PURE__ */ jsx("a", { className: styles$6.link, href: safeUrl, target: "_blank", rel: "noopener noreferrer", children: props.children });
8365
+ return /* @__PURE__ */ jsx(AgentsLink, { className: styles$6.link, href: safeUrl, children: props.children });
8369
8366
  }
8370
8367
  };
8371
8368
  const MarkdownNode = (props) => {
@@ -8466,12 +8463,10 @@ const SourceChip = (props) => {
8466
8463
  if (entry2.url === null)
8467
8464
  return /* @__PURE__ */ jsx("span", { className: styles$5.chip, "data-testid": testId, children: chipContent });
8468
8465
  return /* @__PURE__ */ jsx(
8469
- "a",
8466
+ AgentsLink,
8470
8467
  {
8471
8468
  className: classNames(styles$5.chip, styles$5.linkedChip),
8472
8469
  href: entry2.url,
8473
- target: "_blank",
8474
- rel: "noopener noreferrer",
8475
8470
  title: entry2.title ?? entry2.name,
8476
8471
  "data-testid": testId,
8477
8472
  children: chipContent
@@ -8509,7 +8504,7 @@ const SourceAttribution = (props) => {
8509
8504
  children: "·"
8510
8505
  }
8511
8506
  ) : null,
8512
- part.url === null ? partText : /* @__PURE__ */ jsx("a", { className: styles$5.licenseLink, href: part.url, target: "_blank", rel: "noopener noreferrer", children: partText })
8507
+ part.url === null ? partText : /* @__PURE__ */ jsx(AgentsLink, { className: styles$5.licenseLink, href: part.url, children: partText })
8513
8508
  ] }, partIndex);
8514
8509
  }) });
8515
8510
  };
@@ -9147,6 +9142,7 @@ const ComposedViewRenderer = (props) => {
9147
9142
  testId = "composed-view-widget"
9148
9143
  } = props;
9149
9144
  const budgets2 = composedNodeSchema.budgets;
9145
+ const { openLink: openLink2 } = useAgentsLinkNavigation();
9150
9146
  const { state, setStateValue, resetState } = useComposedViewState(tree, budgets2);
9151
9147
  const [nodeReports, dispatchNodeReport] = useReducer(nodeReportsReducer, {});
9152
9148
  const [sourceValues, dispatchSourceValue] = useReducer(sourceValuesReducer, {});
@@ -9197,7 +9193,7 @@ const ComposedViewRenderer = (props) => {
9197
9193
  if (!action || isEmailRender) return;
9198
9194
  if (action.type === "resetState") resetState();
9199
9195
  if (action.type === "openUrl" && typeof action.url === "string") {
9200
- window.open(action.url, "_blank", "noopener,noreferrer");
9196
+ openLink2(action.url);
9201
9197
  }
9202
9198
  if (action.type === "openEntity" && isRowBoundOpenEntityAction(action)) {
9203
9199
  if (readOpenEntityActionTarget(action, eventRow) === void 0) {
@@ -9236,6 +9232,7 @@ const ComposedViewRenderer = (props) => {
9236
9232
  tree.actions,
9237
9233
  isEmailRender,
9238
9234
  resetState,
9235
+ openLink2,
9239
9236
  onOpenEntity,
9240
9237
  state,
9241
9238
  computedValues.values,
@@ -9422,11 +9419,14 @@ const ComposedViewConversationWidget = (props) => {
9422
9419
  const [blockReport, setBlockReport] = useState({ status: "pending" });
9423
9420
  const onReport = useCallback((entry2) => setBlockReport(entry2), []);
9424
9421
  const { openCanvas } = useConversationWidgetContext();
9422
+ const { onOpenEntity: openEntityOnHostRoute } = useAgentsEnvironment();
9425
9423
  const numericMessageId = messageId === void 0 ? Number.NaN : Number(messageId);
9426
9424
  const onOpenEntity = useCallback(
9427
9425
  (action, currentRow) => {
9428
9426
  const target = readOpenEntityActionTarget(action, currentRow);
9429
- if (target === void 0 || !Number.isFinite(numericMessageId)) return;
9427
+ if (target === void 0) return;
9428
+ if (openEntityOnHostRoute?.(target) === true) return;
9429
+ if (!Number.isFinite(numericMessageId)) return;
9430
9430
  openCanvas({
9431
9431
  canvasId: "entityDetail",
9432
9432
  instanceId: canvasInstanceIdForEntityDetail(target),
@@ -9435,7 +9435,7 @@ const ComposedViewConversationWidget = (props) => {
9435
9435
  justDelivered: false
9436
9436
  });
9437
9437
  },
9438
- [openCanvas, numericMessageId]
9438
+ [openCanvas, numericMessageId, openEntityOnHostRoute]
9439
9439
  );
9440
9440
  useReportWidgetRenderStatus(blockReport.status, blockReport.code, blockReport.detail);
9441
9441
  return /* @__PURE__ */ jsx(
@@ -9706,4 +9706,4 @@ export {
9706
9706
  getConversationWidgetRegistryRevision as y,
9707
9707
  readComposedViewTree as z
9708
9708
  };
9709
- //# sourceMappingURL=widget-name-resolver-D_ZzXy-Q.js.map
9709
+ //# sourceMappingURL=widget-name-resolver-DboFMAq2.js.map