@agentshouse/mdmodel 0.1.0-c2987f5d89720 → 0.1.0-c5a71fe539a49

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/API.md +4 -3
  2. package/package.json +1 -1
package/API.md CHANGED
@@ -76,7 +76,8 @@ outside the YAML subset.
76
76
  `validate(library, context?, model?)` takes the resulting text Library and one
77
77
  `ValidationContext` of `binaryTargets: readonly string[]`, none when omitted.
78
78
  Library keys and binary targets share one canonical collection-relative path
79
- namespace; a path declared text and binary is refused. Ordinary links and images
79
+ namespace; a path declared text and binary is refused. House declares every
80
+ binary file of the Room as a binary target, and the model reads no bytes. Ordinary links and images
80
81
  in typed Documents may resolve to either membership, relative to the source
81
82
  Document, and one to a path neither holds is not refused: it dangles, as a
82
83
  deleted file's links do. A destination that is an absolute path or leaves the
@@ -221,7 +222,7 @@ Document's `type` names, taken from the model `verify` returned. A Document that
221
222
  declares a type the caller supplies no definition for is refused as
222
223
  `unknown-type`. `documentTargets` is what makes a destination internal: a
223
224
  destination resolving to a supplied Path is internal, and every other
224
- destination stays authored text, a retained binary target and a Path nobody
225
+ destination stays authored text, a binary target and a Path nobody
225
226
  supplied alike. The caller supplies that membership, as it does for `validate`;
226
227
  the model reads no bytes, resolves no authority, and classifies nothing it was
227
228
  not given.
@@ -231,7 +232,7 @@ title, in the inline `[label](path)`, full `[label][id]`, collapsed
231
232
  `[label][]`, and shortcut `[label]` forms, and the link reference definition an
232
233
  enumerated use resolves through leaves the projection with it. An image at a
233
234
  supplied document target contributes its alt text the same way, because a move
234
- rewrites that destination too. External URLs, retained binary targets,
235
+ rewrites that destination too. External URLs, binary targets,
235
236
  unsupplied destinations, bare fragments, code spans, fenced code, and escaped
236
237
  syntax stay exactly as authored, read through the same syntax profile `links`
237
238
  and `validate` read. `project` returns text and never rewrites the Document.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentshouse/mdmodel",
3
- "version": "0.1.0-c2987f5d89720",
3
+ "version": "0.1.0-c5a71fe539a49",
4
4
  "description": "MD Type language, parser, validator, structured change application, Markdown syntax profile, and conformance fixtures",
5
5
  "license": "MIT",
6
6
  "type": "module",