@jarenjs/flow 0.83.3 → 0.84.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.
Files changed (2) hide show
  1. package/README.md +3 -12
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -269,18 +269,9 @@ timing:
269
269
  The full tables, the wedge as a conformance row, and the fairness notes
270
270
  are on the [benchmarks page](https://jklarenbeek.github.io/jarenjs/#/benchmarks?suite=flow).
271
271
 
272
- ## Authoring with a model
273
-
274
- A jaren-fsm or jaren-dag document is JSON published as a schema, so a
275
- constrained decoder can author one — and because every compile error
276
- carries a `code` and a `docPath`, a schema-valid but semantically broken
277
- machine (a transition to an undeclared state, say) repairs in a bounded
278
- loop rather than flailing. `@jarenjs/ai`'s
279
- [*Authoring engine documents*](../ai/README.md#authoring-engine-documents-validate-and-compile)
280
- section shows the `composeChecks(schema, compileGate)` recipe, and
281
- [*A model as a dataflow node*](../ai/README.md#a-model-as-a-dataflow-node)
282
- runs a model as an ordinary dag `task`. Neither package imports the
283
- other — the composition is data.
272
+ ## Validating authored documents
273
+
274
+ A jaren-fsm or jaren-dag document is JSON published as a schema. Validate its shape, then compile it: coded errors identify the offending document path. `composeChecks` from `@jarenjs/core/check` combines these gates. Model-assisted generation is owned by [Tangle’s authoring integration](https://github.com/jklarenbeek/tangleai/blob/main/packages/jaren/docs/AUTHORING.md). A model invocation is an ordinary injected DAG task; the Flow engine has no model dependency.
284
275
 
285
276
  ## Authoring by code
286
277
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jarenjs/flow",
3
3
  "private": false,
4
- "version": "0.83.3",
4
+ "version": "0.84.3",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "types": "./dist/types/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  "prepack": "npm run build:types"
50
50
  },
51
51
  "dependencies": {
52
- "@jarenjs/core": "^0.83.3",
53
- "@jarenjs/json": "^0.83.3"
52
+ "@jarenjs/core": "^0.84.3",
53
+ "@jarenjs/json": "^0.84.3"
54
54
  }
55
55
  }