@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.js
CHANGED
|
@@ -2236,7 +2236,7 @@ function AgentThreadProvider({
|
|
|
2236
2236
|
});
|
|
2237
2237
|
}
|
|
2238
2238
|
},
|
|
2239
|
-
[startTransition]
|
|
2239
|
+
[startTransition, threadId]
|
|
2240
2240
|
);
|
|
2241
2241
|
const sendMessage = (0, import_react7.useCallback)(
|
|
2242
2242
|
async (data) => {
|
|
@@ -28719,7 +28719,6 @@ var WorkflowNode = ({ data }) => {
|
|
|
28719
28719
|
children: refDeleted ? `[\u5DF2\u5220\u9664] ${ref}` : `\u2192 ${refAgentName ?? ref}`
|
|
28720
28720
|
}
|
|
28721
28721
|
) }),
|
|
28722
|
-
!hasRuntime && nodeType === "agent" && ref && refAgentType && !refDeleted && /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_antd89.Tag, { style: { margin: 0, fontSize: 10, padding: "0 5px", lineHeight: "16px" }, children: refAgentType }),
|
|
28723
28722
|
!hasRuntime && nodeType === "agent" && !ref && /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_antd89.Tag, { color: "default", style: { margin: 0, fontSize: 10, padding: "0 5px", lineHeight: "16px" }, children: "inline" }),
|
|
28724
28723
|
ask && /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_antd89.Tooltip, { title: "This step requires human approval before continuing", children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
|
|
28725
28724
|
"div",
|
|
@@ -29107,7 +29106,7 @@ function buildGraph(dsl, agentNameMap) {
|
|
|
29107
29106
|
if (groupNode) {
|
|
29108
29107
|
const childCount = group.childIds.length;
|
|
29109
29108
|
groupNode.width = childCount * NODE_WIDTH + (childCount - 1) * NODE_GAP + 40;
|
|
29110
|
-
groupNode.height = NODE_HEIGHT +
|
|
29109
|
+
groupNode.height = NODE_HEIGHT + 100;
|
|
29111
29110
|
}
|
|
29112
29111
|
}
|
|
29113
29112
|
const layoutNodes = canvasNodes.filter((n) => !childNodeIds.has(n.id));
|
|
@@ -29203,7 +29202,7 @@ function buildRuntimeGraph(dsl, steps, _unused, agentNameMap) {
|
|
|
29203
29202
|
if (groupNode) {
|
|
29204
29203
|
const childCount = group.childIds.length;
|
|
29205
29204
|
groupNode.width = childCount * NODE_WIDTH + (childCount - 1) * NODE_GAP + 40;
|
|
29206
|
-
groupNode.height = NODE_HEIGHT +
|
|
29205
|
+
groupNode.height = NODE_HEIGHT + 100;
|
|
29207
29206
|
}
|
|
29208
29207
|
}
|
|
29209
29208
|
const layoutNodes = canvasNodes.filter((n) => !childNodeIds.has(n.id));
|