@typeroll/mcp-server 0.45.124 → 0.45.125
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 +5 -3
- package/dist/bundled-content.js +5 -5
- package/dist/tools/menus.js +6 -3
- package/dist/tools/page-templates.js +1 -1
- package/dist/tools/pages.js +3 -1
- package/dist/tools/snippets.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/skills/tr-header-footer.md +5 -1
- package/skills/tr-new-site.md +3 -1
- package/skills/tr-page-template.md +6 -0
- package/skills/tr-responsive.md +12 -3
package/AGENTS.md
CHANGED
|
@@ -1329,14 +1329,14 @@ preview.
|
|
|
1329
1329
|
| **Pages — blocks** | `get_page_blocks`, `add_block`, `update_block`, `move_block`, `remove_block`, `duplicate_block`, `set_block_responsive`, `set_page_mode` (never converts HTML into blocks) |
|
|
1330
1330
|
| **Pages — meta** | `get_page_preview` |
|
|
1331
1331
|
| **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>`. |
|
|
1332
|
-
| **Menus** | `list_menus`, `read_menu`, `update_menu` (whole tree, `expected_updated_at`), `add_menu_item`, `delete_menu`, `find_menu_usage`. Items: `page` (`page_id`, follows renames), `url`, `children` (a page's child pages as a submenu), `heading`; at most 3 levels. Locations `primary`, `footer`, `mobile
|
|
1332
|
+
| **Menus** | `list_menus`, `read_menu`, `update_menu` (whole tree, `expected_updated_at`), `add_menu_item`, `delete_menu`, `find_menu_usage`. Items: `page` (`page_id`, follows renames), `url`, `children` (a page's child pages as a submenu), `heading`; at most 3 levels. Locations `primary`, `footer`, `mobile`, one menu each; `take_locations: true` moves a taken location to the menu you save (the other menu keeps its items). `auto_add_pages` appends new top-level pages. A `core/navigation_links` block with `source: "menu"`, `menu: "location:primary"` shows one (render version 15). Saved directly, live at the next publication. |
|
|
1333
1333
|
| **Site fields** | `read_site_fields`, `define_site_fields` (all groups, site admin, `expected_updated_at`), `update_site_fields` (values patch; `null` removes). Settings pages the client fills in: groups of typed fields with `access` `editor` or `admin`; opening hours are an `object` field with `presentation: "opening_hours"`. Pages show values with `{{site.fields.name}}`, the `core/site_field` block and `core/show_if` conditions such as `site.fields.show_booking`. Saved directly, live at the next publication. |
|
|
1334
1334
|
| **Live snippets** | `list_snippets`, `read_snippet`, `update_snippet` (create or replace the whole snippet, `expected_updated_at`), `delete_snippet`. Content outside the build: a save reaches the live site within a minute without publishing. `kind` `html`, `text` or `dated` (entries by `weekday` or `date`, `fallback`; today's entry is chosen in the visitor's browser in the site's time zone), so a week's lunch is one write per week. Show one with a `core/snippet` block (`snippet`: id); a site field with `live: true` shown by `core/site_field` updates the same way. Per site, not per branch. |
|
|
1335
1335
|
| **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. |
|
|
1336
1336
|
| **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`). Other named block parts (`read_block_type` → `parts`, e.g. `core/rich_heading.link`, `core/hero.primary_button`) take a style site-wide through the style's `parts`, or on one block through `data.part_styles`; the block's choice replaces the site-wide one, and a style class on the element wins over both. Contrast below WCAG AA is refused. |
|
|
1337
1337
|
| **Block types** | `list_block_types`, `read_block_type`, `find_pages_using_block_type`, `list_block_type_starters`, `validate_block_type`, `preview_block_type`, `create_block_type`, `update_block_type` (`renames`, `confirm_data_loss`), `delete_block_type`, `export_block_types`, `import_block_types` (`on_conflict`: skip, rename, replace). Authoring and import need write permission. |
|
|
1338
1338
|
| **Content types** | `list_content_types`, `read_content_type`, `create_content_type`, `update_content_type`, `delete_content_type`, `change_page_content_type`, `page_completeness` |
|
|
1339
|
-
| **Page templates** | `list_page_templates`, `read_page_template`, `create_page_template
|
|
1339
|
+
| **Page templates** | `list_page_templates`, `read_page_template`, `create_page_template` (a display `name` such as "Artikel" derives the ID `artikel`; or pass `id`), `update_page_template`, `delete_page_template` |
|
|
1340
1340
|
| **Media** | `get_media_upload_status`, `list_media`, `read_media`, `create_upload_url`, `upload_media_from_url`, `upload_media_inline`, `update_media`, `delete_media`, `finalize_media`, `finalize_all_media`, `generate_image_variants`, `suggest_alt_text_context` |
|
|
1341
1341
|
| **Redirects** | `list_redirects`, `create_redirect`, `delete_redirect`. `from_path` may be a PATTERN: a trailing `*` (with `:splat` in the target) or `:name` for one segment — one rule retires a whole family of dead URLs (`/category/*` → `/blogg/:splat`). Mid-path splats and query strings are refused, as is any rule that would hide a live page. |
|
|
1342
1342
|
| **Migration inventory + launch gate** | `get_migration_readiness` (preflight — CALL FIRST), `list_migration_urls`, `add_migration_urls`, `update_migration_url`, `update_migration_urls`, `delete_migration_url`, `import_sitemap`, `import_gsc_performance`, `repair_migration_plain_text`, `verify_migration_urls`, `record_migration_seo_acceptance`, `get_migration_launch_report`. Sitemap indexes are recursive. GSC supports direct Search Console access or CSV and aggregates fragment variants. Plain-text repair is allowlisted and dry-run-first. A complete unfiltered URL check and reviewed SEO evidence are bound to the latest hosted deploy; the launch report fails closed when either is stale or incomplete. |
|
|
@@ -1459,7 +1459,9 @@ names remain stable. Prose supports typed typography/alignment, containers have
|
|
|
1459
1459
|
responsive `min_height_px`, and Post Card supports an action group and optional
|
|
1460
1460
|
title icon. Use `read_block_type` for the exact current schemas. Set a Page's
|
|
1461
1461
|
`breadcrumb_label` for a short navigation label without changing its title or
|
|
1462
|
-
route
|
|
1462
|
+
route, and its `excerpt` (plain text, up to 1000 characters) for the summary that
|
|
1463
|
+
`template/page_excerpt` and Page cards show. Do not duplicate parent category
|
|
1464
|
+
information into each article body.
|
|
1463
1465
|
|
|
1464
1466
|
|
|
1465
1467
|
## Personal OAuth and site selection
|