@mgamadeus/ddd-agents 0.1.3 → 0.1.4
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 +2 -0
- package/dist/chat.js +5 -5
- package/dist/chunks/{ConversationMessageInputComposerWidgets-r_RwCqr7.js → ConversationMessageInputComposerWidgets-BbpB0fZl.js} +2 -2
- package/dist/chunks/{ConversationMessageInputComposerWidgets-r_RwCqr7.js.map → ConversationMessageInputComposerWidgets-BbpB0fZl.js.map} +1 -1
- package/dist/chunks/WebSearchResultsConversationWidget-BXt98hGu.js.map +1 -1
- package/dist/chunks/{canvasBodies-Ds-cTn47.js → canvasBodies-C_pdv17v.js} +2 -2
- package/dist/chunks/{canvasBodies-Ds-cTn47.js.map → canvasBodies-C_pdv17v.js.map} +1 -1
- package/dist/chunks/{widget-click-signal-sources-Ch-y8gxw.js → widget-click-signal-sources-cjIjjftL.js} +2 -2
- package/dist/chunks/{widget-click-signal-sources-Ch-y8gxw.js.map → widget-click-signal-sources-cjIjjftL.js.map} +1 -1
- package/dist/chunks/{widget-name-resolver-DboFMAq2.js → widget-name-resolver-7WnzCpdG.js} +54 -17
- package/dist/chunks/widget-name-resolver-7WnzCpdG.js.map +1 -0
- package/dist/client-testing.js +2 -2
- package/dist/image-render.js +2 -2
- package/dist/index.js +2 -2
- package/dist/kit.js +1 -1
- package/dist/preview.js +3 -3
- package/dist/renderer.js +4 -4
- package/dist/styles.css +9 -2
- package/dist/types/renderer/ConversationWidgetCallbacksContext.d.ts +5 -1
- package/package.json +1 -1
- package/dist/chunks/widget-name-resolver-DboFMAq2.js.map +0 -1
package/dist/client-testing.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
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
4
|
import { l as listWidgetHydratorTypes, g as getWidgetHydrator, b as registerWidgetHydrator, c as abandonWidgetHydrationReads, u as unregisterWidgetHydrator } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
5
|
-
import { j as conversationWidgetRegistry, k as replaceConversationWidgetRegistryEntries } from "./chunks/widget-name-resolver-
|
|
6
|
-
import { l, s } from "./chunks/widget-name-resolver-
|
|
5
|
+
import { j as conversationWidgetRegistry, k as replaceConversationWidgetRegistryEntries } from "./chunks/widget-name-resolver-7WnzCpdG.js";
|
|
6
|
+
import { l, s } from "./chunks/widget-name-resolver-7WnzCpdG.js";
|
|
7
7
|
import { c, r, s as s2 } from "./chunks/canvasStorage-DHNluopA.js";
|
|
8
8
|
const DEFAULT_SCRIPTED_ASSISTANT_ANSWER = "Done.";
|
|
9
9
|
const DEFAULT_PAGE_SIZE = 50;
|
package/dist/image-render.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
4
|
+
import { G as resolveWidgetName, j as conversationWidgetRegistry } from "./chunks/widget-name-resolver-7WnzCpdG.js";
|
|
5
|
+
import { H } from "./chunks/widget-name-resolver-7WnzCpdG.js";
|
|
6
6
|
import { i as ConversationWidgetRenderContext, K as WidgetImageReadinessContext, R as ReadOnlyConversationWidgetProvider, N as WidgetImageRenderContext, O as WidgetImageLiveHydrationContext, j as buildWidgetAgentSpaceKeyProps } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
7
7
|
import { P, Q, T } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
8
8
|
import { r as readWidgetImageReadiness, p as publishWidgetImageReadiness } from "./chunks/widget-image-readiness-signal-C5yaKpJJ.js";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-7WnzCpdG.js";
|
|
3
|
+
import { g, r, a, b } from "./chunks/canvasBodies-C_pdv17v.js";
|
|
4
4
|
import { r as r2 } from "./chunks/canvas-feature-flags-BmmxC3bz.js";
|
|
5
5
|
import { r as r3, a as a2, b as b2 } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
6
6
|
import { A, i as i2 } from "./chunks/icon-names-Di6c4zLo.js";
|
package/dist/kit.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A, C, a, b, c, d, e, E, r, f, u, g } from "./chunks/widget-name-resolver-
|
|
2
|
+
import { A, C, a, b, c, d, e, E, r, f, u, g } from "./chunks/widget-name-resolver-7WnzCpdG.js";
|
|
3
3
|
import { M } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
4
4
|
import { E as E2, u as u2 } from "./chunks/entity-detail-name-3A82gDAp.js";
|
|
5
5
|
export {
|
package/dist/preview.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { s as Text, Y as getWidgetSelfHydrationKeyFieldName, e as DEFAULT_WIDGET_SELF_HYDRATION_KEY_FIELD_NAME, V as getSandboxLegacyAliases } from "./chunks/link-navigation-DyTApNeA.js";
|
|
4
4
|
import { useRef, useState, useMemo, useEffect, useCallback } from "react";
|
|
5
|
-
import { Q as buildComposedViewComponentRegistry, R as composedViewComponents, G as resolveWidgetName, j as conversationWidgetRegistry, o as ConversationWidgetErrorBoundary, S as ComposedViewComponentsContext } from "./chunks/widget-name-resolver-
|
|
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-7WnzCpdG.js";
|
|
6
6
|
import { X as WidgetSurface, A as readWidgetAgentSpaceKeyAttribute, W as WidgetRenderReportContext, j as buildWidgetAgentSpaceKeyProps, S as StandaloneConversationWidgetProvider, i as ConversationWidgetRenderContext, N as WidgetImageRenderContext, _ as CANVAS_VIABLE_MIN_WIDTH, l as listWidgetHydratorTypes, g as getWidgetHydrator, u as unregisterWidgetHydrator, b as registerWidgetHydrator } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
7
|
-
import { c as canvasBodies, E as EntityMentionAskButton } from "./chunks/canvasBodies-
|
|
7
|
+
import { c as canvasBodies, E as EntityMentionAskButton } from "./chunks/canvasBodies-C_pdv17v.js";
|
|
8
8
|
import { c as canvasBehaviourOf } from "./chunks/canvas-behaviours-BpN_1xdZ.js";
|
|
9
9
|
import { f as decideCanvasOpen } from "./chunks/canvas-reducers-CuX6L1zg.js";
|
|
10
10
|
import { p as publishWidgetImageReadiness } from "./chunks/widget-image-readiness-signal-C5yaKpJJ.js";
|
|
11
11
|
import axios from "axios";
|
|
12
|
-
import { C as ConversationWidgetProvider, a as ConversationMessageInputComposerWidgets } from "./chunks/ConversationMessageInputComposerWidgets-
|
|
12
|
+
import { C as ConversationWidgetProvider, a as ConversationMessageInputComposerWidgets } from "./chunks/ConversationMessageInputComposerWidgets-BbpB0fZl.js";
|
|
13
13
|
const page$1 = "agents_page_5VMDeD";
|
|
14
14
|
const chatColumn = "agents_chatColumn_FWcgdJ";
|
|
15
15
|
const widget = "agents_widget_3qpgMy";
|
package/dist/renderer.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C, a, M, W, b, d, g, i, p, r } from "./chunks/widget-click-signal-sources-
|
|
3
|
-
import { m as findWidgetFenceByPayloadHash, n as findWidgetFencesInMarkdown } from "./chunks/widget-name-resolver-
|
|
4
|
-
import { o, p as p2, q, t, v, w, j, x, y, z, B, D, F, G } from "./chunks/widget-name-resolver-
|
|
2
|
+
import { C, a, M, W, b, d, g, i, p, r } from "./chunks/widget-click-signal-sources-cjIjjftL.js";
|
|
3
|
+
import { m as findWidgetFenceByPayloadHash, n as findWidgetFencesInMarkdown } from "./chunks/widget-name-resolver-7WnzCpdG.js";
|
|
4
|
+
import { o, p as p2, q, t, v, w, j, x, y, z, B, D, F, G } from "./chunks/widget-name-resolver-7WnzCpdG.js";
|
|
5
5
|
import { d as useResolvedConversationWidgetAgentSpaceKey, p as payloadHashOfInstanceId } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
6
6
|
import { C as C2, e, f, h, i as i2, L, R, S, W as W2, j as j2, k, m, n, o as o2, q as q2, t as t2, v as v2, g as g2, w as w2, x as x2, y as y2, z as z2, A, b as b2, B as B2, s, D as D2, u, E, F as F2, G as G2, H, I, J } from "./chunks/WebSearchResultsConversationWidget-BXt98hGu.js";
|
|
7
7
|
import { C as C3, a as a2, b as b3, d as d2, D as D3, c, e as e2, g as g3, i as i3, p as p3 } from "./chunks/canvas-behaviours-BpN_1xdZ.js";
|
|
8
|
-
import { c as c2, u as u2 } from "./chunks/canvasBodies-
|
|
8
|
+
import { c as c2, u as u2 } from "./chunks/canvasBodies-C_pdv17v.js";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
10
|
import { n as Skeleton } from "./chunks/link-navigation-DyTApNeA.js";
|
|
11
11
|
import { ac, ad, ae, af, ag } from "./chunks/link-navigation-DyTApNeA.js";
|
package/dist/styles.css
CHANGED
|
@@ -2132,6 +2132,10 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
2132
2132
|
display: flex;
|
|
2133
2133
|
flex-direction: column;
|
|
2134
2134
|
min-width: 0;
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
.agents_padded_huIgOm {
|
|
2138
|
+
padding: 0.5rem;
|
|
2135
2139
|
}.agents_quote_rRSqMr {
|
|
2136
2140
|
position: relative;
|
|
2137
2141
|
display: flex;
|
|
@@ -3926,6 +3930,7 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
3926
3930
|
--agents-divider-gl: #e3e6eb;
|
|
3927
3931
|
--agents-fg-light: #5a6270;
|
|
3928
3932
|
--agents-fg-lightest: #8b929d;
|
|
3933
|
+
--agents-fg-on-cta: #ffffff;
|
|
3929
3934
|
--agents-fg-on-dark: #ffffff;
|
|
3930
3935
|
--agents-fg-on-accent: #ffffff;
|
|
3931
3936
|
--agents-text-subtle: #8b929d;
|
|
@@ -3997,6 +4002,7 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
3997
4002
|
--agents-divider-gl: #2e343d;
|
|
3998
4003
|
--agents-fg-light: #aab1bc;
|
|
3999
4004
|
--agents-fg-lightest: #7d8592;
|
|
4005
|
+
--agents-fg-on-cta: #ffffff;
|
|
4000
4006
|
--agents-fg-on-dark: #ffffff;
|
|
4001
4007
|
--agents-fg-on-accent: #111418;
|
|
4002
4008
|
--agents-text-subtle: #7d8592;
|
|
@@ -4069,6 +4075,7 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
4069
4075
|
--agents-divider-gl: #2e343d;
|
|
4070
4076
|
--agents-fg-light: #aab1bc;
|
|
4071
4077
|
--agents-fg-lightest: #7d8592;
|
|
4078
|
+
--agents-fg-on-cta: #ffffff;
|
|
4072
4079
|
--agents-fg-on-dark: #ffffff;
|
|
4073
4080
|
--agents-fg-on-accent: #111418;
|
|
4074
4081
|
--agents-text-subtle: #7d8592;
|
|
@@ -4534,7 +4541,7 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
4534
4541
|
|
|
4535
4542
|
.agents-button--primary {
|
|
4536
4543
|
background: var(--agents-fg-cta);
|
|
4537
|
-
color: var(--agents-fg-on-
|
|
4544
|
+
color: var(--agents-fg-on-cta);
|
|
4538
4545
|
}
|
|
4539
4546
|
.agents-button--primary:hover:not(:disabled) {
|
|
4540
4547
|
background: color-mix(in srgb, var(--agents-fg-cta) 86%, var(--agents-fg));
|
|
@@ -4559,7 +4566,7 @@ thead + tbody .agents_row_VBlQR-:first-child {
|
|
|
4559
4566
|
|
|
4560
4567
|
.agents-button--shimmer {
|
|
4561
4568
|
background: linear-gradient(110deg, var(--agents-accent1-500), var(--agents-fg-cta));
|
|
4562
|
-
color: var(--agents-fg-on-
|
|
4569
|
+
color: var(--agents-fg-on-cta);
|
|
4563
4570
|
}
|
|
4564
4571
|
.agents-button--shimmer:hover:not(:disabled) {
|
|
4565
4572
|
background: linear-gradient(110deg, var(--agents-fg-cta), var(--agents-accent1-500));
|
|
@@ -2,10 +2,14 @@ import { ReactNode } from "react";
|
|
|
2
2
|
import { ConversationComposerWidget } from "./conversation-composer-widget";
|
|
3
3
|
import { CanvasOpenRequest, CanvasState, LastClosedCanvas } from "./canvas/canvas-state";
|
|
4
4
|
import type { CanvasCreatedEntity } from "./canvas/canvas-reducers";
|
|
5
|
-
/** A message of the transcript a widget reads (its id and author role); the chat's messages carry more. */
|
|
5
|
+
/** A message of the transcript a widget reads (its id and author role, its type and text); the chat's messages carry more. */
|
|
6
6
|
export interface ConversationWidgetTranscriptMessage {
|
|
7
7
|
id?: number | string | null;
|
|
8
8
|
role?: string | null;
|
|
9
|
+
/** `SIGNAL` for a signal row (a widget's answer); absent on an optimistic message. */
|
|
10
|
+
messageType?: string | null;
|
|
11
|
+
/** The stored text — for a signal row the signal sentence. */
|
|
12
|
+
message?: string | null;
|
|
9
13
|
}
|
|
10
14
|
export type ChatEngagementMediaItem = {
|
|
11
15
|
id?: number;
|