@ai-matrx/content-ir 0.1.1 → 0.2.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.
- package/CHANGELOG.md +21 -0
- package/README.md +6 -0
- package/dist/index.cjs +4484 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1924 -0
- package/dist/index.d.ts +324 -1
- package/dist/index.js +283 -1
- package/dist/index.js.map +1 -1
- package/package.json +12 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0 — 2026-08-23
|
|
4
|
+
|
|
5
|
+
- Added the `wire/` layer — the server→UI contracts every UI reads the same way:
|
|
6
|
+
- `wire/partial-kind` — the streaming partial-kinds channel (`__ir_partial`): `readPartialKindEvent`,
|
|
7
|
+
`sanitizeInboundPartialKindMetadata`, `advancePartialKind`, `makePartialKindStalenessGate`,
|
|
8
|
+
`isProvisionalKind`, `isTerminalKindEvent`, `IR_PARTIAL_KEY` + the event types.
|
|
9
|
+
- `wire/runtime-wrapper` — the `node_outcome` / `run_result` runtime-wrapper reader and THE `output_ref`
|
|
10
|
+
elision gate: `readOutputRef`, `rehydrateNodeOutcome`, `rehydrateRunResult`, `readNodeOutcomeValue`,
|
|
11
|
+
`readRunResultValue`, `kindVerdictOf`, `NODE_OUTCOME_KIND`, `RUN_RESULT_KIND` + the wrapper types.
|
|
12
|
+
- `wire/emit-payload` — the emit/render payload composer: `withRootKind`, `emitPayloadJson`, `emitPayloadFence`.
|
|
13
|
+
- Brought the partial-kind suite pinned to the Python producer's generated fixture
|
|
14
|
+
(`__tests__/partial-kind-events.generated.json`, regenerated by aidream `scripts/generate_partial_kind_fixture.py`
|
|
15
|
+
and drift-gated by `packages/matrx-ai/tests/parity/test_partial_kind_fixture.py`) plus new pure suites for the
|
|
16
|
+
runtime-wrapper reader and the emit composer (196 tests).
|
|
17
|
+
- Existing 0.1.x API unchanged.
|
|
18
|
+
|
|
19
|
+
## 0.1.2 — 2026-08-22
|
|
20
|
+
|
|
21
|
+
- Added a CommonJS export condition for Jest and other require-based consumers.
|
|
22
|
+
- Expanded the isolated tarball canary to prove both ESM import and CommonJS require.
|
|
23
|
+
|
|
3
24
|
## 0.1.1 — 2026-08-22
|
|
4
25
|
|
|
5
26
|
- Made this package the canonical authoring point for the portable Content IR kernel.
|
package/README.md
CHANGED
|
@@ -11,6 +11,12 @@ import {
|
|
|
11
11
|
createKindStreamParser,
|
|
12
12
|
envelopeFromCompleteValue,
|
|
13
13
|
validateStructuralLeg,
|
|
14
|
+
// wire layer (0.2.0): streaming partial kinds + runtime wrappers + emit payload
|
|
15
|
+
readPartialKindEvent,
|
|
16
|
+
makePartialKindStalenessGate,
|
|
17
|
+
rehydrateNodeOutcome,
|
|
18
|
+
rehydrateRunResult,
|
|
19
|
+
withRootKind,
|
|
14
20
|
} from "@ai-matrx/content-ir";
|
|
15
21
|
```
|
|
16
22
|
|