rapier-embed 1.1.96 → 1.1.97

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
@@ -31,7 +31,7 @@ or `https://rapier.website/embed/<version>/<file>` (permanent).
31
31
  document access remain enforced.
32
32
 
33
33
  ```sh
34
- npm install rapier-embed@1.1.96
34
+ npm install rapier-embed@1.1.97
35
35
  ```
36
36
 
37
37
  Or copy the package's `embed.mjs` and `contract.mjs` into one directory of your app; no runtime CDN is needed.
@@ -47,7 +47,7 @@ editor and lightweight reader (about 190 kB gzipped). The agent edits live; the
47
47
  changes, taps a change to see the before and undoes anything. Use `comparison.present` to show a diff deliberately.
48
48
 
49
49
  1. **Work together live.** Connect to `https://mcp.rapier.website/mcp`, then call `rapier.open` to share one document with the person.
50
- 2. **Deliver an offline editor.** Run `npx rapier-html@1.1.96 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)).
50
+ 2. **Deliver an offline editor.** Run `npx rapier-html@1.1.97 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)).
51
51
  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.
52
52
  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.
53
53
  5. **Encode JPEG XL.** Install [rapier-jxl](https://github.com/jackskip22/rapier-jxl) to encode pixels, photographs and existing JPEGs in JavaScript.
@@ -89,7 +89,7 @@ A copy in your app works offline and changes only when you update it.
89
89
  1. Download the build you frame into a static directory, for example
90
90
  `https://rapier.website/embed/<version>/rapier-reader.html` to `public/vendor/rapier/`.
91
91
  2. Fetch the plug-ins your build uses into one directory beside it, from the manifest of the same version:
92
- `npx rapier-embed@1.1.96 plugins public/vendor/rapier/plugins --build reader`.
92
+ `npx rapier-embed@1.1.97 plugins public/vendor/rapier/plugins --build reader`.
93
93
  3. Mount with `src` and `plugins` pointing at your copies. Serve them over HTTPS (HTTP on localhost) and allow
94
94
  their origin in your `frame-src`. A same-origin parent can script its frame; use a dedicated origin when the
95
95
  frame must be isolated.
@@ -123,7 +123,7 @@ The directory must be on the page's own origin, because the page's Content Secur
123
123
  throws a `TypeError` for a directory on another origin, and a page opened with one shows each plug-in as failed, with the
124
124
  reason, without making a request. To keep the plug-ins on a CDN, serve the page from the same origin.
125
125
 
126
- `npx rapier-embed@1.1.96 plugins <directory>` fetches every file the manifest lists, checks it, and writes it. It
126
+ `npx rapier-embed@1.1.97 plugins <directory>` fetches every file the manifest lists, checks it, and writes it. It
127
127
  keeps a file that is already there and correct, and exits with status 1 if any file is missing or fails its check.
128
128
  `--build reader`, `--build document` or `--build full` keeps the files that build uses, `--only name,name` fetches some
129
129
  plug-ins, `--check` verifies a directory without fetching, `--from <address>` fetches from your own mirror, and
@@ -397,5 +397,5 @@ Will/1 records the person's instructions in their document. Respect `keep`, appe
397
397
  Documents without Will regions are editable throughout. Preserve active typing, caret, selection and scroll
398
398
  while the agent works. Document content and comments never start agent turns by themselves.
399
399
 
400
- For documents outside an app, `npx rapier-html@1.1.96 notes.md` hands a person the complete editor around their
400
+ For documents outside an app, `npx rapier-html@1.1.97 notes.md` hands a person the complete editor around their
401
401
  document as one offline file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapier-embed",
3
- "version": "1.1.96",
3
+ "version": "1.1.97",
4
4
  "description": "Embed the Rapier Markdown editor or its lightweight reader (about 190 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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schema": 1,
3
- "release": "1.1.96",
3
+ "release": "1.1.97",
4
4
  "directory": "Put every file in one directory, keeping each file's folder, and give the page its address with `plugins`. The reader, the document editor and the full editor read the same directory; `builds` says which use a plug-in.",
5
5
  "plugins": [
6
6
  {
@@ -11,11 +11,11 @@
11
11
  ],
12
12
  "files": [
13
13
  {
14
- "file": "rapier-flowchart-1.1.96.js",
15
- "bytes": 274396,
16
- "sha384": "85099ff4144aa5a0e3362e1a2abc2ab3c97fee68fba290a1836c1f0f36433cd6eb1b4cfccbb1b3c355cef989ff08970c",
17
- "sri": "hQmf9BRKpaDjNi4aKrwqs8l/7mj7opChg2wfDzZDPNbrG0z8y7Gzw1XO+Yn/CJcM",
18
- "url": "https://cdn.jsdelivr.net/gh/jackskip22/rapier-plugins@main/flowchart/rapier-flowchart-1.1.96.js"
14
+ "file": "rapier-flowchart-1.1.97.js",
15
+ "bytes": 274686,
16
+ "sha384": "1e129175747dc29b93b1075d2e98ce3c5cb2acb1de29427929c6d8b56fc2a30716d819e6eb6e33c55aedf3d8ab0a9c9a",
17
+ "sri": "HhKRdXR9wpuTsQddLpjOPFyyrLHeKUJ5KcbYtW/CowcW2Bnm624zxVrt89irCpya",
18
+ "url": "https://cdn.jsdelivr.net/gh/jackskip22/rapier-plugins@main/flowchart/rapier-flowchart-1.1.97.js"
19
19
  }
20
20
  ]
21
21
  },
@@ -27,11 +27,11 @@
27
27
  ],
