@presentation-md/mcp-server 1.8.0 → 1.10.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.
@@ -37,7 +37,7 @@ export const generateDeckPromptTool = {
37
37
  "CRAFT MANDATE (non-negotiable — beat Gamma / Beautiful.ai / md-slides / frontend-slides / Claude Design canvas on first glance):",
38
38
  "- Prefer stunning-25 themes when the brief matches (see stunning_25_reference). Open that structured proof and match density — do not invent a watered-down palette.",
39
39
  "- Ban Inter-only / purple-on-white / cream-terracotta defaults unless the chosen theme owns them (see anti_slop_reference).",
40
- "- Match a layout_recipes_reference slide map (pitch / launch / wrap / neon / poster / paper) before freehanding layouts.",
40
+ "- Match a layout_recipes_reference slide map (pitch / launch / wrap / neon / poster / paper / hud / modernist / hard-bento / glass / electric) before freehanding layouts.",
41
41
  "- Include ≥1 image-hero for visual/investor/launch/brand decks (kinetic-wrapped wraps may use ranked/streak/metric/hero-stat instead).",
42
42
  "- Force asymmetry early: every comparison MUST set emphasis left|right; prefer non-1-1 two-column ratios; 5-card grids use columns:\"bento\".",
43
43
  "- Rankings / top-N → layout ranked-list (not custom-html bars). Mega wrap numbers → stat-row variant:\"hero\".",
@@ -45,16 +45,18 @@ export const generateDeckPromptTool = {
45
45
  "- Logo / customer walls → logo-wall. Year wraps (kinetic-wrapped) need tone on ≥3 slides.",
46
46
  "- Wrap / store / launch / investor closes → closing actions[] with solid + outline pills (cta alone is weak on stunning-25).",
47
47
  "- Every closing actions[] pill needs an icon (FA brands for social; rocket/download/calendar/book for CTAs) — PPTX maps icons to glyph prefixes.",
48
- "- Match atmosphere to the brief: loud/thin surfaces (coral, raw-grid, sakura, retro-windows, stencil-tablet, retro-zine, daisy-days, block-frame, creative-mode, capsule, scatterbrain, 8-bit-orbit, cobalt-grid, peoples-platform, bold-signal, broadside, …) for punchy brand energy; neon/vapor/y2k/retro-arcade for cinematic night; paper/editorial themes (claude, soft-editorial, heritage-editorial, emerald-editorial, vintage-editorial, pink-script, ft-editorial, vellum, paper-ink, long-table, broadsheet, biennale-yellow, pastel-dreamy, …) for magazine quiet — PPTX keeps washes, double mastheads, dual insets, hero-gated candy/pills/corner blots, always-on loud frames/offset-shadow strips/multi-layer arcade shadows/Win95 bevels/cobalt grid+hatch/plates/tablets, neon rim/scanlines/horizon glow/soft aero shadows, mat woodglow+cream rim, and broadside fire rail as native shapes.",
49
- "- Paper honesty: prefer quote + comparison+emphasis + short literary leads; avoid soft corporate card stacks. Fiber grain is HTML-only — ship HTML (or say so) when paper tooth is the brand.",
50
- "- Loud honesty: stencil-tablet / retro-zine / daisy-days / block-frame / creative-mode / sakura-chroma / capsule / scatterbrain / 8-bit-orbit / retro-windows / cobalt-grid expect hard frames + offset-shadow strips (or multi-layer arcade / Win95 bevel / cobalt grid+hatch chrome) on every slide (pills/tape/blocks/chroma may stay hero-gated) — don't invent custom-html stickers for atmosphere.",
48
+ "- Match atmosphere to the brief: loud/thin surfaces (coral, raw-grid, sakura, retro-windows, stencil-tablet, retro-zine, daisy-days, block-frame, creative-mode, capsule, scatterbrain, 8-bit-orbit, cobalt-grid, peoples-platform, bold-signal, broadside, genz-bento, bauhaus, neo-grid-bold, bold-poster, creative-voltage, electric-studio, studio, brutalist-mono, …) for punchy brand energy; neon/vapor/y2k/retro-arcade for cinematic night; aerospace-hud / crt-terminal / blueprint for instrument/tech; aurora-glass / glassmorphism for frosted product; paper/editorial themes (claude, soft-editorial, heritage-editorial, emerald-editorial, vintage-editorial, pink-script, ft-editorial, vellum, paper-ink, long-table, broadsheet, biennale-yellow, pastel-dreamy, editorial-serif, …) for magazine quiet — PPTX keeps washes, double mastheads, dual insets, hero-gated candy/pills/corner blots, always-on loud frames/offset-shadow strips/multi-layer arcade shadows/Win95 bevels/cobalt grid+hatch/plates/tablets, hard-border cards (genz/acid/bauhaus/neo-grid/bold-poster/raw-grid/voltage/Pulse/electric/studio/grove/cartesian/vintage/serif/botanical/glass/crt/mono/signal), neon rim/scanlines/horizon glow/soft aero shadows, mat woodglow+cream rim, HUD reticles/telemetry, and broadside fire rail as native shapes.",
49
+ "- Paper honesty: prefer quote + comparison+emphasis + short literary leads; avoid soft corporate card stacks. Fiber grain is HTML-only — ship HTML (or say so) when paper tooth is the brand. vintage-editorial / editorial-serif keep hard/hairline card strokes in PPTX.",
50
+ "- Loud honesty: stencil-tablet / retro-zine / daisy-days / block-frame / creative-mode / sakura-chroma / capsule / scatterbrain / 8-bit-orbit / retro-windows / cobalt-grid / genz-bento / bauhaus / neo-grid-bold / bold-poster / raw-grid / creative-voltage / electric-studio / studio / brutalist-mono expect hard frames + offset-shadow strips (or multi-layer arcade / Win95 bevel / cobalt grid+hatch chrome) and hard-border cards on every slide (pills/tape/blocks/chroma may stay hero-gated) — don't invent custom-html stickers for atmosphere.",
51
51
  "- Atmosphere honesty: neon-noir / vaporwave / y2k-aero / retro-arcade expect cyan/pink rims, rain/arcade scanlines or horizon glow, soft aero shadow stubs, plus a cinematic image-hero or punchy quote — don't flatten into SaaS grids.",
52
- "- Poster honesty: coral / peoples-platform / bold-signal / broadside expect hard poster frames + hard-border cards and a bold beat (image-hero, comparison, quote, or punchy stats). mat wants a mid-century beat (quote / image-hero / comparison / punchy stats) with woodglow + cream rim chrome.",
53
- "- Pulse (kinetic-wrapped): set tone on ≥3 slides + a ranked/streak/metric/hero-stat beat — PPTX carries hard frames, soft blobs, and eyebrow chips (not mix-blend).",
52
+ "- Poster honesty: coral / peoples-platform / bold-signal / broadside expect hard poster frames + hard-border cards (bold-signal accent rims) and a bold beat (image-hero, comparison, quote, or punchy stats). mat wants a mid-century beat (quote / image-hero / comparison / punchy stats) with woodglow + cream rim chrome.",
53
+ "- HUD honesty: aerospace-hud / crt-terminal / blueprint expect instrument chrome plus a data beat (chart / data-table / stat-row / ranked-list / timeline / metric-ring) — don't flatten into soft marketing grids.",
54
+ "- Glass honesty: aurora-glass / glassmorphism expect a frosted product beat (image-hero / quote / stats) — PPTX keeps glass rims (not true blur).",
55
+ "- Pulse (kinetic-wrapped): set tone on ≥3 slides + a ranked/streak/metric/hero-stat beat — PPTX carries hard frames, soft blobs, eyebrow chips, and 3pt accent card borders (not mix-blend).",
54
56
  "- risograph-zine: prefer comparison+emphasis and a punchy quote — PPTX overprint is layered ovals, not true multiply.",
55
57
  "- candy-pop: set meta.company (or meta.marquee) so the yellow ticker brands the deck — never hardcode Jellybean; cards get hard ink borders in PPTX.",
56
58
  "- Add brief notes on 2–4 key slides.",
57
- "- Call audit_deck before shipping; fix warnings that mention asymmetry, image-hero, tone, emphasis, dual CTA, closing icons, atmosphere, poster, mat, cobalt-grid, or magazine beats.",
59
+ "- Call audit_deck before shipping; fix warnings that mention asymmetry, image-hero, tone, emphasis, dual CTA, closing icons, atmosphere, poster, mat, cobalt-grid, HUD/tech, bauhaus, genz-bento, glass, electric-studio, brutalist-mono, cartesian, or magazine beats.",
58
60
  "- Call judge_deck (t1→t2; t3 when stakes are high). Treat local_draft as a floor, not a ship grade. Schema-valid ≠ shippable.",
59
61
  "- Open the theme's structured gallery proof when listed in stunning-25 — match that ceiling, do not water down.",
60
62
  ].join("\n");
@@ -1 +1 @@
1
- {"version":3,"file":"generate-deck-prompt.js","sourceRoot":"","sources":["../../src/tools/generate-deck-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,SAAS,WAAW;IAClB,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC/C,MAAM,QAAQ,GAAG,OAAO,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC1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nJ,8LAA8L;YAC9L,uHAAuH;YACvH,sJAAsJ;YACtJ,sCAAsC;YACtC,yQAAyQ;YACzQ,+HAA+H;YAC/H,iHAAiH;SAClH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEb,OAAO;YACL,KAAK,EAAE,SAAS;YAChB,MAAM;YACN,aAAa,EAAE,YAAY;YAC3B,KAAK;YACL,qBAAqB,EAAE,mBAAmB;YAC1C,gBAAgB,EAAE,QAAQ,IAAI,SAAS;YACvC,qBAAqB,EAAE,UAAU,IAAI,SAAS;YAC9C,mBAAmB,EAAE,QAAQ,IAAI,SAAS;YAC1C,wBAAwB,EAAE,aAAa,IAAI,SAAS;YACpD,OAAO,EAAE,KAAK,CAAC,OAA4C;YAC3D,UAAU,EAAE,KAAK,CAAC,UAAU;SAC7B,CAAC;IACJ,CAAC;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@presentation-md/mcp-server",
3
- "version": "1.8.0",
3
+ "version": "1.10.0",
4
4
  "description": "MCP server exposing presentation-md tools to any MCP-compatible AI agent.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,10 +14,10 @@
14
14
  "dependencies": {
15
15
  "@modelcontextprotocol/sdk": "^1.0.0",
16
16
  "zod": "^3.23.0",
17
- "@presentation-md/core": "1.10.0",
18
- "@presentation-md/create-theme": "1.0.27",
19
- "@presentation-md/export": "^1.18.0",
20
- "@presentation-md/render": "1.6.19"
17
+ "@presentation-md/core": "1.12.0",
18
+ "@presentation-md/create-theme": "1.0.29",
19
+ "@presentation-md/export": "^1.20.0",
20
+ "@presentation-md/render": "1.6.21"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^20.0.0",