@mgamadeus/ddd-agents 0.11.12 → 0.12.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/README.md +138 -6
- package/boundary.json +5 -0
- package/dist/admin.js +13712 -0
- package/dist/admin.js.map +1 -0
- package/dist/chat.js +1627 -109
- package/dist/chat.js.map +1 -1
- package/dist/chunks/{AgentsConversationClientContext-C4T7g_Qk.js → AgentsConversationClientContext-B_UJSLXU.js} +2 -2
- package/dist/chunks/{AgentsConversationClientContext-C4T7g_Qk.js.map → AgentsConversationClientContext-B_UJSLXU.js.map} +1 -1
- package/dist/chunks/{ConversationMarkdown-D-aP3Ssl.js → ConversationMarkdown-DlvwT3Qk.js} +5 -4
- package/dist/chunks/{ConversationMarkdown-D-aP3Ssl.js.map → ConversationMarkdown-DlvwT3Qk.js.map} +1 -1
- package/dist/chunks/{ConversationMessageInputComposerWidgets-7HNAmZE1.js → ConversationMessageInputComposerWidgets-TchR1lPj.js} +6 -6
- package/dist/chunks/{ConversationMessageInputComposerWidgets-7HNAmZE1.js.map → ConversationMessageInputComposerWidgets-TchR1lPj.js.map} +1 -1
- package/dist/chunks/{VoiceBarsIcon-FhLAcgLG.js → VoiceBarsIcon-y3mgSqbn.js} +4 -4
- package/dist/chunks/{VoiceBarsIcon-FhLAcgLG.js.map → VoiceBarsIcon-y3mgSqbn.js.map} +1 -1
- package/dist/chunks/{WebSearchResultsConversationWidget-dEq19U7k.js → WebSearchResultsConversationWidget-l9Aek_lG.js} +3 -2
- package/dist/chunks/WebSearchResultsConversationWidget-l9Aek_lG.js.map +1 -0
- package/dist/chunks/agents-http-trace-mappers-LWNi-3a4.js +759 -0
- package/dist/chunks/agents-http-trace-mappers-LWNi-3a4.js.map +1 -0
- package/dist/chunks/{browser-request-interception-ydNOzeUL.js → browser-request-interception-D678IemW.js} +2 -2
- package/dist/chunks/{browser-request-interception-ydNOzeUL.js.map → browser-request-interception-D678IemW.js.map} +1 -1
- package/dist/chunks/{canvas-reducers-BInd3xNz.js → canvas-reducers-BYArW_Ji.js} +2 -2
- package/dist/chunks/{canvas-reducers-BInd3xNz.js.map → canvas-reducers-BYArW_Ji.js.map} +1 -1
- package/dist/chunks/{canvas-title-slot-context-BI1PLnPn.js → canvas-title-slot-context-BRGnFzYP.js} +3 -3
- package/dist/chunks/{canvas-title-slot-context-BI1PLnPn.js.map → canvas-title-slot-context-BRGnFzYP.js.map} +1 -1
- package/dist/chunks/{canvasBodies-CRVh8pCw.js → canvasBodies-BjXypuHf.js} +4 -4
- package/dist/chunks/{canvasBodies-CRVh8pCw.js.map → canvasBodies-BjXypuHf.js.map} +1 -1
- package/dist/chunks/{canvasStorage-Cr3omZeI.js → canvasStorage-DSspwRMg.js} +2 -2
- package/dist/chunks/{canvasStorage-Cr3omZeI.js.map → canvasStorage-DSspwRMg.js.map} +1 -1
- package/dist/chunks/content-from-unified-diff-CovnmG2Q.js +2927 -0
- package/dist/chunks/content-from-unified-diff-CovnmG2Q.js.map +1 -0
- package/dist/chunks/{contract-C18owGKs.js → contract-886XjdID.js} +2 -2
- package/dist/chunks/{contract-C18owGKs.js.map → contract-886XjdID.js.map} +1 -1
- package/dist/chunks/{conversation-CbWEHPbL.js → conversation-B7-evdj_.js} +4 -4
- package/dist/chunks/{conversation-CbWEHPbL.js.map → conversation-B7-evdj_.js.map} +1 -1
- package/dist/chunks/{icon-names-Di6c4zLo.js → icon-names-C5PeVvkJ.js} +32 -1
- package/dist/chunks/icon-names-C5PeVvkJ.js.map +1 -0
- package/dist/chunks/{link-navigation-DRHt6g7U.js → index-DZovGMpG.js} +65 -106
- package/dist/chunks/index-DZovGMpG.js.map +1 -0
- package/dist/chunks/link-navigation-a_sRfmsj.js +49 -0
- package/dist/chunks/link-navigation-a_sRfmsj.js.map +1 -0
- package/dist/chunks/{widget-name-resolver-Dq6Ejo7d.js → widget-name-resolver-DS3zH_5W.js} +5 -4
- package/dist/chunks/{widget-name-resolver-Dq6Ejo7d.js.map → widget-name-resolver-DS3zH_5W.js.map} +1 -1
- package/dist/chunks/{withPollingChangeSubscription-ClyOABgu.js → withPollingChangeSubscription-XvCpjGmd.js} +13 -2
- package/dist/chunks/{withPollingChangeSubscription-ClyOABgu.js.map → withPollingChangeSubscription-XvCpjGmd.js.map} +1 -1
- package/dist/client-testing.js +5 -5
- package/dist/client.js +50 -231
- package/dist/client.js.map +1 -1
- package/dist/contract.js +5 -5
- package/dist/files/i18n-keys.json +18091 -1287
- package/dist/files/widgets/DriveFilesConversationWidget/DriveFilesConversationWidget.md +3 -3
- package/dist/image-render.js +7 -7
- package/dist/index.js +62 -61
- package/dist/index.js.map +1 -1
- package/dist/kit.js +2 -2
- package/dist/preview.js +7 -7
- package/dist/provider.js +57 -56
- package/dist/provider.js.map +1 -1
- package/dist/renderer.js +15 -15
- package/dist/styles.css +2962 -15
- package/dist/types/admin/blocks/CodeBlock.d.ts +28 -0
- package/dist/types/admin/blocks/DetailModal.d.ts +34 -0
- package/dist/types/admin/blocks/Disclosure.d.ts +25 -0
- package/dist/types/admin/blocks/JsonTree.d.ts +18 -0
- package/dist/types/admin/blocks/LineDiffView.d.ts +18 -0
- package/dist/types/admin/blocks/ProportionBar.d.ts +43 -0
- package/dist/types/admin/blocks/TokenFigure.d.ts +14 -0
- package/dist/types/admin/blocks/json-tree.d.ts +40 -0
- package/dist/types/admin/blocks/line-diff.d.ts +46 -0
- package/dist/types/admin/blocks/proportion-bar.d.ts +34 -0
- package/dist/types/admin/blocks/series-fill-classes.d.ts +13 -0
- package/dist/types/admin/blocks/token-figure.d.ts +8 -0
- package/dist/types/admin/connections/AgentConnectionCard.d.ts +21 -0
- package/dist/types/admin/connections/AgentConnectionDriveRootSpaces.d.ts +25 -0
- package/dist/types/admin/connections/AgentConnectionDriveScopeDialog.d.ts +20 -0
- package/dist/types/admin/connections/AgentConnectionDriveSearchFilters.d.ts +34 -0
- package/dist/types/admin/connections/AgentConnectionDrivesDrawer.d.ts +39 -0
- package/dist/types/admin/connections/AgentConnectionLevelsDrawer.d.ts +27 -0
- package/dist/types/admin/connections/AgentConnectionSharingDialog.d.ts +12 -0
- package/dist/types/admin/connections/AgentConnectionsPanel.d.ts +97 -0
- package/dist/types/admin/connections/AgentConnectionsScreen.d.ts +18 -0
- package/dist/types/admin/connections/ConnectDialogs.d.ts +22 -0
- package/dist/types/admin/connections/agent-connection-drive-scope.d.ts +112 -0
- package/dist/types/admin/connections/agent-connection-drives.d.ts +107 -0
- package/dist/types/admin/connections/agent-connection-format.d.ts +82 -0
- package/dist/types/admin/connections/agent-connection-oauth.d.ts +122 -0
- package/dist/types/admin/connections/agent-connections-api.d.ts +420 -0
- package/dist/types/admin/connections/agent-connections-context.d.ts +60 -0
- package/dist/types/admin/connections/agent-connections-types.d.ts +447 -0
- package/dist/types/admin/connections/connection-logos.d.ts +53 -0
- package/dist/types/admin/connections/connection-parts.d.ts +84 -0
- package/dist/types/admin/connections/use-agent-connect.d.ts +25 -0
- package/dist/types/admin/context/CompactionThresholdBanner.d.ts +13 -0
- package/dist/types/admin/context/ContextCompositionPanel.d.ts +27 -0
- package/dist/types/admin/context/ContextSegmentList.d.ts +20 -0
- package/dist/types/admin/context/SentPayloadPanel.d.ts +37 -0
- package/dist/types/admin/context/agent-inspect-context-api.d.ts +53 -0
- package/dist/types/admin/context/agent-inspect-context-types.d.ts +98 -0
- package/dist/types/admin/context/context-composition-grouping.d.ts +78 -0
- package/dist/types/admin/context/context-segment-families.d.ts +18 -0
- package/dist/types/admin/context/context-segment-label-texts.d.ts +19 -0
- package/dist/types/admin/context/context-segment-labels.d.ts +18 -0
- package/dist/types/admin/control-panel/AgentControlPanelScreen.d.ts +71 -0
- package/dist/types/admin/control-panel/BudgetsTab.d.ts +13 -0
- package/dist/types/admin/control-panel/SettingsTab.d.ts +22 -0
- package/dist/types/admin/control-panel/SpacesTab.d.ts +24 -0
- package/dist/types/admin/control-panel/StatisticsTab.d.ts +26 -0
- package/dist/types/admin/control-panel/TimeSeriesChartCard.d.ts +37 -0
- package/dist/types/admin/control-panel/ToolResponseSamplesDrawer.d.ts +22 -0
- package/dist/types/admin/control-panel/agent-control-panel-api.d.ts +104 -0
- package/dist/types/admin/control-panel/agent-control-panel-types.d.ts +241 -0
- package/dist/types/admin/control-panel/budget-meters.d.ts +35 -0
- package/dist/types/admin/control-panel/control-panel-statistics.d.ts +49 -0
- package/dist/types/admin/control-panel/runtime-settings-form.d.ts +44 -0
- package/dist/types/admin/control-panel/time-series-chart.d.ts +54 -0
- package/dist/types/admin/conversations/AgentConversationDetailScreen.d.ts +128 -0
- package/dist/types/admin/conversations/AgentConversationsScreen.d.ts +60 -0
- package/dist/types/admin/conversations/ContextPanel.d.ts +9 -0
- package/dist/types/admin/conversations/ConversationActions.d.ts +32 -0
- package/dist/types/admin/conversations/ConversationTurns.d.ts +56 -0
- package/dist/types/admin/conversations/DebugSwitchBar.d.ts +23 -0
- package/dist/types/admin/conversations/DelegationPanel.d.ts +6 -0
- package/dist/types/admin/conversations/ModelContextDialog.d.ts +31 -0
- package/dist/types/admin/conversations/RequestCompositionRows.d.ts +14 -0
- package/dist/types/admin/conversations/RequestsPanel.d.ts +21 -0
- package/dist/types/admin/conversations/SandboxPanel.d.ts +42 -0
- package/dist/types/admin/conversations/StepDetailDialog.d.ts +19 -0
- package/dist/types/admin/conversations/agent-inspect-api.d.ts +259 -0
- package/dist/types/admin/conversations/agent-inspect-mappers.d.ts +23 -0
- package/dist/types/admin/conversations/agent-inspect-types.d.ts +517 -0
- package/dist/types/admin/conversations/conversation-list-export.d.ts +64 -0
- package/dist/types/admin/conversations/conversation-list-filters.d.ts +59 -0
- package/dist/types/admin/conversations/debug-switches.d.ts +27 -0
- package/dist/types/admin/conversations/delegation-swimlanes.d.ts +78 -0
- package/dist/types/admin/conversations/header-facts.d.ts +23 -0
- package/dist/types/admin/conversations/inspect-format.d.ts +44 -0
- package/dist/types/admin/conversations/inspect-parts.d.ts +42 -0
- package/dist/types/admin/conversations/inspect-scope.d.ts +92 -0
- package/dist/types/admin/conversations/model-call-rows.d.ts +78 -0
- package/dist/types/admin/conversations/step-descriptions.d.ts +43 -0
- package/dist/types/admin/conversations/touched-files-tree.d.ts +47 -0
- package/dist/types/admin/conversations/turn-paging.d.ts +56 -0
- package/dist/types/admin/conversations/turn-segments.d.ts +36 -0
- package/dist/types/admin/conversations/turn-timeline.d.ts +22 -0
- package/dist/types/admin/conversations/use-query-loader.d.ts +8 -0
- package/dist/types/admin/period/AdminPeriodControl.d.ts +15 -0
- package/dist/types/admin/period/admin-period.d.ts +51 -0
- package/dist/types/admin/quality/AgentQualityEvalRunScreen.d.ts +30 -0
- package/dist/types/admin/quality/AgentQualityScreen.d.ts +38 -0
- package/dist/types/admin/quality/SaveAsEvalCaseDialog.d.ts +27 -0
- package/dist/types/admin/quality/agent-quality-api.d.ts +86 -0
- package/dist/types/admin/quality/agent-quality-format.d.ts +52 -0
- package/dist/types/admin/quality/agent-quality-types.d.ts +161 -0
- package/dist/types/admin/schedules/AgentSchedulesPanel.d.ts +43 -0
- package/dist/types/admin/schedules/agent-schedules-api.d.ts +116 -0
- package/dist/types/admin/schedules/agent-schedules-format.d.ts +25 -0
- package/dist/types/admin/schedules/agent-schedules-types.d.ts +113 -0
- package/dist/types/admin/shared/AdminHrefLink.d.ts +13 -0
- package/dist/types/admin/skills/AgentSkillCatalogScreen.d.ts +51 -0
- package/dist/types/admin/skills/SharedBlocksPanel.d.ts +14 -0
- package/dist/types/admin/skills/SkillPurposesPanel.d.ts +16 -0
- package/dist/types/admin/skills/SkillTreeRowView.d.ts +31 -0
- package/dist/types/admin/skills/ToolSchemaDrawer.d.ts +21 -0
- package/dist/types/admin/skills/agent-skill-catalog-api.d.ts +89 -0
- package/dist/types/admin/skills/agent-skill-catalog-types.d.ts +223 -0
- package/dist/types/admin/skills/skill-catalog-colors.d.ts +10 -0
- package/dist/types/admin/skills/skill-catalog-tree.d.ts +159 -0
- package/dist/types/admin/skills/skill-purpose-texts.d.ts +11 -0
- package/dist/types/admin/wire/admin-wire.d.ts +21 -0
- package/dist/types/chat/controller/AgentChatController.d.ts +22 -0
- package/dist/types/chat/controller/turn-initiators.d.ts +21 -0
- package/dist/types/chat/trace/BackgroundTasksList.d.ts +35 -0
- package/dist/types/chat/trace/ChangeSetCard.d.ts +34 -0
- package/dist/types/chat/trace/ChangedFilesPane.d.ts +33 -0
- package/dist/types/chat/trace/ChangedRecordsList.d.ts +34 -0
- package/dist/types/chat/trace/ConsentRequestCard.d.ts +23 -0
- package/dist/types/chat/trace/ContextRing.d.ts +19 -0
- package/dist/types/chat/trace/ConversationChildTrace.d.ts +18 -0
- package/dist/types/chat/trace/ConversationTurnTrace.d.ts +48 -0
- package/dist/types/chat/trace/EntityChip.d.ts +23 -0
- package/dist/types/chat/trace/FileChangesSummary.d.ts +14 -0
- package/dist/types/chat/trace/FileEditBlock.d.ts +42 -0
- package/dist/types/chat/trace/LoadedSkillsDisclosure.d.ts +16 -0
- package/dist/types/chat/trace/QueuedMessageChip.d.ts +17 -0
- package/dist/types/chat/trace/RunStatusLine.d.ts +27 -0
- package/dist/types/chat/trace/StepKindDetails.d.ts +59 -0
- package/dist/types/chat/trace/SubAgentStepGroup.d.ts +53 -0
- package/dist/types/chat/trace/TaskPlanPane.d.ts +31 -0
- package/dist/types/chat/trace/TaskPlanRow.d.ts +28 -0
- package/dist/types/chat/trace/TerminalBlock.d.ts +16 -0
- package/dist/types/chat/trace/ThinkingBlock.d.ts +19 -0
- package/dist/types/chat/trace/ToolStepDetail.d.ts +49 -0
- package/dist/types/chat/trace/ToolStepGroup.d.ts +58 -0
- package/dist/types/chat/trace/ToolStepRow.d.ts +52 -0
- package/dist/types/chat/trace/TraceViewModeSwitch.d.ts +14 -0
- package/dist/types/chat/trace/TurnMetaLine.d.ts +27 -0
- package/dist/types/chat/trace/content-from-unified-diff.d.ts +25 -0
- package/dist/types/chat/trace/conversation-trace-loader.d.ts +133 -0
- package/dist/types/chat/trace/index.d.ts +34 -0
- package/dist/types/chat/trace/parse-unified-diff.d.ts +51 -0
- package/dist/types/chat/trace/task-plan-counts.d.ts +41 -0
- package/dist/types/chat/trace/trace-collect.d.ts +91 -0
- package/dist/types/chat/trace/trace-counts.d.ts +21 -0
- package/dist/types/chat/trace/trace-format.d.ts +73 -0
- package/dist/types/chat/trace/trace-labels.d.ts +60 -0
- package/dist/types/chat/trace/trace-parts.d.ts +63 -0
- package/dist/types/chat/trace/trace-step-focus.d.ts +12 -0
- package/dist/types/chat/trace/trace-types.d.ts +370 -0
- package/dist/types/chat/trace/use-conversation-trace.d.ts +47 -0
- package/dist/types/client/AgentsConversationClient.d.ts +20 -0
- package/dist/types/client/http/agents-http-trace-mappers.d.ts +31 -0
- package/dist/types/client/http/agents-http-trace-wire.d.ts +433 -0
- package/dist/types/contract/conversation-trace.d.ts +594 -0
- package/dist/types/entries/admin.d.ts +85 -0
- package/dist/types/entries/chat.d.ts +3 -1
- package/dist/types/entries/client.d.ts +2 -0
- package/dist/types/entries/contract.d.ts +1 -0
- package/dist/types/provider/components/icon-names.d.ts +4 -2
- package/dist/types/provider/components/types.d.ts +3 -1
- package/dist/types/widgets/DriveFilesConversationWidget/shared/drive-files.d.ts +1 -1
- package/dist/voice.js +3 -3
- package/dist/widgets.js +6 -6
- package/package.json +7 -3
- package/public-api.json +1036 -3
- package/dist/chunks/WebSearchResultsConversationWidget-dEq19U7k.js.map +0 -1
- package/dist/chunks/icon-names-Di6c4zLo.js.map +0 -1
- package/dist/chunks/link-navigation-DRHt6g7U.js.map +0 -1
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
name: DriveFiles
|
|
3
3
|
emitter: tool
|
|
4
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
|
|
5
|
+
description: The file cards the tool showFiles 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
6
|
---
|
|
7
7
|
|
|
8
8
|
# DriveFilesConversationWidget
|
|
9
9
|
|
|
10
10
|
## Description
|
|
11
11
|
Files the agent made or found, as cards the owner opens and downloads. The block is written by the tool
|
|
12
|
-
`
|
|
12
|
+
`showFiles` (backend `DriveFilesConversationWidget`); the component reads the cards through the
|
|
13
13
|
`DriveFileCardsSource` the host registers (`registerDriveFileCardsSource()`), under the viewer's rights. A reference the
|
|
14
14
|
viewer may not read is left out by the store; none readable shows "No file to show" (render report `empty`).
|
|
15
15
|
|
|
@@ -42,7 +42,7 @@ interface DriveFilesPayload {
|
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## When to use
|
|
45
|
-
- Written by the tool `
|
|
45
|
+
- Written by the tool `showFiles` — the owner should open or download files you made or found. Call the tool with
|
|
46
46
|
their paths; never paste a link or the file's content instead.
|
|
47
47
|
- Hand a deck over as pptx and pdf in one card: the pptx then opens as the PDF.
|
|
48
48
|
|
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, bi as WidgetImageReadinessContext, R as ReadOnlyConversationWidgetProvider, bj as WidgetImageRenderContext, bk as WidgetImageLiveHydrationContext, A as buildWidgetAgentSpaceKeyProps } from "./chunks/WebSearchResultsConversationWidget-
|
|
7
|
-
import { bl, bm, bn } 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 {
|
|
4
|
+
import { G as resolveWidgetName, j as conversationWidgetRegistry } from "./chunks/widget-name-resolver-DS3zH_5W.js";
|
|
5
|
+
import { H } from "./chunks/widget-name-resolver-DS3zH_5W.js";
|
|
6
|
+
import { z as ConversationWidgetRenderContext, bi as WidgetImageReadinessContext, R as ReadOnlyConversationWidgetProvider, bj as WidgetImageRenderContext, bk as WidgetImageLiveHydrationContext, A as buildWidgetAgentSpaceKeyProps } from "./chunks/WebSearchResultsConversationWidget-l9Aek_lG.js";
|
|
7
|
+
import { bl, bm, bn } from "./chunks/WebSearchResultsConversationWidget-l9Aek_lG.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-D678IemW.js";
|
|
9
|
+
import { W, b } from "./chunks/browser-request-interception-D678IemW.js";
|
|
10
|
+
import { Q as getGoogleMapWidgetNames, V as getWidgetImageCaptureReadPathPrefix } from "./chunks/index-DZovGMpG.js";
|
|
11
11
|
const root = "agents_root_prMo3u";
|
|
12
12
|
const styles = {
|
|
13
13
|
root
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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-DS3zH_5W.js";
|
|
3
|
+
import { r as registerCanvasBodies, c as canvasBodies } from "./chunks/canvasBodies-BjXypuHf.js";
|
|
4
|
+
import { g, a, b } from "./chunks/canvasBodies-BjXypuHf.js";
|
|
5
|
+
import { a as isPackageCanvasId, d as declareCanvasKind, f as forgetCanvasKind } from "./chunks/WebSearchResultsConversationWidget-l9Aek_lG.js";
|
|
6
|
+
import { r, b as b2, c, e, g as g2, h as h2 } from "./chunks/WebSearchResultsConversationWidget-l9Aek_lG.js";
|
|
7
7
|
import { r as registerCanvasFeatureFlags, c as canvasFeatureFlags } from "./chunks/canvas-feature-flags-Cn8xBliA.js";
|
|
8
|
-
import { A, i as i2 } from "./chunks/icon-names-
|
|
8
|
+
import { A, i as i2 } from "./chunks/icon-names-C5PeVvkJ.js";
|
|
9
9
|
import { A as A2, f } from "./chunks/host-color-scheme-Jhb7JZR7.js";
|
|
10
|
-
import { A as A3,
|
|
11
|
-
import { u as u2,
|
|
10
|
+
import { A as A3, u } from "./chunks/link-navigation-a_sRfmsj.js";
|
|
11
|
+
import { A as A4, B, C, a as a2, D, b as b3, c as c2, d, e as e2, G, H, f as f2, I, g as g3, L, M, h as h3, i as i3, j, P, R, k, S, l, m, n, o, p, q, T, r as r2, s, t, u as u2, 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 } from "./chunks/index-DZovGMpG.js";
|
|
12
|
+
import { u as u3, a as a10 } from "./chunks/AgentsConversationClientContext-B_UJSLXU.js";
|
|
12
13
|
const registerCanvasKind = (kind) => {
|
|
13
14
|
if (isPackageCanvasId(kind.canvasId)) {
|
|
14
15
|
throw new Error(
|
|
@@ -30,60 +31,60 @@ export {
|
|
|
30
31
|
A as AGENTS_ICON_NAMES,
|
|
31
32
|
A2 as AGENTS_THEME_ATTRIBUTE_NAME,
|
|
32
33
|
A3 as AgentsLink,
|
|
33
|
-
|
|
34
|
+
A4 as AgentsProvider,
|
|
34
35
|
B as Button,
|
|
35
36
|
C as Checkbox,
|
|
36
|
-
|
|
37
|
+
a2 as ConversationSearchResultsList,
|
|
37
38
|
D as DEFAULT_AGENTS_COMPONENTS,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
b3 as DEFAULT_AGENTS_TEXTS,
|
|
40
|
+
c2 as DEFAULT_WIDGET_IMAGE_CAPTURE_READ_PATH_PREFIX,
|
|
41
|
+
d as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME,
|
|
42
|
+
e2 as DateInput,
|
|
42
43
|
G as GlowFrame,
|
|
43
44
|
H as HeroRow,
|
|
44
|
-
|
|
45
|
+
f2 as HeroValue,
|
|
45
46
|
I as Icon,
|
|
46
|
-
|
|
47
|
+
g3 as InteractiveSurface,
|
|
47
48
|
L as LoadingSpinner,
|
|
48
49
|
M as Map,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
h3 as MapMarker,
|
|
51
|
+
i3 as Markdown,
|
|
52
|
+
j as ModalLayer,
|
|
52
53
|
P as ProgressBar,
|
|
53
54
|
R as RadioGroup,
|
|
54
|
-
|
|
55
|
+
k as RangeSlider,
|
|
55
56
|
S as SegmentBar,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
l as Select,
|
|
58
|
+
m as Skeleton,
|
|
59
|
+
n as SkeletonText,
|
|
60
|
+
o as SplitView,
|
|
61
|
+
p as StatusBadge,
|
|
62
|
+
q as StatusChip,
|
|
62
63
|
T as Tabs,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
r2 as Text,
|
|
65
|
+
s as TextArea,
|
|
66
|
+
t as TextInput,
|
|
67
|
+
u2 as Tooltip,
|
|
68
|
+
v as TrendDelta,
|
|
68
69
|
W as WidgetFeatureGate,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
w as WidgetText,
|
|
71
|
+
x as appendAnotherAgentSpaceToOwnerText,
|
|
72
|
+
y as buildUnnamedAgentSpaceLabel,
|
|
73
|
+
z as buildWidgetOfAnotherAgentSpaceExplanation,
|
|
74
|
+
E as classNames,
|
|
75
|
+
F as escapePlainTextForText,
|
|
75
76
|
f as followHostColorScheme,
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
J as getAgentDisplayName,
|
|
78
|
+
K as getAgentsEnvironment,
|
|
78
79
|
g as getEntityDetailBody,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
N as getFurtherCanvasBehaviours,
|
|
81
|
+
O as getFurtherWidgetClickSignalSources,
|
|
82
|
+
Q as getGoogleMapWidgetNames,
|
|
83
|
+
U as getSandboxLegacyAliases,
|
|
84
|
+
V as getWidgetImageCaptureReadPathPrefix,
|
|
85
|
+
X as getWidgetSelfHydrationKeyFieldName,
|
|
85
86
|
i2 as isAgentsIconName,
|
|
86
|
-
|
|
87
|
+
Y as openImageGallery,
|
|
87
88
|
r as readConceptExplainerTypeDefinitions,
|
|
88
89
|
a as readEntityDetailBodyDefinitions,
|
|
89
90
|
registerCanvasBodies,
|
|
@@ -97,22 +98,22 @@ export {
|
|
|
97
98
|
b as registerEntityDetailBodies,
|
|
98
99
|
g2 as registerFilePreviewSource,
|
|
99
100
|
h2 as registerWidgetHydrator,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
101
|
+
Z as reportRunningTurn,
|
|
102
|
+
_ as reportWidgetCrash,
|
|
103
|
+
$ as setAgentsEnvironment,
|
|
104
|
+
a0 as translateText,
|
|
104
105
|
unregisterCanvasKind,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
106
|
+
a1 as useAgentsActiveAgentSpaceKey,
|
|
107
|
+
a22 as useAgentsBudgetLimit,
|
|
108
|
+
a3 as useAgentsComponents,
|
|
109
|
+
u3 as useAgentsConversationClient,
|
|
110
|
+
a4 as useAgentsEnvironment,
|
|
111
|
+
u as useAgentsLinkNavigation,
|
|
112
|
+
a5 as useAgentsMapsLoader,
|
|
113
|
+
a6 as useAgentsOwnerSettings,
|
|
114
|
+
a7 as useAgentsStateDispatch,
|
|
115
|
+
a8 as useAgentsStateSelector,
|
|
116
|
+
a9 as useAgentsTexts,
|
|
116
117
|
a10 as useOptionalAgentsConversationClient
|
|
117
118
|
};
|
|
118
119
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/renderer/canvas/canvas-kinds.ts"],"sourcesContent":["import type React from \"react\";\nimport { type CanvasBehaviour, type CanvasId, isPackageCanvasId } from \"./canvas-behaviours\";\nimport { declareCanvasKind, forgetCanvasKind } from \"./canvas-kind-declarations\";\nimport type { CanvasBodyProps } from \"./canvas-body-props\";\nimport { canvasFeatureFlags, registerCanvasFeatureFlags } from \"./canvas-feature-flags\";\nimport { canvasBodies, registerCanvasBodies } from \"./canvasBodies\";\n\n/**\n * A CANVAS KIND — everything one canvas is made of, in one declaration: its id, how it lives on the surface\n * (`behaviour`), the component the pane mounts (`body`) and the widgets it opens from. The way a further package (a\n * drive's file viewer, an editor) brings its canvas to the chat without the app declaring anything: the package calls\n * `registerCanvasKind` once, outside React, before the first render.\n *\n * The app's own canvases keep their two declarations (`AgentsEnvironment.furtherCanvasBehaviours` +\n * `registerCanvasBodies`); both ways end in the same lookups (`canvasBehaviourOf`, `canvasBodies`), and the app's\n * behaviour for an id wins over a kind's.\n */\nexport interface CanvasKind {\n /**\n * The id of the canvas. Append-only while a stored pointer may still name it; never one of the package's own\n * (`PackageCanvasId`). Prefix it with the package's topic (`driveFile`), so two packages never meet on one id.\n */\n readonly canvasId: CanvasId;\n readonly behaviour: CanvasBehaviour;\n /**\n * The body the pane mounts. It receives the pointer only (`CanvasBodyProps`): what it shows it reads itself from the\n * instance id (`canvasInstanceIdForReference` → `referenceOfCanvasInstanceId`) or from the anchor message.\n */\n readonly body: React.ComponentType<CanvasBodyProps>;\n /**\n * The names of the widgets in a message this canvas opens from (`DriveFiles`). After a reload the pointer of the\n * canvas restores only while its anchor message still carries one of them; without a name the canvas never restores.\n */\n readonly openedByWidgets?: readonly string[];\n /** The requirement (an app feature flag) the body is gated on (`registerCanvasFeatureFlags`); default ungated. */\n readonly featureFlag?: string;\n}\n\n/**\n * Registers a canvas kind: its behaviour, its body, its opener widgets and its gate. Runs outside React, before the\n * first render; a second registration of an id replaces the first (a hot reload registers again).\n *\n * @throws Error for an id of the package's own canvases\n */\nexport const registerCanvasKind = (kind: CanvasKind): void => {\n if (isPackageCanvasId(kind.canvasId)) {\n throw new Error(\n `The canvas id \"${kind.canvasId}\" is one of the package's own canvases; a canvas kind needs its own id.`,\n );\n }\n declareCanvasKind(kind.canvasId, { behaviour: kind.behaviour, openedByWidgets: kind.openedByWidgets ?? [] });\n registerCanvasBodies({ [kind.canvasId]: kind.body });\n if (kind.featureFlag !== undefined) registerCanvasFeatureFlags({ [kind.canvasId]: kind.featureFlag });\n else delete canvasFeatureFlags[kind.canvasId];\n};\n\n/** Takes a registered canvas kind off again (tests, a host that disconnects a package). */\nexport const unregisterCanvasKind = (canvasId: CanvasId): void => {\n if (isPackageCanvasId(canvasId)) return;\n forgetCanvasKind(canvasId);\n delete canvasBodies[canvasId];\n delete canvasFeatureFlags[canvasId];\n};\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/renderer/canvas/canvas-kinds.ts"],"sourcesContent":["import type React from \"react\";\nimport { type CanvasBehaviour, type CanvasId, isPackageCanvasId } from \"./canvas-behaviours\";\nimport { declareCanvasKind, forgetCanvasKind } from \"./canvas-kind-declarations\";\nimport type { CanvasBodyProps } from \"./canvas-body-props\";\nimport { canvasFeatureFlags, registerCanvasFeatureFlags } from \"./canvas-feature-flags\";\nimport { canvasBodies, registerCanvasBodies } from \"./canvasBodies\";\n\n/**\n * A CANVAS KIND — everything one canvas is made of, in one declaration: its id, how it lives on the surface\n * (`behaviour`), the component the pane mounts (`body`) and the widgets it opens from. The way a further package (a\n * drive's file viewer, an editor) brings its canvas to the chat without the app declaring anything: the package calls\n * `registerCanvasKind` once, outside React, before the first render.\n *\n * The app's own canvases keep their two declarations (`AgentsEnvironment.furtherCanvasBehaviours` +\n * `registerCanvasBodies`); both ways end in the same lookups (`canvasBehaviourOf`, `canvasBodies`), and the app's\n * behaviour for an id wins over a kind's.\n */\nexport interface CanvasKind {\n /**\n * The id of the canvas. Append-only while a stored pointer may still name it; never one of the package's own\n * (`PackageCanvasId`). Prefix it with the package's topic (`driveFile`), so two packages never meet on one id.\n */\n readonly canvasId: CanvasId;\n readonly behaviour: CanvasBehaviour;\n /**\n * The body the pane mounts. It receives the pointer only (`CanvasBodyProps`): what it shows it reads itself from the\n * instance id (`canvasInstanceIdForReference` → `referenceOfCanvasInstanceId`) or from the anchor message.\n */\n readonly body: React.ComponentType<CanvasBodyProps>;\n /**\n * The names of the widgets in a message this canvas opens from (`DriveFiles`). After a reload the pointer of the\n * canvas restores only while its anchor message still carries one of them; without a name the canvas never restores.\n */\n readonly openedByWidgets?: readonly string[];\n /** The requirement (an app feature flag) the body is gated on (`registerCanvasFeatureFlags`); default ungated. */\n readonly featureFlag?: string;\n}\n\n/**\n * Registers a canvas kind: its behaviour, its body, its opener widgets and its gate. Runs outside React, before the\n * first render; a second registration of an id replaces the first (a hot reload registers again).\n *\n * @throws Error for an id of the package's own canvases\n */\nexport const registerCanvasKind = (kind: CanvasKind): void => {\n if (isPackageCanvasId(kind.canvasId)) {\n throw new Error(\n `The canvas id \"${kind.canvasId}\" is one of the package's own canvases; a canvas kind needs its own id.`,\n );\n }\n declareCanvasKind(kind.canvasId, { behaviour: kind.behaviour, openedByWidgets: kind.openedByWidgets ?? [] });\n registerCanvasBodies({ [kind.canvasId]: kind.body });\n if (kind.featureFlag !== undefined) registerCanvasFeatureFlags({ [kind.canvasId]: kind.featureFlag });\n else delete canvasFeatureFlags[kind.canvasId];\n};\n\n/** Takes a registered canvas kind off again (tests, a host that disconnects a package). */\nexport const unregisterCanvasKind = (canvasId: CanvasId): void => {\n if (isPackageCanvasId(canvasId)) return;\n forgetCanvasKind(canvasId);\n delete canvasBodies[canvasId];\n delete canvasFeatureFlags[canvasId];\n};\n"],"names":[],"mappings":";;;;;;;;;;;;AA4CO,MAAM,qBAAqB,CAAC,SAA2B;AAC5D,MAAI,kBAAkB,KAAK,QAAQ,GAAG;AACpC,UAAM,IAAI;AAAA,MACR,kBAAkB,KAAK,QAAQ;AAAA,IAAA;AAAA,EAEnC;AACA,oBAAkB,KAAK,UAAU,EAAE,WAAW,KAAK,WAAW,iBAAiB,KAAK,mBAAmB,CAAA,EAAC,CAAG;AAC3G,uBAAqB,EAAE,CAAC,KAAK,QAAQ,GAAG,KAAK,MAAM;AACnD,MAAI,KAAK,gBAAgB,OAAW,4BAA2B,EAAE,CAAC,KAAK,QAAQ,GAAG,KAAK,aAAa;AAAA,MAC/F,QAAO,mBAAmB,KAAK,QAAQ;AAC9C;AAGO,MAAM,uBAAuB,CAAC,aAA6B;AAChE,MAAI,kBAAkB,QAAQ,EAAG;AACjC,mBAAiB,QAAQ;AACzB,SAAO,aAAa,QAAQ;AAC5B,SAAO,mBAAmB,QAAQ;AACpC;"}
|
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-DS3zH_5W.js";
|
|
3
|
+
import { M } from "./chunks/WebSearchResultsConversationWidget-l9Aek_lG.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 {
|
|
3
|
+
import { r as Text, $ as setAgentsEnvironment, K as getAgentsEnvironment, X as getWidgetSelfHydrationKeyFieldName, d as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME, U as getSandboxLegacyAliases } from "./chunks/index-DZovGMpG.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 { aI as WidgetSurface, Z as readWidgetAgentSpaceKeyAttribute, j as canvasBehaviourOf, W as WidgetRenderReportContext, A as buildWidgetAgentSpaceKeyProps, S as StandaloneConversationWidgetProvider, z as ConversationWidgetRenderContext, bj as WidgetImageRenderContext, ab 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-DS3zH_5W.js";
|
|
6
|
+
import { aI as WidgetSurface, Z as readWidgetAgentSpaceKeyAttribute, j as canvasBehaviourOf, W as WidgetRenderReportContext, A as buildWidgetAgentSpaceKeyProps, S as StandaloneConversationWidgetProvider, z as ConversationWidgetRenderContext, bj as WidgetImageRenderContext, ab as CANVAS_VIABLE_MIN_WIDTH, l as listWidgetHydratorTypes, k as getWidgetHydrator, u as unregisterWidgetHydrator, h as registerWidgetHydrator } from "./chunks/WebSearchResultsConversationWidget-l9Aek_lG.js";
|
|
7
|
+
import { c as canvasBodies, E as EntityMentionAskButton } from "./chunks/canvasBodies-BjXypuHf.js";
|
|
8
|
+
import { f as decideCanvasOpen } from "./chunks/canvas-reducers-BYArW_Ji.js";
|
|
9
|
+
import { p as publishWidgetImageReadiness, i as interceptXMLHttpRequests, d as isFetchRequest, c as createHeaderlessResponse } from "./chunks/browser-request-interception-D678IemW.js";
|
|
10
|
+
import { C as ConversationWidgetProvider, a as ConversationMessageInputComposerWidgets } from "./chunks/ConversationMessageInputComposerWidgets-TchR1lPj.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,80 +1,81 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A, i } from "./chunks/icon-names-
|
|
2
|
+
import { A, i } from "./chunks/icon-names-C5PeVvkJ.js";
|
|
3
3
|
import { A as A2, f } from "./chunks/host-color-scheme-Jhb7JZR7.js";
|
|
4
|
-
import { A as A3,
|
|
5
|
-
import {
|
|
4
|
+
import { A as A3, u } from "./chunks/link-navigation-a_sRfmsj.js";
|
|
5
|
+
import { A as A4, B, C, a, D, b, c, d, e, G, H, f as f2, I, g, L, M, h, i as i2, j, P, R, k, S, l, m, n, o, p, q, T, r, s, t, u as u2, 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 } from "./chunks/index-DZovGMpG.js";
|
|
6
|
+
import { u as u3, a as a10 } from "./chunks/AgentsConversationClientContext-B_UJSLXU.js";
|
|
6
7
|
export {
|
|
7
8
|
A as AGENTS_ICON_NAMES,
|
|
8
9
|
A2 as AGENTS_THEME_ATTRIBUTE_NAME,
|
|
9
10
|
A3 as AgentsLink,
|
|
10
|
-
|
|
11
|
+
A4 as AgentsProvider,
|
|
11
12
|
B as Button,
|
|
12
13
|
C as Checkbox,
|
|
13
|
-
|
|
14
|
+
a as ConversationSearchResultsList,
|
|
14
15
|
D as DEFAULT_AGENTS_COMPONENTS,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
b as DEFAULT_AGENTS_TEXTS,
|
|
17
|
+
c as DEFAULT_WIDGET_IMAGE_CAPTURE_READ_PATH_PREFIX,
|
|
18
|
+
d as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME,
|
|
19
|
+
e as DateInput,
|
|
19
20
|
G as GlowFrame,
|
|
20
21
|
H as HeroRow,
|
|
21
|
-
|
|
22
|
+
f2 as HeroValue,
|
|
22
23
|
I as Icon,
|
|
23
|
-
|
|
24
|
+
g as InteractiveSurface,
|
|
24
25
|
L as LoadingSpinner,
|
|
25
26
|
M as Map,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
h as MapMarker,
|
|
28
|
+
i2 as Markdown,
|
|
29
|
+
j as ModalLayer,
|
|
29
30
|
P as ProgressBar,
|
|
30
31
|
R as RadioGroup,
|
|
31
|
-
|
|
32
|
+
k as RangeSlider,
|
|
32
33
|
S as SegmentBar,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
l as Select,
|
|
35
|
+
m as Skeleton,
|
|
36
|
+
n as SkeletonText,
|
|
37
|
+
o as SplitView,
|
|
38
|
+
p as StatusBadge,
|
|
39
|
+
q as StatusChip,
|
|
39
40
|
T as Tabs,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
r as Text,
|
|
42
|
+
s as TextArea,
|
|
43
|
+
t as TextInput,
|
|
44
|
+
u2 as Tooltip,
|
|
45
|
+
v as TrendDelta,
|
|
45
46
|
W as WidgetFeatureGate,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
w as WidgetText,
|
|
48
|
+
x as appendAnotherAgentSpaceToOwnerText,
|
|
49
|
+
y as buildUnnamedAgentSpaceLabel,
|
|
50
|
+
z as buildWidgetOfAnotherAgentSpaceExplanation,
|
|
51
|
+
E as classNames,
|
|
52
|
+
F as escapePlainTextForText,
|
|
52
53
|
f as followHostColorScheme,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
J as getAgentDisplayName,
|
|
55
|
+
K as getAgentsEnvironment,
|
|
56
|
+
N as getFurtherCanvasBehaviours,
|
|
57
|
+
O as getFurtherWidgetClickSignalSources,
|
|
58
|
+
Q as getGoogleMapWidgetNames,
|
|
59
|
+
U as getSandboxLegacyAliases,
|
|
60
|
+
V as getWidgetImageCaptureReadPathPrefix,
|
|
61
|
+
X as getWidgetSelfHydrationKeyFieldName,
|
|
61
62
|
i as isAgentsIconName,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
63
|
+
Y as openImageGallery,
|
|
64
|
+
Z as reportRunningTurn,
|
|
65
|
+
_ as reportWidgetCrash,
|
|
66
|
+
$ as setAgentsEnvironment,
|
|
67
|
+
a0 as translateText,
|
|
68
|
+
a1 as useAgentsActiveAgentSpaceKey,
|
|
69
|
+
a2 as useAgentsBudgetLimit,
|
|
70
|
+
a3 as useAgentsComponents,
|
|
71
|
+
u3 as useAgentsConversationClient,
|
|
72
|
+
a4 as useAgentsEnvironment,
|
|
73
|
+
u as useAgentsLinkNavigation,
|
|
74
|
+
a5 as useAgentsMapsLoader,
|
|
75
|
+
a6 as useAgentsOwnerSettings,
|
|
76
|
+
a7 as useAgentsStateDispatch,
|
|
77
|
+
a8 as useAgentsStateSelector,
|
|
78
|
+
a9 as useAgentsTexts,
|
|
78
79
|
a10 as useOptionalAgentsConversationClient
|
|
79
80
|
};
|
|
80
81
|
//# 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, 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-DlvwT3Qk.js";
|
|
3
|
+
import { m as findWidgetFenceByPayloadHash, n as findWidgetFencesInMarkdown } from "./chunks/widget-name-resolver-DS3zH_5W.js";
|
|
4
|
+
import { o, p as p2, q, t, v, w, j, x, y, z, B, D, F, G } from "./chunks/widget-name-resolver-DS3zH_5W.js";
|
|
5
|
+
import { n as useResolvedConversationWidgetAgentSpaceKey, p as payloadHashOfInstanceId } from "./chunks/WebSearchResultsConversationWidget-l9Aek_lG.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-l9Aek_lG.js";
|
|
7
|
+
import { C as C3, d as d2, g, i as i2, r, u as u2 } from "./chunks/canvas-title-slot-context-BRGnFzYP.js";
|
|
8
|
+
import { c as c2, u as u3 } from "./chunks/canvasBodies-BjXypuHf.js";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { m as Skeleton } from "./chunks/index-DZovGMpG.js";
|
|
11
|
+
import { aa, ab, ac, ad, ae } from "./chunks/index-DZovGMpG.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-BYArW_Ji.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;
|
|
@@ -97,7 +97,7 @@ const withConversationWidgetVariant = (base, rawPayload) => {
|
|
|
97
97
|
return variant ? { ...base, variant } : base;
|
|
98
98
|
};
|
|
99
99
|
export {
|
|
100
|
-
|
|
100
|
+
aa as AgentsWidgetHydrationStateContainer,
|
|
101
101
|
C2 as CANVAS_BOXED_INSET_PX,
|
|
102
102
|
o2 as CANVAS_FILLS_SCREEN_WIDTH_PERCENT,
|
|
103
103
|
q2 as CANVAS_MIN_WIDTH_PX,
|
|
@@ -119,8 +119,8 @@ export {
|
|
|
119
119
|
R as ReadOnlyConversationWidgetProvider,
|
|
120
120
|
S as StandaloneConversationWidgetProvider,
|
|
121
121
|
W as WIDGET_RENDER_REPORT_SIGNAL_SOURCE,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
ab as WidgetHydrationReducer,
|
|
123
|
+
ac as WidgetHydrationSlice,
|
|
124
124
|
W2 as WidgetRenderReportContext,
|
|
125
125
|
q as addComposedNodeSchemaApplicationPart,
|
|
126
126
|
a7 as applyClearCanvas,
|
|
@@ -147,7 +147,7 @@ export {
|
|
|
147
147
|
v as composedNodeSchema,
|
|
148
148
|
w as composedViewTreeToWire,
|
|
149
149
|
j as conversationWidgetRegistry,
|
|
150
|
-
|
|
150
|
+
ad as createAgentsWidgetHydrationStateStore,
|
|
151
151
|
d2 as deepLinkableWidgetNameForCanvas,
|
|
152
152
|
N as defaultConversationWidgetCallbacks,
|
|
153
153
|
O as entityIdOfInstanceId,
|
|
@@ -156,7 +156,7 @@ export {
|
|
|
156
156
|
x as getComposedNodeSchema,
|
|
157
157
|
y as getConversationWidgetRegistryRevision,
|
|
158
158
|
P as getDeclaredCanvasIds,
|
|
159
|
-
|
|
159
|
+
ae as getDefaultAgentsStateStore,
|
|
160
160
|
g as getWidgetClickSignalSources,
|
|
161
161
|
k as getWidgetHydrator,
|
|
162
162
|
Q as hasWidgetHydrator,
|