@mgamadeus/ddd-agents 0.11.0 → 0.11.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 (22) hide show
  1. package/dist/chat.js +7 -7
  2. package/dist/chunks/{ConversationMarkdown-C3SKd3i-.js → ConversationMarkdown-DCm4ll82.js} +2 -2
  3. package/dist/chunks/{ConversationMarkdown-C3SKd3i-.js.map → ConversationMarkdown-DCm4ll82.js.map} +1 -1
  4. package/dist/chunks/{ConversationMessageInputComposerWidgets-D7x-TFKG.js → ConversationMessageInputComposerWidgets-BQcgcvgL.js} +2 -2
  5. package/dist/chunks/{ConversationMessageInputComposerWidgets-D7x-TFKG.js.map → ConversationMessageInputComposerWidgets-BQcgcvgL.js.map} +1 -1
  6. package/dist/chunks/{VoiceBarsIcon-CNIPOLtV.js → VoiceBarsIcon-h6Tsr8aW.js} +3 -3
  7. package/dist/chunks/{VoiceBarsIcon-CNIPOLtV.js.map → VoiceBarsIcon-h6Tsr8aW.js.map} +1 -1
  8. package/dist/chunks/{canvas-title-slot-context-rl94V4u4.js → canvas-title-slot-context-C4o3GH-d.js} +2 -2
  9. package/dist/chunks/{canvas-title-slot-context-rl94V4u4.js.map → canvas-title-slot-context-C4o3GH-d.js.map} +1 -1
  10. package/dist/chunks/{canvasBodies-C3wydcKZ.js → canvasBodies-CWAk_98Z.js} +2 -2
  11. package/dist/chunks/{canvasBodies-C3wydcKZ.js.map → canvasBodies-CWAk_98Z.js.map} +1 -1
  12. package/dist/chunks/{widget-name-resolver-akTPWt63.js → widget-name-resolver-Bv6EFL24.js} +17 -17
  13. package/dist/chunks/{widget-name-resolver-akTPWt63.js.map → widget-name-resolver-Bv6EFL24.js.map} +1 -1
  14. package/dist/client-testing.js +2 -2
  15. package/dist/image-render.js +2 -2
  16. package/dist/index.js +3 -3
  17. package/dist/kit.js +1 -1
  18. package/dist/preview.js +3 -3
  19. package/dist/renderer.js +5 -5
  20. package/dist/styles.css +150 -2
  21. package/dist/voice.js +1 -1
  22. package/package.json +1 -1
@@ -2,8 +2,8 @@
2
2
  import { a as AgentsClientError, C as CONVERSATION_RUN_STATES_THAT_END_THE_CONVERSATION, r as readConversationRunStatusOfRunState } from "./chunks/conversation-CbWEHPbL.js";
3
3
  import { c as composeAttachmentMessageText } from "./chunks/compose-attachment-message-text-FvVJbrge.js";
4
4
  import { l as listWidgetHydratorTypes, k as getWidgetHydrator, h as registerWidgetHydrator, m as abandonWidgetHydrationReads, u as unregisterWidgetHydrator } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
5
- import { j as conversationWidgetRegistry, k as replaceConversationWidgetRegistryEntries } from "./chunks/widget-name-resolver-akTPWt63.js";
6
- import { l, s } from "./chunks/widget-name-resolver-akTPWt63.js";
5
+ import { j as conversationWidgetRegistry, k as replaceConversationWidgetRegistryEntries } from "./chunks/widget-name-resolver-Bv6EFL24.js";
6
+ import { l, s } from "./chunks/widget-name-resolver-Bv6EFL24.js";
7
7
  import { c, r, s as s2 } from "./chunks/canvasStorage-D9EnBraV.js";
8
8
  const DEFAULT_SCRIPTED_ASSISTANT_ANSWER = "Done.";
9
9
  const DEFAULT_PAGE_SIZE = 50;
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import React, { useRef, useEffect } from "react";
4
- import { G as resolveWidgetName, j as conversationWidgetRegistry } from "./chunks/widget-name-resolver-akTPWt63.js";
5
- import { H } from "./chunks/widget-name-resolver-akTPWt63.js";
4
+ import { G as resolveWidgetName, j as conversationWidgetRegistry } from "./chunks/widget-name-resolver-Bv6EFL24.js";
5
+ import { H } from "./chunks/widget-name-resolver-Bv6EFL24.js";
6
6
  import { z as ConversationWidgetRenderContext, a7 as WidgetImageReadinessContext, R as ReadOnlyConversationWidgetProvider, a8 as WidgetImageRenderContext, a9 as WidgetImageLiveHydrationContext, A as buildWidgetAgentSpaceKeyProps } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
