@typeroll/mcp-server 0.14.0 → 0.15.0

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.
Files changed (2) hide show
  1. package/AGENTS.md +22 -1
  2. package/package.json +1 -1
package/AGENTS.md CHANGED
@@ -84,7 +84,28 @@ maps to one HTTP endpoint; the actual logic runs in the customer's portal
84
84
  before working with blocks — never hardcode block ids or field names,
85
85
  the available set is per-site.
86
86
 
87
- Three specifics worth knowing:
87
+ Block-library specifics worth knowing (template_capabilities_version
88
+ 0.15.0):
89
+ - **`core/media_card`** — image + text side by side (image left/right,
90
+ width third/two-fifths/half, heading + richtext + button, optional
91
+ card background/radius; stacks image-on-top below 720px). Use it for
92
+ the classic "photo next to copy" layout instead of hand-building
93
+ section+grid+html.
94
+ - **`core/hero` and `core/cta` render their buttons server-side** via
95
+ `primary_label`/`primary_url` + `secondary_label`/`secondary_url`.
96
+ (The old `buttons` array relied on client hydration that never
97
+ existed — if you see `data-buttons` in stored content it renders
98
+ nothing; rebuild with the explicit fields.)
99
+ - **`core/image` gets responsive `<picture>` automatically at build
100
+ time** — the deploy pipeline's SEO transform converts CDN `<img>`
101
+ into `<picture>` with AVIF/WebP srcset variants. You do NOT need
102
+ `core/html` for responsive images; just point `src` at an uploaded
103
+ media URL (run `generate_image_variants` first) and optionally set
104
+ `radius`. Note: the in-portal preview shows the plain `<img>` — the
105
+ `<picture>` upgrade appears on the deployed site.
106
+ - **`core/icon` / `core/icon_box` icons do not render yet** — they
107
+ emit `data-icon` placeholders awaiting an icon pipeline. Prefer
108
+ numbered markers, emoji, or CSS shapes until that ships.
88
109
  - **`core/section` is natively full-bleed on block pages** (since
89
110
  template_capabilities_version 0.14.0): the section's background runs
90
111
  edge-to-edge and meets the header with zero gap; content inside is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeroll/mcp-server",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Model Context Protocol server for the Typeroll public API. Use with Claude Code or any MCP-compatible client to manage a Typeroll site.",
5
5
  "license": "MIT",
6
6
  "repository": {