brilliant-directories-mcp 6.41.21 → 6.41.23

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.
@@ -264,7 +264,7 @@ Never reach for CSS `display:none`, template string-manipulation, or JS hiding w
264
264
 
265
265
  **`email_body` is content-only.** BD wraps it in a parent `<td>` with full document scaffold (doctype/html/head/body) already in place. Open with content directly (`<p>`, `<div>`, `<h1>`/`<h2>`, `<img>`, or section tables below); do not emit the scaffold. Images follow **Rule: Image URLs**; Pexels stock allowed for decoration.
266
266
 
267
- **Each section is its own top-level `<table>` in `email_body` — no parent element wraps them.** Sibling tables only; any wrapper (table, div, span) collapses the sibling pattern and breaks Froala drag-reorder. Output shape: `<table width="100%" style="width:100%;">...</table>` repeated, one per logical section (hero, intro, member card, CTA, footer). Both HTML `width` attribute AND inline `style` width required (older Outlook reads HTML attribute; modern clients use CSS).
267
+ **Each section is its own top-level `<table>` in `email_body` — no parent element wraps them.** Sibling tables only; any wrapper (table, div, span) collapses the sibling pattern and breaks Froala drag-reorder. Output shape: `<table width="100%" style="width:100%;">...</table>` repeated, one per logical section (hero, intro, member card, CTA, footer). Both HTML `width` attribute AND inline `style` width required (older Outlook reads HTML attribute; modern clients use CSS) — same dual-declaration applies to fixed-pixel `<td>` cells inside multi-column layouts: `<td width="X" style="width:Xpx;">` not just one or the other.
268
268
 
269
269
  **`notemplate` selects BD's wrapper mode.** Values `0`/`2`/`3`/`4` wrap `email_body` in a 600px containing table (logo left/center/right/none); your sections fill that width — never add your own max-width wrapper. **Default to `2` (template + logo center)** unless user specifies otherwise or asks for plaintext. User phrases mapping to `2`: "template center," "BD template," "use the site email template," "branded email," or explicit "`notemplate=2`" — on these, write only inner sections, no agent-added wrapper. `notemplate=1` ships unwrapped (no template, no logo, no 600px) — section pattern does NOT apply; emit minimal HTML or `<p>` chains. Mutable on `updateEmailTemplate` — switching modes on an existing template is supported.
270
270
 
@@ -276,7 +276,7 @@ Never reach for CSS `display:none`, template string-manipulation, or JS hiding w
276
276
 
277
277
  **Verify `<img>` sources return 200 before embedding (if runtime can fetch).** Broken images are permanent in delivered email — clients cache 404s on first open. Without fetch capability: stick to canonical Pexels URLs (`https://images.pexels.com/photos/<id>/pexels-photo-<id>.jpeg`) and images confirmed on the subject's own web presence per **Rule: Image sourcing**. Avoid guessed BD-hosted paths or URLs from older context.
278
278
 
279
- **Size Pexels images with `?w=<2× display width>` — emails are hotlinked.** Recipients fetch on open. `?w=1200` for 600px hero, `?w=300` for 150px thumbnail. Same pattern as inline body per **Rule: Image URLs**.
279
+ **Every Pexels URL in `email_body` MUST end with `?auto=compress&cs=tinysrgb&w=1200`** — every placement, both `.jpeg` and `.png`. Reject URLs with `dl=`, `fm=`, attribution params, or no query string. If the optimized URL fails, swap the photo — never downgrade the URL shape. Same for other stock CDNs.
280
280
 
281
281
  **On `<img>` use `max-width:100%`, never `max-width:600px` or any pixel value.** BD's global template already constrains body to 600px; a pixel `max-width` on the image either duplicates the cap or, on retina/high-DPI clients, forces upscaling that blurs. Pattern: `style="width:100%; max-width:100%; height:auto; display:block;"`. Same applies to section `<table>` widths — use `width="100%"` + `style="width:100%;"`, never a pixel value.
282
282
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "brilliant-directories-mcp",
3
3
  "mcpName": "io.github.brilliantdirectories/brilliant-directories-mcp",
4
- "version": "6.41.21",
4
+ "version": "6.41.23",
5
5
  "description": "Official MCP server for Brilliant Directories — manage members, posts, leads, reviews, and more.",
6
6
  "main": "index.js",
7
7
  "bin": {