7
7
  import { aa, ab, ac } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
8
8
  import { r as readWidgetImageReadiness, p as publishWidgetImageReadiness, i as interceptXMLHttpRequests, a as interceptFetchRequests, c as createHeaderlessResponse, t as toSameRealmFetchInput } from "./chunks/browser-request-interception-ydNOzeUL.js";
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { h, i } from "./chunks/widget-name-resolver-akTPWt63.js";
3
- import { r as registerCanvasBodies, c as canvasBodies } from "./chunks/canvasBodies-C3wydcKZ.js";
4
- import { g, a, b } from "./chunks/canvasBodies-C3wydcKZ.js";
2
+ import { h, i } from "./chunks/widget-name-resolver-Bv6EFL24.js";
3
+ import { r as registerCanvasBodies, c as canvasBodies } from "./chunks/canvasBodies-CWAk_98Z.js";
4
+ import { g, a, b } from "./chunks/canvasBodies-CWAk_98Z.js";
5
5
  import { a as isPackageCanvasId, d as declareCanvasKind, f as forgetCanvasKind } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
6
6
  import { r, b as b2, c, e, g as g2, h as h2 } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
7
7
  import { r as registerCanvasFeatureFlags, c as canvasFeatureFlags } from "./chunks/canvas-feature-flags-Cn8xBliA.js";
package/dist/kit.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { A, C, a, b, c, d, e, E, r, f, u, g } from "./chunks/widget-name-resolver-akTPWt63.js";
2
+ import { A, C, a, b, c, d, e, E, r, f, u, g } from "./chunks/widget-name-resolver-Bv6EFL24.js";
3
3
  import { M } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
4
4
  import { E as E2, u as u2 } from "./chunks/entity-detail-name-3A82gDAp.js";
