@awesomate/hosting-mcp 0.22.2 → 0.22.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awesomate/hosting-mcp",
3
- "version": "0.22.2",
3
+ "version": "0.22.3",
4
4
  "description": "Awesomate MCP server — lets Claude manage your Awesomate WordPress hosting, plan, limits, n8n automations, and build Node/static apps + databases",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -313,7 +313,7 @@ scripts/deploy.sh --from ~/Studio/mysite --domain mysite.awesomate.site --with-d
313
313
  Never deploy without confirming with the user first, and always report the
314
314
  snapshot id and the verified live status.
315
315
 
316
- **"Verified live status" means a real browser at 390px and 1440px, not a 200 from curl.**
316
+ **"Verified live status" means a real browser at 390, 768, 844×390, 1024 and 1440px, not a 200 from curl** — the in-between widths are where a header wraps and only the owner's iPad notices.
317
317
  Run the checklist in `references/wordpress-launch-checks.md` — full-bleed sections, gutters,
318
318
  logo and favicon present, fonts loaded, no broken images, a real 404 — before saying done. Every
319
319
  item on it was reported by a site owner after an agent had already said done.
@@ -92,9 +92,40 @@ theme's `Version:` header (`style.css`). A new file is not seen until that key c
92
92
  file. Verified: the same deploy with `0.1.0 → 0.2.0` registered the patterns instantly. Treat the
93
93
  version bump as part of the deploy, not a release ceremony.
94
94
 
95
+ ## 6. The header wraps between 600px and ~1000px (iPad, phone in landscape)
96
+
97
+ **Symptom:** the owner says the margins are "bad again" on an iPad or a phone turned sideways, but
98
+ every band measures full-bleed. What they are seeing is the **header**: logo and nav links on one
99
+ row, the buttons dropped to a second row on the left, and a slab of white under them.
100
+
101
+ **Cause:** core's navigation block collapses to the hamburger only below **600px**. Between 600 and
102
+ roughly 1000px the logo, the links and the header buttons all try to share one flex row, and the
103
+ row wraps. It looks fine on a phone (collapsed) and on a desktop (fits), which is exactly why phone
104
+ and desktop checks both pass while the owner's iPad does not.
105
+
106
+ **Fix (theme CSS, the block has no breakpoint setting):**
107
+ ```css
108
+ .site-header .nav-row { flex-wrap: nowrap; }
109
+ @media (max-width: 1023px) {
110
+ .site-header .wp-block-navigation { order: 3; } /* hamburger last */
111
+ .site-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
112
+ .site-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
113
+ }
114
+ ```
115
+ Two faults travel with it at the same widths: core stacks **columns to a single column below
116
+ 782px**, so a three-card row becomes a tower on an iPad in portrait (make 3+ column rows two-up
117
+ between 600 and 781 with `display:grid` on `.wp-block-columns:has(> .wp-block-column:nth-child(3))`);
118
+ and a **fixed 96px section padding** is half the screen on a landscape phone — make the section
119
+ spacing preset fluid, e.g. `clamp(64px, 6.7vw, 96px)`.
120
+
121
+ **Verify at 390, 600, 768, 844×390, 1024 and 1440** — never just phone and desktop. The header
122
+ test: the logo and the primary button share a row (their `getBoundingClientRect().top` differ by
123
+ less than 24px), the hamburger is visible up to 1023 and the links from 1024.
124
+
95
125
  ## The launch checklist
96
126
 
97
- Run in a real browser against the LIVE domain, at 390 and 1440, before reporting done:
127
+ Run in a real browser against the LIVE domain at **390, 768, 844×390, 1024 and 1440** the in-between
128
+ widths are where headers wrap — before reporting done:
98
129
 
99
130
  1. Every coloured section is full-bleed (`getBoundingClientRect().left <= 1`) with text inset ≥16px.
100
131
  2. No horizontal overflow (`documentElement.scrollWidth <= clientWidth + 1`).
@@ -104,5 +135,6 @@ Run in a real browser against the LIVE domain, at 390 and 1440, before reporting
104
135
  6. A nonsense URL returns **404** with the theme's 404 template, not a 200 page.
105
136
  7. Section order matches the design (read the `h1,h2` sequence), and neither nav nor decorative
106
137
  marks appear inside page content.
107
- 8. If the deploy added pattern files, the theme `Version:` was bumped and every `wp:pattern`
138
+ 8. The header is one row at every width above, with the hamburger up to 1023 and the links from 1024.
139
+ 9. If the deploy added pattern files, the theme `Version:` was bumped and every `wp:pattern`
108
140
  in the parts actually rendered (an unregistered slug renders as empty, silently).