@mgamadeus/ddd-agents 0.1.37 → 0.1.38
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 +20 -0
- package/dist/chat.js +6 -6
- package/dist/chunks/{ConversationMessageInputComposerWidgets-CMJL6lua.js → ConversationMessageInputComposerWidgets-CI1GZIz7.js} +4 -4
- package/dist/chunks/{ConversationMessageInputComposerWidgets-CMJL6lua.js.map → ConversationMessageInputComposerWidgets-CI1GZIz7.js.map} +1 -1
- package/dist/chunks/{WebSearchResultsConversationWidget-DMAzB2yP.js → WebSearchResultsConversationWidget-qp4zrauN.js} +691 -187
- package/dist/chunks/WebSearchResultsConversationWidget-qp4zrauN.js.map +1 -0
- package/dist/chunks/{canvas-reducers-yUzQbRiW.js → canvas-reducers-f_ld2U0X.js} +2 -2
- package/dist/chunks/{canvas-reducers-yUzQbRiW.js.map → canvas-reducers-f_ld2U0X.js.map} +1 -1
- package/dist/chunks/{canvas-title-slot-context-B3hRpP4c.js → canvas-title-slot-context-CTMVP_js.js} +3 -3
- package/dist/chunks/{canvas-title-slot-context-B3hRpP4c.js.map → canvas-title-slot-context-CTMVP_js.js.map} +1 -1
- package/dist/chunks/{canvasBodies-ByvWqkGP.js → canvasBodies-DtjJM249.js} +3 -3
- package/dist/chunks/{canvasBodies-ByvWqkGP.js.map → canvasBodies-DtjJM249.js.map} +1 -1
- package/dist/chunks/{widget-name-resolver-qt2GgCFE.js → widget-name-resolver-COqzO2QW.js} +27 -17
- package/dist/chunks/widget-name-resolver-COqzO2QW.js.map +1 -0
- package/dist/client-testing.js +3 -3
- package/dist/files/i18n-keys.json +158 -0
- package/dist/files/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.md +59 -0
- package/dist/files/widgets/DriveFilesConversationWidget/drive-files.preview-fixtures.json +39 -0
- package/dist/image-render.js +7 -7
- package/dist/index.js +7 -6
- package/dist/kit.js +2 -2
- package/dist/preview.js +108 -101
- package/dist/preview.js.map +1 -1
- package/dist/renderer.js +43 -43
- package/dist/styles.css +150 -63
- package/dist/types/entries/index.d.ts +2 -0
- package/dist/types/entries/widgets.d.ts +3 -0
- package/dist/types/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.d.ts +8 -0
- package/dist/types/widgets/DriveFilesConversationWidget/shared/drive-file-cards-source.d.ts +37 -0
- package/dist/types/widgets/DriveFilesConversationWidget/shared/drive-files.d.ts +88 -0
- package/dist/widgets.js +59 -99
- package/dist/widgets.js.map +1 -1
- package/package.json +3 -1
- package/public-api.json +24 -0
- package/dist/chunks/WebSearchResultsConversationWidget-DMAzB2yP.js.map +0 -1
- package/dist/chunks/widget-name-resolver-qt2GgCFE.js.map +0 -1
package/dist/client-testing.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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, g as getWidgetHydrator,
|
|
5
|
-
import { j as conversationWidgetRegistry, k as replaceConversationWidgetRegistryEntries } from "./chunks/widget-name-resolver-
|
|
6
|
-
import { l, s } from "./chunks/widget-name-resolver-
|
|
4
|
+
import { l as listWidgetHydratorTypes, g as getWidgetHydrator, c as registerWidgetHydrator, d as abandonWidgetHydrationReads, u as unregisterWidgetHydrator } from "./chunks/WebSearchResultsConversationWidget-qp4zrauN.js";
|
|
5
|
+
import { j as conversationWidgetRegistry, k as replaceConversationWidgetRegistryEntries } from "./chunks/widget-name-resolver-COqzO2QW.js";
|
|
6
|
+
import { l, s } from "./chunks/widget-name-resolver-COqzO2QW.js";
|
|
7
7
|
import { c, r, s as s2 } from "./chunks/canvasStorage-EZDxQQaK.js";
|
|
8
8
|
const DEFAULT_SCRIPTED_ASSISTANT_ANSWER = "Done.";
|
|
9
9
|
const DEFAULT_PAGE_SIZE = 50;
|
|
@@ -56,6 +56,28 @@
|
|
|
56
56
|
"src/widgets/ConversationSearchResultsConversationWidget/ConversationSearchResultsConversationWidget.tsx"
|
|
57
57
|
]
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"key": "%count% entries",
|
|
61
|
+
"defaultText": "%count% entries",
|
|
62
|
+
"placeholders": [
|
|
63
|
+
"count"
|
|
64
|
+
],
|
|
65
|
+
"contexts": [],
|
|
66
|
+
"usedIn": [
|
|
67
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"key": "%count% files from the drive",
|
|
72
|
+
"defaultText": "%count% files from the drive",
|
|
73
|
+
"placeholders": [
|
|
74
|
+
"count"
|
|
75
|
+
],
|
|
76
|
+
"contexts": [],
|
|
77
|
+
"usedIn": [
|
|
78
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
59
81
|
{
|
|
60
82
|
"key": "%count% place",
|
|
61
83
|
"defaultText": "%count% place",
|
|
@@ -84,6 +106,28 @@
|
|
|
84
106
|
"src/kit/components/media/video-widget/VideoWidget.composed.tsx"
|
|
85
107
|
]
|
|
86
108
|
},
|
|
109
|
+
{
|
|
110
|
+
"key": "%name% could not be downloaded.",
|
|
111
|
+
"defaultText": "%name% could not be downloaded.",
|
|
112
|
+
"placeholders": [
|
|
113
|
+
"name"
|
|
114
|
+
],
|
|
115
|
+
"contexts": [],
|
|
116
|
+
"usedIn": [
|
|
117
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"key": "%name% could not be opened.",
|
|
122
|
+
"defaultText": "%name% could not be opened.",
|
|
123
|
+
"placeholders": [
|
|
124
|
+
"name"
|
|
125
|
+
],
|
|
126
|
+
"contexts": [],
|
|
127
|
+
"usedIn": [
|
|
128
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
87
131
|
{
|
|
88
132
|
"key": "%position% of %count%",
|
|
89
133
|
"defaultText": "%position% of %count%",
|
|
@@ -107,6 +151,24 @@
|
|
|
107
151
|
"src/chat/ConversationMessage/ConversationMessageWidgets/ConversationMessageHeader/ConversationMessageHeader.tsx"
|
|
108
152
|
]
|
|
109
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"key": "1 entry",
|
|
156
|
+
"defaultText": "1 entry",
|
|
157
|
+
"placeholders": [],
|
|
158
|
+
"contexts": [],
|
|
159
|
+
"usedIn": [
|
|
160
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"key": "1 file from the drive",
|
|
165
|
+
"defaultText": "1 file from the drive",
|
|
166
|
+
"placeholders": [],
|
|
167
|
+
"contexts": [],
|
|
168
|
+
"usedIn": [
|
|
169
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
110
172
|
{
|
|
111
173
|
"key": "AI Extensions",
|
|
112
174
|
"defaultText": "AI Extensions",
|
|
@@ -364,6 +426,17 @@
|
|
|
364
426
|
"src/widgets/WritingDraftConversationWidget/WritingDraftWidget/WritingDraftWidget.tsx"
|
|
365
427
|
]
|
|
366
428
|
},
|
|
429
|
+
{
|
|
430
|
+
"key": "Download %name%",
|
|
431
|
+
"defaultText": "Download %name%",
|
|
432
|
+
"placeholders": [
|
|
433
|
+
"name"
|
|
434
|
+
],
|
|
435
|
+
"contexts": [],
|
|
436
|
+
"usedIn": [
|
|
437
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
438
|
+
]
|
|
439
|
+
},
|
|
367
440
|
{
|
|
368
441
|
"key": "E-mail draft",
|
|
369
442
|
"defaultText": "E-mail draft",
|
|
@@ -400,6 +473,15 @@
|
|
|
400
473
|
"src/widgets/CurrencyConverterConversationWidget/CurrencyConverterWidget/CurrencyConverterWidget.tsx"
|
|
401
474
|
]
|
|
402
475
|
},
|
|
476
|
+
{
|
|
477
|
+
"key": "Folder",
|
|
478
|
+
"defaultText": "Folder",
|
|
479
|
+
"placeholders": [],
|
|
480
|
+
"contexts": [],
|
|
481
|
+
"usedIn": [
|
|
482
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
483
|
+
]
|
|
484
|
+
},
|
|
403
485
|
{
|
|
404
486
|
"key": "Gathering business data…",
|
|
405
487
|
"defaultText": "Gathering business data…",
|
|
@@ -528,6 +610,15 @@
|
|
|
528
610
|
"src/widgets/ConceptExplainerConversationWidget/ConceptExplainerConversationWidget.tsx"
|
|
529
611
|
]
|
|
530
612
|
},
|
|
613
|
+
{
|
|
614
|
+
"key": "No file to show",
|
|
615
|
+
"defaultText": "No file to show",
|
|
616
|
+
"placeholders": [],
|
|
617
|
+
"contexts": [],
|
|
618
|
+
"usedIn": [
|
|
619
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
620
|
+
]
|
|
621
|
+
},
|
|
531
622
|
{
|
|
532
623
|
"key": "No map available.",
|
|
533
624
|
"defaultText": "No map available.",
|
|
@@ -582,6 +673,17 @@
|
|
|
582
673
|
"src/renderer/WindowedWidget/WindowedWidget.tsx"
|
|
583
674
|
]
|
|
584
675
|
},
|
|
676
|
+
{
|
|
677
|
+
"key": "Open %name%",
|
|
678
|
+
"defaultText": "Open %name%",
|
|
679
|
+
"placeholders": [
|
|
680
|
+
"name"
|
|
681
|
+
],
|
|
682
|
+
"contexts": [],
|
|
683
|
+
"usedIn": [
|
|
684
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
685
|
+
]
|
|
686
|
+
},
|
|
585
687
|
{
|
|
586
688
|
"key": "Open in canvas",
|
|
587
689
|
"defaultText": "Open in canvas",
|
|
@@ -926,6 +1028,17 @@
|
|
|
926
1028
|
"src/renderer/WindowedWidget/WindowedWidget.tsx"
|
|
927
1029
|
]
|
|
928
1030
|
},
|
|
1031
|
+
{
|
|
1032
|
+
"key": "Show %name% in the drive",
|
|
1033
|
+
"defaultText": "Show %name% in the drive",
|
|
1034
|
+
"placeholders": [
|
|
1035
|
+
"name"
|
|
1036
|
+
],
|
|
1037
|
+
"contexts": [],
|
|
1038
|
+
"usedIn": [
|
|
1039
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
1040
|
+
]
|
|
1041
|
+
},
|
|
929
1042
|
{
|
|
930
1043
|
"key": "Show all %lineCount% lines",
|
|
931
1044
|
"defaultText": "Show all %lineCount% lines",
|
|
@@ -1107,6 +1220,24 @@
|
|
|
1107
1220
|
"src/widgets/WritingDraftConversationWidget/WritingDraftWidget/WritingDraftWidget.tsx"
|
|
1108
1221
|
]
|
|
1109
1222
|
},
|
|
1223
|
+
{
|
|
1224
|
+
"key": "The drive is not connected yet",
|
|
1225
|
+
"defaultText": "The drive is not connected yet",
|
|
1226
|
+
"placeholders": [],
|
|
1227
|
+
"contexts": [],
|
|
1228
|
+
"usedIn": [
|
|
1229
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
1230
|
+
]
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"key": "The files could not be loaded.",
|
|
1234
|
+
"defaultText": "The files could not be loaded.",
|
|
1235
|
+
"placeholders": [],
|
|
1236
|
+
"contexts": [],
|
|
1237
|
+
"usedIn": [
|
|
1238
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
1239
|
+
]
|
|
1240
|
+
},
|
|
1110
1241
|
{
|
|
1111
1242
|
"key": "The map could not be loaded.",
|
|
1112
1243
|
"defaultText": "The map could not be loaded.",
|
|
@@ -1152,6 +1283,24 @@
|
|
|
1152
1283
|
"src/widgets/CustomVisualizationConversationWidget/CustomVisualizationWidget/CustomVisualizationFrame.tsx"
|
|
1153
1284
|
]
|
|
1154
1285
|
},
|
|
1286
|
+
{
|
|
1287
|
+
"key": "These files show here once the drive is part of this app.",
|
|
1288
|
+
"defaultText": "These files show here once the drive is part of this app.",
|
|
1289
|
+
"placeholders": [],
|
|
1290
|
+
"contexts": [],
|
|
1291
|
+
"usedIn": [
|
|
1292
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
1293
|
+
]
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
"key": "These files were removed, or you may not open them.",
|
|
1297
|
+
"defaultText": "These files were removed, or you may not open them.",
|
|
1298
|
+
"placeholders": [],
|
|
1299
|
+
"contexts": [],
|
|
1300
|
+
"usedIn": [
|
|
1301
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
1302
|
+
]
|
|
1303
|
+
},
|
|
1155
1304
|
{
|
|
1156
1305
|
"key": "This business",
|
|
1157
1306
|
"defaultText": "This business",
|
|
@@ -1374,6 +1523,15 @@
|
|
|
1374
1523
|
"src/widgets/ClockConversationWidget/ClockWidget/ClockRow.tsx"
|
|
1375
1524
|
]
|
|
1376
1525
|
},
|
|
1526
|
+
{
|
|
1527
|
+
"key": "Try again",
|
|
1528
|
+
"defaultText": "Try again",
|
|
1529
|
+
"placeholders": [],
|
|
1530
|
+
"contexts": [],
|
|
1531
|
+
"usedIn": [
|
|
1532
|
+
"src/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.tsx"
|
|
1533
|
+
]
|
|
1534
|
+
},
|
|
1377
1535
|
{
|
|
1378
1536
|
"key": "Upgrade Plan",
|
|
1379
1537
|
"defaultText": "Upgrade Plan",
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: DriveFiles
|
|
3
|
+
emitter: tool
|
|
4
|
+
summary: Files of a drive store as cards in the chat — name, type, size, date, a thumbnail; open, download and a link to the file's place in the drive screen for people with the right.
|
|
5
|
+
description: The file cards the tool showDriveFiles writes. The block names a drive store and file references only (drive/812, at most 20) and an optional headline; the component reads the cards through the host's DriveFileCardsSource under the viewer's rights, so a block never carries a URL and a viewer without the right sees no file. Per file one row with a thumbnail or a type tile, the name, type · size · date (a folder shows its entries), a state chip when the store reports one, and the actions — open in a new tab (an office file opens its PDF twin of the same name, without one it only downloads), download, and "show in the drive" through the card's openLink or the host's href builder. Expired card URLs are read again. Without a registered source the card says the drive is not connected.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# DriveFilesConversationWidget
|
|
9
|
+
|
|
10
|
+
## Description
|
|
11
|
+
Files the agent made or found, as cards the owner opens and downloads. The block is written by the tool
|
|
12
|
+
`showDriveFiles` (backend `DriveFilesConversationWidget`); the component reads the cards through the
|
|
13
|
+
`DriveFileCardsSource` the host registers (`registerDriveFileCardsSource()`), under the viewer's rights. A reference the
|
|
14
|
+
viewer may not read is left out by the store; none readable shows "No file to show" (render report `empty`).
|
|
15
|
+
|
|
16
|
+
Per row: a thumbnail (images; a failed thumbnail falls back) or a tile with the file type, a folder tile for folders,
|
|
17
|
+
the name, type · size · date (a folder: its number of entries), the store's state as a chip (still being checked,
|
|
18
|
+
blocked …) and the actions:
|
|
19
|
+
- **Open** in a new tab — files a browser shows itself (PDF, images, video, text). An office file (pptx, docx, xlsx …)
|
|
20
|
+
opens its PDF twin from the same block (same folder, same name, `.pdf`); without one it only downloads.
|
|
21
|
+
- **Download** — the store's attachment URL.
|
|
22
|
+
- **Show in the drive** — the card's `openLink` when it is a path of this app or a same-origin URL, else the source's
|
|
23
|
+
`buildDriveScreenHref(card)`; hidden when neither gives a link. Opened through the host's `onNavigate`.
|
|
24
|
+
|
|
25
|
+
Card URLs are short-lived: the widget asks the source for a URL at every click and reads the block's cards again when
|
|
26
|
+
they had expired (`urlsExpireAt`), so thumbnails renew too.
|
|
27
|
+
|
|
28
|
+
States: loading (skeleton with the headline), failed (retry), not connected (no source registered), empty, the list.
|
|
29
|
+
|
|
30
|
+
## Data structure — SELF-HYDRATING (store + references only)
|
|
31
|
+
```ts
|
|
32
|
+
interface DriveFilesPayload {
|
|
33
|
+
store: string; // the drive store's name — "drive"
|
|
34
|
+
references: string[]; // file references, e.g. "drive/812", at most 20, in the order to show
|
|
35
|
+
title?: string; // a headline in the owner's language, at most 160 characters; OMIT → "N files from the drive"
|
|
36
|
+
agentSpaceId?: number; // the space the card was written in (the host's self-hydration key field)
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```widget
|
|
41
|
+
{ "type": "DriveFiles", "store": "drive", "references": ["drive/812", "drive/813"], "title": "Kampagnen-Performance 2026" }
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## When to use
|
|
45
|
+
- Written by the tool `showDriveFiles` — the owner should open or download files you made or found. Call the tool with
|
|
46
|
+
their paths; never paste a link or the file's content instead.
|
|
47
|
+
- Hand a deck over as pptx and pdf in one card: the pptx then opens as the PDF.
|
|
48
|
+
|
|
49
|
+
## Host setup
|
|
50
|
+
```ts
|
|
51
|
+
import { registerDriveFileCardsSource } from "@mgamadeus/ddd-agents";
|
|
52
|
+
|
|
53
|
+
registerDriveFileCardsSource({
|
|
54
|
+
readFileCards: (request, signal) => …, // the store's cards for the block (viewer's rights)
|
|
55
|
+
readFileContent: (card, disposition) => …, // { url, fileName? } — inline to open, attachment to download
|
|
56
|
+
buildDriveScreenHref: (card) => …, // optional: the drive screen link when the card has no openLink
|
|
57
|
+
});
|
|
58
|
+
```
|
|
59
|
+
A cloud drive host registers the source of `@mgamadeus/ddd-clouddrive/agents`.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"wireName": "DriveFiles",
|
|
3
|
+
"fixtures": [
|
|
4
|
+
{
|
|
5
|
+
"name": "default",
|
|
6
|
+
"description": "A deck handed over as pptx and pdf, a spreadsheet and a folder: the pptx opens its PDF twin, the xlsx only downloads, the folder shows its entries.",
|
|
7
|
+
"payload": { "store": "drive", "references": ["drive/812", "drive/813", "drive/814", "drive/40"], "title": "Kampagnen-Performance 2026" },
|
|
8
|
+
"hydration": {
|
|
9
|
+
"DriveFiles": [
|
|
10
|
+
{ "reference": "drive/812", "name": "kampagnen-performance-2026.pptx", "path": "out/kampagnen-performance-2026.pptx", "isFolder": false, "sizeBytes": 2483011, "contentType": "application/vnd.openxmlformats-officedocument.presentationml.presentation", "modifiedAt": "2026-11-23 18:04:00", "urlsExpireAt": "2099-01-01 00:00:00", "openLink": "/drive?space=1&path=%2Fout%2Fkampagnen-performance-2026.pptx" },
|
|
11
|
+
{ "reference": "drive/813", "name": "kampagnen-performance-2026.pdf", "path": "out/kampagnen-performance-2026.pdf", "isFolder": false, "sizeBytes": 812004, "contentType": "application/pdf", "modifiedAt": "2026-11-23 18:04:12", "urlsExpireAt": "2099-01-01 00:00:00" },
|
|
12
|
+
{ "reference": "drive/814", "name": "codes.xlsx", "path": "out/codes.xlsx", "isFolder": false, "sizeBytes": 18304, "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "modifiedAt": "2026-11-22 09:30:00", "urlsExpireAt": "2099-01-01 00:00:00", "state": "Being checked" },
|
|
13
|
+
{ "reference": "drive/40", "name": "web", "path": "web", "isFolder": true, "childCount": 12, "modifiedAt": "2026-11-23 17:55:00", "urlsExpireAt": "2099-01-01 00:00:00" }
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"locale": "de",
|
|
17
|
+
"expectedState": "data",
|
|
18
|
+
"width": 528
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"name": "empty",
|
|
22
|
+
"description": "None of the references is readable for the viewer: the card says so (render report empty).",
|
|
23
|
+
"payload": { "store": "drive", "references": ["drive/9"] },
|
|
24
|
+
"hydration": { "DriveFiles": [] },
|
|
25
|
+
"locale": "en",
|
|
26
|
+
"expectedState": "empty",
|
|
27
|
+
"width": 528
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "failed",
|
|
31
|
+
"description": "The store's read failed: the card offers a retry (render report failed).",
|
|
32
|
+
"payload": { "store": "drive", "references": ["drive/812"] },
|
|
33
|
+
"hydration": { "DriveFiles": { "__status": 500 } },
|
|
34
|
+
"locale": "en",
|
|
35
|
+
"expectedState": "error",
|
|
36
|
+
"width": 528
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
package/dist/image-render.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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 {
|
|
7
|
-
import {
|
|
4
|
+
import { G as resolveWidgetName, j as conversationWidgetRegistry } from "./chunks/widget-name-resolver-COqzO2QW.js";
|
|
5
|
+
import { H } from "./chunks/widget-name-resolver-COqzO2QW.js";
|
|
6
|
+
import { j as ConversationWidgetRenderContext, N as WidgetImageReadinessContext, R as ReadOnlyConversationWidgetProvider, O as WidgetImageRenderContext, P as WidgetImageLiveHydrationContext, k as buildWidgetAgentSpaceKeyProps } from "./chunks/WebSearchResultsConversationWidget-qp4zrauN.js";
|
|
7
|
+
import { Q, T, U } from "./chunks/WebSearchResultsConversationWidget-qp4zrauN.js";
|
|
8
8
|
import { r as readWidgetImageReadiness, p as publishWidgetImageReadiness } from "./chunks/widget-image-readiness-signal-yGuEaCVG.js";
|
|
9
9
|
import { W, a } from "./chunks/widget-image-readiness-signal-yGuEaCVG.js";
|
|
10
10
|
import axios from "axios";
|
|
@@ -340,12 +340,12 @@ export {
|
|
|
340
340
|
isGoogleMapCapture,
|
|
341
341
|
publishWidgetImageReadiness,
|
|
342
342
|
H as readComposedViewDataTimes,
|
|
343
|
-
|
|
343
|
+
Q as readFrozenHydration,
|
|
344
344
|
readWidgetImageReadiness,
|
|
345
345
|
a as readWidgetImageReadinessGlobalNames,
|
|
346
346
|
registerStaticWidgetImageComponents,
|
|
347
347
|
staticWidgetImageComponents,
|
|
348
|
-
|
|
349
|
-
|
|
348
|
+
T as useWidgetImageLiveHydration,
|
|
349
|
+
U as useWidgetImageRender
|
|
350
350
|
};
|
|
351
351
|
//# sourceMappingURL=image-render.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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-COqzO2QW.js";
|
|
3
|
+
import { g, r, a, b } from "./chunks/canvasBodies-DtjJM249.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, c } from "./chunks/WebSearchResultsConversationWidget-qp4zrauN.js";
|
|
6
6
|
import { A, i as i2 } from "./chunks/icon-names-Di6c4zLo.js";
|
|
7
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-DH3f2g9a.js";
|
|
8
|
+
import { A as A3, a as a3, B, C, b as b3, D, c as c2, 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-DH3f2g9a.js";
|
|
9
9
|
import { u as u2, a as a10 } from "./chunks/AgentsConversationClientContext-C4T7g_Qk.js";
|
|
10
10
|
export {
|
|
11
11
|
A as AGENTS_ICON_NAMES,
|
|
@@ -16,7 +16,7 @@ export {
|
|
|
16
16
|
C as Checkbox,
|
|
17
17
|
b3 as ConversationSearchResultsList,
|
|
18
18
|
D as DEFAULT_AGENTS_COMPONENTS,
|
|
19
|
-
|
|
19
|
+
c2 as DEFAULT_AGENTS_TEXTS,
|
|
20
20
|
d as DEFAULT_WIDGET_IMAGE_CAPTURE_READ_PATH_PREFIX,
|
|
21
21
|
e as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME,
|
|
22
22
|
f2 as DateInput,
|
|
@@ -72,8 +72,9 @@ export {
|
|
|
72
72
|
h as registerComposedViewDataSourceFetcher,
|
|
73
73
|
a2 as registerConceptExplainerTypes,
|
|
74
74
|
i as registerConversationWidgets,
|
|
75
|
+
b2 as registerDriveFileCardsSource,
|
|
75
76
|
b as registerEntityDetailBodies,
|
|
76
|
-
|
|
77
|
+
c as registerWidgetHydrator,
|
|
77
78
|
_ as reportRunningTurn,
|
|
78
79
|
$ as reportWidgetCrash,
|
|
79
80
|
a0 as setAgentsEnvironment,
|
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-COqzO2QW.js";
|
|
3
|
+
import { M } from "./chunks/WebSearchResultsConversationWidget-qp4zrauN.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,
|