@listen-fire/engine-contracts 0.12.2 → 0.12.3

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.
@@ -87,10 +87,15 @@ export interface InstanceIdentityDescriptor {
87
87
  constructionConfig?: Record<string, string>;
88
88
  }
89
89
  /** The serialised `SourceRead` — just the instance identity behind it. The live
90
- * `adapter` + the `edgeFieldId` closure are rebound from `instanceName` on
91
- * rehydrate. */
90
+ * `adapter` + the `edgeFieldId` closure are rebound on rehydrate: from
91
+ * `instance` when the park carries it, else from `instanceName` in the root
92
+ * program's scope (a park written before `instance`). */
92
93
  export interface SourceReadDescriptor {
93
94
  instanceName: string;
95
+ /** The system the record was read from (the Rust engine writes it): a
96
+ * record a library returned names a connection the root program's scope
97
+ * does not hold. */
98
+ instance?: InstanceIdentityDescriptor;
94
99
  }
95
100
  /** A serialised `ExtractEmission` — its `children` Map flattened to a record of
96
101
  * arrays (JSON has no Map). The emission is pure data (the extraction ran). */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@listen-fire/engine-contracts",
3
3
  "license": "Apache-2.0",
4
- "version": "0.12.2",
4
+ "version": "0.12.3",
5
5
  "description": "The contracts the movement engine speaks: the tenant id, the host families and entry-point inputs, the parked state, file descriptors, the adapter protocol, the adapter contract and its manifest, the catalog's schema types and positions, the Expression vocabulary, plugins as data and the model names. Runtime-neutral: no Node import, no ambient types.",
6
6
  "engines": {
7
7
  "node": ">=22.23.4 <23"
@@ -30,7 +30,7 @@
30
30
  "type": "commonjs",
31
31
  "dependencies": {
32
32
  "zod": "4.1.12",
33
- "@listen-fire/movement-lang": "^0.12.2"
33
+ "@listen-fire/movement-lang": "^0.12.3"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "20.16.5",