5
5
  export {
package/dist/preview.js CHANGED
@@ -2,12 +2,12 @@
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import { s as Text, Y as getWidgetSelfHydrationKeyFieldName, e as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME, V as getSandboxLegacyAliases } from "./chunks/link-navigation-DRHt6g7U.js";
4
4
  import { useRef, useState, useMemo, useEffect, useCallback } from "react";
5
- import { Q as buildComposedViewComponentRegistry, R as composedViewComponents, G as resolveWidgetName, j as conversationWidgetRegistry, o as ConversationWidgetErrorBoundary, S as ComposedViewComponentsContext } from "./chunks/widget-name-resolver-akTPWt63.js";
5
+ import { Q as buildComposedViewComponentRegistry, R as composedViewComponents, G as resolveWidgetName, j as conversationWidgetRegistry, o as ConversationWidgetErrorBoundary, S as ComposedViewComponentsContext } from "./chunks/widget-name-resolver-Bv6EFL24.js";
6
6
  import { aN as WidgetSurface, Z as readWidgetAgentSpaceKeyAttribute, j as canvasBehaviourOf, W as WidgetRenderReportContext, A as buildWidgetAgentSpaceKeyProps, S as StandaloneConversationWidgetProvider, z as ConversationWidgetRenderContext, a8 as WidgetImageRenderContext, ah as CANVAS_VIABLE_MIN_WIDTH, l as listWidgetHydratorTypes, k as getWidgetHydrator, u as unregisterWidgetHydrator, h as registerWidgetHydrator } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
7
- import { c as canvasBodies, E as EntityMentionAskButton } from "./chunks/canvasBodies-C3wydcKZ.js";
7
+ import { c as canvasBodies, E as EntityMentionAskButton } from "./chunks/canvasBodies-CWAk_98Z.js";
8
8
  import { f as decideCanvasOpen } from "./chunks/canvas-reducers-CAtcbD4i.js";
9
9
  import { p as publishWidgetImageReadiness, i as interceptXMLHttpRequests, d as isFetchRequest, c as createHeaderlessResponse } from "./chunks/browser-request-interception-ydNOzeUL.js";
10
- import { C as ConversationWidgetProvider, a as ConversationMessageInputComposerWidgets } from "./chunks/ConversationMessageInputComposerWidgets-D7x-TFKG.js";
10
+ import { C as ConversationWidgetProvider, a as ConversationMessageInputComposerWidgets } from "./chunks/ConversationMessageInputComposerWidgets-BQcgcvgL.js";
11
11
  const page$1 = "agents_page_5VMDeD";
12
12
  const chatColumn = "agents_chatColumn_FWcgdJ";
13
13
  const widget = "agents_widget_3qpgMy";
package/dist/renderer.js CHANGED
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { C, a, M, W, b, c, d, p, s } from "./chunks/ConversationMarkdown-C3SKd3i-.js";
3
- import { m as findWidgetFenceByPayloadHash, n as findWidgetFencesInMarkdown } from "./chunks/widget-name-resolver-akTPWt63.js";
4
- import { o, p as p2, q, t, v, w, j, x, y, z, B, D, F, G } from "./chunks/widget-name-resolver-akTPWt63.js";
2
+ import { C, a, M, W, b, c, d, p, s } from "./chunks/ConversationMarkdown-DCm4ll82.js";
3
+ import { m as findWidgetFenceByPayloadHash, n as findWidgetFencesInMarkdown } from "./chunks/widget-name-resolver-Bv6EFL24.js";
4
+ import { o, p as p2, q, t, v, w, j, x, y, z, B, D, F, G } from "./chunks/widget-name-resolver-Bv6EFL24.js";
5
5
  import { n as useResolvedConversationWidgetAgentSpaceKey, p as payloadHashOfInstanceId } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
6
6
  import { C as C2, o as o2, q as q2, t as t2, v as v2, w as w2, x as x2, y as y2, z as z2, D as D2, L, R, S, W as W2, A, j as j2, B as B2, E, F as F2, G as G2, H, I, J, K, N, O, P, k, Q, T, i, U, a as a2, V, X, Y, Z, _, h, $, s as s2, a0, u, a1, a2 as a22, a3, a4, a5, a6 } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
7
- import { C as C3, d as d2, g, i as i2, r, u as u2 } from "./chunks/canvas-title-slot-context-rl94V4u4.js";
8
- import { c as c2, u as u3 } from "./chunks/canvasBodies-C3wydcKZ.js";
7
+ import { C as C3, d as d2, g, i as i2, r, u as u2 } from "./chunks/canvas-title-slot-context-C4o3GH-d.js";
8
+ import { c as c2, u as u3 } from "./chunks/canvasBodies-CWAk_98Z.js";
9
9
  import { jsxs, jsx } from "react/jsx-runtime";
10
10
  import { n as Skeleton } from "./chunks/link-navigation-DRHt6g7U.js";
11
11
  import { ac, ad, ae, af, ag } from "./chunks/link-navigation-DRHt6g7U.js";
package/dist/styles.css CHANGED
@@ -4347,7 +4347,7 @@ thead + tbody .agents_row_VBlQR-:first-child {
4347
4347
  gap: 0.75rem;
4348
4348
  min-width: 0;
4349
4349
  width: 100%;
4350
- }.agents_root_c0NCo5 {
4350
+ }.agents_row_3OqxgT {
4351
4351
  display: flex;
4352
4352
  flex-wrap: wrap;
4353
4353
  align-items: center;
@@ -4385,7 +4385,7 @@ thead + tbody .agents_row_VBlQR-:first-child {
4385
4385
 
4386
4386
  .agents_remove_SMhLO7 {
4387
4387
  cursor: pointer;
4388
- }.agents_root_Z3Vqoh {
4388
+ }.agents_row_SsalOD {
4389
4389
  display: flex;
4390
4390
  flex-wrap: wrap;
4391
4391
  align-items: center;
@@ -4843,6 +4843,10 @@ thead + tbody .agents_row_VBlQR-:first-child {
4843
4843
  content: "+";
4844
4844
  }
4845
4845
 
4846
+ .agents-icon[data-icon=ai]::before {
4847
+ content: "✦";
4848
+ }
4849
+
4846
4850
  .agents-icon[data-icon=arrowDown]::before {
4847
4851
  content: "↓";
4848
4852
  }
@@ -4859,6 +4863,26 @@ thead + tbody .agents_row_VBlQR-:first-child {
4859
4863
  content: "↑";
4860
4864
  }
4861
4865
 
4866
+ .agents-icon[data-icon=barChart]::before {
4867
+ content: "▥";
4868
+ }
4869
+
4870
+ .agents-icon[data-icon=browser]::before {
4871
+ content: "◫";
4872
+ }
4873
+
4874
+ .agents-icon[data-icon=budget]::before {
4875
+ content: "€";
4876
+ }
4877
+
4878
+ .agents-icon[data-icon=business]::before {
4879
+ content: "▦";
4880
+ }
4881
+
4882
+ .agents-icon[data-icon=calendar]::before {
4883
+ content: "▦";
4884
+ }
4885
+
4862
4886
  .agents-icon[data-icon=caretDown]::before {
4863
4887
  content: "▾";
4864
4888
  }
@@ -4891,30 +4915,70 @@ thead + tbody .agents_row_VBlQR-:first-child {
4891
4915
  content: "–";
4892
4916
  }
4893
4917
 
4918
+ .agents-icon[data-icon=desktop]::before {
4919
+ content: "▭";
4920
+ }
4921
+
4894
4922
  .agents-icon[data-icon=details]::before {
4895
4923
  content: "⋯";
4896
4924
  }
4897
4925
 
4926
+ .agents-icon[data-icon=directions]::before {
4927
+ content: "➤";
4928
+ }
4929
+
4930
+ .agents-icon[data-icon=document]::before {
4931
+ content: "▤";
4932
+ }
4933
+
4898
4934
  .agents-icon[data-icon=download]::before {
4899
4935
  content: "↓";
4900
4936
  }
4901
4937
 
4938
+ .agents-icon[data-icon=duplicate]::before {
4939
+ content: "⧉";
4940
+ }
4941
+
4902
4942
  .agents-icon[data-icon=edit]::before {
4903
4943
  content: "✎";
4904
4944
  }
4905
4945
 
4946
+ .agents-icon[data-icon=event]::before {
4947
+ content: "◆";
4948
+ }
4949
+
4906
4950
  .agents-icon[data-icon=exclamation]::before {
4907
4951
  content: "!";
4908
4952
  }
4909
4953
 
4954
+ .agents-icon[data-icon=google]::before {
4955
+ content: "G";
4956
+ }
4957
+
4910
4958
  .agents-icon[data-icon=help]::before {
4911
4959
  content: "?";
4912
4960
  }
4913
4961
 
4962
+ .agents-icon[data-icon=home]::before {
4963
+ content: "⌂";
4964
+ }
4965
+
4966
+ .agents-icon[data-icon=image]::before {
4967
+ content: "▣";
4968
+ }
4969
+
4914
4970
  .agents-icon[data-icon=info]::before {
4915
4971
  content: "i";
4916
4972
  }
4917
4973
 
4974
+ .agents-icon[data-icon=like]::before {
4975
+ content: "♥";
4976
+ }
4977
+
4978
+ .agents-icon[data-icon=lineChart]::before {
4979
+ content: "⟋";
4980
+ }
4981
+
4918
4982
  .agents-icon[data-icon=link]::before {
4919
4983
  content: "↗";
4920
4984
  }
@@ -4927,10 +4991,18 @@ thead + tbody .agents_row_VBlQR-:first-child {
4927
4991
  content: "⚿";
4928
4992
  }
4929
4993
 
4994
+ .agents-icon[data-icon=lockOpen]::before {
4995
+ content: "⚿";
4996
+ }
4997
+
4930
4998
  .agents-icon[data-icon=mail]::before {
4931
4999
  content: "✉";
4932
5000
  }
4933
5001
 
5002
+ .agents-icon[data-icon=maps]::before {
5003
+ content: "◉";
5004
+ }
5005
+
4934
5006
  .agents-icon[data-icon=maximize]::before {
4935
5007
  content: "⤢";
4936
5008
  }
@@ -4939,14 +5011,38 @@ thead + tbody .agents_row_VBlQR-:first-child {
4939
5011
  content: "❝";
4940
5012
  }
4941
5013
 
5014
+ .agents-icon[data-icon=messageBad]::before {
5015
+ content: "☹";
5016
+ }
5017
+
5018
+ .agents-icon[data-icon=messageGood]::before {
5019
+ content: "☺";
5020
+ }
5021
+
5022
+ .agents-icon[data-icon=messageNeutral]::before {
5023
+ content: "☐";
5024
+ }
5025
+
4942
5026
  .agents-icon[data-icon=minimize]::before {
4943
5027
  content: "⤡";
4944
5028
  }
4945
5029
 
5030
+ .agents-icon[data-icon=mobile]::before {
5031
+ content: "▯";
5032
+ }
5033
+
4946
5034
  .agents-icon[data-icon=newTab]::before {
4947
5035
  content: "↗";
4948
5036
  }
4949
5037
 
5038
+ .agents-icon[data-icon=news]::before {
5039
+ content: "▤";
5040
+ }
5041
+
5042
+ .agents-icon[data-icon=notification]::before {
5043
+ content: "◔";
5044
+ }
5045
+
4950
5046
  .agents-icon[data-icon=pause]::before {
4951
5047
  content: "❙❙";
4952
5048
  }
@@ -4955,10 +5051,26 @@ thead + tbody .agents_row_VBlQR-:first-child {
4955
5051
  content: "☏";
4956
5052
  }
4957
5053
 
5054
+ .agents-icon[data-icon=photo]::before {
5055
+ content: "▣";
5056
+ }
5057
+
5058
+ .agents-icon[data-icon=pinFilled]::before {
5059
+ content: "●";
5060
+ }
5061
+
4958
5062
  .agents-icon[data-icon=play]::before {
4959
5063
  content: "▶";
4960
5064
  }
4961
5065
 
5066
+ .agents-icon[data-icon=post]::before {
5067
+ content: "✎";
5068
+ }
5069
+
5070
+ .agents-icon[data-icon=prize]::before {
5071
+ content: "♛";
5072
+ }
5073
+
4962
5074
  .agents-icon[data-icon=question]::before {
4963
5075
  content: "?";
4964
5076
  }
@@ -4975,6 +5087,22 @@ thead + tbody .agents_row_VBlQR-:first-child {
4975
5087
  content: "⌕";
4976
5088
  }
4977
5089
 
5090
+ .agents-icon[data-icon=searchEngines]::before {
5091
+ content: "⌕";
5092
+ }
5093
+
5094
+ .agents-icon[data-icon=settings]::before {
5095
+ content: "⚙";
5096
+ }
5097
+
5098
+ .agents-icon[data-icon=shield]::before {
5099
+ content: "⛉";
5100
+ }
5101
+
5102
+ .agents-icon[data-icon=sorting]::before {
5103
+ content: "⇅";
5104
+ }
5105
+
4978
5106
  .agents-icon[data-icon=star]::before {
4979
5107
  content: "☆";
4980
5108
  }
@@ -4983,6 +5111,18 @@ thead + tbody .agents_row_VBlQR-:first-child {
4983
5111
  content: "★";
4984
5112
  }
4985
5113
 
5114
+ .agents-icon[data-icon=tablet]::before {
5115
+ content: "▯";
5116
+ }
5117
+
5118
+ .agents-icon[data-icon=tag]::before {
5119
+ content: "⌗";
5120
+ }
5121
+
5122
+ .agents-icon[data-icon=text]::before {
5123
+ content: "T";
5124
+ }
5125
+
4986
5126
  .agents-icon[data-icon=trash]::before {
4987
5127
  content: "×";
4988
5128
  }
@@ -4991,6 +5131,10 @@ thead + tbody .agents_row_VBlQR-:first-child {
4991
5131
  content: "↑";
4992
5132
  }
4993
5133
 
5134
+ .agents-icon[data-icon=user]::before {
5135
+ content: "☺";
5136
+ }
5137
+
4994
5138
  .agents-icon[data-icon=visibility]::before {
4995
5139
  content: "◎";
4996
5140
  }
@@ -4999,6 +5143,10 @@ thead + tbody .agents_row_VBlQR-:first-child {
4999
5143
  content: "!";
5000
5144
  }
5001
5145
 
5146
+ .agents-icon[data-icon=wizard]::before {
5147
+ content: "✧";
5148
+ }
5149
+
5002
5150
  .agents-icon--small {
5003
5151
  font-size: 0.875rem;
5004
5152
  }
package/dist/voice.js CHANGED
@@ -5,7 +5,7 @@ import { f as formatAgentVoiceCallDuration } from "./chunks/format-agent-voice-c
5
5
  import { a as useOptionalAgentsConversationClient } from "./chunks/AgentsConversationClientContext-C4T7g_Qk.js";
6
6
  import { c as DEFAULT_AGENTS_TEXTS, ab as useAgentsTexts, K as getAgentDisplayName, a4 as useAgentsComponents, D as DEFAULT_AGENTS_COMPONENTS } from "./chunks/link-navigation-DRHt6g7U.js";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
- import { V as VoiceBarsIcon, C as ConversationMessageWidgets, a as ConversationMessageUser } from "./chunks/VoiceBarsIcon-CNIPOLtV.js";
8
+ import { V as VoiceBarsIcon, C as ConversationMessageWidgets, a as ConversationMessageUser } from "./chunks/VoiceBarsIcon-h6Tsr8aW.js";
9
9
  import { a as useOptionalAgentsChatStore, u as useAgentsChatSelector } from "./chunks/use-agents-chat-store-CuIkCz9v.js";
10
10
  class AgentVoiceApiError extends Error {
11
11
  constructor(code, httpStatus) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mgamadeus/ddd-agents",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "description": "The web frontend of the ddd-agents module: the agent chat, the widget renderer and the composed-view kit.",
5
5
  "keywords": [
6
6
  "ddd",