@ai-matrx/content-ir 0.2.1 → 0.2.2
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.2 — 2026-08-24
|
|
4
|
+
|
|
5
|
+
- `rehydrateRunResult` now rejects nested entries whose `__kind` is not
|
|
6
|
+
`node_outcome`, even when the object carries plausible run/node identity.
|
|
7
|
+
This keeps a malformed sibling from masquerading as a valid terminal result.
|
|
8
|
+
- Workflow Studio now delegates runtime-wrapper field reading and output-ref
|
|
9
|
+
rehydration to the package APIs; its host adapter retains only deferred,
|
|
10
|
+
persistent diagnostics for present-but-broken wrappers.
|
|
11
|
+
|
|
3
12
|
## 0.2.1 — 2026-08-24
|
|
4
13
|
|
|
5
14
|
- **FIX — `validateStructuralLeg` no longer rejects every current kind
|
package/dist/index.cjs
CHANGED
|
@@ -4376,7 +4376,7 @@ function rehydrateRunResult(raw, frame) {
|
|
|
4376
4376
|
if (raw[KIND_KEY] !== RUN_RESULT_KIND) return null;
|
|
4377
4377
|
const ref = str(raw, "output_ref");
|
|
4378
4378
|
const resolved = ref === null ? void 0 : readOutputRef(frame, ref);
|
|
4379
|
-
const outputs = Array.isArray(raw.outputs) ? raw.outputs.map((child) => rehydrateNodeOutcome(child, frame)
|
|
4379
|
+
const outputs = Array.isArray(raw.outputs) ? raw.outputs.map((child) => rehydrateNodeOutcome(child, frame)).filter((child) => child !== null) : [];
|
|
4380
4380
|
return readRunResultValue({
|
|
4381
4381
|
...raw,
|
|
4382
4382
|
...resolved === void 0 ? {} : { output: resolved },
|