rapier-embed 1.2.55 → 1.2.57
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 +2 -2
- package/embed.mjs +1 -1
- package/package.json +1 -1
- package/rapier-plugins.json +187 -187
package/README.md
CHANGED
|
@@ -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.
|
|
170
|
+
Totals: the reader, 9.34 MB (31.0 MB with `ocr`); `rapier.html`, 57.2 MB. Release 1.2.57.
|
|
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
|
|
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.
|
|
274
|
+
const PACKAGE_VERSION = '1.2.57';
|
|
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.
|
|
3
|
+
"version": "1.2.57",
|
|
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",
|