langchain_agentx_stream_ui 0.8.5 → 0.8.6
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-DQVSFHKW.js → chunk-E66IQPUP.js} +14 -3
- package/dist/{chunk-DQVSFHKW.js.map → chunk-E66IQPUP.js.map} +1 -1
- package/dist/{chunk-YCV3AQBQ.js → chunk-LWQAIIIF.js} +13 -7
- package/dist/chunk-LWQAIIIF.js.map +1 -0
- package/dist/{chunk-B4PTD7WI.js → chunk-MGKAQIX2.js} +41 -6
- package/dist/chunk-MGKAQIX2.js.map +1 -0
- package/dist/{chunk-G42ULET5.js → chunk-U54TZPY4.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/multi-session.js +4 -4
- package/dist/tools.js +2 -2
- package/dist/virtual.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-B4PTD7WI.js.map +0 -1
- package/dist/chunk-YCV3AQBQ.js.map +0 -1
- /package/dist/{chunk-G42ULET5.js.map → chunk-U54TZPY4.js.map} +0 -0
|
@@ -1681,6 +1681,10 @@ function isSkillForkRunningUi(input, display, skillProgressCount) {
|
|
|
1681
1681
|
if (isSkillForkExecution(input, display)) return true;
|
|
1682
1682
|
return skillProgressCount > 0;
|
|
1683
1683
|
}
|
|
1684
|
+
function isSkillG6RunningExpand(toolName, status, result, input, display, skillProgressCount) {
|
|
1685
|
+
if (toolName !== Skill || status !== "running") return false;
|
|
1686
|
+
return isSkillForkRunningUi(input, display, skillProgressCount) || result == null;
|
|
1687
|
+
}
|
|
1684
1688
|
function isSkillForkDoneResult(input, display) {
|
|
1685
1689
|
if (!isSkillForkExecution(input, display)) return false;
|
|
1686
1690
|
const d = asDisplayRecord(display);
|
|
@@ -1767,7 +1771,14 @@ function SkillToolBody({
|
|
|
1767
1771
|
const display = result?.display;
|
|
1768
1772
|
const progressCount = skillProgressMessages?.length ?? 0;
|
|
1769
1773
|
const forkExec = isSkillForkExecution(input, display);
|
|
1770
|
-
const forkRunning =
|
|
1774
|
+
const forkRunning = isSkillG6RunningExpand(
|
|
1775
|
+
Skill,
|
|
1776
|
+
status,
|
|
1777
|
+
result,
|
|
1778
|
+
input,
|
|
1779
|
+
display,
|
|
1780
|
+
progressCount
|
|
1781
|
+
);
|
|
1771
1782
|
const forkDone = isSkillForkDoneResult(input, display);
|
|
1772
1783
|
if (forkDone || forkExec && status === "done") {
|
|
1773
1784
|
return /* @__PURE__ */ jsx12("div", { className: "lax-tool-body lax-tool-body--skill", "data-testid": "lax-skill-fork-done", children: /* @__PURE__ */ jsx12("div", { className: "lax-tool-body__block", "data-variant": "dim", children: /* @__PURE__ */ jsx12("pre", { className: "lax-tool-body__text", children: "Done" }) }) });
|
|
@@ -2022,7 +2033,7 @@ export {
|
|
|
2022
2033
|
GlobToolBody,
|
|
2023
2034
|
GrepToolBody,
|
|
2024
2035
|
ReadToolBody,
|
|
2025
|
-
|
|
2036
|
+
isSkillG6RunningExpand,
|
|
2026
2037
|
SkillToolBody,
|
|
2027
2038
|
WebFetchToolBody,
|
|
2028
2039
|
WebSearchToolBody,
|
|
@@ -2030,4 +2041,4 @@ export {
|
|
|
2030
2041
|
ToolDisplayRegistry,
|
|
2031
2042
|
createDefaultToolRegistry
|
|
2032
2043
|
};
|
|
2033
|
-
//# sourceMappingURL=chunk-
|
|
2044
|
+
//# sourceMappingURL=chunk-E66IQPUP.js.map
|