@typeroll/mcp-server 0.45.60 → 0.45.61
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 +10 -0
- package/dist/bundled-content.js +5 -5
- package/dist/tools/page-blocks.js +31 -16
- package/dist/tools/pages.js +11 -5
- package/dist/tools/settings.js +2 -2
- package/dist/tools/styles.js +4 -4
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/skills/tr-brand.md +8 -0
- package/skills/tr-migrate-wp.md +3 -0
- package/skills/tr-migration-evidence.md +35 -0
- package/skills/tr-new-site.md +3 -1
package/AGENTS.md
CHANGED
|
@@ -64,6 +64,16 @@ maps to one HTTP endpoint; the actual logic runs in the customer's portal
|
|
|
64
64
|
or let the content type's `route_template` derive it. All articles and
|
|
65
65
|
directory entries are Pages created with `create_page`.
|
|
66
66
|
|
|
67
|
+
A requested address is never changed silently. If the `slug` (or `path`)
|
|
68
|
+
you pass to `create_page`/`clone_page` is already in use — drafts and
|
|
69
|
+
unsaved drafts included — the call fails with 409 `slug_in_use` (or
|
|
70
|
+
`path_in_use`) and `details: { page_id, path }` of the existing page: edit
|
|
71
|
+
that page or choose another slug. Only a slug derived from the title is
|
|
72
|
+
numbered (`tack` → `tack-2`), and the response then carries
|
|
73
|
+
`warnings: [{ code: "slug_adjusted", requested, slug, path,
|
|
74
|
+
conflicting_page_id }]`. Link to the returned `url`, not the slug you
|
|
75
|
+
expected.
|
|
76
|
+
|
|
67
77
|
- **Partials = global blocks.** Three kinds:
|
|
68
78
|
- `header` — auto-injected at the top of every page.
|
|
69
79
|
- `footer` — auto-injected at the bottom of every page.
|