@unboundai/tb-ppt-mgagent 0.7.1 → 0.7.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/README.md +2 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,6 +81,7 @@ The one thing still **not** confirmed against a real response is the exact `file
|
|
|
81
81
|
```
|
|
82
82
|
.\uploadAssets.ps1 -ApiKey "sk-ant-..."
|
|
83
83
|
```
|
|
84
|
+
Without `-ApiKey` the script uses `$env:ANTHROPIC_API_KEY`, and otherwise `ANTHROPIC_API_KEY=...` from a `.env` file next to the script (git-ignored).
|
|
84
85
|
Uploads `TrafficBuilders-PPT-Handoff.md`, all five `logos/*.png`, and both `fonts/*-VariableFont_wght.ttf` (Outfit, Figtree) to the Files API, and prints a `file_id` per asset along with the matching env var name. These are just config, not code — plug them into step 5 below and there's nothing else to change or republish.
|
|
85
86
|
|
|
86
87
|
4. **Configure environment variables**:
|
|
@@ -184,4 +185,4 @@ Both tools were smoke-tested end-to-end over the real MCP protocol (`tools/list`
|
|
|
184
185
|
|
|
185
186
|
## Design brief reference
|
|
186
187
|
|
|
187
|
-
`TrafficBuilders-PPT-Handoff.md`, `logos/`, and `fonts/` in this repo are the source material — pulled from the "Traffic Builders Design System" Claude Design project (colors, type scale, the
|
|
188
|
+
`TrafficBuilders-PPT-Handoff.md`, `logos/`, and `fonts/` in this repo are the source material — pulled from the "Traffic Builders Design System" Claude Design project (colors, type scale, the 29 slide archetypes, brand logo PNGs, Outfit variable font) — that `uploadAssets.ps1` uploads and every session attaches via `resources`. Update the files here first if the design system changes, then re-run `uploadAssets.ps1` and update the env vars with the new file_ids. No slide-image assets are attached separately — the handoff brief embeds a literal HTML/CSS reference snippet per archetype, which is enough on its own (see its closing section for when a visual PNG reference would be worth adding).
|
package/build/index.js
CHANGED
|
@@ -487,7 +487,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
487
487
|
const assetsNote = attachedAssets.length > 0
|
|
488
488
|
? `## Attached brand assets\nThese files are mounted in your sandbox:\n${attachedAssets
|
|
489
489
|
.map((a) => `- /mnt/session/uploads${a.mountPath} - ${a.label}`)
|
|
490
|
-
.join("\n")}\n\nRead the design brief first and follow it exactly: brand colors, type scale, and the
|
|
490
|
+
.join("\n")}\n\nRead the design brief first and follow it exactly: brand colors, type scale, and the 29 slide archetypes it defines (including the eight REAN slides). Choose each slide's archetype by the shape of its content using the brief's section 7 table, and obey its variation rules (card-block slides are the exception, never the default; never two in a row). Follow its logo lockup rule precisely: the full horizontal logo sits top-right on EVERY slide (27px tall, 72px from the top and right edge, level with the eyebrow) and the small icon mark is no longer used; use the white logo variant on brand-blue backgrounds and the full-color variant on white backgrounds, and never crop, redraw or stretch it. Embed/register BOTH attached font files: Outfit (ExtraBold 800) for headings, big numbers, eyebrows and tags; Figtree (Regular 400, SemiBold 600 for table headers) for body copy, card copy and labels - instead of a fallback typeface.\n\n---\n\n`
|
|
491
491
|
: "";
|
|
492
492
|
const userImagesNote = uploadedImages.length > 0
|
|
493
493
|
? `## User-provided attachments\nThese files from the user are mounted in your sandbox. Images MUST be inserted into the deck (not just described) at the placement given; other files (PDF, spreadsheet, document) are source material to read and use for the content as described:\n${uploadedImages
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unboundai/tb-ppt-mgagent",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "MCP server that hands a presentation outline to the Traffic Builders PowerPoint Managed Agent, then retrieves the finished .pptx",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"bin": {
|