rapier-embed 1.2.56 → 1.2.58

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
@@ -45,7 +45,7 @@ downloaded copy yourself and pass it as `src`.
45
45
  document access remain enforced.
46
46
 
47
47
  ```sh
48
- npm install rapier-embed@1.2.52
48
+ npm install rapier-embed@1.2.57
49
49
  ```
50
50
 
51
51
  Or copy the package's `embed.mjs` and `contract.mjs` into one directory of your app; no runtime CDN is needed.
@@ -133,7 +133,7 @@ The reader on its own page opens a document at an address on its own origin: `ht
133
133
 
134
134
  Keep the helper, page and plug-in manifest on one version. For version 1.2.46:
135
135
 
136
- 1. Install the helper: `npm install rapier-embed@1.2.52`.
136
+ 1. Install the helper: `npm install rapier-embed@1.2.57`.
137
137
  2. Create `public/vendor/rapier/` and save the reader into it from
138
138
  `https://cdn.jsdelivr.net/gh/jackskip22/rapier-plugins@cdn-v1.2.46/embed/rapier-reader.html`.
139
139
  3. Fetch its plug-ins from the same version's manifest:
@@ -167,7 +167,7 @@ length and SHA-384 before it runs it, and keeps on the device. A file that fails
167
167
  | `elements` | The Elements sheet's traced ornaments: 3,155 pieces from the ornament book. | 16.2 MB (51 files) | `rapier.html` |
168
168
  | `lettersets` | The Gallery's letter sets: 31 sets of ornamental capitals. | 2.82 MB (31 files) | `rapier.html` |
169
169
 
170
- Totals: the reader, 9.34 MB (31.0 MB with `ocr`); `rapier.html`, 57.2 MB. Release 1.2.56.
170
+ Totals: the reader, 9.34 MB (31.0 MB with `ocr`); `rapier.html`, 57.2 MB. Release 1.2.58.
171
171
  <!-- PLUGIN_TABLE_END -->
172
172
 
173
173
  The manifest lists every plug-in file and, in `builds`, the pages that use it. `rapier.html` has flowcharts and Word import
@@ -524,7 +524,7 @@ submission; they are not durable server saves.
524
524
 
525
525
  ## Work with your app's agent
526
526
 
527
- With `agent: true`, the frame registers Rapier's six tools through WebMCP for your page's origin; the
527
+ With `agent: true`, the frame registers Rapier's tools through WebMCP for your page's origin; the
528
528
  browser needs WebMCP and the `tools` permission, which mount grants the frame. Where WebMCP is still an origin
529
529
  trial, the published pages carry the trial token for `rapier.website` only: serve your own copy with your origin's
530
530
  WebMCP trial token (an `Origin-Trial` response header). After `disconnect`, the tools refuse with
package/embed.mjs CHANGED
@@ -271,7 +271,7 @@ function pictureBase(value) {
271
271
  return {FEATURES, LIMITS, ASSET_TYPES, refusal, coded, normalizeSettings, snapshotSettings, pickDeviceFile, createFilePicker, assetURL, assetBytes, bytesHash, externalImage, createAssetBroker, pictureBase};
272
272
  })();
273
273
  const BUILDS = Object.freeze({full: 'https://rapier.website/embed/rapier.html', reader: 'https://rapier.website/embed/rapier-reader.html'});
274
- const PACKAGE_VERSION = '1.2.56';
274
+ const PACKAGE_VERSION = '1.2.58';
275
275
  const OPTIONS = ['build', 'src', 'plugins', 'approvePlugins', 'sessionId', 'documentId', 'agent', 'agentName', 'theme', 'save', 'assets', 'openFile', 'load',
276
276
  'onState', 'compare', 'onClose', 'settings', 'style', 'title', 'onError', 'timeout'];
277
277
  const READER_FEATURES = ['find', 'readAloud', 'share'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapier-embed",
3
- "version": "1.2.56",
3
+ "version": "1.2.58",
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",