@ai-matrx/content-ir 0.10.2 → 0.10.4
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 +35 -0
- package/dist/core.cjs +2 -0
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +2 -0
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/session.cjs +2 -0
- package/dist/session.cjs.map +1 -1
- package/dist/session.js +2 -0
- package/dist/session.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.10.4
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/content-ir-core/v0.10.3..npm/content-ir-core/v0.10.4 -- apps/shared/content-ir-core`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.10.1
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since v0.10.0; dist verified
|
|
12
|
+
byte-identical to v0.10.0). No source changes and no consumer action required.
|
|
13
|
+
|
|
14
|
+
## 0.10.3 — 2026-08-31
|
|
15
|
+
|
|
16
|
+
**Bug fix — inline objects nest to any depth, on the streaming path too.**
|
|
17
|
+
`validateObjectAgainstFields` always recursed without limit, but
|
|
18
|
+
`resolveParentFieldSchema` looked a field up only through KIND-typed parents.
|
|
19
|
+
A second-level `inline_object` was therefore invisible mid-stream: it
|
|
20
|
+
registered no inline context and closed as an untyped object
|
|
21
|
+
(`Object is missing "__kind"`), degrading the whole instance to
|
|
22
|
+
`kindState: "raw"` — for a shape the kind's own schema declares. Found
|
|
23
|
+
declaring the true `lulu_print_job` shape after 0.10.2
|
|
24
|
+
(`costs.shipping_cost`); the same seam also gates `json`-any opacity and
|
|
25
|
+
`record` members nested inside an inline object.
|
|
26
|
+
|
|
27
|
+
Field lookup now resolves through an inline-object parent's field map first.
|
|
28
|
+
Guard: `__tests__/kind-parser.test.ts` § "inline objects nest to any depth"
|
|
29
|
+
(three-deep nesting resolves; chunking-invariant so the streaming path is
|
|
30
|
+
covered; a wrong type deep inside still degrades), proven failing on the
|
|
31
|
+
unfixed parser with three `Object is missing "__kind"` raws.
|
|
32
|
+
|
|
33
|
+
### Consumer action
|
|
34
|
+
|
|
35
|
+
None required — this only widens what validates. A mirror schema that flattened
|
|
36
|
+
a nested shape to `json` to survive can now declare the real `inline_object`.
|
|
37
|
+
|
|
3
38
|
## 0.10.2 — 2026-08-30
|
|
4
39
|
|
|
5
40
|
**Bug fix — `nullable` is a FIELD law, not a scalar law.** `validateFinalFieldValue`
|
package/dist/core.cjs
CHANGED
|
@@ -1883,6 +1883,8 @@ var KindStreamParser = class {
|
|
|
1883
1883
|
const fieldKey = this.fieldKeyFromPath(path);
|
|
1884
1884
|
if (!fieldKey) return void 0;
|
|
1885
1885
|
const parentPath = path.slice(0, -1);
|
|
1886
|
+
const inlineFields = this.inlineSchemas.get(this.pathKey(parentPath));
|
|
1887
|
+
if (inlineFields) return inlineFields[fieldKey];
|
|
1886
1888
|
const parentKind = this.getObjectKindForPath(parentPath);
|
|
1887
1889
|
if (!parentKind) return void 0;
|
|
1888
1890
|
return this.lookupSchema(parentKind)?.fields[fieldKey];
|