@mapled/mcp 0.13.1 → 0.13.2
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 +1 -1
- package/dist/tools.js +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ A rename or a conversion Mapled wouldn't take is refused at once with the reason
|
|
|
68
68
|
| `create_form` / `list_forms` | Set up public forms with spam protection |
|
|
69
69
|
| `get_connection` (image values → `assetUrl(id, { width })` from @mapled/next) | Delivery key + API URL for wiring the site (`@mapled/next`) |
|
|
70
70
|
| `push_site_manifest` / `list_bindings` | Tell Mapled where each field is rendered; read every binding's health (type mismatch, outdated, missing on site). Keep the repository's copy in `mapled/manifest.json` — `npx @mapled/cli scan --write` derives it from the code and `bindings push` / `bindings pull` exchange it with Mapled. A push records the integration hash — the schema and these bindings — and `list_bindings` says whether it still matches (`integration.inSync`, with `schemaChanged` / `bindingsChanged` naming what moved) |
|
|
71
|
-
| `configure_revalidation` | Point the publish webhook at the site, get the signing secret |
|
|
71
|
+
| `configure_revalidation` | Point the publish webhook at the site, get the signing secret; the description also tells the agent how to add live updates for tabs that are already open (`createReleaseHandler` and `<MapledLive />`, `@mapled/next` 0.8.0+) |
|
|
72
72
|
| `check_integration` | The site's integration as Mapled sees it — delivery reads, the webhook and its last delivery, the bindings summary, the integration hash (is the last push still in step with the schema and the bindings?), current package versions; `npx @mapled/cli doctor` shows the same from inside the repository |
|
|
73
73
|
| `delete_collection` / `remove_field` / `clear_records` / `rename_field` / `convert_field` / `get_confirmation` | Destructive and breaking changes — each files a request a person confirms on a trusted Mapled screen (see above); `get_confirmation` reads its status |
|
|
74
74
|
| `get_mapled_md` | `MAPLED.md` rendered from the project — the guide for the next agent: project, how the site reads it, content model, bindings by page, last setup run, working rules, verification commands. Never a secret. `npx @mapled/cli md pull` writes the same file; `mapled doctor` says when it is out of date |
|
package/dist/tools.js
CHANGED
|
@@ -502,7 +502,11 @@ export function createTools(api) {
|
|
|
502
502
|
"Pass the site's public revalidate URL (with @mapled/next: mount createRevalidateHandler " +
|
|
503
503
|
"from \"@mapled/next/server\" at /api/mapled/revalidate and pass that URL here). " +
|
|
504
504
|
"Returns the signing secret — store it in the site's env as MAPLED_WEBHOOK_SECRET. " +
|
|
505
|
-
"Local and private URLs are rejected; use the deployed site's URL."
|
|
505
|
+
"Local and private URLs are rejected; use the deployed site's URL. " +
|
|
506
|
+
"Optional, when the owner wants pages that are already open to follow a publish without a reload " +
|
|
507
|
+
"(@mapled/next 0.8.0+): also mount createReleaseHandler({ key: process.env.MAPLED_KEY! }) from " +
|
|
508
|
+
"\"@mapled/next/server\" as GET at /api/mapled/release and render <MapledLive /> from " +
|
|
509
|
+
"\"@mapled/next/live\" once in the root layout — tabs poll the site's own route, never Mapled.",
|
|
506
510
|
schema: {
|
|
507
511
|
url: z.string().min(8).max(2048),
|
|
508
512
|
},
|