@mgamadeus/ddd-agents 0.10.7 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat.js +10 -10
- package/dist/chunks/{ConversationMarkdown-DffEK45O.js → ConversationMarkdown-C3SKd3i-.js} +4 -4
- package/dist/chunks/{ConversationMarkdown-DffEK45O.js.map → ConversationMarkdown-C3SKd3i-.js.map} +1 -1
- package/dist/chunks/{ConversationMessageInputComposerWidgets-D8fV62WH.js → ConversationMessageInputComposerWidgets-D7x-TFKG.js} +6 -6
- package/dist/chunks/{ConversationMessageInputComposerWidgets-D8fV62WH.js.map → ConversationMessageInputComposerWidgets-D7x-TFKG.js.map} +1 -1
- package/dist/chunks/{VoiceBarsIcon-7IYmM3LB.js → VoiceBarsIcon-CNIPOLtV.js} +4 -4
- package/dist/chunks/{VoiceBarsIcon-7IYmM3LB.js.map → VoiceBarsIcon-CNIPOLtV.js.map} +1 -1
- package/dist/chunks/{WebSearchResultsConversationWidget-D0cAmxr9.js → WebSearchResultsConversationWidget-CUtKAdMM.js} +2 -2
- package/dist/chunks/{WebSearchResultsConversationWidget-D0cAmxr9.js.map → WebSearchResultsConversationWidget-CUtKAdMM.js.map} +1 -1
- package/dist/chunks/{browser-request-interception-BnzFbH0m.js → browser-request-interception-ydNOzeUL.js} +2 -2
- package/dist/chunks/{browser-request-interception-BnzFbH0m.js.map → browser-request-interception-ydNOzeUL.js.map} +1 -1
- package/dist/chunks/{canvas-reducers-BQH8YFBp.js → canvas-reducers-CAtcbD4i.js} +2 -2
- package/dist/chunks/{canvas-reducers-BQH8YFBp.js.map → canvas-reducers-CAtcbD4i.js.map} +1 -1
- package/dist/chunks/{canvas-title-slot-context-CDNCeH2y.js → canvas-title-slot-context-rl94V4u4.js} +3 -3
- package/dist/chunks/{canvas-title-slot-context-CDNCeH2y.js.map → canvas-title-slot-context-rl94V4u4.js.map} +1 -1
- package/dist/chunks/{canvasBodies-By51Uxm-.js → canvasBodies-C3wydcKZ.js} +4 -4
- package/dist/chunks/{canvasBodies-By51Uxm-.js.map → canvasBodies-C3wydcKZ.js.map} +1 -1
- package/dist/chunks/{canvasStorage-Df_FW92q.js → canvasStorage-D9EnBraV.js} +2 -2
- package/dist/chunks/{canvasStorage-Df_FW92q.js.map → canvasStorage-D9EnBraV.js.map} +1 -1
- package/dist/chunks/{link-navigation-BUcy5qWW.js → link-navigation-DRHt6g7U.js} +17 -1
- package/dist/chunks/link-navigation-DRHt6g7U.js.map +1 -0
- package/dist/chunks/{widget-name-resolver-CSX7ZbfO.js → widget-name-resolver-akTPWt63.js} +514 -384
- package/dist/chunks/widget-name-resolver-akTPWt63.js.map +1 -0
- package/dist/client-testing.js +4 -4
- package/dist/files/i18n-keys.json +36 -0
- package/dist/files/renderer/widget-tree/composed-node-schema.json +2 -0
- package/dist/image-render.js +7 -7
- package/dist/index.js +6 -6
- package/dist/kit.js +2 -2
- package/dist/preview.js +7 -7
- package/dist/provider.js +1 -1
- package/dist/renderer.js +10 -10
- package/dist/styles.css +28 -0
- package/dist/types/provider/environment.d.ts +30 -0
- package/dist/types/provider/index.d.ts +1 -1
- package/dist/voice.js +2 -2
- package/dist/widgets.js +4 -4
- package/package.json +1 -1
- package/dist/chunks/link-navigation-BUcy5qWW.js.map +0 -1
- package/dist/chunks/widget-name-resolver-CSX7ZbfO.js.map +0 -1
package/dist/client-testing.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
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
|
-
import { l as listWidgetHydratorTypes, k as getWidgetHydrator, h as registerWidgetHydrator, m as abandonWidgetHydrationReads, u as unregisterWidgetHydrator } from "./chunks/WebSearchResultsConversationWidget-
|
|
5
|
-
import { j as conversationWidgetRegistry, k as replaceConversationWidgetRegistryEntries } from "./chunks/widget-name-resolver-
|
|
6
|
-
import { l, s } from "./chunks/widget-name-resolver-
|
|
7
|
-
import { c, r, s as s2 } from "./chunks/canvasStorage-
|
|
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";
|
|
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;
|
|
10
10
|
const copyOf = (value) => JSON.parse(JSON.stringify(value));
|
|
@@ -562,6 +562,15 @@
|
|
|
562
562
|
"src/voice/AgentVoiceCallBand/AgentVoiceCallBand.tsx"
|
|
563
563
|
]
|
|
564
564
|
},
|
|
565
|
+
{
|
|
566
|
+
"key": "Continue in your personal space",
|
|
567
|
+
"defaultText": "Continue in your personal space",
|
|
568
|
+
"placeholders": [],
|
|
569
|
+
"contexts": [],
|
|
570
|
+
"usedIn": [
|
|
571
|
+
"src/widgets/ContinueInPersonalSpaceConversationWidget/ContinueInPersonalSpaceConversationWidget.tsx"
|
|
572
|
+
]
|
|
573
|
+
},
|
|
565
574
|
{
|
|
566
575
|
"key": "Conversation",
|
|
567
576
|
"defaultText": "Conversation",
|
|
@@ -852,6 +861,15 @@
|
|
|
852
861
|
"src/voice/admin/agent-voice-admin-format.ts"
|
|
853
862
|
]
|
|
854
863
|
},
|
|
864
|
+
{
|
|
865
|
+
"key": "Extend the permission",
|
|
866
|
+
"defaultText": "Extend the permission",
|
|
867
|
+
"placeholders": [],
|
|
868
|
+
"contexts": [],
|
|
869
|
+
"usedIn": [
|
|
870
|
+
"src/widgets/ExtendConnectionPermissionConversationWidget/ExtendConnectionPermissionConversationWidget.tsx"
|
|
871
|
+
]
|
|
872
|
+
},
|
|
855
873
|
{
|
|
856
874
|
"key": "Failed",
|
|
857
875
|
"defaultText": "Failed",
|
|
@@ -1214,6 +1232,15 @@
|
|
|
1214
1232
|
"src/renderer/WindowedWidget/WindowedWidget.tsx"
|
|
1215
1233
|
]
|
|
1216
1234
|
},
|
|
1235
|
+
{
|
|
1236
|
+
"key": "Only you may use this connection, and others read this conversation.",
|
|
1237
|
+
"defaultText": "Only you may use this connection, and others read this conversation.",
|
|
1238
|
+
"placeholders": [],
|
|
1239
|
+
"contexts": [],
|
|
1240
|
+
"usedIn": [
|
|
1241
|
+
"src/widgets/ContinueInPersonalSpaceConversationWidget/ContinueInPersonalSpaceConversationWidget.tsx"
|
|
1242
|
+
]
|
|
1243
|
+
},
|
|
1217
1244
|
{
|
|
1218
1245
|
"key": "Open %name%",
|
|
1219
1246
|
"defaultText": "Open %name%",
|
|
@@ -2475,6 +2502,15 @@
|
|
|
2475
2502
|
"src/widgets/EntityMentionConversationWidget/shared/entity-mention-presentation.ts"
|
|
2476
2503
|
]
|
|
2477
2504
|
},
|
|
2505
|
+
{
|
|
2506
|
+
"key": "This step needs a permission the connection does not have yet.",
|
|
2507
|
+
"defaultText": "This step needs a permission the connection does not have yet.",
|
|
2508
|
+
"placeholders": [],
|
|
2509
|
+
"contexts": [],
|
|
2510
|
+
"usedIn": [
|
|
2511
|
+
"src/widgets/ExtendConnectionPermissionConversationWidget/ExtendConnectionPermissionConversationWidget.tsx"
|
|
2512
|
+
]
|
|
2513
|
+
},
|
|
2478
2514
|
{
|
|
2479
2515
|
"key": "This view has nothing to show right now.",
|
|
2480
2516
|
"defaultText": "This view has nothing to show right now.",
|
|
@@ -3415,10 +3415,12 @@
|
|
|
3415
3415
|
"widgetTypes": [
|
|
3416
3416
|
"AttachedFiles",
|
|
3417
3417
|
"ComposedView",
|
|
3418
|
+
"ContinueInPersonalSpace",
|
|
3418
3419
|
"ConversationSearchResults",
|
|
3419
3420
|
"CustomVisualization",
|
|
3420
3421
|
"DriveFiles",
|
|
3421
3422
|
"EntityMention",
|
|
3423
|
+
"ExtendConnectionPermission",
|
|
3422
3424
|
"ImageGallery",
|
|
3423
3425
|
"MultiChoice",
|
|
3424
3426
|
"QuickReplies",
|
package/dist/image-render.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
5
|
-
import { H } from "./chunks/widget-name-resolver-
|
|
6
|
-
import { z as ConversationWidgetRenderContext, a7 as WidgetImageReadinessContext, R as ReadOnlyConversationWidgetProvider, a8 as WidgetImageRenderContext, a9 as WidgetImageLiveHydrationContext, A as buildWidgetAgentSpaceKeyProps } from "./chunks/WebSearchResultsConversationWidget-
|
|
7
|
-
import { aa, ab, ac } from "./chunks/WebSearchResultsConversationWidget-
|
|
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-
|
|
9
|
-
import { W, b } from "./chunks/browser-request-interception-
|
|
10
|
-
import { U as getGoogleMapWidgetNames, X as getWidgetImageCaptureReadPathPrefix } from "./chunks/link-navigation-
|
|
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";
|
|
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
|
+
import { aa, ab, ac } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
|
|
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";
|
|
9
|
+
import { W, b } from "./chunks/browser-request-interception-ydNOzeUL.js";
|
|
10
|
+
import { U as getGoogleMapWidgetNames, X as getWidgetImageCaptureReadPathPrefix } from "./chunks/link-navigation-DRHt6g7U.js";
|
|
11
11
|
const root = "agents_root_prMo3u";
|
|
12
12
|
const styles = {
|
|
13
13
|
root
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { h, i } from "./chunks/widget-name-resolver-
|
|
3
|
-
import { r as registerCanvasBodies, c as canvasBodies } from "./chunks/canvasBodies-
|
|
4
|
-
import { g, a, b } from "./chunks/canvasBodies-
|
|
5
|
-
import { a as isPackageCanvasId, d as declareCanvasKind, f as forgetCanvasKind } from "./chunks/WebSearchResultsConversationWidget-
|
|
6
|
-
import { r, b as b2, c, e, g as g2, h as h2 } from "./chunks/WebSearchResultsConversationWidget-
|
|
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";
|
|
5
|
+
import { a as isPackageCanvasId, d as declareCanvasKind, f as forgetCanvasKind } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
|
|
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";
|
|
8
8
|
import { A, i as i2 } from "./chunks/icon-names-Di6c4zLo.js";
|
|
9
9
|
import { A as A2, f } from "./chunks/host-color-scheme-Jhb7JZR7.js";
|
|
10
|
-
import { A as A3, a as a2, B, C, b as b3, D, c as c2, d, e as e2, f as f2, G, H, g as g3, I, h as h3, L, M, i as i3, j, k, P, R, l, S, m, n, o, p, q, r as r2, T, s, t, u, v, w, W, x, y, z, E, F, J, K, N, O, Q, U, V, X, Y, Z, _, $, a0, a1, a2 as a22, a3, a4, a5, a6, a7, a8, a9, aa, ab } from "./chunks/link-navigation-
|
|
10
|
+
import { A as A3, a as a2, B, C, b as b3, D, c as c2, d, e as e2, f as f2, G, H, g as g3, I, h as h3, L, M, i as i3, j, k, P, R, l, S, m, n, o, p, q, r as r2, T, s, t, u, v, w, W, x, y, z, E, F, J, K, N, O, Q, U, V, X, Y, Z, _, $, a0, a1, a2 as a22, a3, a4, a5, a6, a7, a8, a9, aa, ab } from "./chunks/link-navigation-DRHt6g7U.js";
|
|
11
11
|
import { u as u2, a as a10 } from "./chunks/AgentsConversationClientContext-C4T7g_Qk.js";
|
|
12
12
|
const registerCanvasKind = (kind) => {
|
|
13
13
|
if (isPackageCanvasId(kind.canvasId)) {
|
package/dist/kit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A, C, a, b, c, d, e, E, r, f, u, g } from "./chunks/widget-name-resolver-
|
|
3
|
-
import { M } from "./chunks/WebSearchResultsConversationWidget-
|
|
2
|
+
import { A, C, a, b, c, d, e, E, r, f, u, g } from "./chunks/widget-name-resolver-akTPWt63.js";
|
|
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 {
|
|
6
6
|
A as ApexChart,
|
package/dist/preview.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { s as Text, Y as getWidgetSelfHydrationKeyFieldName, e as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME, V as getSandboxLegacyAliases } from "./chunks/link-navigation-
|
|
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-
|
|
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-
|
|
7
|
-
import { c as canvasBodies, E as EntityMentionAskButton } from "./chunks/canvasBodies-
|
|
8
|
-
import { f as decideCanvasOpen } from "./chunks/canvas-reducers-
|
|
9
|
-
import { p as publishWidgetImageReadiness, i as interceptXMLHttpRequests, d as isFetchRequest, c as createHeaderlessResponse } from "./chunks/browser-request-interception-
|
|
10
|
-
import { C as ConversationWidgetProvider, a as ConversationMessageInputComposerWidgets } from "./chunks/ConversationMessageInputComposerWidgets-
|
|
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";
|
|
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";
|
|
8
|
+
import { f as decideCanvasOpen } from "./chunks/canvas-reducers-CAtcbD4i.js";
|
|
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";
|
|
11
11
|
const page$1 = "agents_page_5VMDeD";
|
|
12
12
|
const chatColumn = "agents_chatColumn_FWcgdJ";
|
|
13
13
|
const widget = "agents_widget_3qpgMy";
|
package/dist/provider.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { A, i } from "./chunks/icon-names-Di6c4zLo.js";
|
|
3
3
|
import { A as A2, f } from "./chunks/host-color-scheme-Jhb7JZR7.js";
|
|
4
|
-
import { A as A3, a, B, C, b, D, c, d, e, f as f2, G, H, g, I, h, L, M, i as i2, j, k, P, R, l, S, m, n, o, p, q, r, T, s, t, u, v, w, W, x, y, z, E, F, J, K, N, O, Q, U, V, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab } from "./chunks/link-navigation-
|
|
4
|
+
import { A as A3, a, B, C, b, D, c, d, e, f as f2, G, H, g, I, h, L, M, i as i2, j, k, P, R, l, S, m, n, o, p, q, r, T, s, t, u, v, w, W, x, y, z, E, F, J, K, N, O, Q, U, V, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab } from "./chunks/link-navigation-DRHt6g7U.js";
|
|
5
5
|
import { u as u2, a as a10 } from "./chunks/AgentsConversationClientContext-C4T7g_Qk.js";
|
|
6
6
|
export {
|
|
7
7
|
A as AGENTS_ICON_NAMES,
|
package/dist/renderer.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C, a, M, W, b, c, d, p, s } from "./chunks/ConversationMarkdown-
|
|
3
|
-
import { m as findWidgetFenceByPayloadHash, n as findWidgetFencesInMarkdown } from "./chunks/widget-name-resolver-
|
|
4
|
-
import { o, p as p2, q, t, v, w, j, x, y, z, B, D, F, G } from "./chunks/widget-name-resolver-
|
|
5
|
-
import { n as useResolvedConversationWidgetAgentSpaceKey, p as payloadHashOfInstanceId } from "./chunks/WebSearchResultsConversationWidget-
|
|
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-
|
|
7
|
-
import { C as C3, d as d2, g, i as i2, r, u as u2 } from "./chunks/canvas-title-slot-context-
|
|
8
|
-
import { c as c2, u as u3 } from "./chunks/canvasBodies-
|
|
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";
|
|
5
|
+
import { n as useResolvedConversationWidgetAgentSpaceKey, p as payloadHashOfInstanceId } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
|
|
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";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
-
import { n as Skeleton } from "./chunks/link-navigation-
|
|
11
|
-
import { ac, ad, ae, af, ag } from "./chunks/link-navigation-
|
|
10
|
+
import { n as Skeleton } from "./chunks/link-navigation-DRHt6g7U.js";
|
|
11
|
+
import { ac, ad, ae, af, ag } from "./chunks/link-navigation-DRHt6g7U.js";
|
|
12
12
|
import { useMemo } from "react";
|
|
13
|
-
import { a as a7, b as b2, c as c3, d as d3, e } from "./chunks/canvas-reducers-
|
|
13
|
+
import { a as a7, b as b2, c as c3, d as d3, e } from "./chunks/canvas-reducers-CAtcbD4i.js";
|
|
14
14
|
import { a as a8 } from "./chunks/canvas-feature-flags-Cn8xBliA.js";
|
|
15
15
|
const pickSection = (payloadValue, fallback) => {
|
|
16
16
|
return payloadValue ?? fallback.data ?? void 0;
|
package/dist/styles.css
CHANGED
|
@@ -4347,6 +4347,20 @@ 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 {
|
|
4351
|
+
display: flex;
|
|
4352
|
+
flex-wrap: wrap;
|
|
4353
|
+
align-items: center;
|
|
4354
|
+
gap: 12px;
|
|
4355
|
+
}
|
|
4356
|
+
|
|
4357
|
+
.agents_notice_kKGwWh {
|
|
4358
|
+
display: flex;
|
|
4359
|
+
flex: 1 1 240px;
|
|
4360
|
+
align-items: flex-start;
|
|
4361
|
+
gap: 8px;
|
|
4362
|
+
min-width: 0;
|
|
4363
|
+
overflow-wrap: anywhere;
|
|
4350
4364
|
}.agents_chip_hRM85s {
|
|
4351
4365
|
display: inline-flex;
|
|
4352
4366
|
align-items: center;
|
|
@@ -4371,6 +4385,20 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
4371
4385
|
|
|
4372
4386
|
.agents_remove_SMhLO7 {
|
|
4373
4387
|
cursor: pointer;
|
|
4388
|
+
}.agents_root_Z3Vqoh {
|
|
4389
|
+
display: flex;
|
|
4390
|
+
flex-wrap: wrap;
|
|
4391
|
+
align-items: center;
|
|
4392
|
+
gap: 12px;
|
|
4393
|
+
}
|
|
4394
|
+
|
|
4395
|
+
.agents_notice_C-mk81 {
|
|
4396
|
+
display: flex;
|
|
4397
|
+
flex: 1 1 240px;
|
|
4398
|
+
align-items: flex-start;
|
|
4399
|
+
gap: 8px;
|
|
4400
|
+
min-width: 0;
|
|
4401
|
+
overflow-wrap: anywhere;
|
|
4374
4402
|
}.agents_entityDetail_QEy9QH {
|
|
4375
4403
|
display: flex;
|
|
4376
4404
|
flex-direction: column;
|
|
@@ -10,6 +10,15 @@ import type { OpenEntityActionTarget } from "../renderer/canvas/entity-detail-in
|
|
|
10
10
|
export interface AgentsTexts {
|
|
11
11
|
translate: (key: string, replacements?: Record<string, string | number>, context?: string) => string;
|
|
12
12
|
}
|
|
13
|
+
/** The permission of an agent connection a step needs (`AgentsEnvironment.openConnectionPermissions`). */
|
|
14
|
+
export interface AgentsConnectionPermissionTarget {
|
|
15
|
+
/** The connection's id. */
|
|
16
|
+
connectionId: number;
|
|
17
|
+
/** The capability: MAIL, CALENDAR, CONTACTS, FILES or CHAT. */
|
|
18
|
+
capability: string;
|
|
19
|
+
/** The level the step needs (a level constant of the backend, e.g. SEND_WITH_APPROVAL). */
|
|
20
|
+
level: string;
|
|
21
|
+
}
|
|
13
22
|
/** One image of a gallery the app opens over the page. */
|
|
14
23
|
export interface AgentsGalleryImage {
|
|
15
24
|
/** Identifies the image within the gallery. */
|
|
@@ -182,6 +191,19 @@ export interface AgentsEnvironment {
|
|
|
182
191
|
onOpenEntity?: (target: OpenEntityActionTarget) => boolean;
|
|
183
192
|
/** Opens the images in the app's lightbox, starting at `startIndex`. Default: the start image in a new tab. */
|
|
184
193
|
openImageGallery?: (images: AgentsGalleryImage[], startIndex: number) => void;
|
|
194
|
+
/**
|
|
195
|
+
* Starts a NEW conversation in the owner's personal agent space whose first message is `ownerText`, and shows it (the
|
|
196
|
+
* `ContinueInPersonalSpace` widget's button: a request that only a connection of the owner alone may answer, asked in
|
|
197
|
+
* a conversation others read). Nothing goes back into the conversation the button sits in. Default: none — the
|
|
198
|
+
* widget then renders nothing.
|
|
199
|
+
*/
|
|
200
|
+
startConversationInPersonalSpace?: (ownerText: string) => void;
|
|
201
|
+
/**
|
|
202
|
+
* Opens the app's settings of an agent connection with the permission a step needs preselected (the
|
|
203
|
+
* `ExtendConnectionPermission` widget's button). The level takes effect only once the owner raised it there.
|
|
204
|
+
* Default: none — the widget then renders nothing.
|
|
205
|
+
*/
|
|
206
|
+
openConnectionPermissions?: (target: AgentsConnectionPermissionTarget) => void;
|
|
185
207
|
/** Reports a widget that crashed while rendering. Default: nothing (the crash is logged to the console). */
|
|
186
208
|
reportWidgetCrash?: (widgetName: string, error: Error, errorInfo: ErrorInfo) => void;
|
|
187
209
|
/**
|
|
@@ -262,6 +284,14 @@ export declare const translateText: (key: string, replacements?: Record<string,
|
|
|
262
284
|
export declare const escapePlainTextForText: (text: string) => string;
|
|
263
285
|
/** Opens an image gallery over the page (`AgentsEnvironment.openImageGallery`). */
|
|
264
286
|
export declare const openImageGallery: (images: AgentsGalleryImage[], startIndex: number) => void;
|
|
287
|
+
/** Whether the app can start a conversation in the owner's personal space (`AgentsEnvironment.startConversationInPersonalSpace`). */
|
|
288
|
+
export declare const canStartConversationInPersonalSpace: () => boolean;
|
|
289
|
+
/** Starts a conversation in the owner's personal space with `ownerText` as its first message; false when the app cannot. */
|
|
290
|
+
export declare const startConversationInPersonalSpace: (ownerText: string) => boolean;
|
|
291
|
+
/** Whether the app can open the permissions of a connection (`AgentsEnvironment.openConnectionPermissions`). */
|
|
292
|
+
export declare const canOpenConnectionPermissions: () => boolean;
|
|
293
|
+
/** Opens the permissions of a connection in the app; false when the app cannot. */
|
|
294
|
+
export declare const openConnectionPermissions: (target: AgentsConnectionPermissionTarget) => boolean;
|
|
265
295
|
/** The block field of the package's backend default (`WidgetBlockFieldNames::WIDGET_SELF_HYDRATION_KEY`). */
|
|
266
296
|
export declare const DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME = "agentSpaceId";
|
|
267
297
|
/** The field of a widget block that carries the key of its agent space (`AgentsEnvironment.widgetSelfHydrationKeyFieldName`). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { AgentsProvider, type AgentsProviderProps, useAgentsActiveAgentSpaceKey, useAgentsBudgetLimit, useAgentsComponents, useAgentsEnvironment, useAgentsMapsLoader, useAgentsOwnerSettings, useAgentsStateDispatch, useAgentsStateSelector, useAgentsTexts, } from "./AgentsProvider";
|
|
2
|
-
export { type AgentsAssistantBackgroundProps, type AgentsAssistantIconBadgeProps, type AgentsBudgetLimit, type AgentsEnvironment, type AgentsGalleryImage, type AgentsMapsLoaderState, type AgentsOwnerSettings, type AgentsSandboxLegacyAliases, type AgentsStateAction, type AgentsStateStore, type AgentsTexts, appendAnotherAgentSpaceToOwnerText, buildUnnamedAgentSpaceLabel, buildWidgetOfAnotherAgentSpaceExplanation, DEFAULT_AGENTS_TEXTS, DEFAULT_WIDGET_IMAGE_CAPTURE_READ_PATH_PREFIX, DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME, escapePlainTextForText, getAgentDisplayName, getAgentsEnvironment, getFurtherCanvasBehaviours, getFurtherWidgetClickSignalSources, getGoogleMapWidgetNames, getSandboxLegacyAliases, getWidgetImageCaptureReadPathPrefix, getWidgetSelfHydrationKeyFieldName, openImageGallery, reportRunningTurn, reportWidgetCrash, setAgentsEnvironment, translateText, } from "./environment";
|
|
2
|
+
export { type AgentsAssistantBackgroundProps, type AgentsAssistantIconBadgeProps, type AgentsBudgetLimit, type AgentsEnvironment, type AgentsConnectionPermissionTarget, type AgentsGalleryImage, type AgentsMapsLoaderState, type AgentsOwnerSettings, type AgentsSandboxLegacyAliases, type AgentsStateAction, type AgentsStateStore, type AgentsTexts, appendAnotherAgentSpaceToOwnerText, buildUnnamedAgentSpaceLabel, buildWidgetOfAnotherAgentSpaceExplanation, DEFAULT_AGENTS_TEXTS, DEFAULT_WIDGET_IMAGE_CAPTURE_READ_PATH_PREFIX, DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME, escapePlainTextForText, getAgentDisplayName, getAgentsEnvironment, getFurtherCanvasBehaviours, getFurtherWidgetClickSignalSources, getGoogleMapWidgetNames, getSandboxLegacyAliases, getWidgetImageCaptureReadPathPrefix, getWidgetSelfHydrationKeyFieldName, openImageGallery, reportRunningTurn, reportWidgetCrash, setAgentsEnvironment, translateText, } from "./environment";
|
|
3
3
|
export { classNames } from "./class-names";
|
|
4
4
|
export { useAgentsConversationClient, useOptionalAgentsConversationClient, } from "../client/AgentsConversationClientContext";
|
|
5
5
|
export { AgentsLink, type AgentsLinkNavigation, type AgentsLinkProps, useAgentsLinkNavigation, } from "./link-navigation";
|
package/dist/voice.js
CHANGED
|
@@ -3,9 +3,9 @@ import { useSyncExternalStore, useState, useEffect, useMemo, useRef, useCallback
|
|
|
3
3
|
import { t as textKey } from "./chunks/text-key-DnoZ4lAk.js";
|
|
4
4
|
import { f as formatAgentVoiceCallDuration } from "./chunks/format-agent-voice-call-duration-C-3hRc9p.js";
|
|
5
5
|
import { a as useOptionalAgentsConversationClient } from "./chunks/AgentsConversationClientContext-C4T7g_Qk.js";
|
|
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-
|
|
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-
|
|
8
|
+
import { V as VoiceBarsIcon, C as ConversationMessageWidgets, a as ConversationMessageUser } from "./chunks/VoiceBarsIcon-CNIPOLtV.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/dist/widgets.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a2 as useIsEmailWidgetRender } from "./chunks/WebSearchResultsConversationWidget-
|
|
3
|
-
import { ad, ae, af, ag, ah, ai, aj, ak, aj as aj2, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm } from "./chunks/WebSearchResultsConversationWidget-
|
|
2
|
+
import { a2 as useIsEmailWidgetRender } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
|
|
3
|
+
import { ad, ae, af, ag, ah, ai, aj, ak, aj as aj2, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm } from "./chunks/WebSearchResultsConversationWidget-CUtKAdMM.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { r as StatusChip, s as Text, F as classNames } from "./chunks/link-navigation-
|
|
6
|
-
import { g, x } from "./chunks/link-navigation-
|
|
5
|
+
import { r as StatusChip, s as Text, F as classNames } from "./chunks/link-navigation-DRHt6g7U.js";
|
|
6
|
+
import { g, x } from "./chunks/link-navigation-DRHt6g7U.js";
|
|
7
7
|
import { useSyncExternalStore, useState, useEffect } from "react";
|
|
8
8
|
const WidgetStatusChip = (props) => /* @__PURE__ */ jsx(StatusChip, { ...props });
|
|
9
9
|
const widgetLabel = "agents_widgetLabel_WecWAw";
|