@womp/spark-agent 14.0.0 → 14.0.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 CHANGED
@@ -4,6 +4,15 @@ Notable changes to `@womp/spark-agent`, newest first. Versions follow
4
4
  [Semantic Versioning](https://semver.org/). Add an entry with each version bump; describe what
5
5
  changed for hosts and users, and how to migrate across breaking changes.
6
6
 
7
+ ## 14.0.1 — 2026-10-21
8
+
9
+ ### Fixed
10
+
11
+ - `agent-run` reads a run's stream to its end before exporting. It stopped at the terminal status,
12
+ which the server publishes before saving the reply, so a completed run could report
13
+ "Completed assistant message is missing from the transcript", exit 1 and export no artifacts.
14
+ It also missed the reply's final usage.
15
+
7
16
  ## 14.0.0 — 2026-10-21
8
17
 
9
18
  The Geometry Nodes and Flow skills each come with their language reference, so the agent loads one
package/dist/agent-run.js CHANGED
@@ -119,10 +119,9 @@ export async function runAgent(options) {
119
119
  options.progress?.(`\n[${status}]\n`);
120
120
  if (chunk.data.error)
121
121
  errors.push(chunk.data.error);
122
- if (terminal())
123
- break;
124
122
  }
125
123
  }
124
+ // The server saves the reply after publishing a terminal status and ends the stream once it is stored.
126
125
  if (!terminal())
127
126
  throw new Error("Run stream ended without a terminal status.");
128
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@womp/spark-agent",
3
- "version": "14.0.0",
3
+ "version": "14.0.1",
4
4
  "description": "Portable skills-based AI agent with local and durable chat transports for Womp",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",