@mgamadeus/ddd-agents 0.1.0 → 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.
- package/README.md +108 -2
- package/dist/chat.js +132 -111
- package/dist/chat.js.map +1 -1
- package/dist/chunks/{ConversationMessageInputComposerWidgets-BO3jS0eZ.js → ConversationMessageInputComposerWidgets-r_RwCqr7.js} +11 -8
- package/dist/chunks/ConversationMessageInputComposerWidgets-r_RwCqr7.js.map +1 -0
- package/dist/chunks/{WebSearchResultsConversationWidget-H6cbTapV.js → WebSearchResultsConversationWidget-BXt98hGu.js} +161 -102
- package/dist/chunks/WebSearchResultsConversationWidget-BXt98hGu.js.map +1 -0
- package/dist/chunks/{canvas-behaviours-AvzKSYyv.js → canvas-behaviours-BpN_1xdZ.js} +2 -2
- package/dist/chunks/{canvas-behaviours-AvzKSYyv.js.map → canvas-behaviours-BpN_1xdZ.js.map} +1 -1
- package/dist/chunks/{canvas-reducers-Cdxt8yDF.js → canvas-reducers-CuX6L1zg.js} +3 -3
- package/dist/chunks/{canvas-reducers-Cdxt8yDF.js.map → canvas-reducers-CuX6L1zg.js.map} +1 -1
- package/dist/chunks/{canvasBodies-CsLrZ-M-.js → canvasBodies-Ds-cTn47.js} +9 -6
- package/dist/chunks/{canvasBodies-CsLrZ-M-.js.map → canvasBodies-Ds-cTn47.js.map} +1 -1
- package/dist/chunks/{canvasStorage-EvQsGdto.js → canvasStorage-DHNluopA.js} +2 -2
- package/dist/chunks/{canvasStorage-EvQsGdto.js.map → canvasStorage-DHNluopA.js.map} +1 -1
- package/dist/chunks/compose-attachment-message-text-FvVJbrge.js +8 -0
- package/dist/chunks/compose-attachment-message-text-FvVJbrge.js.map +1 -0
- package/dist/chunks/{contract-BxmMxYPF.js → contract-Z08LBOqt.js} +4 -3
- package/dist/chunks/contract-Z08LBOqt.js.map +1 -0
- package/dist/chunks/conversation-BEF0aesf.js.map +1 -1
- package/dist/chunks/host-color-scheme-Jhb7JZR7.js +30 -0
- package/dist/chunks/host-color-scheme-Jhb7JZR7.js.map +1 -0
- package/dist/chunks/{index-7Qc_3GbG.js → link-navigation-DyTApNeA.js} +156 -73
- package/dist/chunks/link-navigation-DyTApNeA.js.map +1 -0
- package/dist/chunks/text-key-DnoZ4lAk.js +6 -0
- package/dist/chunks/text-key-DnoZ4lAk.js.map +1 -0
- package/dist/chunks/{widget-click-signal-sources-1gIs1yiN.js → widget-click-signal-sources-Ch-y8gxw.js} +9 -5
- package/dist/chunks/{widget-click-signal-sources-1gIs1yiN.js.map → widget-click-signal-sources-Ch-y8gxw.js.map} +1 -1
- package/dist/chunks/{widget-image-readiness-signal-D3ci53xr.js → widget-image-readiness-signal-C5yaKpJJ.js} +2 -2
- package/dist/chunks/{widget-image-readiness-signal-D3ci53xr.js.map → widget-image-readiness-signal-C5yaKpJJ.js.map} +1 -1
- package/dist/chunks/{widget-name-resolver-D_ZzXy-Q.js → widget-name-resolver-DboFMAq2.js} +25 -25
- package/dist/chunks/widget-name-resolver-DboFMAq2.js.map +1 -0
- package/dist/chunks/{withPollingChangeSubscription-B16htQGd.js → withPollingChangeSubscription-CNXgt3Ri.js} +6 -2
- package/dist/chunks/withPollingChangeSubscription-CNXgt3Ri.js.map +1 -0
- package/dist/client-testing.js +6 -7
- package/dist/client-testing.js.map +1 -1
- package/dist/client.js +431 -2
- package/dist/client.js.map +1 -1
- package/dist/contract.js +1 -1
- package/dist/files/chat/Conversation.module.scss +1 -1
- package/dist/files/chat/ConversationViewBody/ConversationViewBody.module.scss +1 -1
- package/dist/files/i18n-keys.json +1617 -0
- package/dist/files/image-render/WidgetImageRender.module.scss +9 -3
- package/dist/files/styles/_surfaces.scss +6 -6
- package/dist/image-render.js +7 -7
- package/dist/index.js +64 -55
- package/dist/index.js.map +1 -1
- package/dist/kit.js +2 -2
- package/dist/preview.js +8 -8
- package/dist/provider.js +61 -52
- package/dist/provider.js.map +1 -1
- package/dist/renderer.js +16 -15
- package/dist/styles.css +170 -107
- package/dist/types/chat/AgentChat/AgentChat.d.ts +6 -0
- package/dist/types/chat/controller/AgentChatController.d.ts +28 -1
- package/dist/types/client/AgentsConversationClient.d.ts +7 -1
- package/dist/types/client/compose-attachment-message-text.d.ts +7 -0
- package/dist/types/client/http/agents-http-mappers.d.ts +23 -0
- package/dist/types/client/http/agents-http-wire.d.ts +188 -0
- package/dist/types/client/http/createAgentsHttpConversationClient.d.ts +55 -0
- package/dist/types/client/polling/createPollingConversationChangeSubscription.d.ts +7 -4
- package/dist/types/client/polling/withPollingChangeSubscription.d.ts +3 -2
- package/dist/types/contract/conversation.d.ts +8 -0
- package/dist/types/entries/chat.d.ts +2 -1
- package/dist/types/entries/client.d.ts +4 -0
- package/dist/types/entries/renderer.d.ts +1 -0
- package/dist/types/entries/widgets.d.ts +1 -1
- package/dist/types/provider/components/types.d.ts +5 -2
- package/dist/types/provider/environment.d.ts +13 -0
- package/dist/types/provider/host-color-scheme.d.ts +24 -0
- package/dist/types/provider/index.d.ts +4 -0
- package/dist/types/provider/link-navigation.d.ts +28 -0
- package/dist/types/provider/text-key.d.ts +6 -0
- package/dist/types/renderer/MarkdownLink.d.ts +8 -6
- package/dist/types/widgets/CanvasLauncherWidget/use-canvas-viable.d.ts +43 -9
- package/dist/types/widgets/EntityMentionConversationWidget/shared/entity-mention-presentation.d.ts +1 -1
- package/dist/types/widgets/_shared/modern/WidgetKpiValue.d.ts +2 -1
- package/dist/widgets.js +43 -40
- package/package.json +8 -6
- package/public-api.json +85 -18
- package/dist/chunks/ConversationMessageInputComposerWidgets-BO3jS0eZ.js.map +0 -1
- package/dist/chunks/WebSearchResultsConversationWidget-H6cbTapV.js.map +0 -1
- package/dist/chunks/contract-BxmMxYPF.js.map +0 -1
- package/dist/chunks/index-7Qc_3GbG.js.map +0 -1
- package/dist/chunks/widget-name-resolver-D_ZzXy-Q.js.map +0 -1
- package/dist/chunks/withPollingChangeSubscription-B16htQGd.js.map +0 -1
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
@import "../styles/conversation-widget-container";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
// Only the page that holds a capture root, and inside the package's layer: the stylesheet is also loaded by
|
|
4
|
+
// applications whose own pages keep their body spacing, and a host's own (unlayered or later-layered) rules for
|
|
5
|
+
// `html` and `body` still win.
|
|
6
|
+
@layer agents-defaults {
|
|
7
|
+
:global(html):has(.root),
|
|
8
|
+
:global(body):has(.root) {
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
6
12
|
}
|
|
7
13
|
|
|
8
14
|
.root {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Package surface constants: the card paddings, radii and shadows, same values as the app's
|
|
2
|
-
// `src/styles/_surfaces.scss`. The colours inside the shadows stay custom properties (`--agents-shadow
|
|
2
|
+
// `src/styles/_surfaces.scss`. The colours inside the shadows stay custom properties (`--agents-shadow`).
|
|
3
3
|
@import "spacings";
|
|
4
4
|
|
|
5
5
|
// The radius of media flush inside a card (the button radius of the app's theme, 4px).
|
|
@@ -18,11 +18,11 @@ $card-radius-around-thumbnail: $card-radius-compact + $card-padding-compact;
|
|
|
18
18
|
|
|
19
19
|
// The card shadow: top-level chat cards sit elevated; nested tiles and canvas-internal cards stay flat.
|
|
20
20
|
$card-shadow:
|
|
21
|
-
0 $x0_25 $x0_25
|
|
22
|
-
0 $x0_5 $x1
|
|
23
|
-
0 $x1 $x3
|
|
21
|
+
0 $x0_25 $x0_25 color-mix(in srgb, var(--agents-shadow) 8%, transparent),
|
|
22
|
+
0 $x0_5 $x1 color-mix(in srgb, var(--agents-shadow) 5%, transparent),
|
|
23
|
+
0 $x1 $x3 color-mix(in srgb, var(--agents-shadow) 3%, transparent);
|
|
24
24
|
|
|
25
25
|
// Muted icon buttons floating over a photo or card edge: a soft halo that keeps them legible on light and dark media.
|
|
26
26
|
$floating-button-shadow:
|
|
27
|
-
0 0 $x0_5 0
|
|
28
|
-
0 0 $x2 $x0_5
|
|
27
|
+
0 0 $x0_5 0 color-mix(in srgb, var(--agents-shadow) 8%, transparent),
|
|
28
|
+
0 0 $x2 $x0_5 color-mix(in srgb, var(--agents-shadow) 5%, transparent);
|
package/dist/image-render.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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 { i as ConversationWidgetRenderContext, K as WidgetImageReadinessContext, R as ReadOnlyConversationWidgetProvider, N as WidgetImageRenderContext, O as WidgetImageLiveHydrationContext, j as buildWidgetAgentSpaceKeyProps } from "./chunks/WebSearchResultsConversationWidget-
|
|
7
|
-
import { P, Q, T } from "./chunks/WebSearchResultsConversationWidget-
|
|
8
|
-
import { r as readWidgetImageReadiness, p as publishWidgetImageReadiness } from "./chunks/widget-image-readiness-signal-
|
|
9
|
-
import { W, a } from "./chunks/widget-image-readiness-signal-
|
|
4
|
+
import { G as resolveWidgetName, j as conversationWidgetRegistry } from "./chunks/widget-name-resolver-DboFMAq2.js";
|
|
5
|
+
import { H } from "./chunks/widget-name-resolver-DboFMAq2.js";
|
|
6
|
+
import { i as ConversationWidgetRenderContext, K as WidgetImageReadinessContext, R as ReadOnlyConversationWidgetProvider, N as WidgetImageRenderContext, O as WidgetImageLiveHydrationContext, j as buildWidgetAgentSpaceKeyProps } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
7
|
+
import { P, Q, T } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
8
|
+
import { r as readWidgetImageReadiness, p as publishWidgetImageReadiness } from "./chunks/widget-image-readiness-signal-C5yaKpJJ.js";
|
|
9
|
+
import { W, a } from "./chunks/widget-image-readiness-signal-C5yaKpJJ.js";
|
|
10
10
|
import axios from "axios";
|
|
11
|
-
import {
|
|
11
|
+
import { U as getGoogleMapWidgetNames, X as getWidgetImageCaptureReadPathPrefix } from "./chunks/link-navigation-DyTApNeA.js";
|
|
12
12
|
const root = "agents_root_prMo3u";
|
|
13
13
|
const styles = {
|
|
14
14
|
root
|
package/dist/index.js
CHANGED
|
@@ -1,64 +1,70 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { h, i } from "./chunks/widget-name-resolver-
|
|
3
|
-
import { g, r, a, b } from "./chunks/canvasBodies-
|
|
2
|
+
import { h, i } from "./chunks/widget-name-resolver-DboFMAq2.js";
|
|
3
|
+
import { g, r, a, b } from "./chunks/canvasBodies-Ds-cTn47.js";
|
|
4
4
|
import { r as r2 } from "./chunks/canvas-feature-flags-BmmxC3bz.js";
|
|
5
|
-
import { r as r3, a as a2, b as b2 } from "./chunks/WebSearchResultsConversationWidget-
|
|
5
|
+
import { r as r3, a as a2, b as b2 } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
6
6
|
import { A, i as i2 } from "./chunks/icon-names-Di6c4zLo.js";
|
|
7
|
-
import { A as A2,
|
|
7
|
+
import { A as A2, f } from "./chunks/host-color-scheme-Jhb7JZR7.js";
|
|
8
|
+
import { A as A3, a as a3, B, C, b as b3, D, c, d, e, f as f2, G, H, g as g2, I, h as h2, L, M, i as i3, j, k, P, R, l, S, m, n, o, p, q, r as r4, 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 as a32, a4, a5, a6, a7, a8, a9, aa, ab } from "./chunks/link-navigation-DyTApNeA.js";
|
|
9
|
+
import { u as u2, a as a10 } from "./chunks/AgentsConversationClientContext-C4T7g_Qk.js";
|
|
8
10
|
export {
|
|
9
11
|
A as AGENTS_ICON_NAMES,
|
|
10
|
-
A2 as
|
|
12
|
+
A2 as AGENTS_THEME_ATTRIBUTE_NAME,
|
|
13
|
+
A3 as AgentsLink,
|
|
14
|
+
a3 as AgentsProvider,
|
|
11
15
|
B as Button,
|
|
12
16
|
C as Checkbox,
|
|
13
|
-
|
|
14
|
-
D as
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
b3 as ConversationSearchResultsList,
|
|
18
|
+
D as DEFAULT_AGENTS_COMPONENTS,
|
|
19
|
+
c as DEFAULT_AGENTS_TEXTS,
|
|
20
|
+
d as DEFAULT_WIDGET_IMAGE_CAPTURE_READ_PATH_PREFIX,
|
|
21
|
+
e as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME,
|
|
22
|
+
f2 as DateInput,
|
|
18
23
|
G as GlowFrame,
|
|
19
24
|
H as HeroRow,
|
|
20
|
-
|
|
25
|
+
g2 as HeroValue,
|
|
21
26
|
I as Icon,
|
|
22
|
-
|
|
27
|
+
h2 as InteractiveSurface,
|
|
23
28
|
L as LoadingSpinner,
|
|
24
29
|
M as Map,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
i3 as MapMarker,
|
|
31
|
+
j as Markdown,
|
|
32
|
+
k as ModalLayer,
|
|
28
33
|
P as ProgressBar,
|
|
29
34
|
R as RadioGroup,
|
|
30
|
-
|
|
35
|
+
l as RangeSlider,
|
|
31
36
|
S as SegmentBar,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
37
|
+
m as Select,
|
|
38
|
+
n as Skeleton,
|
|
39
|
+
o as SkeletonText,
|
|
40
|
+
p as SplitView,
|
|
41
|
+
q as StatusBadge,
|
|
42
|
+
r4 as StatusChip,
|
|
38
43
|
T as Tabs,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
s as Text,
|
|
45
|
+
t as TextArea,
|
|
46
|
+
u as TextInput,
|
|
47
|
+
v as Tooltip,
|
|
48
|
+
w as TrendDelta,
|
|
44
49
|
W as WidgetFeatureGate,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
x as WidgetText,
|
|
51
|
+
y as appendAnotherAgentSpaceToOwnerText,
|
|
52
|
+
z as buildUnnamedAgentSpaceLabel,
|
|
53
|
+
E as buildWidgetOfAnotherAgentSpaceExplanation,
|
|
54
|
+
F as classNames,
|
|
55
|
+
J as escapePlainTextForText,
|
|
56
|
+
f as followHostColorScheme,
|
|
57
|
+
K as getAgentDisplayName,
|
|
58
|
+
N as getAgentsEnvironment,
|
|
53
59
|
g as getEntityDetailBody,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
O as getFurtherCanvasBehaviours,
|
|
61
|
+
Q as getFurtherWidgetClickSignalSources,
|
|
62
|
+
U as getGoogleMapWidgetNames,
|
|
63
|
+
V as getSandboxLegacyAliases,
|
|
64
|
+
X as getWidgetImageCaptureReadPathPrefix,
|
|
65
|
+
Y as getWidgetSelfHydrationKeyFieldName,
|
|
60
66
|
i2 as isAgentsIconName,
|
|
61
|
-
|
|
67
|
+
Z as openImageGallery,
|
|
62
68
|
r3 as readConceptExplainerTypeDefinitions,
|
|
63
69
|
r as readEntityDetailBodyDefinitions,
|
|
64
70
|
a as registerCanvasBodies,
|
|
@@ -68,18 +74,21 @@ export {
|
|
|
68
74
|
i as registerConversationWidgets,
|
|
69
75
|
b as registerEntityDetailBodies,
|
|
70
76
|
b2 as registerWidgetHydrator,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
77
|
+
_ as reportRunningTurn,
|
|
78
|
+
$ as reportWidgetCrash,
|
|
79
|
+
a0 as setAgentsEnvironment,
|
|
80
|
+
a1 as translateText,
|
|
81
|
+
a22 as useAgentsActiveAgentSpaceKey,
|
|
82
|
+
a32 as useAgentsBudgetLimit,
|
|
83
|
+
a4 as useAgentsComponents,
|
|
84
|
+
u2 as useAgentsConversationClient,
|
|
85
|
+
a5 as useAgentsEnvironment,
|
|
86
|
+
a6 as useAgentsLinkNavigation,
|
|
87
|
+
a7 as useAgentsMapsLoader,
|
|
88
|
+
a8 as useAgentsOwnerSettings,
|
|
89
|
+
a9 as useAgentsStateDispatch,
|
|
90
|
+
aa as useAgentsStateSelector,
|
|
91
|
+
ab as useAgentsTexts,
|
|
92
|
+
a10 as useOptionalAgentsConversationClient
|
|
84
93
|
};
|
|
85
94
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
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-DboFMAq2.js";
|
|
3
|
+
import { M } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.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,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { s as Text, Y as getWidgetSelfHydrationKeyFieldName, e as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME, V as getSandboxLegacyAliases } from "./chunks/link-navigation-DyTApNeA.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 {
|
|
7
|
-
import { c as canvasBodies, E as EntityMentionAskButton } from "./chunks/canvasBodies-
|
|
8
|
-
import { c as canvasBehaviourOf } from "./chunks/canvas-behaviours-
|
|
9
|
-
import { f as decideCanvasOpen } from "./chunks/canvas-reducers-
|
|
10
|
-
import { p as publishWidgetImageReadiness } from "./chunks/widget-image-readiness-signal-
|
|
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-DboFMAq2.js";
|
|
6
|
+
import { X as WidgetSurface, A as readWidgetAgentSpaceKeyAttribute, W as WidgetRenderReportContext, j as buildWidgetAgentSpaceKeyProps, S as StandaloneConversationWidgetProvider, i as ConversationWidgetRenderContext, N as WidgetImageRenderContext, _ as CANVAS_VIABLE_MIN_WIDTH, l as listWidgetHydratorTypes, g as getWidgetHydrator, u as unregisterWidgetHydrator, b as registerWidgetHydrator } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
7
|
+
import { c as canvasBodies, E as EntityMentionAskButton } from "./chunks/canvasBodies-Ds-cTn47.js";
|
|
8
|
+
import { c as canvasBehaviourOf } from "./chunks/canvas-behaviours-BpN_1xdZ.js";
|
|
9
|
+
import { f as decideCanvasOpen } from "./chunks/canvas-reducers-CuX6L1zg.js";
|
|
10
|
+
import { p as publishWidgetImageReadiness } from "./chunks/widget-image-readiness-signal-C5yaKpJJ.js";
|
|
11
11
|
import axios from "axios";
|
|
12
|
-
import { C as ConversationWidgetProvider, a as ConversationMessageInputComposerWidgets } from "./chunks/ConversationMessageInputComposerWidgets-
|
|
12
|
+
import { C as ConversationWidgetProvider, a as ConversationMessageInputComposerWidgets } from "./chunks/ConversationMessageInputComposerWidgets-r_RwCqr7.js";
|
|
13
13
|
const page$1 = "agents_page_5VMDeD";
|
|
14
14
|
const chatColumn = "agents_chatColumn_FWcgdJ";
|
|
15
15
|
const widget = "agents_widget_3qpgMy";
|
package/dist/provider.js
CHANGED
|
@@ -1,71 +1,80 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { A, i } from "./chunks/icon-names-Di6c4zLo.js";
|
|
3
|
-
import { A as A2,
|
|
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-DyTApNeA.js";
|
|
5
|
+
import { u as u2, a as a10 } from "./chunks/AgentsConversationClientContext-C4T7g_Qk.js";
|
|
4
6
|
export {
|
|
5
7
|
A as AGENTS_ICON_NAMES,
|
|
6
|
-
A2 as
|
|
8
|
+
A2 as AGENTS_THEME_ATTRIBUTE_NAME,
|
|
9
|
+
A3 as AgentsLink,
|
|
10
|
+
a as AgentsProvider,
|
|
7
11
|
B as Button,
|
|
8
12
|
C as Checkbox,
|
|
9
|
-
|
|
10
|
-
D as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
b as ConversationSearchResultsList,
|
|
14
|
+
D as DEFAULT_AGENTS_COMPONENTS,
|
|
15
|
+
c as DEFAULT_AGENTS_TEXTS,
|
|
16
|
+
d as DEFAULT_WIDGET_IMAGE_CAPTURE_READ_PATH_PREFIX,
|
|
17
|
+
e as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME,
|
|
18
|
+
f2 as DateInput,
|
|
14
19
|
G as GlowFrame,
|
|
15
20
|
H as HeroRow,
|
|
16
|
-
|
|
21
|
+
g as HeroValue,
|
|
17
22
|
I as Icon,
|
|
18
|
-
|
|
23
|
+
h as InteractiveSurface,
|
|
19
24
|
L as LoadingSpinner,
|
|
20
25
|
M as Map,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
i2 as MapMarker,
|
|
27
|
+
j as Markdown,
|
|
28
|
+
k as ModalLayer,
|
|
24
29
|
P as ProgressBar,
|
|
25
30
|
R as RadioGroup,
|
|
26
|
-
|
|
31
|
+
l as RangeSlider,
|
|
27
32
|
S as SegmentBar,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
m as Select,
|
|
34
|
+
n as Skeleton,
|
|
35
|
+
o as SkeletonText,
|
|
36
|
+
p as SplitView,
|
|
37
|
+
q as StatusBadge,
|
|
38
|
+
r as StatusChip,
|
|
34
39
|
T as Tabs,
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
s as Text,
|
|
41
|
+
t as TextArea,
|
|
42
|
+
u as TextInput,
|
|
43
|
+
v as Tooltip,
|
|
44
|
+
w as TrendDelta,
|
|
40
45
|
W as WidgetFeatureGate,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
x as WidgetText,
|
|
47
|
+
y as appendAnotherAgentSpaceToOwnerText,
|
|
48
|
+
z as buildUnnamedAgentSpaceLabel,
|
|
49
|
+
E as buildWidgetOfAnotherAgentSpaceExplanation,
|
|
50
|
+
F as classNames,
|
|
51
|
+
J as escapePlainTextForText,
|
|
52
|
+
f as followHostColorScheme,
|
|
53
|
+
K as getAgentDisplayName,
|
|
54
|
+
N as getAgentsEnvironment,
|
|
55
|
+
O as getFurtherCanvasBehaviours,
|
|
56
|
+
Q as getFurtherWidgetClickSignalSources,
|
|
57
|
+
U as getGoogleMapWidgetNames,
|
|
58
|
+
V as getSandboxLegacyAliases,
|
|
59
|
+
X as getWidgetImageCaptureReadPathPrefix,
|
|
60
|
+
Y as getWidgetSelfHydrationKeyFieldName,
|
|
55
61
|
i as isAgentsIconName,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
62
|
+
Z as openImageGallery,
|
|
63
|
+
_ as reportRunningTurn,
|
|
64
|
+
$ as reportWidgetCrash,
|
|
65
|
+
a0 as setAgentsEnvironment,
|
|
66
|
+
a1 as translateText,
|
|
67
|
+
a2 as useAgentsActiveAgentSpaceKey,
|
|
68
|
+
a3 as useAgentsBudgetLimit,
|
|
69
|
+
a4 as useAgentsComponents,
|
|
70
|
+
u2 as useAgentsConversationClient,
|
|
71
|
+
a5 as useAgentsEnvironment,
|
|
72
|
+
a6 as useAgentsLinkNavigation,
|
|
73
|
+
a7 as useAgentsMapsLoader,
|
|
74
|
+
a8 as useAgentsOwnerSettings,
|
|
75
|
+
a9 as useAgentsStateDispatch,
|
|
76
|
+
aa as useAgentsStateSelector,
|
|
77
|
+
ab as useAgentsTexts,
|
|
78
|
+
a10 as useOptionalAgentsConversationClient
|
|
70
79
|
};
|
|
71
80
|
//# sourceMappingURL=provider.js.map
|
package/dist/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"provider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
package/dist/renderer.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C, a, W, b, d, g, i, p, r } from "./chunks/widget-click-signal-sources-
|
|
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 { d as useResolvedConversationWidgetAgentSpaceKey, p as payloadHashOfInstanceId } from "./chunks/WebSearchResultsConversationWidget-
|
|
6
|
-
import { C as C2, e, f, h, i as i2, L, R, S, W as W2, j as j2, k, m, n, o as o2, q as q2, t as t2, v as v2, g as g2, w as w2, x as x2, y as y2, z as z2, A, b as b2, B as B2, s, D as D2, u, E, F as F2, G as G2, H, I, J } from "./chunks/WebSearchResultsConversationWidget-
|
|
7
|
-
import { C as C3, a as a2, b as b3, d as d2, D as D3, c, e as e2, g as g3, i as i3, p as p3 } from "./chunks/canvas-behaviours-
|
|
8
|
-
import { c as c2, u as u2 } from "./chunks/canvasBodies-
|
|
2
|
+
import { C, a, M, W, b, d, g, i, p, r } from "./chunks/widget-click-signal-sources-Ch-y8gxw.js";
|
|
3
|
+
import { m as findWidgetFenceByPayloadHash, n as findWidgetFencesInMarkdown } from "./chunks/widget-name-resolver-DboFMAq2.js";
|
|
4
|
+
import { o, p as p2, q, t, v, w, j, x, y, z, B, D, F, G } from "./chunks/widget-name-resolver-DboFMAq2.js";
|
|
5
|
+
import { d as useResolvedConversationWidgetAgentSpaceKey, p as payloadHashOfInstanceId } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
6
|
+
import { C as C2, e, f, h, i as i2, L, R, S, W as W2, j as j2, k, m, n, o as o2, q as q2, t as t2, v as v2, g as g2, w as w2, x as x2, y as y2, z as z2, A, b as b2, B as B2, s, D as D2, u, E, F as F2, G as G2, H, I, J } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
7
|
+
import { C as C3, a as a2, b as b3, d as d2, D as D3, c, e as e2, g as g3, i as i3, p as p3 } from "./chunks/canvas-behaviours-BpN_1xdZ.js";
|
|
8
|
+
import { c as c2, u as u2 } from "./chunks/canvasBodies-Ds-cTn47.js";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { n as Skeleton } from "./chunks/link-navigation-DyTApNeA.js";
|
|
11
|
+
import { ac, ad, ae, af, ag } from "./chunks/link-navigation-DyTApNeA.js";
|
|
12
12
|
import { useMemo } from "react";
|
|
13
|
-
import { a as a3, b as b4, c as c3, d as d3, e as e3 } from "./chunks/canvas-reducers-
|
|
13
|
+
import { a as a3, b as b4, c as c3, d as d3, e as e3 } from "./chunks/canvas-reducers-CuX6L1zg.js";
|
|
14
14
|
import { c as c4 } from "./chunks/canvas-feature-flags-BmmxC3bz.js";
|
|
15
15
|
const pickSection = (payloadValue, fallback) => {
|
|
16
16
|
return payloadValue ?? fallback.data ?? void 0;
|
|
@@ -97,7 +97,7 @@ const withConversationWidgetVariant = (base, rawPayload) => {
|
|
|
97
97
|
return variant ? { ...base, variant } : base;
|
|
98
98
|
};
|
|
99
99
|
export {
|
|
100
|
-
|
|
100
|
+
ac as AgentsWidgetHydrationStateContainer,
|
|
101
101
|
C3 as CANVAS_BOXED_INSET_PX,
|
|
102
102
|
a2 as CANVAS_FILLS_SCREEN_WIDTH_PERCENT,
|
|
103
103
|
b3 as CANVAS_MIN_WIDTH_PX,
|
|
@@ -114,11 +114,12 @@ export {
|
|
|
114
114
|
i2 as ConversationWidgetRenderContext,
|
|
115
115
|
D3 as DEFAULT_CANVAS_WIDTH_PERCENT,
|
|
116
116
|
L as LEGACY_CARD_CLICK_ORIGIN,
|
|
117
|
+
M as MarkdownLink,
|
|
117
118
|
R as ReadOnlyConversationWidgetProvider,
|
|
118
119
|
S as StandaloneConversationWidgetProvider,
|
|
119
120
|
W as WIDGET_RENDER_REPORT_SIGNAL_SOURCE,
|
|
120
|
-
|
|
121
|
-
|
|
121
|
+
ad as WidgetHydrationReducer,
|
|
122
|
+
ae as WidgetHydrationSlice,
|
|
122
123
|
W2 as WidgetRenderReportContext,
|
|
123
124
|
q as addComposedNodeSchemaApplicationPart,
|
|
124
125
|
a3 as applyClearCanvas,
|
|
@@ -141,7 +142,7 @@ export {
|
|
|
141
142
|
v as composedNodeSchema,
|
|
142
143
|
w as composedViewTreeToWire,
|
|
143
144
|
j as conversationWidgetRegistry,
|
|
144
|
-
|
|
145
|
+
af as createAgentsWidgetHydrationStateStore,
|
|
145
146
|
d as deepLinkableWidgetNameForCanvas,
|
|
146
147
|
t2 as defaultConversationWidgetCallbacks,
|
|
147
148
|
v2 as entityIdOfInstanceId,
|
|
@@ -150,7 +151,7 @@ export {
|
|
|
150
151
|
x as getComposedNodeSchema,
|
|
151
152
|
y as getConversationWidgetRegistryRevision,
|
|
152
153
|
g3 as getDeclaredCanvasIds,
|
|
153
|
-
|
|
154
|
+
ag as getDefaultAgentsStateStore,
|
|
154
155
|
g as getWidgetClickSignalSources,
|
|
155
156
|
g2 as getWidgetHydrator,
|
|
156
157
|
w2 as hasWidgetHydrator,
|