@womp/spark-agent 5.3.0 → 5.4.0

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.
@@ -223,6 +223,7 @@ export function validateMaterialGraph(input, catalog) {
223
223
  const graph = graphSchema.parse(input);
224
224
  const textures = catalog.PredefinedTexture?.inputs[2]?.values ?? [];
225
225
  const descriptors = graph.nodes.map((node) => {
226
+ node.location ??= { x: 0, y: 0 };
226
227
  const desc = catalog[node.op];
227
228
  if (!desc || desc.type === "UNDEFINED" || node.op === "Noop")
228
229
  throw new Error(`Unknown/unsupported material operation: ${node.op}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@womp/spark-agent",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
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",
@@ -110,7 +110,7 @@
110
110
  "@ai-sdk/openai": "4.0.63",
111
111
  "@jitl/quickjs-wasmfile-release-sync": "0.32.0",
112
112
  "@womp/flowir": "0.3.0",
113
- "@womp/kakapo-sdk": "0.7.2",
113
+ "@womp/kakapo-sdk": "0.7.3",
114
114
  "ai": "7.0.95",
115
115
  "eventsource-parser": "^3.0.6",
116
116
  "express": "^5.2.1",