@typeroll/mcp-server 0.45.40 → 0.45.42

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/AGENTS.md CHANGED
@@ -315,7 +315,7 @@ maps to one HTTP endpoint; the actual logic runs in the customer's portal
315
315
  everything you write through `?version=<branch-id>` lives on the
316
316
  branch until you `merge_branch` it back to main. Branches default
317
317
  `robots_blocked: true` so a half-finished redesign can't be indexed,
318
- and deploys land at a stable `{branch}.{project}.pages.dev` URL. That
318
+ and deploys land at a stable address (`deploy_url` on the version). That
319
319
  branch deploy renders the site's full inherited brand (settings, fonts,
320
320
  favicon, header/footer — everything not overridden on the branch), so
321
321
  it's a faithful preview of what merging to main will look like, not just
@@ -404,7 +404,7 @@ maps to one HTTP endpoint; the actual logic runs in the customer's portal
404
404
  direct PATCH attempts and points at the mode endpoint.
405
405
  **Before `trigger_deploy`: commit.** Deploys build saved content only —
406
406
  an uncommitted draft silently stays behind.
407
- - **Deploys / `{branch}.{project}.pages.dev` are the STATIC BUILD**, refreshed
407
+ - **Deploys / the branch `deploy_url` are the STATIC BUILD**, refreshed
408
408
  only by `trigger_deploy`. Reach for them when you want the real compiled
409
409
  output: publishing, a stakeholder link to the built site, or a faithful
410
410
  pre-merge check. The branch alias is permanent across re-deploys; the
@@ -592,22 +592,21 @@ Use `set_page_mode` — it snapshots a revision before flipping, so the
592
592
  previous state is restorable:
593
593
 
594
594
  ```
595
- # Convert an HTML-mode page to blocks with auto-heuristic conversion:
596
- set_page_mode page_id=about to=blocks convert=true
597
-
598
- # Or just switch the mode without converting (empty blocks):
595
+ # Switch the mode without converting the HTML body:
599
596
  set_page_mode page_id=about to=blocks
600
597
 
601
598
  # Switch back to HTML (drops the block tree; revision retains it):
602
599
  set_page_mode page_id=about to=html
603
600
  ```
604
601
 
605
- The heuristic converter recognises `<h1-4>` → heading, `<img>` → image,
606
- `<a.btn>` → button, `grid-cols-2` → two-column, `<section>` / hero divs
607
- → section. Anything it can't classify becomes a `core/prose` block,
608
- which preserves the raw HTML losslessly. Run with `convert_page_to_blocks
609
- dry_run=true` first if you want to inspect the proposal before
610
- committing.
602
+ `convert_page_to_blocks` previews a heuristic conversion and lists
603
+ `unconverted` text, classes, and markup. It does not write, and
604
+ `set_page_mode` does not apply that preview. A person accepts the
605
+ preview in the page editor. The heuristic recognises `<h1-4>` →
606
+ heading, `<img>` → image, `<a.btn>` → button, `grid-cols-2` →
607
+ two-column, `<section>` / hero divs → section. Link-wrapped card text
608
+ and author classes are reported as unconverted rather than discarded
609
+ silently.
611
610
 
612
611
  ### "Build a directory or migrate a content family"
613
612
 
@@ -985,7 +984,9 @@ design as perfect/approved off a glance or a partial pass.
985
984
 
986
985
  Preview shows DB state (drafts included). Live (`get_site → urls.production`)
987
986
  shows the most recent deploy. Branch deploys live at
988
- `get_version → deploy_url` (`{branch}.{project}.pages.dev`).
987
+ `read_version → deploy_url`. The publishing setup decides that host (under a
988
+ Hosting Group, a `v-…` host under the group's site address base); never
989
+ construct it or guess a `pages.dev` alias.
989
990
 
990
991
  ## Branches
991
992
 
@@ -1001,7 +1002,7 @@ the live site until you `merge_branch`.
1001
1002
 
1002
1003
  Branches default `robots_blocked: true`. While iterating, preview the branch
1003
1004
  with a reused `get_preview_link` (DB-live, no build). Deploys to a branch land
1004
- at a stable URL (`{branch}.{project}.pages.dev`) — that's the compiled static
1005
+ at a stable URL (`deploy_url` on the version) — that's the compiled static
1005
1006
  build, for sharing the finished result / stakeholder review, not per-edit
1006
1007
  preview.
1007
1008
 
package/README.md CHANGED
@@ -226,8 +226,8 @@ the full reference + concrete operation recipes.
226
226
  `verify_migration_urls` (successful rows omitted unless requested), plus
227
227
  `repair_migration_plain_text` for dry-run-first cleanup of legacy WordPress
228
228
  entities and markup in allowlisted plain-text fields.
229
- - **Branches** — create, read, delete, merge. Branch deploys get their
230
- own URL at `{branch}.{project}.pages.dev`.
229
+ - **Branches** — create, read, delete, merge. A deployed branch gets its own
230
+ stable address, reported as `deploy_url` by `list_versions` / `read_version`.
231
231
  - **Deploy** — trigger (with `dry_run` to build without publishing), list, get
232
232
  status. A finished job reports `cost`: what the build consumed in server
233
233
  time, broken down per phase. Estimates from a rate card, not billing records.
@@ -240,6 +240,9 @@ the full reference + concrete operation recipes.
240
240
  on the write call; inspect/discard with `read_working_copy` /
241
241
  `discard_working_copy`. Status changes and structural operations apply
242
242
  immediately.
243
+ - **History** — `list_page_revisions`, `read_page_revision` and
244
+ `restore_page_revision` (to a draft, or saved with `save: true`) undo page
245
+ changes from earlier saves.
243
246
 
244
247
  ## Direct REST API access
245
248