@listen-fire/engine 0.14.2 → 0.15.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.
@@ -509,7 +509,9 @@ function instanceSchemaFromDescriptors(input) {
509
509
  changedFields[fieldName] = field.changedIn;
510
510
  }
511
511
  if (field.writable) {
512
- writableFields[fieldName] = type;
512
+ // `mayBeAbsent` is a read's promise (a record may not hold the
513
+ // field); a write gives the field a value.
514
+ writableFields[fieldName] = type !== undefined && typeof type === 'object' && type.kind === 'maybeAbsent' ? type.of : type;
513
515
  writeFieldNameById.set(field.fieldId, fieldName);
514
516
  if (field.required === true)
515
517
  requiredFields.push(fieldName);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@listen-fire/engine",
3
3
  "license": "Apache-2.0",
4
- "version": "0.14.2",
4
+ "version": "0.15.0",
5
5
  "description": "The movement engine for this release's language and its host contract: the Rust engine's shim, the EngineHost families, the run host, the embed kit, and the adapter and model types they reach. Every shell (the hosted product, the `listen-fire` command line, an embedder) runs the same engine. A run pinned to a release this one does not read is refused by name. Embedders reach it only through public/* (the exports map); the internals resolve only under the `movement-engine-internals` condition, which only test runners set",
6
6
  "engines": {
7
7
  "node": ">=22.23.4 <23"
@@ -17,9 +17,9 @@
17
17
  "dependencies": {
18
18
  "safe-stable-stringify": "2.5.0",
19
19
  "zod": "4.1.12",
20
- "@listen-fire/module-runtime": "^0.12.8",
21
- "@listen-fire/engine-contracts": "^0.14.2",
22
- "@listen-fire/movement-lang": "^0.14.2"
20
+ "@listen-fire/engine-contracts": "^0.15.0",
21
+ "@listen-fire/movement-lang": "^0.15.0",
22
+ "@listen-fire/module-runtime": "^0.12.8"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/jest": "29.5.14",