langchain_agentx_stream_ui 0.5.0 → 0.6.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/dist/{chunk-ME5T6YSV.js → chunk-4OISGUFR.js} +5 -5
- package/dist/chunk-4OISGUFR.js.map +1 -0
- package/dist/{chunk-GBY5DJ7L.js → chunk-4RIOBLGB.js} +1 -1
- package/dist/chunk-4RIOBLGB.js.map +1 -0
- package/dist/{chunk-TCKOXX7O.js → chunk-4TG4TGIL.js} +7 -5
- package/dist/chunk-4TG4TGIL.js.map +1 -0
- package/dist/{chunk-6Z4ZF36Z.js → chunk-DP7V33X7.js} +1 -1
- package/dist/chunk-DP7V33X7.js.map +1 -0
- package/dist/{chunk-JAOJAGMM.js → chunk-RYUOZTUI.js} +19 -29
- package/dist/chunk-RYUOZTUI.js.map +1 -0
- package/dist/{chunk-FL2G7SV3.js → chunk-ZR37OKV6.js} +302 -93
- package/dist/chunk-ZR37OKV6.js.map +1 -0
- package/dist/default.css +107 -18
- package/dist/index.js +150 -105
- package/dist/index.js.map +1 -1
- package/dist/multi-session.js +6 -6
- package/dist/tools-presentation.js +2 -2
- package/dist/tools.js +4 -4
- package/dist/virtual.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-6Z4ZF36Z.js.map +0 -1
- package/dist/chunk-FL2G7SV3.js.map +0 -1
- package/dist/chunk-GBY5DJ7L.js.map +0 -1
- package/dist/chunk-JAOJAGMM.js.map +0 -1
- package/dist/chunk-ME5T6YSV.js.map +0 -1
- package/dist/chunk-TCKOXX7O.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/view/tools/presentation/textHelpers.ts"],"sourcesContent":["/**\n * textHelpers.ts — 标题预览截断\n *\n * 对齐参考:CLI widgets/tools/helpers.py truncate_preview\n */\nexport function truncatePreview(text: string, maxChars = 120): string {\n const line = (text || '').trim().split('\\n', 1)[0] ?? '';\n if (line.length > maxChars) {\n return `${line.slice(0, maxChars - 1)}…`;\n }\n return line;\n}\n"],"mappings":";AAKO,SAAS,gBAAgB,MAAc,WAAW,KAAa;AACpE,QAAM,QAAQ,QAAQ,IAAI,KAAK,EAAE,MAAM,MAAM,CAAC,EAAE,CAAC,KAAK;AACtD,MAAI,KAAK,SAAS,UAAU;AAC1B,WAAO,GAAG,KAAK,MAAM,GAAG,WAAW,CAAC,CAAC;AAAA,EACvC;AACA,SAAO;AACT;","names":[]}
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
extractLastToolInfoFromProgress,
|
|
16
16
|
formatExploreSummaryText,
|
|
17
17
|
formatThoughtDurationPrefix
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZR37OKV6.js";
|
|
19
19
|
|
|
20
20
|
// src/types/tree.ts
|
|
21
21
|
function createEmptyTree() {
|
|
@@ -5248,35 +5248,25 @@ function GroupedSubline({
|
|
|
5248
5248
|
children: [
|
|
5249
5249
|
/* @__PURE__ */ jsxs8("div", { className: "lax-tool-group__subline", children: [
|
|
5250
5250
|
/* @__PURE__ */ jsx9("span", { className: "lax-tool-group__tree", "aria-hidden": true, children: treeChar }),
|
|
5251
|
-
/* @__PURE__ */
|
|
5252
|
-
|
|
5253
|
-
"
|
|
5254
|
-
|
|
5251
|
+
/* @__PURE__ */ jsxs8("span", { className: "lax-tool-group__subline-flow", children: [
|
|
5252
|
+
/* @__PURE__ */ jsx9("span", { className: "lax-tool-group__subline-title", children: subTitle }),
|
|
5253
|
+
status ? /* @__PURE__ */ jsxs8("span", { className: "lax-tool-group__subline-status", children: [
|
|
5254
|
+
" \xB7 ",
|
|
5255
|
+
status
|
|
5256
|
+
] }) : null,
|
|
5257
|
+
canExpand ? /* @__PURE__ */ jsx9(
|
|
5258
|
+
"button",
|
|
5259
|
+
{
|
|
5260
|
+
type: "button",
|
|
5261
|
+
className: "lax-tool-group__transcript-link",
|
|
5262
|
+
onClick: toggleExpanded,
|
|
5263
|
+
"aria-expanded": expanded,
|
|
5264
|
+
children: expanded ? "Hide transcript" : "Show transcript"
|
|
5265
|
+
}
|
|
5266
|
+
) : null
|
|
5255
5267
|
] })
|
|
5256
5268
|
] }),
|
|
5257
|
-
canExpand &&
|
|
5258
|
-
"button",
|
|
5259
|
-
{
|
|
5260
|
-
type: "button",
|
|
5261
|
-
className: "lax-tool-group__transcript-link",
|
|
5262
|
-
onClick: toggleExpanded,
|
|
5263
|
-
"aria-expanded": false,
|
|
5264
|
-
children: "Show transcript"
|
|
5265
|
-
}
|
|
5266
|
-
) : null,
|
|
5267
|
-
canExpand && expanded ? /* @__PURE__ */ jsxs8("div", { className: "lax-tool-group__transcript-panel", "data-testid": "lax-grouped-transcript", children: [
|
|
5268
|
-
hasTranscriptLane ? /* @__PURE__ */ jsx9(SubagentTranscriptBlock, { entries: transcript, dataSource: "transcript-lane" }) : /* @__PURE__ */ jsx9(AgentProgressLines, { entries: progress, mode: "full" }),
|
|
5269
|
-
/* @__PURE__ */ jsx9(
|
|
5270
|
-
"button",
|
|
5271
|
-
{
|
|
5272
|
-
type: "button",
|
|
5273
|
-
className: "lax-tool-group__transcript-link",
|
|
5274
|
-
onClick: toggleExpanded,
|
|
5275
|
-
"aria-expanded": true,
|
|
5276
|
-
children: "Hide transcript"
|
|
5277
|
-
}
|
|
5278
|
-
)
|
|
5279
|
-
] }) : null
|
|
5269
|
+
canExpand && expanded ? /* @__PURE__ */ jsx9("div", { className: "lax-tool-group__transcript-panel", "data-testid": "lax-grouped-transcript", children: hasTranscriptLane ? /* @__PURE__ */ jsx9(SubagentTranscriptBlock, { entries: transcript, dataSource: "transcript-lane" }) : /* @__PURE__ */ jsx9(AgentProgressLines, { entries: progress, mode: "full" }) }) : null
|
|
5280
5270
|
]
|
|
5281
5271
|
}
|
|
5282
5272
|
);
|
|
@@ -5715,4 +5705,4 @@ export {
|
|
|
5715
5705
|
VirtualTimeline,
|
|
5716
5706
|
SessionTimeline
|
|
5717
5707
|
};
|
|
5718
|
-
//# sourceMappingURL=chunk-
|
|
5708
|
+
//# sourceMappingURL=chunk-RYUOZTUI.js.map
|