@blade-hq/agent-react 2612.0.0-beta.87 → 2612.0.0-beta.88
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/dist/SessionPluginConfigForm-Y657MKRX.js +9 -0
- package/dist/chat/ChatPanel.d.ts +3 -1
- package/dist/chat/chat-column-width.d.ts +2 -2
- package/dist/{chunk-GBZEFIGW.js → chunk-5ESAKOUV.js} +2 -2
- package/dist/{chunk-K6N5CQDP.js → chunk-5UGLGKFI.js} +205 -7
- package/dist/chunk-5UGLGKFI.js.map +1 -0
- package/dist/{chunk-34MHG656.js → chunk-7LVZQ4LS.js} +95 -77
- package/dist/chunk-7LVZQ4LS.js.map +1 -0
- package/dist/{chunk-J6YPRDQH.js → chunk-GXHHSZSS.js} +2 -2
- package/dist/{chunk-G6OC5I4W.js → chunk-LOXIHCL2.js} +13 -7
- package/dist/{chunk-G6OC5I4W.js.map → chunk-LOXIHCL2.js.map} +1 -1
- package/dist/{chunk-WG2HHYGK.js → chunk-NADWKQYZ.js} +76 -11
- package/dist/{chunk-WG2HHYGK.js.map → chunk-NADWKQYZ.js.map} +1 -1
- package/dist/{chunk-JFGBDNDD.js → chunk-PWUFWSMN.js} +3 -3
- package/dist/{chunk-GJZGRIDJ.js → chunk-QKI7OC5D.js} +245 -19
- package/dist/chunk-QKI7OC5D.js.map +1 -0
- package/dist/{chunk-5ZV73E5D.js → chunk-SEJUZPT5.js} +10 -1
- package/dist/chunk-SEJUZPT5.js.map +1 -0
- package/dist/{chunk-BZHMZBYT.js → chunk-VTEKA5HD.js} +281 -102
- package/dist/{chunk-BZHMZBYT.js.map → chunk-VTEKA5HD.js.map} +1 -1
- package/dist/connectors.js +3 -3
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +616 -46
- package/dist/internal.js.map +1 -1
- package/dist/questions.js +4 -4
- package/dist/rich-input.js +647 -826
- package/dist/rich-input.js.map +1 -1
- package/dist/tool-details.js +5 -5
- package/package.json +2 -2
- package/dist/SessionPluginConfigForm-2KG4TG4W.js +0 -9
- package/dist/chat-WA7YIAHD.css +0 -180
- package/dist/chunk-34MHG656.js.map +0 -1
- package/dist/chunk-5ZV73E5D.js.map +0 -1
- package/dist/chunk-GJZGRIDJ.js.map +0 -1
- package/dist/chunk-K6N5CQDP.js.map +0 -1
- /package/dist/{SessionPluginConfigForm-2KG4TG4W.js.map → SessionPluginConfigForm-Y657MKRX.js.map} +0 -0
- /package/dist/{chunk-GBZEFIGW.js.map → chunk-5ESAKOUV.js.map} +0 -0
- /package/dist/{chunk-J6YPRDQH.js.map → chunk-GXHHSZSS.js.map} +0 -0
- /package/dist/{chunk-JFGBDNDD.js.map → chunk-PWUFWSMN.js.map} +0 -0
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
dist_exports3 as dist_exports2,
|
|
20
20
|
dist_exports5 as dist_exports3,
|
|
21
21
|
dist_exports6 as dist_exports4
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GXHHSZSS.js";
|
|
23
23
|
import {
|
|
24
24
|
LoaderCircle
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SEJUZPT5.js";
|
|
26
26
|
|
|
27
27
|
// src/components/DeviceConnection.tsx
|
|
28
28
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -2413,4 +2413,4 @@ qrcode.react/lib/esm/index.js:
|
|
|
2413
2413
|
* SPDX-License-Identifier: ISC
|
|
2414
2414
|
*)
|
|
2415
2415
|
*/
|
|
2416
|
-
//# sourceMappingURL=chunk-
|
|
2416
|
+
//# sourceMappingURL=chunk-PWUFWSMN.js.map
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
useEffectEvent,
|
|
10
10
|
useSessionPluginActivation,
|
|
11
11
|
useSessionSkills
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7LVZQ4LS.js";
|
|
13
13
|
import {
|
|
14
14
|
ImageLightbox,
|
|
15
15
|
McpAppMessageContext,
|
|
16
16
|
MessageImage,
|
|
17
17
|
ToolUiCardView,
|
|
18
18
|
getRenderer
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NADWKQYZ.js";
|
|
20
20
|
import {
|
|
21
21
|
MarkdownContent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LOXIHCL2.js";
|
|
23
23
|
import {
|
|
24
24
|
BladeProvider,
|
|
25
25
|
ChatEnvironmentProvider,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
useSessionSource,
|
|
57
57
|
useSessionState,
|
|
58
58
|
useSingleSessionSource
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-VTEKA5HD.js";
|
|
60
60
|
import {
|
|
61
61
|
Collapsible,
|
|
62
62
|
CollapsibleContent,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
DialogDescription,
|
|
68
68
|
DialogTitle,
|
|
69
69
|
useControllableState
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-GXHHSZSS.js";
|
|
71
71
|
import {
|
|
72
72
|
Archive,
|
|
73
73
|
ArrowRight,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
Wrench,
|
|
124
124
|
X,
|
|
125
125
|
Zap
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-SEJUZPT5.js";
|
|
127
127
|
|
|
128
128
|
// src/hooks/use-agent-session.ts
|
|
129
129
|
import { useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
@@ -949,6 +949,9 @@ import { useEffect as useEffect4, useMemo as useMemo2, useRef as useRef4 } from
|
|
|
949
949
|
|
|
950
950
|
// src/chat/customization.ts
|
|
951
951
|
import { createContext as createContext2, createElement, useContext as useContext2 } from "react";
|
|
952
|
+
function renderOptionalComponent(Component2, props) {
|
|
953
|
+
return Component2 ? createElement(Component2, props) : null;
|
|
954
|
+
}
|
|
952
955
|
var ChatCustomizationContext = createContext2(void 0);
|
|
953
956
|
var ChatCustomizationProvider = ChatCustomizationContext.Provider;
|
|
954
957
|
function useChatCustomization() {
|
|
@@ -1047,17 +1050,20 @@ function readStoredWidth() {
|
|
|
1047
1050
|
return DEFAULT_CHAT_COLUMN_WIDTH;
|
|
1048
1051
|
}
|
|
1049
1052
|
}
|
|
1050
|
-
var currentWidth =
|
|
1053
|
+
var currentWidth = null;
|
|
1051
1054
|
var listeners = /* @__PURE__ */ new Set();
|
|
1052
1055
|
function emitChange() {
|
|
1053
1056
|
for (const listener of listeners) listener();
|
|
1054
1057
|
}
|
|
1055
1058
|
function getChatColumnWidth() {
|
|
1059
|
+
if (currentWidth === null) {
|
|
1060
|
+
currentWidth = readStoredWidth();
|
|
1061
|
+
}
|
|
1056
1062
|
return currentWidth;
|
|
1057
1063
|
}
|
|
1058
1064
|
function setChatColumnWidth(nextWidth, containerWidth) {
|
|
1059
1065
|
const clamped = clampChatColumnWidth(nextWidth, containerWidth);
|
|
1060
|
-
if (clamped ===
|
|
1066
|
+
if (clamped === getChatColumnWidth()) return clamped;
|
|
1061
1067
|
currentWidth = clamped;
|
|
1062
1068
|
if (typeof window !== "undefined") {
|
|
1063
1069
|
try {
|
|
@@ -1077,8 +1083,15 @@ function subscribe(listener) {
|
|
|
1077
1083
|
listeners.delete(listener);
|
|
1078
1084
|
};
|
|
1079
1085
|
}
|
|
1080
|
-
|
|
1081
|
-
|
|
1086
|
+
var noopSubscribe = () => () => {
|
|
1087
|
+
};
|
|
1088
|
+
var getDefaultChatColumnWidth = () => DEFAULT_CHAT_COLUMN_WIDTH;
|
|
1089
|
+
function useChatColumnWidth(enabled = true) {
|
|
1090
|
+
const width = useSyncExternalStore2(
|
|
1091
|
+
enabled ? subscribe : noopSubscribe,
|
|
1092
|
+
enabled ? getChatColumnWidth : getDefaultChatColumnWidth,
|
|
1093
|
+
getDefaultChatColumnWidth
|
|
1094
|
+
);
|
|
1082
1095
|
return {
|
|
1083
1096
|
width,
|
|
1084
1097
|
setWidth: setChatColumnWidth,
|
|
@@ -1228,9 +1241,13 @@ function ChatColumnResizeRails({
|
|
|
1228
1241
|
renderRail("right")
|
|
1229
1242
|
] });
|
|
1230
1243
|
}
|
|
1231
|
-
function useObservedContainerWidth(ref) {
|
|
1244
|
+
function useObservedContainerWidth(ref, enabled = true) {
|
|
1232
1245
|
const [containerWidth, setContainerWidth] = useState5(null);
|
|
1233
1246
|
useEffect5(() => {
|
|
1247
|
+
if (!enabled) {
|
|
1248
|
+
setContainerWidth(null);
|
|
1249
|
+
return;
|
|
1250
|
+
}
|
|
1234
1251
|
const element = ref.current;
|
|
1235
1252
|
if (!element || typeof ResizeObserver === "undefined") return;
|
|
1236
1253
|
const update = () => setContainerWidth(element.clientWidth);
|
|
@@ -1238,8 +1255,8 @@ function useObservedContainerWidth(ref) {
|
|
|
1238
1255
|
const observer = new ResizeObserver(update);
|
|
1239
1256
|
observer.observe(element);
|
|
1240
1257
|
return () => observer.disconnect();
|
|
1241
|
-
}, [ref]);
|
|
1242
|
-
return containerWidth;
|
|
1258
|
+
}, [enabled, ref]);
|
|
1259
|
+
return enabled ? containerWidth : null;
|
|
1243
1260
|
}
|
|
1244
1261
|
|
|
1245
1262
|
// src/chat/followup-interaction.ts
|
|
@@ -1763,9 +1780,39 @@ function isLoopbackUrl(rawUrl) {
|
|
|
1763
1780
|
return false;
|
|
1764
1781
|
}
|
|
1765
1782
|
}
|
|
1783
|
+
var BLADE_OS_DEPLOY_PORT_START = 25001;
|
|
1784
|
+
var BLADE_OS_DEPLOY_PORT_END = 27e3;
|
|
1785
|
+
function rewriteForSandboxBrowser(rawUrl) {
|
|
1786
|
+
try {
|
|
1787
|
+
const url = new URL(rawUrl);
|
|
1788
|
+
const port = Number(url.port);
|
|
1789
|
+
if (LOOPBACK_HOSTS.has(url.hostname) && port >= BLADE_OS_DEPLOY_PORT_START && port <= BLADE_OS_DEPLOY_PORT_END) {
|
|
1790
|
+
url.hostname = "host.docker.internal";
|
|
1791
|
+
}
|
|
1792
|
+
return url.toString();
|
|
1793
|
+
} catch {
|
|
1794
|
+
return rawUrl;
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
async function openInSessionSandboxBrowser(client, sessionId, url) {
|
|
1798
|
+
await client.json("POST", `/api/sessions/${encodeURIComponent(sessionId)}/browser/tabs`, {
|
|
1799
|
+
url: rewriteForSandboxBrowser(url)
|
|
1800
|
+
});
|
|
1801
|
+
}
|
|
1766
1802
|
|
|
1767
1803
|
// src/chat/lib/ui-meta.ts
|
|
1768
1804
|
var isUiMeta = isToolUiCard;
|
|
1805
|
+
function resolveBrowserResourceUri(value, browserHostname = typeof window === "undefined" ? "" : window.location.hostname) {
|
|
1806
|
+
if (!browserHostname) return value;
|
|
1807
|
+
try {
|
|
1808
|
+
const url = new URL(value);
|
|
1809
|
+
if (!LOOPBACK_HOSTS.has(url.hostname)) return value;
|
|
1810
|
+
url.hostname = browserHostname;
|
|
1811
|
+
return url.toString();
|
|
1812
|
+
} catch {
|
|
1813
|
+
return value;
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1769
1816
|
|
|
1770
1817
|
// src/chat/AssistantTurnBlock.tsx
|
|
1771
1818
|
import {
|
|
@@ -1972,6 +2019,7 @@ ReasoningContent.displayName = "ReasoningContent";
|
|
|
1972
2019
|
// src/chat/card/CardContext.tsx
|
|
1973
2020
|
import { createContext as createContext5, useContext as useContext5 } from "react";
|
|
1974
2021
|
var CardContext = createContext5({});
|
|
2022
|
+
var useCardContext = () => useContext5(CardContext);
|
|
1975
2023
|
|
|
1976
2024
|
// src/chat/FileDeliveryCards.tsx
|
|
1977
2025
|
import { useMemo as useMemo5, useState as useState10 } from "react";
|
|
@@ -2677,6 +2725,26 @@ function NoteField({
|
|
|
2677
2725
|
}
|
|
2678
2726
|
);
|
|
2679
2727
|
}
|
|
2728
|
+
function parseAskUserQuestionError(toolResult) {
|
|
2729
|
+
if (!toolResult) return null;
|
|
2730
|
+
try {
|
|
2731
|
+
const parsed = JSON.parse(toolResult);
|
|
2732
|
+
let detail = null;
|
|
2733
|
+
if (typeof parsed.error === "string") detail = parsed.error;
|
|
2734
|
+
if (parsed.error && typeof parsed.error === "object") {
|
|
2735
|
+
const message = parsed.error.message;
|
|
2736
|
+
if (typeof message === "string") detail = message;
|
|
2737
|
+
}
|
|
2738
|
+
if (!detail && typeof parsed.message === "string") detail = parsed.message;
|
|
2739
|
+
if (!detail) return null;
|
|
2740
|
+
return {
|
|
2741
|
+
message: parsed.error_code === "invalid_questions" ? "\u63D0\u95EE\u5185\u5BB9\u4E0D\u5B8C\u6574\uFF0C\u5F53\u524D\u6CA1\u6709\u7B49\u5F85\u4F60\u56DE\u7B54\u3002\u8BF7\u8BA9\u667A\u80FD\u4F53\u91CD\u65B0\u63D0\u95EE\u3002" : "\u8FD9\u6B21\u63D0\u95EE\u6CA1\u6709\u6210\u529F\uFF0C\u5F53\u524D\u6CA1\u6709\u7B49\u5F85\u4F60\u56DE\u7B54\u3002\u8BF7\u8BA9\u667A\u80FD\u4F53\u91CD\u65B0\u63D0\u95EE\u3002",
|
|
2742
|
+
detail
|
|
2743
|
+
};
|
|
2744
|
+
} catch {
|
|
2745
|
+
return null;
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2680
2748
|
|
|
2681
2749
|
// src/chat/ToolCallBlock.tsx
|
|
2682
2750
|
import { Fragment as Fragment8, jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
@@ -5708,6 +5776,15 @@ function selectActiveTurnAtViewportPosition({
|
|
|
5708
5776
|
}
|
|
5709
5777
|
return bestId;
|
|
5710
5778
|
}
|
|
5779
|
+
function snapshotMessageListRenderPlan(blocks) {
|
|
5780
|
+
return blocks.map((block, globalIndex) => ({
|
|
5781
|
+
type: block.type,
|
|
5782
|
+
persistentId: block.persistentId,
|
|
5783
|
+
globalIndex,
|
|
5784
|
+
messages: block.type === "assistant_turn" || block.type === "context_group" ? block.messages : block.type === "context_divider" ? [] : [block.message],
|
|
5785
|
+
isStreaming: block.isStreaming
|
|
5786
|
+
}));
|
|
5787
|
+
}
|
|
5711
5788
|
|
|
5712
5789
|
// src/components/ContextCard.tsx
|
|
5713
5790
|
import {
|
|
@@ -9908,6 +9985,9 @@ function toPlanStatus(value) {
|
|
|
9908
9985
|
const normalized = value.trim().toLowerCase();
|
|
9909
9986
|
return normalized === "pending" || normalized === "running" || normalized === "done" || normalized === "failed" ? normalized : "pending";
|
|
9910
9987
|
}
|
|
9988
|
+
function parsePlanTree(content) {
|
|
9989
|
+
return parsePlanTreeResult(content).plan;
|
|
9990
|
+
}
|
|
9911
9991
|
function applyPlanStatusesById(root, statuses) {
|
|
9912
9992
|
const nextStatus = statuses[root.id] ?? root.status;
|
|
9913
9993
|
const children = Array.isArray(root.children) ? root.children : [];
|
|
@@ -11118,6 +11198,20 @@ function useTurnLocateRequest(sessionId) {
|
|
|
11118
11198
|
}, [sessionId]);
|
|
11119
11199
|
return request;
|
|
11120
11200
|
}
|
|
11201
|
+
function useTurnLocateStatus(sessionId) {
|
|
11202
|
+
const [status, setStatus2] = useState28(null);
|
|
11203
|
+
useEffect25(() => {
|
|
11204
|
+
if (!sessionId) {
|
|
11205
|
+
setStatus2(null);
|
|
11206
|
+
return;
|
|
11207
|
+
}
|
|
11208
|
+
setStatus2(turnLocateChannel.getStatus()[sessionId] ?? null);
|
|
11209
|
+
return turnLocateChannel.subscribe(() => {
|
|
11210
|
+
setStatus2(turnLocateChannel.getStatus()[sessionId] ?? null);
|
|
11211
|
+
});
|
|
11212
|
+
}, [sessionId]);
|
|
11213
|
+
return status;
|
|
11214
|
+
}
|
|
11121
11215
|
|
|
11122
11216
|
// src/chat/scroll-anchor.ts
|
|
11123
11217
|
var ENTRY_SCROLL_MARGIN_PX = 24;
|
|
@@ -11146,6 +11240,14 @@ function calculateTrailingSpacerHeight({
|
|
|
11146
11240
|
const keepCurrentReachable = Math.max(0, currentScrollTop + clientHeight - scrollHeight + 1);
|
|
11147
11241
|
return Math.max(anchorNeed, keepCurrentReachable);
|
|
11148
11242
|
}
|
|
11243
|
+
var PIN_HANDOVER_TOLERANCE_PX = 24;
|
|
11244
|
+
function shouldHandOverToFollow({
|
|
11245
|
+
currentScrollTop,
|
|
11246
|
+
targetScrollTop,
|
|
11247
|
+
tolerance = PIN_HANDOVER_TOLERANCE_PX
|
|
11248
|
+
}) {
|
|
11249
|
+
return currentScrollTop >= targetScrollTop - tolerance;
|
|
11250
|
+
}
|
|
11149
11251
|
var NEW_TURN_SCROLL_DURATION_MS = 320;
|
|
11150
11252
|
var NEW_TURN_SCROLL_MIN_DISTANCE_PX = 8;
|
|
11151
11253
|
var NEW_TURN_SCROLL_MAX_SCREENS = 3;
|
|
@@ -12838,6 +12940,7 @@ function ChatPanel({
|
|
|
12838
12940
|
initialDraft,
|
|
12839
12941
|
initialDraftKey,
|
|
12840
12942
|
renderMode: requestedRenderMode,
|
|
12943
|
+
resizableColumns = false,
|
|
12841
12944
|
renderComposerStats,
|
|
12842
12945
|
classNames,
|
|
12843
12946
|
components,
|
|
@@ -13014,12 +13117,13 @@ function ChatPanel({
|
|
|
13014
13117
|
const Composer = components?.Composer ?? environment.Composer ?? LightComposer;
|
|
13015
13118
|
const errorMessage = externalError ?? stateError;
|
|
13016
13119
|
const messagesAreaRef = useRef24(null);
|
|
13017
|
-
const
|
|
13018
|
-
const
|
|
13120
|
+
const columnsResizable = Boolean(resizableColumns) && !developer && !lite;
|
|
13121
|
+
const { width: chatColumnWidth, setWidth: setChatColumnWidth2, resetWidth: resetChatColumnWidth2 } = useChatColumnWidth(columnsResizable);
|
|
13122
|
+
const observedContainerWidth = useObservedContainerWidth(messagesAreaRef, columnsResizable);
|
|
13019
13123
|
const effectiveChatWidth = clampChatColumnWidth(chatColumnWidth, observedContainerWidth);
|
|
13020
13124
|
const rootStyle = useMemo16(
|
|
13021
|
-
() =>
|
|
13022
|
-
[effectiveChatWidth]
|
|
13125
|
+
() => columnsResizable ? { "--blade-chat-width": `${effectiveChatWidth}px` } : void 0,
|
|
13126
|
+
[columnsResizable, effectiveChatWidth]
|
|
13023
13127
|
);
|
|
13024
13128
|
const composerProps = {
|
|
13025
13129
|
sessionId,
|
|
@@ -13092,7 +13196,7 @@ function ChatPanel({
|
|
|
13092
13196
|
),
|
|
13093
13197
|
header,
|
|
13094
13198
|
/* @__PURE__ */ jsxs36("div", { ref: messagesAreaRef, className: "relative flex min-h-0 flex-1 flex-col", children: [
|
|
13095
|
-
|
|
13199
|
+
columnsResizable ? /* @__PURE__ */ jsx39(
|
|
13096
13200
|
ChatColumnResizeRails,
|
|
13097
13201
|
{
|
|
13098
13202
|
containerRef: messagesAreaRef,
|
|
@@ -14162,21 +14266,143 @@ export {
|
|
|
14162
14266
|
ReplayMismatchPrompt,
|
|
14163
14267
|
isQueuePanelVisible,
|
|
14164
14268
|
SessionQueuePanel,
|
|
14269
|
+
ConnectionBanner,
|
|
14270
|
+
renderOptionalComponent,
|
|
14271
|
+
ChatCustomizationProvider,
|
|
14272
|
+
useChatCustomization,
|
|
14273
|
+
CurrentPlanPanelContent,
|
|
14274
|
+
CurrentPlanPanel,
|
|
14275
|
+
CHAT_COLUMN_WIDTH_STORAGE_KEY,
|
|
14276
|
+
DEFAULT_CHAT_COLUMN_WIDTH,
|
|
14277
|
+
MIN_CHAT_COLUMN_WIDTH,
|
|
14278
|
+
MAX_CHAT_COLUMN_WIDTH,
|
|
14279
|
+
clampChatColumnWidth,
|
|
14280
|
+
getChatColumnWidth,
|
|
14281
|
+
setChatColumnWidth,
|
|
14282
|
+
resetChatColumnWidth,
|
|
14283
|
+
useChatColumnWidth,
|
|
14284
|
+
ChatColumnResizeRails,
|
|
14285
|
+
useObservedContainerWidth,
|
|
14286
|
+
FollowupInteractionProvider,
|
|
14287
|
+
useFollowupInteraction,
|
|
14288
|
+
LightComposer,
|
|
14289
|
+
Shimmer,
|
|
14165
14290
|
isPreparingReply,
|
|
14166
14291
|
formatLoadingElapsed,
|
|
14167
14292
|
resolveLoadingStageLabel,
|
|
14168
14293
|
ChatLoadingIndicator,
|
|
14294
|
+
buildCitationsFromToolCalls,
|
|
14169
14295
|
BackgroundWakeNotice,
|
|
14296
|
+
LOOPBACK_HOSTS,
|
|
14297
|
+
isLoopbackUrl,
|
|
14298
|
+
rewriteForSandboxBrowser,
|
|
14299
|
+
openInSessionSandboxBrowser,
|
|
14300
|
+
isUiMeta,
|
|
14301
|
+
resolveBrowserResourceUri,
|
|
14302
|
+
useReasoning,
|
|
14303
|
+
Reasoning,
|
|
14304
|
+
ReasoningTrigger,
|
|
14305
|
+
ReasoningContent,
|
|
14306
|
+
ThinkingBadge,
|
|
14307
|
+
CardContext,
|
|
14308
|
+
useCardContext,
|
|
14309
|
+
normalizeDeliveredRelPath,
|
|
14310
|
+
collectDeliveredFiles,
|
|
14311
|
+
DeliveryCard,
|
|
14312
|
+
FileDeliveryCards,
|
|
14313
|
+
MessageActions,
|
|
14314
|
+
MessageFileAttachmentList,
|
|
14315
|
+
ToolUiCard,
|
|
14316
|
+
AskUserQuestionBlock,
|
|
14317
|
+
parseAskUserQuestionError,
|
|
14318
|
+
parseAskUserQuestion,
|
|
14319
|
+
getFilePreviewName,
|
|
14320
|
+
ToolFilePreviewAction,
|
|
14321
|
+
ToolPreviewAction,
|
|
14322
|
+
resolveAskQuestionState,
|
|
14323
|
+
ToolCallBlock,
|
|
14324
|
+
useAsyncValue,
|
|
14325
|
+
AttachmentPreviewDialog,
|
|
14326
|
+
isImageFilename,
|
|
14327
|
+
isTextFilename,
|
|
14328
|
+
dispatchPreview,
|
|
14170
14329
|
parseWhatIfPrompt,
|
|
14330
|
+
MessageContextPills,
|
|
14331
|
+
TextAttachmentPills,
|
|
14171
14332
|
WhatIfUserBubble,
|
|
14333
|
+
isUserMessage,
|
|
14334
|
+
isErrorMessage,
|
|
14335
|
+
USER_MESSAGE_MARKDOWN_CLASS,
|
|
14336
|
+
UserMessageBubble,
|
|
14337
|
+
ErrorMessageBlock,
|
|
14338
|
+
findLatestReasoningMessageIndex,
|
|
14339
|
+
AgentLoopBlock,
|
|
14340
|
+
WorkflowRunBlock,
|
|
14341
|
+
collectTurnMessages,
|
|
14342
|
+
getPersistentAskUserQuestions,
|
|
14343
|
+
toolCallAnswered,
|
|
14344
|
+
defaultTurnDisplayMode,
|
|
14345
|
+
resolveTurnDisplayMode,
|
|
14346
|
+
formatExecutionDuration,
|
|
14347
|
+
getExecutionDurationMs,
|
|
14348
|
+
AssistantTurnBlock,
|
|
14349
|
+
collectMemoryRefs,
|
|
14350
|
+
MemoryRefsHint,
|
|
14172
14351
|
useMessagePin,
|
|
14352
|
+
RECENT_RESIDENT_TURNS,
|
|
14353
|
+
shouldAppendPendingAssistantTurn,
|
|
14354
|
+
buildMessageListBlocks,
|
|
14355
|
+
getRenderBlockPersistentId,
|
|
14356
|
+
startIndexOfLastNCompleteTurns,
|
|
14357
|
+
findStablePrefixEnd,
|
|
14358
|
+
buildMessageListBlockIndexes,
|
|
14359
|
+
NAV_AT_BOTTOM_EPSILON_PX,
|
|
14360
|
+
selectActiveTurnAtViewportPosition,
|
|
14361
|
+
snapshotMessageListRenderPlan,
|
|
14173
14362
|
ContextCard,
|
|
14174
14363
|
ContextGroupCard,
|
|
14364
|
+
HistoricalResultFeedback,
|
|
14365
|
+
ResultFeedback,
|
|
14366
|
+
buildLiteRows,
|
|
14367
|
+
LiteMessageList,
|
|
14175
14368
|
TURN_NAV_HIGHLIGHT_CLASS,
|
|
14176
14369
|
latestUserSpeechEntryId2 as latestUserSpeechEntryId,
|
|
14177
14370
|
turnNavItemsFromMessages,
|
|
14178
14371
|
useTurnNavigation,
|
|
14179
14372
|
useTypewriterReveal,
|
|
14373
|
+
parsePlanTree,
|
|
14374
|
+
applyPlanStatusesById,
|
|
14375
|
+
parsePlanTreeResult,
|
|
14376
|
+
parsePlanMessages,
|
|
14377
|
+
PlanSummaryCard,
|
|
14378
|
+
extractLatestPlanMessages,
|
|
14379
|
+
extractPlanMessagesForTurn,
|
|
14380
|
+
FinalArtifactCards,
|
|
14381
|
+
PostChatFollowupBlock,
|
|
14382
|
+
RenderErrorBoundary,
|
|
14383
|
+
TurnNavRail,
|
|
14384
|
+
turnLocateChannel,
|
|
14385
|
+
useTurnLocateRequest,
|
|
14386
|
+
useTurnLocateStatus,
|
|
14387
|
+
ENTRY_SCROLL_MARGIN_PX,
|
|
14388
|
+
calculateStickyAwareMargin,
|
|
14389
|
+
normalizeScrollEntryKey,
|
|
14390
|
+
calculateAnchoredScrollTop,
|
|
14391
|
+
calculateTrailingSpacerHeight,
|
|
14392
|
+
PIN_HANDOVER_TOLERANCE_PX,
|
|
14393
|
+
shouldHandOverToFollow,
|
|
14394
|
+
NEW_TURN_SCROLL_DURATION_MS,
|
|
14395
|
+
NEW_TURN_SCROLL_MIN_DISTANCE_PX,
|
|
14396
|
+
NEW_TURN_SCROLL_MAX_SCREENS,
|
|
14397
|
+
MANUAL_SCROLL_TOLERANCE_PX2 as MANUAL_SCROLL_TOLERANCE_PX,
|
|
14398
|
+
shouldAnimateNewTurnScroll,
|
|
14399
|
+
calculateAnimatedScrollTop,
|
|
14400
|
+
MessageList,
|
|
14401
|
+
useChatActions,
|
|
14402
|
+
useSessionReplay,
|
|
14403
|
+
SessionReplayBar,
|
|
14404
|
+
nextQueuedOrder,
|
|
14405
|
+
ChatPanel,
|
|
14180
14406
|
SessionPluginSelector,
|
|
14181
14407
|
AgentChat,
|
|
14182
14408
|
useLlmChat,
|
|
@@ -14198,4 +14424,4 @@ use-stick-to-bottom/dist/StickToBottom.js:
|
|
|
14198
14424
|
js-yaml/dist/js-yaml.mjs:
|
|
14199
14425
|
(*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
|
|
14200
14426
|
*/
|
|
14201
|
-
//# sourceMappingURL=chunk-
|
|
14427
|
+
//# sourceMappingURL=chunk-QKI7OC5D.js.map
|