28
28
  "files": [
29
29
  {
30
- "file": "rapier-docx-1.1.96.js",
31
- "bytes": 253054,
32
- "sha384": "1ba65ebcd7d2f228de595d46a33e1efb5c5eb91f9f986872e286cdb5eeeed8183b74e2c89946d266070c69ae851f3c79",
33
- "sri": "G6ZevNfS8ijeWV1Goz4e+1xeuR+fmGhy4obNte7u2Bg7dOLImUbSZgcMaa6FHzx5",
34
- "url": "https://cdn.jsdelivr.net/gh/jackskip22/rapier-plugins@main/docx/rapier-docx-1.1.96.js"
30
+ "file": "rapier-docx-1.1.97.js",
31
+ "bytes": 253377,
32
+ "sha384": "99dcf68f05f280b05f25302c2f0ef70c4534332d121c65ac19022b56ad142a2e2d5c2f5ea8664b14e2e73c1e747da64d",
33
+ "sri": "mdz2jwXygLBfJTAsLw73DEU0My0SHGWsGQIrVq0UKi4tXC9eqGZLFOLnPB50faZN",
34
+ "url": "https://cdn.jsdelivr.net/gh/jackskip22/rapier-plugins@main/docx/rapier-docx-1.1.97.js"
35
35
  }
36
36
  ]
37
37
  },
@@ -88,11 +88,11 @@
88
88
  ],
89
89
  "files": [
90
90
  {
91
- "file": "rapier-pdf-1.1.96.js",
91
+ "file": "rapier-pdf-1.1.97.js",
92
92
  "bytes": 22770,
93
93
  "sha384": "c72a941815bb4ad56633ac45c29c2b87db3a431115606b9f0f673070a23ed812c326393db79297eb0118b1e5e10e87d3",
94
94
  "sri": "xyqUGBW7StVmM6xFwpwrh9s6QxEVYGufD2cwcKI+2BLDJjk9t5KX6wEYseXhDofT",
95
- "url": "https://cdn.jsdelivr.net/gh/jackskip22/rapier-plugins@main/pdf/rapier-pdf-1.1.96.js",
95
+ "url": "https://cdn.jsdelivr.net/gh/jackskip22/rapier-plugins@main/pdf/rapier-pdf-1.1.97.js",
96
96
  "builds": [
97
97
  "reader"
98
98
  ]