@typeroll/mcp-server 0.45.41 → 0.45.43

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
@@ -984,7 +984,9 @@ design as perfect/approved off a glance or a partial pass.
984
984
 
985
985
  Preview shows DB state (drafts included). Live (`get_site → urls.production`)
986
986
  shows the most recent deploy. Branch deploys live at
987
- `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.
988
990
 
989
991
  ## Branches
990
992
 
@@ -1000,7 +1002,7 @@ the live site until you `merge_branch`.
1000
1002
 
1001
1003
  Branches default `robots_blocked: true`. While iterating, preview the branch
1002
1004
  with a reused `get_preview_link` (DB-live, no build). Deploys to a branch land
1003
- 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
1004
1006
  build, for sharing the finished result / stakeholder review, not per-edit
1005
1007
  preview.
1006
1008
 
@@ -1029,9 +1031,11 @@ preview.
1029
1031
  | **Insights** | `get_site_insights` — traffic, AI-assistant referrals, and first-party conversion events over 7/30/90 days. Read-only. Traffic is powered by Cloudflare Web Analytics; conversion rows come from validated Analytics attribution `click_event` targets and can be present even when the traffic provider is unavailable. |
1030
1032
  | **Pages — reads** | `list_pages`, `read_page`, `batch_read_pages` |
1031
1033
  | **Pages — writes** | `create_page`, `update_page`, `replace_page`, `batch_update_pages`, `delete_page`, `clone_page` |
1032
- | **Pages — blocks** | `get_page_blocks`, `add_block`, `update_block`, `move_block`, `remove_block`, `set_page_mode`, `convert_page_to_blocks` |
1034
+ | **Pages — blocks** | `get_page_blocks`, `add_block`, `update_block`, `move_block`, `remove_block`, `duplicate_block`, `set_block_responsive`, `set_page_mode`, `convert_page_to_blocks` (preview only), `convert_prose_block` (preview, then `accept`) |
1033
1035
  | **Pages — meta** | `get_page_preview` |
1034
- | **Global blocks (partials)** | `list_partials` (summary by default), `read_partial`, `create_free_block`, `update_partial`, `replace_partial`, `set_partial_mode`, `delete_partial`, `find_pages_using_block`, `list_blocks_with_usage` |
1036
+ | **Global blocks (partials)** | `list_partials` (summary by default), `read_partial`, `create_free_block` (`blocks` or `html_content`), `update_partial`, `replace_partial`, `set_partial_mode`, `delete_partial`, `find_pages_using_block`, `make_block_global`, `detach_global_block`. Block pages reference a global block with `core/global_block` (`global_block_id`); HTML pages use `<x-include>`. |
1037
+ | **Block templates** | `list_block_templates`, `read_block_template`, `save_block_template` (from `blocks` or `from: { page_id, block_id }`), `update_block_template`, `delete_block_template`, `insert_block_template` (copies with new ids). Per site, not per branch. |
1038
+ | **Styles** | `list_styles`, `create_style`, `update_style`, `delete_style`, `apply_standard_styles`. Blocks pick a style with `style_id` (heading parts: `eyebrow_style_id`, `subtitle_style_id`). Contrast below WCAG AA is refused. |
1035
1039
  | **Block types** | `list_block_types`, `read_block_type`, `find_pages_using_block_type`, `export_block_types`, `import_block_types` |
1036
1040
  | **Content types** | `list_content_types`, `read_content_type`, `create_content_type`, `update_content_type`, `delete_content_type`, `change_page_content_type`, `page_completeness` |
1037
1041
  | **Page templates** | `list_page_templates`, `read_page_template`, `create_page_template`, `update_page_template`, `delete_page_template` |
package/README.md CHANGED
@@ -154,15 +154,21 @@ the full reference + concrete operation recipes.
154
154
  `read_site_settings`, `update_site_settings`.
155
155
  - **Pages** — list, read, batch-read, create, update (PATCH), replace
156
156
  (PUT), batch-update, delete, clone, get-preview, `set_page_mode`
157
- (flip between blocks/html), `convert_page_to_blocks`.
157
+ (flip between blocks/html), `convert_page_to_blocks`, `convert_prose_block`.
158
158
  - **Blocks (instances)** — `get_page_blocks`, `add_block`,
159
159
  `update_block`, `move_block`, `remove_block`, `duplicate_block`,
160
160
  `set_block_responsive`. All take a `target` (page, partial, page
161
161
  template), so one tool family edits
162
162
  every block container.
163
163
  - **Global blocks (partials)** — list (summary mode by default), read,
164
- create free block, update, replace, delete, `set_partial_mode`,
165
- find-pages-using-block. New header/footer work should use the native
164
+ create free block (blocks or HTML), update, replace, delete,
165
+ `set_partial_mode`, find-pages-using-block, `make_block_global`,
166
+ `detach_global_block`. Block pages reference one with `core/global_block`.
167
+ - **Block templates** — `list_block_templates`, `read_block_template`,
168
+ `save_block_template`, `update_block_template`, `delete_block_template`,
169
+ `insert_block_template` (inserts an independent copy).
170
+ - **Styles** — `list_styles`, `create_style`, `update_style`,
171
+ `delete_style`, `apply_standard_styles`. New header/footer work should use the native
166
172
  `template/site_logo` + `core/navigation` recipe in `tr-header-footer`.
167
173
  - **Block types** — list, read, create, update, delete,
168
174
  find-pages-using-block-type, plus `.tcblocks` export/import. Custom
@@ -226,8 +232,8 @@ the full reference + concrete operation recipes.
226
232
  `verify_migration_urls` (successful rows omitted unless requested), plus
227
233
  `repair_migration_plain_text` for dry-run-first cleanup of legacy WordPress
228
234
  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`.
235
+ - **Branches** — create, read, delete, merge. A deployed branch gets its own
236
+ stable address, reported as `deploy_url` by `list_versions` / `read_version`.
231
237
  - **Deploy** — trigger (with `dry_run` to build without publishing), list, get
232
238
  status. A finished job reports `cost`: what the build consumed in server
233
239
  time, broken down per phase. Estimates from a rate card, not billing records.
@@ -240,6 +246,9 @@ the full reference + concrete operation recipes.
240
246
  on the write call; inspect/discard with `read_working_copy` /
241
247
  `discard_working_copy`. Status changes and structural operations apply
242
248
  immediately.
249
+ - **History** — `list_page_revisions`, `read_page_revision` and
250
+ `restore_page_revision` (to a draft, or saved with `save: true`) undo page
251
+ changes from earlier saves.
243
252
 
244
253
  ## Direct REST API access
245
254