@typeroll/mcp-server 0.16.4 → 0.16.5
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 +8 -0
- package/package.json +1 -1
- package/skills/tr-new-site.md +7 -0
package/AGENTS.md
CHANGED
|
@@ -119,6 +119,14 @@ maps to one HTTP endpoint; the actual logic runs in the customer's portal
|
|
|
119
119
|
pre-0.16.0 portals icons don't render — use emoji or CSS markers.
|
|
120
120
|
`core/tabs` label icons are the remaining gap (tab strip is built
|
|
121
121
|
client-side).
|
|
122
|
+
- **Grids with a partial last row: set `last_row: 'center'`** (since
|
|
123
|
+
template_capabilities_version 0.16.5). Five equal cards in a 3-col
|
|
124
|
+
`core/grid` (or 7 in 4, ...) left-align the orphans by default; with
|
|
125
|
+
`last_row: 'center'` the last row auto-centers. THE DESIGN RULE: when
|
|
126
|
+
N peer cards don't divide by the column count, center the last row or
|
|
127
|
+
change the column count — NEVER invent a "wide"/full-width variant of
|
|
128
|
+
one peer card just to fill the hole. Special treatment is a content
|
|
129
|
+
decision, not a layout patch.
|
|
122
130
|
- **`core/section` is natively full-bleed on block pages** (since
|
|
123
131
|
template_capabilities_version 0.14.0): the section's background runs
|
|
124
132
|
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.16.
|
|
3
|
+
"version": "0.16.5",
|
|
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": {
|
package/skills/tr-new-site.md
CHANGED
|
@@ -172,6 +172,13 @@ passing the whole tree inline (`block={ type: 'core/columns', slots:
|
|
|
172
172
|
slot_index=0|1`. Requires template_capabilities_version ≥ 0.15.2 — on
|
|
173
173
|
older sites use `core/grid` (children flow into columns) instead.
|
|
174
174
|
|
|
175
|
+
Partial last rows (template_capabilities_version ≥ 0.16.5): when N equal
|
|
176
|
+
cards don't divide by the grid's column count (5 cards, 3 cols), set
|
|
177
|
+
`last_row: 'center'` on the `core/grid` — the orphan row auto-centers.
|
|
178
|
+
NEVER invent a "wide" variant of one peer card to fill the hole, and
|
|
179
|
+
don't hand-roll 6-column CSS tricks; both distort content to patch
|
|
180
|
+
layout. On older sites, pick a column count that divides N.
|
|
181
|
+
|
|
175
182
|
Icons (template_capabilities_version ≥ 0.16.0): `type: 'icon'` fields on
|
|
176
183
|
`core/icon`, `core/icon_box`, and `core/step_card` render inline SVG when
|
|
177
184
|
the value is a name from `get_site_capabilities → core_icon_names` (a
|