langchain_agentx_stream_ui 0.2.2 → 0.2.3
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/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1837,6 +1837,9 @@ function resolveParallelItemLoopSessionId(eventType, eventSessionId, derivedLoop
|
|
|
1837
1837
|
if (itemKey && parsed?.taskKey === itemKey) {
|
|
1838
1838
|
return eventSessionId;
|
|
1839
1839
|
}
|
|
1840
|
+
if (itemKey && eventSessionId.endsWith(`-${itemKey}`)) {
|
|
1841
|
+
return eventSessionId;
|
|
1842
|
+
}
|
|
1840
1843
|
return null;
|
|
1841
1844
|
}
|
|
1842
1845
|
function resolveStructureOpenLoopSessionId(eventType, eventSessionId, derivedLoopSessionId, data) {
|
|
@@ -3426,11 +3429,12 @@ function WorkflowStageContainerInner({
|
|
|
3426
3429
|
}
|
|
3427
3430
|
}, [shouldAutoExpandRunning, effectivelyDone, isSkipped]);
|
|
3428
3431
|
const requestLoopHydration = useCallback2(() => {
|
|
3432
|
+
if (suppressHostScopedLoop) return;
|
|
3429
3433
|
const loopSessionId = node.loopSessionId;
|
|
3430
3434
|
if (!loopSessionId || loopTree) return;
|
|
3431
3435
|
pinLoopSession(loopSessionId);
|
|
3432
3436
|
void replayHandler?.(loopSessionId);
|
|
3433
|
-
}, [node.loopSessionId, loopTree, pinLoopSession, replayHandler]);
|
|
3437
|
+
}, [suppressHostScopedLoop, node.loopSessionId, loopTree, pinLoopSession, replayHandler]);
|
|
3434
3438
|
const toggleExpanded = useCallback2(() => {
|
|
3435
3439
|
setExpanded((prev) => {
|
|
3436
3440
|
const next = !prev;
|
|
@@ -3546,7 +3550,7 @@ function WorkflowStageContainerInner({
|
|
|
3546
3550
|
groupParallelTools,
|
|
3547
3551
|
bodyClassName: isItem ? "lax-workflow-parallel-item__body lax-workflow-stage-container__body" : "lax-workflow-stage-container__body"
|
|
3548
3552
|
}
|
|
3549
|
-
) : /* @__PURE__ */ jsxs5(
|
|
3553
|
+
) : suppressHostScopedLoop ? null : /* @__PURE__ */ jsxs5(
|
|
3550
3554
|
"div",
|
|
3551
3555
|
{
|
|
3552
3556
|
className: "lax-workflow-stage-container__body lax-workflow-loop-replay-pending",
|