@codemation/core-nodes 0.7.0 → 0.7.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/CHANGELOG.md +9 -0
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/nodes/SubWorkflowNode.ts +4 -0
- package/src/nodes/subWorkflow.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @codemation/core-nodes
|
|
2
2
|
|
|
3
|
+
## 0.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#130](https://github.com/MadeRelevant/codemation/pull/130) [`e8e3935`](https://github.com/MadeRelevant/codemation/commit/e8e39358a4282e0a780efb428ae0d71d105afd5f) Thanks [@cblokland90](https://github.com/cblokland90)! - `SubWorkflow` nodes now render with the Lucide `workflow` glyph by default, so they read at a glance on the canvas. Nodes that don't set an explicit `icon` (and have no semantic role like agent / model / tool) now fall back to a question-mark glyph instead of `Boxes` — a clearer "missing icon" signal for plugin authors. Unknown icon tokens (`builtin:`, `si:`, `lucide:` lookups that don't resolve) also fall back to the same question-mark glyph for consistency.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`d283b48`](https://github.com/MadeRelevant/codemation/commit/d283b481f01a1a259d38d25c1482006eff963384)]:
|
|
10
|
+
- @codemation/core@0.10.2
|
|
11
|
+
|
|
3
12
|
## 0.7.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -7238,6 +7238,10 @@ let SubWorkflowNode = class SubWorkflowNode$1 {
|
|
|
7238
7238
|
engineMaxSubworkflowDepth: args.ctx.engineMaxSubworkflowDepth
|
|
7239
7239
|
}
|
|
7240
7240
|
});
|
|
7241
|
+
await args.ctx.nodeState?.setChildRunId?.({
|
|
7242
|
+
nodeId: args.ctx.nodeId,
|
|
7243
|
+
childRunId: result.runId
|
|
7244
|
+
});
|
|
7241
7245
|
if (result.status !== "completed") throw new Error(`Subworkflow ${args.ctx.config.workflowId} did not complete (status=${result.status})`);
|
|
7242
7246
|
const out = [];
|
|
7243
7247
|
for (const produced of result.outputs) {
|
|
@@ -7269,6 +7273,7 @@ SubWorkflowNode = __decorate([
|
|
|
7269
7273
|
var SubWorkflow = class {
|
|
7270
7274
|
kind = "node";
|
|
7271
7275
|
type = SubWorkflowNode;
|
|
7276
|
+
icon = "lucide:workflow";
|
|
7272
7277
|
constructor(name, workflowId, upstreamRefs, startAt, id) {
|
|
7273
7278
|
this.name = name;
|
|
7274
7279
|
this.workflowId = workflowId;
|