rapier-markdown-kit 1.1.57 → 1.1.59

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/LICENSE CHANGED
@@ -24,13 +24,19 @@ Files under this licence carry `SPDX-License-Identifier: MIT` in their first lin
24
24
  grammar, marks and reference style (`spec/md-layout.mjs`, `spec/md-marks.mjs`, `spec/flowchart.mjs`, `spec/markdown-style.css`), the layout model and line planner
25
25
  (`layout/model.mjs`, `layout/line-plan.mjs`), the Will grammar (`agent/will.mjs`), the picture appendix reader and writer
26
26
  (`spec/md-assets.mjs`), the two shared-page reference readers (`tools/read-shared-page.mjs`,
27
- `tools/read-shared-page.py`), and the host helper `packages/rapier-embed/embed.mjs`. The vendored Pretext (`agent/vendor/pretext`) and micromark carry their
27
+ `tools/read-shared-page.py`), and the host helper `packages/rapier-embed/embed.mjs` with its
28
+ contract owner `packages/rapier-embed/contract.mjs`. The vendored Pretext (`agent/vendor/pretext`) and micromark carry their
28
29
  own MIT notices. The edit-ledger module (`kit/rapier-ledger.mjs`, `kit/ledger/*.mjs`) and
29
30
  its editor compatibility import (`editor/journal-records.mjs`) are also covered. The
30
31
  record validator/replayer and text-only conflict merger were moved, not copied,
31
32
  into that module; the Notes index merger and the rest of the agent/editor remain
32
33
  AGPL-3.0-only. The wrapper's carrier-staging helper
33
- (`skills/rapier-html/package-files.mjs`) is MIT. Everything else in Rapier is AGPL-3.0-only (see `LICENSE`).
34
+ (`skills/rapier-html/package-files.mjs`) is MIT. The kit's MIT-marked facades,
35
+ `kit/render-entry.mjs`, `kit/render*.mjs`, `kit/stage.mjs` and MIT-marked conformance
36
+ modules are covered too. These names describe the Rapier-owned files carrying the
37
+ MIT notice, not a grant over the editor or third-party code. Other Rapier-owned
38
+ files retain their stated licence; the editor is AGPL-3.0-only (see `LICENSE`).
39
+ Third-party components retain their own copyright and licence notices.
34
40
 
35
41
  The picture appendix reader and writer used to be part of `images/assets.mjs`, a file that also
36
42
  holds JPEG XL/raster header inspection and SVG sanitizing -- both of which reach the editor's own
package/README.md CHANGED
@@ -79,7 +79,7 @@ round-trip the actual HTTP output.
79
79
  | `rapier-markdown-kit/style.css` | The reference style: type, lists, tables, tasks, pictures and the document's other markup, scoped to `.md-render`. |
80
80
  | `rapier-markdown-kit/rapier-ledger` | The MIT edit-ledger format, replay, authorship projection and offline merge. |
81
81
  | `rapier-markdown-kit/ledger/carried` | Checked optional parts for pages and saved Markdown. |
82
- | `rapier-markdown-kit` | The modules above as named namespaces. |
82
+ | `rapier-markdown-kit` | Named exports from the layout, marks, model, Will, assets and render modules, plus the `ledger` namespace. |
83
83
 
84
84
  Every convention is plain Markdown or an HTML comment other readers ignore. Laying lines out as Rapier does takes
85
85
  the host's font metrics (below).
@@ -281,7 +281,7 @@ value the editor's release reads.
281
281
 
282
282
  ## Where the modules live
283
283
 
284
- Each module has one home in the Rapier source (`spec/`, `layout/`, `agent/`), where Rapier itself reads it; `dist/`
284
+ Each module has one home in the Rapier source (`spec/`, `layout/`, `agent/`, `kit/`), where Rapier itself reads it; `dist/`
285
285
  is that closure copied byte for byte, and `style.css` is the same `spec/markdown-style.css` Rapier bundles.
286
286
 
287
287
 
@@ -75,7 +75,7 @@ Prints two separate tables (preservation and presentation are different claims):
75
75
  - **Presentation** — does the planned line count and each line's left/right agree with the recorded
76
76
  fact, within `--tolerance` pixels (default 2). This depends entirely on the measurer supplied;
77
77
  `run.mjs`'s own default (`measurer.mjs`, R77) replays Rapier's real Pretext trace wherever one was
78
- captured, falling back to the character-glyph sum only where none exists. Current result: **3/13
78
+ captured, falling back to the character-glyph sum only where none exists. Recorded R77 result (not a current-run receipt): **3/13
79
79
  AGREE outright** (`04-wrap-box`, `10-both-sides`, `12-heading-barrier` — every
80
80
  one a case where the compared edge is pure obstacle-slot geometry, unaffected by text fidelity
81
81
  either way), **10 CLOSE, 0 DIFFERS**, each CLOSE row's cause named rather than left as "close
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapier-markdown-kit",
3
- "version": "1.1.57",
3
+ "version": "1.1.59",
4
4
  "description": "Read, render, write and style Self-contained Markdown, and carry its optional edit ledger: the shared HTML writer, semantic renderer, stylesheet, layout, marks, pictures, Will/1, replay, authorship and offline merge. MIT, no npm dependencies.",
5
5
  "keywords": [
6
6
  "markdown",