@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.
- package/README.md +100 -0
- 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 +4 -2
- 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,15 +1,49 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Min
|
|
3
|
-
*
|
|
4
|
-
* a panel that immediately closes.
|
|
2
|
+
* Min width (px) at which the canvas side-panel split is usable. Mirrors the split view's `coversBelowWidth` in
|
|
3
|
+
* ConversationView — below it the open canvas covers the chat, so a canvas widget must render its content inline instead
|
|
4
|
+
* of opening a panel that immediately closes.
|
|
5
5
|
*/
|
|
6
6
|
export declare const CANVAS_VIABLE_MIN_WIDTH = 850;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
* Where the chat reads whether the canvas split fits: the width of the chat's own container. `AgentChatController`
|
|
9
|
+
* measures its chat area and provides it (`CanvasViabilityContext`); without one, the viewport decides.
|
|
10
|
+
*/
|
|
11
|
+
export interface CanvasViabilitySource {
|
|
12
|
+
/** Whether the split fits now. */
|
|
13
|
+
isViable: () => boolean;
|
|
14
|
+
/** Calls `listener` whenever `isViable()` flips; returns the unsubscribe. */
|
|
15
|
+
subscribe: (listener: () => void) => () => void;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* The width of one element as the canvas viability (`ResizeObserver`). Until the element is laid out (no width yet: not
|
|
19
|
+
* mounted, or a test DOM without layout) the viewport decides, as before.
|
|
20
|
+
*/
|
|
21
|
+
export declare class ElementWidthCanvasViability implements CanvasViabilitySource {
|
|
22
|
+
protected readonly minWidth: number;
|
|
23
|
+
protected elementWidth: number | null;
|
|
24
|
+
protected viable: boolean;
|
|
25
|
+
protected readonly listeners: Set<() => void>;
|
|
26
|
+
protected resizeObserver: ResizeObserver | null;
|
|
27
|
+
protected observedElement: Element | null;
|
|
28
|
+
constructor(minWidth?: number);
|
|
29
|
+
isViable: () => boolean;
|
|
30
|
+
subscribe: (listener: () => void) => (() => void);
|
|
31
|
+
/** Measures `element` from now on (null stops measuring). A ref callback of the container calls it. */
|
|
32
|
+
observe: (element: Element | null) => void;
|
|
33
|
+
/** The viewport changed: an element not laid out yet follows the viewport. */
|
|
34
|
+
receiveViewportResize: () => void;
|
|
35
|
+
protected receiveWidth(width: number | null): void;
|
|
36
|
+
protected notifyWhenFlipped(): void;
|
|
37
|
+
}
|
|
38
|
+
/** The canvas viability of the chat around (`AgentChatController` provides its chat area's); null = the viewport's. */
|
|
39
|
+
export declare const CanvasViabilityContext: import("react").Context<CanvasViabilitySource | null>;
|
|
40
|
+
/** Whether the split fits: the source's answer, else the viewport's. Read where no hook can (an event handler). */
|
|
41
|
+
export declare const readCanvasViable: (source: CanvasViabilitySource | null) => boolean;
|
|
42
|
+
/**
|
|
43
|
+
* True when the chat is wide enough for the canvas side panel: the chat container's width inside a chat that measures
|
|
44
|
+
* it (`CanvasViabilityContext`), else the viewport's. Re-renders the consumer ONLY when the boolean crosses
|
|
45
|
+
* {@link CANVAS_VIABLE_MIN_WIDTH} — NOT on every resize pixel. This matters because the consumers (the canvas widgets,
|
|
46
|
+
* ConversationView) re-mount heavy, self-fetching lists; a width-tracking hook would re-render them on every resize
|
|
47
|
+
* tick and make dragging the window janky.
|
|
14
48
|
*/
|
|
15
49
|
export declare const useCanvasViable: () => boolean;
|
package/dist/types/widgets/EntityMentionConversationWidget/shared/entity-mention-presentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type AgentsIconName } from "../../../provider/components";
|
|
2
|
-
export declare const FALLBACK_ENTITY_LABEL
|
|
2
|
+
export declare const FALLBACK_ENTITY_LABEL: "About this entry";
|
|
3
3
|
export declare const entityTypeIcon: (entityType: string) => AgentsIconName;
|
|
4
4
|
export declare const entityTypeFallbackLabel: (entityType: string) => string;
|
|
@@ -19,6 +19,7 @@ export interface WidgetKpiValueProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* The KPI value of the chat widgets and the kit's KPI node: the hero scale (the app's dashboard scale) (48px bold,
|
|
21
21
|
* tabular, scaled down to fit) re-used, never a second type scale. The label is known before the data, so it is never
|
|
22
|
-
* a skeleton. A text value sits
|
|
22
|
+
* a skeleton. A text value (18px, `title`) sits on the bottom of the same hero line box as a number, so the value
|
|
23
|
+
* lines and the lines under them align across a row of KPIs.
|
|
23
24
|
*/
|
|
24
25
|
export declare const WidgetKpiValue: (props: WidgetKpiValueProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/widgets.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { X as WidgetSurface, Y as SkeletonCircle, Z as SkeletonLine, F as useIsEmailWidgetRender } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
3
|
+
import { _, $, a0, U, a0 as a02, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, V, as, at, au, av } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
4
4
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { F as classNames, s as Text, r as StatusChip } from "./chunks/link-navigation-DyTApNeA.js";
|
|
6
|
+
import { g, x } from "./chunks/link-navigation-DyTApNeA.js";
|
|
7
7
|
import { useSyncExternalStore, useState, useEffect } from "react";
|
|
8
8
|
const row$1 = "agents_row_3Kb6Jj";
|
|
9
9
|
const withoutLeading = "agents_withoutLeading_7XTCP7";
|
|
@@ -130,52 +130,55 @@ const useElementVisible = (ref) => {
|
|
|
130
130
|
return intersecting && documentVisible;
|
|
131
131
|
};
|
|
132
132
|
export {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
133
|
+
_ as CANVAS_VIABLE_MIN_WIDTH,
|
|
134
|
+
$ as CUSTOM_VISUALIZATION_SANDBOX_CONFIG,
|
|
135
|
+
a0 as CanvasLauncherWidget,
|
|
136
|
+
U as CanvasViabilityContext,
|
|
137
|
+
a02 as CanvasWidgetCard,
|
|
138
|
+
a1 as CanvasWidgetSwitch,
|
|
138
139
|
WidgetFooter as CardFooter,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
140
|
+
a2 as ClockConversationWidget,
|
|
141
|
+
a3 as ConceptExplainerConversationWidget,
|
|
142
|
+
a4 as ConversationSearchResultsConversationWidget,
|
|
143
|
+
a5 as CurrencyConverterConversationWidget,
|
|
144
|
+
a6 as CustomVisualizationConversationWidget,
|
|
145
|
+
a7 as DonePill,
|
|
146
|
+
a8 as ElementWidthCanvasViability,
|
|
147
|
+
a9 as EntityMentionConversationWidget,
|
|
148
|
+
g as HeroValue,
|
|
149
|
+
aa as MultiChoiceConversationWidget,
|
|
150
|
+
ab as QuickRepliesConversationWidget,
|
|
149
151
|
SkeletonCircle,
|
|
150
152
|
SkeletonLine,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
ac as SkeletonPill,
|
|
154
|
+
ad as SkeletonWidgetLabel,
|
|
155
|
+
ae as SuggestedActions,
|
|
156
|
+
af as ToolTraceConversationWidget,
|
|
157
|
+
ag as WebSearchResultsConversationWidget,
|
|
156
158
|
WidgetFooter,
|
|
157
|
-
|
|
159
|
+
ah as WidgetKpiValue,
|
|
158
160
|
WidgetLabel,
|
|
159
161
|
WidgetListRow,
|
|
160
162
|
WidgetStatusChip,
|
|
161
163
|
WidgetSurface,
|
|
162
164
|
WidgetSurfaceSkeleton,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
x as WidgetText,
|
|
166
|
+
ai as WritingDraftConversationWidget,
|
|
167
|
+
aj as canvasForMessageWidget,
|
|
166
168
|
createEntityUpdateChannel,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
169
|
+
ak as formatConceptExplainerNumber,
|
|
170
|
+
al as normalizeSearchHitExcerpt,
|
|
171
|
+
am as pickAllowed,
|
|
172
|
+
an as pickAllowedValue,
|
|
173
|
+
ao as pickReviewExternalId,
|
|
174
|
+
ap as pickSafeAlias,
|
|
175
|
+
aq as pickSafeAliases,
|
|
176
|
+
ar as pickText,
|
|
177
|
+
V as readCanvasViable,
|
|
178
|
+
as as readConceptExplainerNumber,
|
|
179
|
+
at as readConceptExplainerValue,
|
|
180
|
+
au as resolveCustomVisualizationFrameUrl,
|
|
181
|
+
av as useCanvasViable,
|
|
179
182
|
useElementVisible
|
|
180
183
|
};
|
|
181
184
|
//# sourceMappingURL=widgets.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mgamadeus/ddd-agents",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.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",
|
|
@@ -146,6 +146,7 @@
|
|
|
146
146
|
"./chat/Conversation.module.scss": "./dist/files/chat/Conversation.module.scss",
|
|
147
147
|
"./chat/ConversationViewBody/ConversationViewBody.module.scss": "./dist/files/chat/ConversationViewBody/ConversationViewBody.module.scss",
|
|
148
148
|
"./image-render/WidgetImageRender.module.scss": "./dist/files/image-render/WidgetImageRender.module.scss",
|
|
149
|
+
"./i18n-keys.json": "./dist/files/i18n-keys.json",
|
|
149
150
|
"./package.json": "./package.json"
|
|
150
151
|
},
|
|
151
152
|
"files": [
|
|
@@ -216,8 +217,9 @@
|
|
|
216
217
|
"access": "public"
|
|
217
218
|
},
|
|
218
219
|
"scripts": {
|
|
219
|
-
"build": "node scripts/clean.mjs && vite build && tsc -p tsconfig.build.json && node scripts/check-package.mjs .",
|
|
220
|
+
"build": "node scripts/clean.mjs && node scripts/i18n-keys.mjs --check && vite build && tsc -p tsconfig.build.json && node scripts/check-package.mjs .",
|
|
220
221
|
"check-package": "node scripts/check-package.mjs .",
|
|
222
|
+
"i18n-keys": "node scripts/i18n-keys.mjs --write",
|
|
221
223
|
"test": "vitest run",
|
|
222
224
|
"typecheck": "tsc -p tsconfig.build.json --noEmit --declaration false --emitDeclarationOnly false"
|
|
223
225
|
}
|
package/public-api.json
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
".": {
|
|
3
3
|
"values": [
|
|
4
4
|
"AGENTS_ICON_NAMES",
|
|
5
|
+
"AGENTS_THEME_ATTRIBUTE_NAME",
|
|
6
|
+
"AgentsLink",
|
|
5
7
|
"AgentsProvider",
|
|
6
8
|
"Button",
|
|
7
9
|
"Checkbox",
|
|
8
10
|
"ConversationSearchResultsList",
|
|
11
|
+
"DEFAULT_AGENTS_COMPONENTS",
|
|
9
12
|
"DEFAULT_AGENTS_TEXTS",
|
|
10
13
|
"DEFAULT_WIDGET_IMAGE_CAPTURE_READ_PATH_PREFIX",
|
|
11
14
|
"DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME",
|
|
@@ -43,6 +46,7 @@
|
|
|
43
46
|
"buildWidgetOfAnotherAgentSpaceExplanation",
|
|
44
47
|
"classNames",
|
|
45
48
|
"escapePlainTextForText",
|
|
49
|
+
"followHostColorScheme",
|
|
46
50
|
"getAgentDisplayName",
|
|
47
51
|
"getAgentsEnvironment",
|
|
48
52
|
"getEntityDetailBody",
|
|
@@ -70,12 +74,15 @@
|
|
|
70
74
|
"useAgentsActiveAgentSpaceKey",
|
|
71
75
|
"useAgentsBudgetLimit",
|
|
72
76
|
"useAgentsComponents",
|
|
77
|
+
"useAgentsConversationClient",
|
|
73
78
|
"useAgentsEnvironment",
|
|
79
|
+
"useAgentsLinkNavigation",
|
|
74
80
|
"useAgentsMapsLoader",
|
|
75
81
|
"useAgentsOwnerSettings",
|
|
76
82
|
"useAgentsStateDispatch",
|
|
77
83
|
"useAgentsStateSelector",
|
|
78
|
-
"useAgentsTexts"
|
|
84
|
+
"useAgentsTexts",
|
|
85
|
+
"useOptionalAgentsConversationClient"
|
|
79
86
|
],
|
|
80
87
|
"types": [
|
|
81
88
|
"AgentsAssistantBackgroundProps",
|
|
@@ -100,6 +107,8 @@
|
|
|
100
107
|
"AgentsIconProps",
|
|
101
108
|
"AgentsIconSize",
|
|
102
109
|
"AgentsInteractiveSurfaceProps",
|
|
110
|
+
"AgentsLinkNavigation",
|
|
111
|
+
"AgentsLinkProps",
|
|
103
112
|
"AgentsLoadingSpinnerProps",
|
|
104
113
|
"AgentsMapMarkerProps",
|
|
105
114
|
"AgentsMapPosition",
|
|
@@ -146,7 +155,8 @@
|
|
|
146
155
|
"ComposedViewDataSourceFetcher",
|
|
147
156
|
"ConceptExplainerTypeDefinition",
|
|
148
157
|
"ConversationWidgetEntry",
|
|
149
|
-
"EntityDetailBodyDefinition"
|
|
158
|
+
"EntityDetailBodyDefinition",
|
|
159
|
+
"HostColorSchemeSource"
|
|
150
160
|
]
|
|
151
161
|
},
|
|
152
162
|
"./renderer": {
|
|
@@ -167,6 +177,8 @@
|
|
|
167
177
|
"ConversationWidgetHost",
|
|
168
178
|
"ConversationWidgetRenderContext",
|
|
169
179
|
"DEFAULT_CANVAS_WIDTH_PERCENT",
|
|
180
|
+
"LEGACY_CARD_CLICK_ORIGIN",
|
|
181
|
+
"MarkdownLink",
|
|
170
182
|
"ReadOnlyConversationWidgetProvider",
|
|
171
183
|
"StandaloneConversationWidgetProvider",
|
|
172
184
|
"WIDGET_RENDER_REPORT_SIGNAL_SOURCE",
|
|
@@ -244,8 +256,7 @@
|
|
|
244
256
|
"useWidgetHydration",
|
|
245
257
|
"useWidgetMemory",
|
|
246
258
|
"useWidgetRenderReporter",
|
|
247
|
-
"withConversationWidgetVariant"
|
|
248
|
-
"LEGACY_CARD_CLICK_ORIGIN"
|
|
259
|
+
"withConversationWidgetVariant"
|
|
249
260
|
],
|
|
250
261
|
"types": [
|
|
251
262
|
"AgentsWidgetHydrationState",
|
|
@@ -279,6 +290,7 @@
|
|
|
279
290
|
"ConversationWidgetVariant",
|
|
280
291
|
"InjectSignalOptions",
|
|
281
292
|
"LastClosedCanvas",
|
|
293
|
+
"MarkdownLinkProps",
|
|
282
294
|
"OpenEngagementEditConversationWidgetPayload",
|
|
283
295
|
"OpenEntityActionTarget",
|
|
284
296
|
"PackageCanvasId",
|
|
@@ -337,14 +349,17 @@
|
|
|
337
349
|
"CANVAS_VIABLE_MIN_WIDTH",
|
|
338
350
|
"CUSTOM_VISUALIZATION_SANDBOX_CONFIG",
|
|
339
351
|
"CanvasLauncherWidget",
|
|
352
|
+
"CanvasViabilityContext",
|
|
353
|
+
"CanvasWidgetCard",
|
|
340
354
|
"CanvasWidgetSwitch",
|
|
341
|
-
"
|
|
355
|
+
"CardFooter",
|
|
342
356
|
"ClockConversationWidget",
|
|
343
357
|
"ConceptExplainerConversationWidget",
|
|
344
358
|
"ConversationSearchResultsConversationWidget",
|
|
345
359
|
"CurrencyConverterConversationWidget",
|
|
346
360
|
"CustomVisualizationConversationWidget",
|
|
347
361
|
"DonePill",
|
|
362
|
+
"ElementWidthCanvasViability",
|
|
348
363
|
"EntityMentionConversationWidget",
|
|
349
364
|
"HeroValue",
|
|
350
365
|
"MultiChoiceConversationWidget",
|
|
@@ -356,6 +371,7 @@
|
|
|
356
371
|
"SuggestedActions",
|
|
357
372
|
"ToolTraceConversationWidget",
|
|
358
373
|
"WebSearchResultsConversationWidget",
|
|
374
|
+
"WidgetFooter",
|
|
359
375
|
"WidgetKpiValue",
|
|
360
376
|
"WidgetLabel",
|
|
361
377
|
"WidgetListRow",
|
|
@@ -374,17 +390,19 @@
|
|
|
374
390
|
"pickSafeAlias",
|
|
375
391
|
"pickSafeAliases",
|
|
376
392
|
"pickText",
|
|
393
|
+
"readCanvasViable",
|
|
377
394
|
"readConceptExplainerNumber",
|
|
378
395
|
"readConceptExplainerValue",
|
|
379
396
|
"resolveCustomVisualizationFrameUrl",
|
|
380
397
|
"useCanvasViable",
|
|
381
|
-
"useElementVisible"
|
|
382
|
-
"CanvasWidgetCard",
|
|
383
|
-
"CardFooter"
|
|
398
|
+
"useElementVisible"
|
|
384
399
|
],
|
|
385
400
|
"types": [
|
|
386
401
|
"CanvasLauncherWidgetCanvas",
|
|
387
402
|
"CanvasLauncherWidgetProps",
|
|
403
|
+
"CanvasViabilitySource",
|
|
404
|
+
"CanvasWidgetCardCanvas",
|
|
405
|
+
"CanvasWidgetCardProps",
|
|
388
406
|
"ConceptExplainerStep",
|
|
389
407
|
"ConceptExplainerStepsInput",
|
|
390
408
|
"ConceptExplainerText",
|
|
@@ -399,9 +417,7 @@
|
|
|
399
417
|
"WidgetStatusTone",
|
|
400
418
|
"WidgetSurfaceLevel",
|
|
401
419
|
"WidgetSurfaceProps",
|
|
402
|
-
"WidgetSurfaceSkeletonProps"
|
|
403
|
-
"CanvasWidgetCardProps",
|
|
404
|
-
"CanvasWidgetCardCanvas"
|
|
420
|
+
"WidgetSurfaceSkeletonProps"
|
|
405
421
|
]
|
|
406
422
|
},
|
|
407
423
|
"./contract": {
|
|
@@ -435,6 +451,7 @@
|
|
|
435
451
|
"ConversationMessagesPage",
|
|
436
452
|
"ConversationProgressStep",
|
|
437
453
|
"ConversationRunState",
|
|
454
|
+
"ConversationRunStateRead",
|
|
438
455
|
"ConversationRunStatus",
|
|
439
456
|
"ConversationSearchGroup",
|
|
440
457
|
"ConversationSearchOptions",
|
|
@@ -450,13 +467,25 @@
|
|
|
450
467
|
},
|
|
451
468
|
"./client": {
|
|
452
469
|
"values": [
|
|
470
|
+
"AGENTS_HTTP_DEFAULT_CHANGED_MESSAGES_PAGE_SIZE",
|
|
453
471
|
"AgentsConversationClientProvider",
|
|
454
472
|
"POLLING_IDLE_INTERVAL_MS",
|
|
455
473
|
"POLLING_LOCAL_ACTIVITY_WINDOW_MS",
|
|
456
474
|
"POLLING_MAX_BACKOFF_MS",
|
|
457
475
|
"POLLING_RUNNING_INTERVAL_MS",
|
|
476
|
+
"composeAttachmentMessageText",
|
|
477
|
+
"createAgentsHttpConversationClient",
|
|
458
478
|
"createPollingConversationChangeSubscription",
|
|
479
|
+
"mapHttpFailureToAgentsClientError",
|
|
480
|
+
"mapWireConversation",
|
|
481
|
+
"mapWireConversationActivity",
|
|
482
|
+
"mapWireConversationMessage",
|
|
483
|
+
"mapWireConversationRunState",
|
|
484
|
+
"mapWireSearchGroup",
|
|
485
|
+
"mapWireSearchHit",
|
|
486
|
+
"mapWireSelectableModel",
|
|
459
487
|
"readPolledRunStatus",
|
|
488
|
+
"readWireSetElements",
|
|
460
489
|
"useAgentsConversationClient",
|
|
461
490
|
"useOptionalAgentsConversationClient",
|
|
462
491
|
"withPollingChangeSubscription"
|
|
@@ -468,11 +497,36 @@
|
|
|
468
497
|
"AgentsConversationClientWithChangeSubscription",
|
|
469
498
|
"AgentsConversationOperation",
|
|
470
499
|
"AgentsExtraRequestParameters",
|
|
500
|
+
"AgentsHttpConversationClientOptions",
|
|
501
|
+
"AgentsHttpFetchOptions",
|
|
471
502
|
"ConversationMetadataReader",
|
|
472
503
|
"PollingConversationChangeSubscription",
|
|
473
504
|
"PollingConversationChangeSubscriptionOptions",
|
|
474
505
|
"PollingDocumentVisibility",
|
|
475
|
-
"PollingTimers"
|
|
506
|
+
"PollingTimers",
|
|
507
|
+
"WireActivityLine",
|
|
508
|
+
"WireChangeHistory",
|
|
509
|
+
"WireConversation",
|
|
510
|
+
"WireConversationActivityResponse",
|
|
511
|
+
"WireConversationMessage",
|
|
512
|
+
"WireConversationMessageSearchResponse",
|
|
513
|
+
"WireConversationMessagesResponse",
|
|
514
|
+
"WireConversationResponse",
|
|
515
|
+
"WireConversationRunStateResponse",
|
|
516
|
+
"WireConversationSearchGroup",
|
|
517
|
+
"WireConversationSearchResponse",
|
|
518
|
+
"WireConversationStartResponse",
|
|
519
|
+
"WireConversationSummary",
|
|
520
|
+
"WireConversationsResponse",
|
|
521
|
+
"WireCustomerProgressStep",
|
|
522
|
+
"WireDelegationSubAgentRecord",
|
|
523
|
+
"WireDelegationSubAgentRun",
|
|
524
|
+
"WireErrorBody",
|
|
525
|
+
"WireSelectableModel",
|
|
526
|
+
"WireSelectableModelsResponse",
|
|
527
|
+
"WireSemanticSearchHit",
|
|
528
|
+
"WireSet",
|
|
529
|
+
"WireToolCall"
|
|
476
530
|
]
|
|
477
531
|
},
|
|
478
532
|
"./client/testing": {
|
|
@@ -509,8 +563,9 @@
|
|
|
509
563
|
"CanvasRestoreOnMount",
|
|
510
564
|
"ConversationClosedBar",
|
|
511
565
|
"ConversationDeepLinkedWidget",
|
|
512
|
-
"
|
|
566
|
+
"ConversationErrorCard",
|
|
513
567
|
"ConversationErrorType",
|
|
568
|
+
"ConversationErrorWidget",
|
|
514
569
|
"ConversationMessageInput",
|
|
515
570
|
"ConversationMessageInputAttachmentsErrorBox",
|
|
516
571
|
"ConversationMessageInputAttachmentsPreviewStrip",
|
|
@@ -537,11 +592,12 @@
|
|
|
537
592
|
"useAgentsChatSelector",
|
|
538
593
|
"useAgentsChatState",
|
|
539
594
|
"useAgentsChatStore",
|
|
595
|
+
"useAgentsConversationClient",
|
|
540
596
|
"useAgentsConversationRunStatus",
|
|
541
597
|
"useConversationMessageSearch",
|
|
542
598
|
"useConversationsSearch",
|
|
543
599
|
"useOptionalAgentsChatStore",
|
|
544
|
-
"
|
|
600
|
+
"useOptionalAgentsConversationClient"
|
|
545
601
|
],
|
|
546
602
|
"types": [
|
|
547
603
|
"ActivityTicker",
|
|
@@ -550,6 +606,7 @@
|
|
|
550
606
|
"AgentActivity",
|
|
551
607
|
"AgentChatActivityHistoryProps",
|
|
552
608
|
"AgentChatActivityProps",
|
|
609
|
+
"AgentChatComposerHandle",
|
|
553
610
|
"AgentChatControllerProps",
|
|
554
611
|
"AgentChatProps",
|
|
555
612
|
"AgentChatSendModelSource",
|
|
@@ -566,6 +623,7 @@
|
|
|
566
623
|
"ChatScrollTarget",
|
|
567
624
|
"ConversationClosedBarProps",
|
|
568
625
|
"ConversationDeepLinkedWidgetProps",
|
|
626
|
+
"ConversationErrorCardProps",
|
|
569
627
|
"ConversationErrorWidgetProps",
|
|
570
628
|
"ConversationMessageInputAttachmentPreview",
|
|
571
629
|
"ConversationMessageInputAttachmentUploadStatus",
|
|
@@ -580,8 +638,7 @@
|
|
|
580
638
|
"ConversationWidgetProviderProps",
|
|
581
639
|
"ConversationsSearchState",
|
|
582
640
|
"SendMessageHandler",
|
|
583
|
-
"SendMessageOptions"
|
|
584
|
-
"ConversationErrorCardProps"
|
|
641
|
+
"SendMessageOptions"
|
|
585
642
|
]
|
|
586
643
|
},
|
|
587
644
|
"./preview": {
|
|
@@ -652,10 +709,13 @@
|
|
|
652
709
|
"./provider": {
|
|
653
710
|
"values": [
|
|
654
711
|
"AGENTS_ICON_NAMES",
|
|
712
|
+
"AGENTS_THEME_ATTRIBUTE_NAME",
|
|
713
|
+
"AgentsLink",
|
|
655
714
|
"AgentsProvider",
|
|
656
715
|
"Button",
|
|
657
716
|
"Checkbox",
|
|
658
717
|
"ConversationSearchResultsList",
|
|
718
|
+
"DEFAULT_AGENTS_COMPONENTS",
|
|
659
719
|
"DEFAULT_AGENTS_TEXTS",
|
|
660
720
|
"DEFAULT_WIDGET_IMAGE_CAPTURE_READ_PATH_PREFIX",
|
|
661
721
|
"DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME",
|
|
@@ -693,6 +753,7 @@
|
|
|
693
753
|
"buildWidgetOfAnotherAgentSpaceExplanation",
|
|
694
754
|
"classNames",
|
|
695
755
|
"escapePlainTextForText",
|
|
756
|
+
"followHostColorScheme",
|
|
696
757
|
"getAgentDisplayName",
|
|
697
758
|
"getAgentsEnvironment",
|
|
698
759
|
"getFurtherCanvasBehaviours",
|
|
@@ -710,12 +771,15 @@
|
|
|
710
771
|
"useAgentsActiveAgentSpaceKey",
|
|
711
772
|
"useAgentsBudgetLimit",
|
|
712
773
|
"useAgentsComponents",
|
|
774
|
+
"useAgentsConversationClient",
|
|
713
775
|
"useAgentsEnvironment",
|
|
776
|
+
"useAgentsLinkNavigation",
|
|
714
777
|
"useAgentsMapsLoader",
|
|
715
778
|
"useAgentsOwnerSettings",
|
|
716
779
|
"useAgentsStateDispatch",
|
|
717
780
|
"useAgentsStateSelector",
|
|
718
|
-
"useAgentsTexts"
|
|
781
|
+
"useAgentsTexts",
|
|
782
|
+
"useOptionalAgentsConversationClient"
|
|
719
783
|
],
|
|
720
784
|
"types": [
|
|
721
785
|
"AgentsAssistantBackgroundProps",
|
|
@@ -740,6 +804,8 @@
|
|
|
740
804
|
"AgentsIconProps",
|
|
741
805
|
"AgentsIconSize",
|
|
742
806
|
"AgentsInteractiveSurfaceProps",
|
|
807
|
+
"AgentsLinkNavigation",
|
|
808
|
+
"AgentsLinkProps",
|
|
743
809
|
"AgentsLoadingSpinnerProps",
|
|
744
810
|
"AgentsMapMarkerProps",
|
|
745
811
|
"AgentsMapPosition",
|
|
@@ -782,7 +848,8 @@
|
|
|
782
848
|
"AgentsWidgetFeatureGateProps",
|
|
783
849
|
"AgentsWidgetTextProps",
|
|
784
850
|
"AgentsWidgetTextTone",
|
|
785
|
-
"AgentsWidgetTextVariant"
|
|
851
|
+
"AgentsWidgetTextVariant",
|
|
852
|
+
"HostColorSchemeSource"
|
|
786
853
|
]
|
|
787
854
|
}
|
|
788
855
|
}
|