@typeroll/mcp-server 0.45.129 → 0.45.131
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 +21 -2
- package/dist/bundled-content.js +11 -11
- package/dist/rest-reference.js +1 -0
- package/dist/server.js +2 -0
- package/dist/tools/bulk.js +1 -1
- package/dist/tools/migration.js +1 -1
- package/dist/tools/page-blocks.js +20 -3
- package/dist/tools/pages.js +1 -1
- package/dist/tools/settings.js +1 -1
- package/dist/tools/sites.js +22 -2
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/skills/tr-brand.md +2 -0
- package/skills/tr-edit-site.md +6 -0
- package/skills/tr-header-footer.md +19 -0
- package/skills/tr-migrate-wp.md +3 -1
- package/skills/tr-new-site.md +3 -0
- package/skills/tr-seo.md +2 -1
- package/skills/tr-starter-design.md +2 -0
- package/skills/tr-upgrade-rendering.md +5 -0
- package/workspace-templates/workflows/design.md +2 -0
- package/workspace-templates/workflows/migration.md +2 -0
package/AGENTS.md
CHANGED
|
@@ -160,7 +160,14 @@ maps to one HTTP endpoint; the actual logic runs in the customer's portal
|
|
|
160
160
|
site (owner-organization admin; refused while a custom domain is live or
|
|
161
161
|
verified). An archived site refuses every other write. `purge_site_media`
|
|
162
162
|
permanently deletes an archived site's media (irreversible — confirm with
|
|
163
|
-
the user first).
|
|
163
|
+
the user first). Deleting an archived site for good is two steps and needs
|
|
164
|
+
an owner of the owning organization on their own connection:
|
|
165
|
+
`get_site_deletion_inventory` (writes nothing; blockers, counts, what stays
|
|
166
|
+
in the owner's accounts, a digest), then — only after the owner explicitly
|
|
167
|
+
confirms that inventory for this site — `delete_site` with its
|
|
168
|
+
`confirm.body`. A 202 `in_progress` means call again with the same
|
|
169
|
+
arguments. Tell the owner about the `untouched` resources (Git repository,
|
|
170
|
+
hosting project that keeps serving, DNS). `get_site` reports `lifecycle.status` and
|
|
164
171
|
`ai_scripts_enabled`; `get_media_upload_status` is the upload pre-flight
|
|
165
172
|
the portal media library shows.
|
|
166
173
|
|
|
@@ -399,6 +406,18 @@ maps to one HTTP endpoint; the actual logic runs in the customer's portal
|
|
|
399
406
|
write. Scope guide: one placement → `core/embed`; a reusable
|
|
400
407
|
widget → `create_block_type` with `script`; a site-wide tag →
|
|
401
408
|
`settings.scripts_head` / `scripts_body_end`.
|
|
409
|
+
**Consent:** a widget that sets cookies or tracks visitors (an energy
|
|
410
|
+
comparer, a booking or map widget) gets `consent: "optional"`. Its
|
|
411
|
+
`html` (iframes and images included) and `js` then stay off until the
|
|
412
|
+
visitor accepts all cookies in the site's cookie banner; until then a
|
|
413
|
+
placeholder with a button that opens the banner shows
|
|
414
|
+
(`consent_placeholder` replaces its built-in sentence, which follows the
|
|
415
|
+
page language). On a later visit with stored consent it loads at once;
|
|
416
|
+
"necessary only" and "decline" keep it off. It needs
|
|
417
|
+
`settings.cookie_consent.enabled: true` — the write returns a
|
|
418
|
+
`consent_embed_without_banner` warning otherwise. Leave `consent`
|
|
419
|
+
`"none"` (the default) for a vendor snippet that asks for consent
|
|
420
|
+
itself, so the visitor is not asked twice.
|
|
402
421
|
- **Forms 2.0** (template_capabilities_version ≥ 0.18.0): forms can
|
|
403
422
|
carry `steps[]` — each step is a Block[] tree mixing `form/*` field
|
|
404
423
|
blocks (text/email/phone/number, textarea, select/radio_group/
|
|
@@ -1318,7 +1337,7 @@ preview.
|
|
|
1318
1337
|
|---|---|
|
|
1319
1338
|
| **Guide + skills (playbook)** | `read_guide` (returns this whole guide — the bridge for hosted clients that can't read it off disk), `list_skills`, `read_skill` — the bundled `tr-*.md` recipes (incl. `tr-responsive` for per-breakpoint layout). Call `list_skills` first when a task looks like "build / migrate / redesign a site", then `read_skill name=…`. No API key or site context needed. |
|
|
1320
1339
|
| **Discovery** | `get_site`, `create_site`, `create_site_and_migrate`, `create_site_and_plan` (org-scoped key only — see below), `update_site` (incl. `ai_scripts_enabled`, admin), `list_versions`, `read_site_settings` |
|
|
1321
|
-
| **Site lifecycle** | `archive_site`, `restore_site`, `purge_site_media` (archived sites only, irreversible). Owner-organization admin, as in the portal. |
|
|
1340
|
+
| **Site lifecycle** | `archive_site`, `restore_site`, `purge_site_media` (archived sites only, irreversible). Owner-organization admin, as in the portal. `get_site_deletion_inventory`, `delete_site` (archived sites only, permanent; an organization owner's own connection, after the owner confirms the inventory). |
|
|
1322
1341
|
| **Workflows** | `list_workflows`, `start_workflow` (write; `rebuild_deploy` admin), `get_workflow`, `approve_workflow` (only `paused_for_review`, with the user's consent), `cancel_workflow` |
|
|
1323
1342
|
| **Access** | `list_api_keys`, `revoke_api_key` (site admin), `list_organization_api_keys`, `revoke_organization_api_key` (organization key; new keys are created only in the portal), `list_site_shares`, `share_site`, `update_site_share`, `revoke_site_share` (site admin), `create_organization_invite`, `list_organization_invites`, `revoke_organization_invite` (organization key), `read_organization_ai_settings`, `set_organization_ai_key`, `remove_organization_ai_key`, `set_organization_ai_site_access` (the portal AI chat's own key and Sites; organization key) |
|
|
1324
1343
|
| **Organization publishing** | `read_organization_publishing_connections`, `diagnose_organization_github_connection`, `diagnose_organization_cloudflare_connection`, `disconnect_organization_publishing_provider`, `connect_organization_cloudflare`, `prepare_organization_media_storage`, `save_organization_media_access`, plus builds, Hosting Groups, domains and media migration tools (organization key) |
|