@agentic-surfaces/core 0.1.11 → 0.1.12
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/executor.js +3 -1
- package/package.json +2 -2
package/dist/executor.js
CHANGED
|
@@ -41,8 +41,10 @@ export async function runWorkflow(opts) {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
ctx.outputs.set(id, result.output);
|
|
44
|
+
// Surface the node's output so observers (e.g. the live UI) can show what each
|
|
45
|
+
// node produced/fetched — the data is what you need when debugging a run.
|
|
44
46
|
if (!nodeErrored)
|
|
45
|
-
observer?.onNodeFinish?.(id, "success");
|
|
47
|
+
observer?.onNodeFinish?.(id, "success", { output: result.output });
|
|
46
48
|
const branches = result.branches;
|
|
47
49
|
for (const edge of workflow.edges) {
|
|
48
50
|
if (edge.from !== id)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentic-surfaces/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"jsonata": "^2.2.1",
|
|
24
24
|
"yaml": "^2.9.0",
|
|
25
25
|
"zod": "^4.4.3",
|
|
26
|
-
"@agentic-surfaces/agent": "0.1.
|
|
26
|
+
"@agentic-surfaces/agent": "0.1.12"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/better-sqlite3": "^7.6.13",
|