@axiom-lattice/react-sdk 2.1.109 → 2.1.111
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 +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -2134,7 +2134,7 @@ function AgentThreadProvider({
|
|
|
2134
2134
|
});
|
|
2135
2135
|
}
|
|
2136
2136
|
},
|
|
2137
|
-
[startTransition]
|
|
2137
|
+
[startTransition, threadId]
|
|
2138
2138
|
);
|
|
2139
2139
|
const sendMessage = useCallback7(
|
|
2140
2140
|
async (data) => {
|
|
@@ -28965,7 +28965,6 @@ var WorkflowNode = ({ data }) => {
|
|
|
28965
28965
|
children: refDeleted ? `[\u5DF2\u5220\u9664] ${ref}` : `\u2192 ${refAgentName ?? ref}`
|
|
28966
28966
|
}
|
|
28967
28967
|
) }),
|
|
28968
|
-
!hasRuntime && nodeType === "agent" && ref && refAgentType && !refDeleted && /* @__PURE__ */ jsx116(Tag27, { style: { margin: 0, fontSize: 10, padding: "0 5px", lineHeight: "16px" }, children: refAgentType }),
|
|
28969
28968
|
!hasRuntime && nodeType === "agent" && !ref && /* @__PURE__ */ jsx116(Tag27, { color: "default", style: { margin: 0, fontSize: 10, padding: "0 5px", lineHeight: "16px" }, children: "inline" }),
|
|
28970
28969
|
ask && /* @__PURE__ */ jsx116(Tooltip25, { title: "This step requires human approval before continuing", children: /* @__PURE__ */ jsx116(
|
|
28971
28970
|
"div",
|
|
@@ -29359,7 +29358,7 @@ function buildGraph(dsl, agentNameMap) {
|
|
|
29359
29358
|
if (groupNode) {
|
|
29360
29359
|
const childCount = group.childIds.length;
|
|
29361
29360
|
groupNode.width = childCount * NODE_WIDTH + (childCount - 1) * NODE_GAP + 40;
|
|
29362
|
-
groupNode.height = NODE_HEIGHT +
|
|
29361
|
+
groupNode.height = NODE_HEIGHT + 100;
|
|
29363
29362
|
}
|
|
29364
29363
|
}
|
|
29365
29364
|
const layoutNodes = canvasNodes.filter((n) => !childNodeIds.has(n.id));
|
|
@@ -29455,7 +29454,7 @@ function buildRuntimeGraph(dsl, steps, _unused, agentNameMap) {
|
|
|
29455
29454
|
if (groupNode) {
|
|
29456
29455
|
const childCount = group.childIds.length;
|
|
29457
29456
|
groupNode.width = childCount * NODE_WIDTH + (childCount - 1) * NODE_GAP + 40;
|
|
29458
|
-
groupNode.height = NODE_HEIGHT +
|
|
29457
|
+
groupNode.height = NODE_HEIGHT + 100;
|
|
29459
29458
|
}
|
|
29460
29459
|
}
|
|
29461
29460
|
const layoutNodes = canvasNodes.filter((n) => !childNodeIds.has(n.id));
|