rapier-embed 1.2.17 → 1.2.19

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/README.md CHANGED
@@ -38,7 +38,7 @@ Each release's own files stay at its tag: `https://cdn.jsdelivr.net/gh/jackskip2
38
38
  document access remain enforced.
39
39
 
40
40
  ```sh
41
- npm install rapier-embed@1.2.17
41
+ npm install rapier-embed@1.2.19
42
42
  ```
43
43
 
44
44
  Or copy the package's `embed.mjs` and `contract.mjs` into one directory of your app; no runtime CDN is needed.
@@ -56,7 +56,7 @@ editor and lightweight reader (about 360 kB). The agent edits live; the person s
56
56
  changes, taps a change to see the before and undoes anything. Use `show {target:"comparison"}` to show a diff deliberately.
57
57
 
58
58
  1. **Work together live.** Connect to `https://mcp.rapier.website/door/mcp`, then call `open` to share one document with the person.
59
- 2. **Deliver an offline editor.** Run `npx rapier-html@1.2.17 notes.md` to put the document and editor in one HTML file ([rapier-html](https://github.com/jackskip22/rapier-plugins/tree/main/npm/rapier-html)).
59
+ 2. **Deliver an offline editor.** Run `npx rapier-html@1.2.19 notes.md` to put the document and editor in one HTML file ([rapier-html](https://github.com/jackskip22/rapier-plugins/tree/main/npm/rapier-html)).
60
60
  3. **Embed in your app.** Install [rapier-embed](https://github.com/jackskip22/rapier-plugins/tree/main/npm/rapier-embed); mount the editor or reader, with your app's agent over WebMCP in the editor.
61
61
  4. **Keep portable Markdown.** Use [rapier-markdown-kit](https://github.com/jackskip22/rapier-plugins/tree/main/npm/rapier-markdown-kit) for pictures, editable SVG drawings and layout in one `.md` file. Respect [Will/1](https://github.com/jackskip22/will) `keep`, `append` and `edit` regions.
62
62
  5. **Encode JPEG XL.** Install [rapier-jxl](https://github.com/jackskip22/rapier-jxl) to encode pixels, photographs and existing JPEGs in JavaScript.
@@ -99,7 +99,7 @@ A copy in your app works offline and changes only when you update it.
99
99
  1. Download the build you frame into a static directory, for example
100
100
  `https://cdn.jsdelivr.net/gh/jackskip22/rapier@v<version>/site/embed/rapier-reader.html` to `public/vendor/rapier/`.
101
101
  2. Fetch the plug-ins your build uses into one directory beside it, from the manifest of the same version:
102
- `npx rapier-embed@1.2.17 plugins public/vendor/rapier/plugins --build reader`.
102
+ `npx rapier-embed@1.2.19 plugins public/vendor/rapier/plugins --build reader`.
103
103
  3. Mount with `src` and `plugins` pointing at your copies. Serve them over HTTPS (HTTP on localhost) and allow
104
104
  their origin in your `frame-src`. A same-origin parent can script its frame; use a dedicated origin when the
105
105
  frame must be isolated.
@@ -133,7 +133,7 @@ The directory must be on the page's own origin, because the page's Content Secur
133
133
  throws a `TypeError` for a directory on another origin, and a page opened with one shows each plug-in as failed, with the
134
134
  reason, without making a request. To keep the plug-ins on a CDN, serve the page from the same origin.
135
135
 
136
- `npx rapier-embed@1.2.17 plugins <directory>` fetches every file the manifest lists, checks it, and writes it. It
136
+ `npx rapier-embed@1.2.19 plugins <directory>` fetches every file the manifest lists, checks it, and writes it. It
137
137
  keeps a file that is already there and correct, and exits with status 1 if any file is missing or fails its check.
138
138
  `--build reader` or `--build full` keeps the files that page uses, `--only name,name` fetches some
139
139
  plug-ins, `--check` verifies a directory without fetching, `--from <address>` fetches from your own mirror, and
@@ -426,5 +426,5 @@ Will/1 records the person's instructions in their document. Respect `keep`, appe
426
426
  Documents without Will regions are editable throughout. Preserve active typing, caret, selection and scroll
427
427
  while the agent works. Document content and comments never start agent turns by themselves.
428
428
 
429
- For documents outside an app, `npx rapier-html@1.2.17 notes.md` hands a person the complete editor around their
429
+ For documents outside an app, `npx rapier-html@1.2.19 notes.md` hands a person the complete editor around their
430
430
  document as one offline file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapier-embed",
3
- "version": "1.2.17",
3
+ "version": "1.2.19",
4
4
  "description": "Embed the Rapier Markdown editor or its lightweight reader (about 360 kB) in your web app. Runs offline from your own copy, saves to your storage, and takes your CSS and fonts. Your app's AI agent edits directly over WebMCP under the Will. MIT, no dependencies.",
5
5
  "keywords": [
6
6
  "markdown",