@mgamadeus/ddd-agents 0.13.0 → 0.14.1
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 +76 -0
- package/dist/admin.js +2 -2
- package/dist/chat.js +1303 -409
- package/dist/chat.js.map +1 -1
- package/dist/chunks/{agents-http-trace-mappers-LWNi-3a4.js → agents-http-trace-mappers-juBx_kw5.js} +64 -22
- package/dist/chunks/agents-http-trace-mappers-juBx_kw5.js.map +1 -0
- package/dist/chunks/{canvas-title-slot-context-BRGnFzYP.js → canvas-label-context-B54MYVLF.js} +16 -4
- package/dist/chunks/canvas-label-context-B54MYVLF.js.map +1 -0
- package/dist/chunks/{content-from-unified-diff-CovnmG2Q.js → content-from-unified-diff-lgH6CejC.js} +77 -46
- package/dist/chunks/content-from-unified-diff-lgH6CejC.js.map +1 -0
- package/dist/chunks/{contract-886XjdID.js → contract-CIXLnSqL.js} +2 -1
- package/dist/chunks/{contract-886XjdID.js.map → contract-CIXLnSqL.js.map} +1 -1
- package/dist/chunks/conversation-B7-evdj_.js.map +1 -1
- package/dist/chunks/conversation-trace-fVeh6Lg6.js +6 -0
- package/dist/chunks/conversation-trace-fVeh6Lg6.js.map +1 -0
- package/dist/chunks/index-DZovGMpG.js.map +1 -1
- package/dist/client.js +13 -8
- package/dist/client.js.map +1 -1
- package/dist/contract.js +3 -1
- package/dist/contract.js.map +1 -1
- package/dist/files/i18n-keys.json +496 -12
- package/dist/files/styles/_surfaces.scss +5 -0
- package/dist/renderer.js +10 -8
- package/dist/styles.css +920 -39
- package/dist/types/chat/CanvasResizeHandle/CanvasResizeHandle.d.ts +2 -0
- package/dist/types/chat/CanvasResizeHandle/use-canvas-resize.d.ts +4 -2
- package/dist/types/chat/ConversationMessage/ConversationCallMarkerChip/ConversationCallMarkerChip.d.ts +6 -1
- package/dist/types/chat/ConversationMessageList/ConversationMessageList.d.ts +8 -1
- package/dist/types/chat/ConversationMessageList/message-times.d.ts +55 -0
- package/dist/types/chat/ConversationView.d.ts +3 -0
- package/dist/types/chat/ConversationViewBody/ConversationViewBody.d.ts +3 -0
- package/dist/types/chat/canvas-layout.d.ts +13 -0
- package/dist/types/chat/controller/AgentChatController.d.ts +7 -0
- package/dist/types/chat/trace/TaskPlanDrawer.d.ts +45 -0
- package/dist/types/chat/trace/TaskPlanPane.d.ts +21 -12
- package/dist/types/chat/trace/ToolStepGroup.d.ts +2 -0
- package/dist/types/chat/trace/TraceViewModeSwitch.d.ts +10 -2
- package/dist/types/chat/trace/index.d.ts +4 -1
- package/dist/types/chat/trace/task-plan-tree.d.ts +55 -0
- package/dist/types/chat/trace/trace-collect.d.ts +15 -0
- package/dist/types/chat/trace/trace-types.d.ts +20 -0
- package/dist/types/chat/trace/trace-view-policy.d.ts +17 -0
- package/dist/types/client/http/agents-http-trace-mappers.d.ts +8 -1
- package/dist/types/client/http/agents-http-trace-wire.d.ts +27 -0
- package/dist/types/client/http/agents-http-wire.d.ts +4 -0
- package/dist/types/contract/conversation-trace.d.ts +63 -1
- package/dist/types/contract/conversation.d.ts +11 -0
- package/dist/types/entries/chat.d.ts +1 -0
- package/dist/types/entries/renderer.d.ts +1 -0
- package/dist/types/provider/components/types.d.ts +5 -0
- package/dist/types/provider/environment.d.ts +26 -0
- package/dist/types/provider/index.d.ts +1 -1
- package/dist/types/renderer/canvas/canvas-label-context.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.json +40 -0
- package/dist/chunks/agents-http-trace-mappers-LWNi-3a4.js.map +0 -1
- package/dist/chunks/canvas-title-slot-context-BRGnFzYP.js.map +0 -1
- package/dist/chunks/content-from-unified-diff-CovnmG2Q.js.map +0 -1
|
@@ -22,6 +22,11 @@ $card-shadow:
|
|
|
22
22
|
0 $x0_5 $x1 color-mix(in srgb, var(--agents-shadow) 5%, transparent),
|
|
23
23
|
0 $x1 $x3 color-mix(in srgb, var(--agents-shadow) 3%, transparent);
|
|
24
24
|
|
|
25
|
+
// The shadow of a card on the chat (a widget, a marker, a notice): the host's card edge where it sets one
|
|
26
|
+
// (`--agents-card-shadow`, e.g. a hairline where the chat itself sits on a shadowed window), else THE card shadow.
|
|
27
|
+
// Popovers, tooltips and controls over media keep `$card-shadow`.
|
|
28
|
+
$chat-surface-shadow: var(--agents-card-shadow, #{$card-shadow});
|
|
29
|
+
|
|
25
30
|
// Muted icon buttons floating over a photo or card edge: a soft halo that keeps them legible on light and dark media.
|
|
26
31
|
$floating-button-shadow:
|
|
27
32
|
0 0 $x0_5 0 color-mix(in srgb, var(--agents-shadow) 8%, transparent),
|
package/dist/renderer.js
CHANGED
|
@@ -4,14 +4,14 @@ import { m as findWidgetFenceByPayloadHash, n as findWidgetFencesInMarkdown } fr
|
|
|
4
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
5
|
import { n as useResolvedConversationWidgetAgentSpaceKey, p as payloadHashOfInstanceId } from "./chunks/WebSearchResultsConversationWidget-l9Aek_lG.js";
|
|
6
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-
|
|
7
|
+
import { C as C3, a as a7, d as d2, g, i as i2, r, u as u2, b as b2 } from "./chunks/canvas-label-context-B54MYVLF.js";
|
|
8
8
|
import { c as c2, u as u3 } from "./chunks/canvasBodies-BjXypuHf.js";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
10
|
import { m as Skeleton } from "./chunks/index-DZovGMpG.js";
|
|
11
11
|
import { aa, ab, ac, ad, ae } from "./chunks/index-DZovGMpG.js";
|
|
12
12
|
import { useMemo } from "react";
|
|
13
|
-
import { a as
|
|
14
|
-
import { a as
|
|
13
|
+
import { a as a8, b as b3, c as c3, d as d3, e } from "./chunks/canvas-reducers-BYArW_Ji.js";
|
|
14
|
+
import { a as a9 } from "./chunks/canvas-feature-flags-Cn8xBliA.js";
|
|
15
15
|
const pickSection = (payloadValue, fallback) => {
|
|
16
16
|
return payloadValue ?? fallback.data ?? void 0;
|
|
17
17
|
};
|
|
@@ -102,7 +102,8 @@ export {
|
|
|
102
102
|
o2 as CANVAS_FILLS_SCREEN_WIDTH_PERCENT,
|
|
103
103
|
q2 as CANVAS_MIN_WIDTH_PX,
|
|
104
104
|
t2 as CHAT_COLUMN_MIN_WIDTH_PX,
|
|
105
|
-
C3 as
|
|
105
|
+
C3 as CanvasLabelContext,
|
|
106
|
+
a7 as CanvasTitleSlotContext,
|
|
106
107
|
C as ConversationMarkdown,
|
|
107
108
|
v2 as ConversationWidgetActions,
|
|
108
109
|
w2 as ConversationWidgetAgentSpaceFrame,
|
|
@@ -123,8 +124,8 @@ export {
|
|
|
123
124
|
ac as WidgetHydrationSlice,
|
|
124
125
|
W2 as WidgetRenderReportContext,
|
|
125
126
|
q as addComposedNodeSchemaApplicationPart,
|
|
126
|
-
|
|
127
|
-
|
|
127
|
+
a8 as applyClearCanvas,
|
|
128
|
+
b3 as applyCloseCanvas,
|
|
128
129
|
c3 as applyOpenCanvas,
|
|
129
130
|
d3 as applyResetCanvasForNewTurn,
|
|
130
131
|
e as applySetCanvasCreatedEntityId,
|
|
@@ -134,7 +135,7 @@ export {
|
|
|
134
135
|
d as buildWidgetRenderReportSignal,
|
|
135
136
|
j2 as canvasBehaviourOf,
|
|
136
137
|
c2 as canvasBodies,
|
|
137
|
-
|
|
138
|
+
a9 as canvasFeatureFlagOf,
|
|
138
139
|
B2 as canvasInstanceIdForActiveAgentSpace,
|
|
139
140
|
E as canvasInstanceIdForAgentSpace,
|
|
140
141
|
F2 as canvasInstanceIdForEntity,
|
|
@@ -193,7 +194,8 @@ export {
|
|
|
193
194
|
useAnchorWidgetAgentSpaceKey,
|
|
194
195
|
useAnchorWidgetFenceAgentSpaceKey,
|
|
195
196
|
u3 as useAnchorWidgetPayload,
|
|
196
|
-
u2 as
|
|
197
|
+
u2 as useCanvasLabel,
|
|
198
|
+
b2 as useCanvasTitleSlot,
|
|
197
199
|
useConversationWidgetAgentSpaceFallback,
|
|
198
200
|
a1 as useConversationWidgetContext,
|
|
199
201
|
a22 as useIsEmailWidgetRender,
|