@presentation-md/mcp-server 1.16.0 → 1.17.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.
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ replace it with the block above (or re-run `npx @presentation-md/install cursor`
|
|
|
42
42
|
| `audit_deck` | Schema validate **plus** craft gates (asymmetry, loud/atmosphere/paper honesty, dual CTA, data beats). Schema-valid ≠ shippable — call before the user sees a first draft. |
|
|
43
43
|
| `judge_deck` | Craft QA tiers: `t1` schema gates, `t2` HTML metrics + screenshots, `t3` agent rubric / panel when keys exist. |
|
|
44
44
|
| `generate_deck_prompt` | Build a one-shot craft system prompt (theme palette, anti-slop, layout recipes, custom-html recipes, shortlists) + optional `density` (`speaker` / `reading`) lock. |
|
|
45
|
-
| `preview_themes` | Render 1–3 theme HTML previews for visual discovery. Pass `themes[]` and/or `shortlist` id (fills themes from theme-shortlists.json). **Pick-3 (≥2 themes) auto-defaults to `mode: "layouts"`** (multi-slide craft bake); pass `mode: "title"` only for a cover skim. Title-mode trios return `layouts_recommended`. |
|
|
45
|
+
| `preview_themes` | Render 1–3 theme HTML previews for visual discovery. Pass `themes[]` and/or `shortlist` id (fills themes from theme-shortlists.json). **Pick-3 (≥2 themes) auto-defaults to `mode: "layouts"`** (multi-slide craft bake); pass `mode: "title"` only for a cover skim. Title-mode trios return `layouts_recommended`. Each preview includes `file_url`, `compare_summary` (mood/swatches/vibe), proof deep-links, and layout bake list — agent DX without inline PNGs. |
|
|
46
46
|
| `import_pptx` | Import a `.pptx` file into deck JSON (text, tables, images, notes → layouts). |
|
|
47
47
|
| `import_markdown` | Convert Markdown outline → Deck JSON (`chart` / `html` fences supported). |
|
|
48
48
|
| `import_brand_theme` | Generate a theme from a brand's URL or CSS file, with a contrast-safety pass. |
|
|
@@ -1,13 +1,33 @@
|
|
|
1
1
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
2
2
|
import { join } from "node:path";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { pathToFileURL } from "node:url";
|
|
4
|
+
import { discoverInstalledThemes, findShortlist, loadThemeSelectionIndex, loadThemeShortlists, themeDiscoveryLinks, } from "@presentation-md/core";
|
|
5
|
+
import { buildLayoutsPreviewDeck, buildTitlePreviewDeck, getBundledThemesDir, layoutsPreviewSlideCount, renderDeck, } from "@presentation-md/render";
|
|
5
6
|
import { resolveThemesDir } from "../lib/resolve-themes.js";
|
|
6
7
|
import { assertWritablePathInCwd } from "../lib/cwd-path.js";
|
|
7
8
|
const DEFAULT_PREVIEW_DIR = ".presentation-md/theme-previews";
|
|
9
|
+
/** Layout sequence baked into layouts-mode previews (agents can narrate without opening HTML). */
|
|
10
|
+
const LAYOUTS_PREVIEW_LAYOUTS = [
|
|
11
|
+
"title",
|
|
12
|
+
"image-hero",
|
|
13
|
+
"feature-grid",
|
|
14
|
+
"two-column",
|
|
15
|
+
"comparison",
|
|
16
|
+
"ranked-list",
|
|
17
|
+
"stat-row",
|
|
18
|
+
"quote",
|
|
19
|
+
"code",
|
|
20
|
+
"closing",
|
|
21
|
+
];
|
|
22
|
+
const LAYOUTS_PREVIEW_LAYOUTS_WRAPPED = [
|
|
23
|
+
...LAYOUTS_PREVIEW_LAYOUTS.slice(0, -1),
|
|
24
|
+
"streak-grid",
|
|
25
|
+
"metric-ring",
|
|
26
|
+
"closing",
|
|
27
|
+
];
|
|
8
28
|
export const previewThemesTool = {
|
|
9
29
|
name: "preview_themes",
|
|
10
|
-
description: "Render 1–3 theme preview HTML files for visual discovery (show-don't-tell). Pass themes[] and/or a shortlist id from theme-shortlists.json (shortlist themes fill when themes is omitted; otherwise themes wins, capped at 3). Pick-3 / duo compares (≥2 themes) default to mode=\"layouts\" so agents judge body craft without a second call — pass mode=\"title\" for a fast cover-only skim. Single-theme default remains title. kinetic-wrapped previews inject tone + hero mega-stat + share pills.",
|
|
30
|
+
description: "Render 1–3 theme preview HTML files for visual discovery (show-don't-tell). Returns file paths + file:// URLs, mood/scheme/swatches, proof deep-links, and layout bake list — rich enough for agents to compare without inline PNGs. Pass themes[] and/or a shortlist id from theme-shortlists.json (shortlist themes fill when themes is omitted; otherwise themes wins, capped at 3). Pick-3 / duo compares (≥2 themes) default to mode=\"layouts\" so agents judge body craft without a second call — pass mode=\"title\" for a fast cover-only skim. Single-theme default remains title. kinetic-wrapped previews inject tone + hero mega-stat + share pills.",
|
|
11
31
|
inputSchema: {
|
|
12
32
|
type: "object",
|
|
13
33
|
properties: {
|
|
@@ -80,6 +100,15 @@ export const previewThemesTool = {
|
|
|
80
100
|
: "title";
|
|
81
101
|
const outputDir = await assertWritablePathInCwd(input["output_dir"] ?? DEFAULT_PREVIEW_DIR, "output_dir");
|
|
82
102
|
await mkdir(outputDir, { recursive: true });
|
|
103
|
+
const [selectionIndex, discovered] = await Promise.all([
|
|
104
|
+
loadThemeSelectionIndex(),
|
|
105
|
+
discoverInstalledThemes({
|
|
106
|
+
bundledThemesDir: getBundledThemesDir(),
|
|
107
|
+
nodeModulesRoot: process.cwd(),
|
|
108
|
+
}),
|
|
109
|
+
]);
|
|
110
|
+
const selectionByName = new Map(selectionIndex.themes.map((t) => [t.name, t]));
|
|
111
|
+
const discoveredByName = new Map(discovered.map((d) => [d.name, d]));
|
|
83
112
|
const previews = [];
|
|
84
113
|
for (const theme of themes) {
|
|
85
114
|
const deckJson = mode === "layouts"
|
|
@@ -89,18 +118,48 @@ export const previewThemesTool = {
|
|
|
89
118
|
const filename = mode === "layouts" ? `${theme}-layouts-preview.html` : `${theme}-preview.html`;
|
|
90
119
|
const path = join(outputDir, filename);
|
|
91
120
|
await writeFile(path, html, "utf-8");
|
|
121
|
+
const sel = selectionByName.get(theme);
|
|
122
|
+
const disc = discoveredByName.get(theme);
|
|
123
|
+
const links = themeDiscoveryLinks(theme, sel?.gallery);
|
|
124
|
+
const layouts = mode === "layouts"
|
|
125
|
+
? theme === "kinetic-wrapped"
|
|
126
|
+
? [...LAYOUTS_PREVIEW_LAYOUTS_WRAPPED]
|
|
127
|
+
: [...LAYOUTS_PREVIEW_LAYOUTS]
|
|
128
|
+
: ["title"];
|
|
129
|
+
const fileUrl = pathToFileURL(path).href;
|
|
92
130
|
previews.push({
|
|
93
131
|
theme,
|
|
94
132
|
path,
|
|
95
133
|
filename,
|
|
134
|
+
file_url: fileUrl,
|
|
135
|
+
open_hint: `Open ${fileUrl} in a browser (or drag the file onto a tab).`,
|
|
96
136
|
mode,
|
|
97
137
|
slides: mode === "layouts" ? layoutsPreviewSlideCount(theme) : 1,
|
|
138
|
+
layouts,
|
|
139
|
+
vibe: disc?.manifest.vibe ?? disc?.manifest.description ?? sel?.aliases?.[0],
|
|
140
|
+
scheme: sel?.scheme,
|
|
141
|
+
mood: sel?.mood,
|
|
142
|
+
formality: sel?.formality,
|
|
143
|
+
swatches: sel?.swatches,
|
|
144
|
+
best_for: sel?.best_for,
|
|
145
|
+
...links,
|
|
98
146
|
});
|
|
99
147
|
}
|
|
100
148
|
return {
|
|
101
149
|
previews,
|
|
102
150
|
mode,
|
|
103
151
|
output_dir: outputDir,
|
|
152
|
+
compare_summary: previews.map((p) => ({
|
|
153
|
+
theme: p.theme,
|
|
154
|
+
scheme: p.scheme,
|
|
155
|
+
mood: p.mood,
|
|
156
|
+
swatches: p.swatches,
|
|
157
|
+
vibe: p.vibe,
|
|
158
|
+
file_url: p.file_url,
|
|
159
|
+
preview_url: p.preview_url,
|
|
160
|
+
studio_url: p.studio_url,
|
|
161
|
+
})),
|
|
162
|
+
dx_hint: "No inline PNGs — open each file_url (local HTML) or preview_url (hosted proof). Use compare_summary swatches + mood to narrate the pick before the user opens files. Prefer layouts mode for body craft.",
|
|
104
163
|
...(matchedShortlist ? { shortlist: matchedShortlist } : {}),
|
|
105
164
|
...(shortlistError ? { shortlist_error: shortlistError } : {}),
|
|
106
165
|
...(mode === "title" && themes.length >= 2
|
|
@@ -110,10 +169,10 @@ export const previewThemesTool = {
|
|
|
110
169
|
}
|
|
111
170
|
: {}),
|
|
112
171
|
instruction: mode === "layouts"
|
|
113
|
-
? "Open each multi-layout preview and scroll past the title — judge cards, comparison, stats, quote, and code. After they pick a theme, set meta.theme and generate the full deck."
|
|
172
|
+
? "Open each multi-layout preview (file_url) and scroll past the title — judge cards, comparison, stats, quote, and code. Or skim compare_summary swatches/mood first. After they pick a theme, set meta.theme and generate the full deck."
|
|
114
173
|
: themes.length >= 2
|
|
115
|
-
? "Open each title preview. For pick-3 craft judgment, re-run with mode=\"layouts\" (recommended). After they pick a theme, set meta.theme and generate the full deck."
|
|
116
|
-
: "Open
|
|
174
|
+
? "Open each title preview via file_url. For pick-3 craft judgment, re-run with mode=\"layouts\" (recommended). After they pick a theme, set meta.theme and generate the full deck."
|
|
175
|
+
: "Open the preview HTML via file_url (or show the user the path). For deeper craft judgment, re-run with mode=\"layouts\". After they pick a theme, set meta.theme and generate the full deck.",
|
|
117
176
|
};
|
|
118
177
|
},
|
|
119
178
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview-themes.js","sourceRoot":"","sources":["../../src/tools/preview-themes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"preview-themes.js","sourceRoot":"","sources":["../../src/tools/preview-themes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,GAEpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,uBAAuB,EACvB,qBAAqB,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CAAC,MAAM,IAAI,CAAC;gBACxC,CAAC,CAAC;oBACE,mBAAmB,EAAE,IAAI;oBACzB,YAAY,EACV,0JAA0J;iBAC7J;gBACH,CAAC,CAAC,EAAE,CAAC;YACP,WAAW,EACT,IAAI,KAAK,SAAS;gBAChB,CAAC,CAAC,yOAAyO;gBAC3O,CAAC,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC;oBAClB,CAAC,CAAC,kLAAkL;oBACpL,CAAC,CAAC,8LAA8L;SACvM,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.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "MCP server exposing all 11 presentation-md tools (render/export/audit/judge/import/preview) 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.
|
|
18
|
-
"@presentation-md/create-theme": "1.1.
|
|
19
|
-
"@presentation-md/export": "^1.23.
|
|
20
|
-
"@presentation-md/render": "1.7.
|
|
17
|
+
"@presentation-md/core": "1.18.0",
|
|
18
|
+
"@presentation-md/create-theme": "1.1.9",
|
|
19
|
+
"@presentation-md/export": "^1.23.9",
|
|
20
|
+
"@presentation-md/render": "1.7.5"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^20.0.0",
|