name: deckcraft
description: >-
DeckCraft is the ArtCraft open-source, clean-room PowerPoint-compatible presentation app for
macOS (also Windows, Linux, FreeBSD and the web): slides, masters and layouts, shapes, 3-D,
text, tables, charts, SmartArt, media, transitions, animations, slide shows, and .deckcraft,
.pptx/.potx/.ppsx, outline text, Markdown and .rtf, PDF/PNG/JPEG/GIF files — driven by 329
scriptable commands, a 12-subcommand CLI, a JSON control channel, a 25-tool MCP server and, in
the web build, a window.deckcraft page API. Trigger this skill whenever the user mentions
DeckCraft, .deckcraft, deckcraft-cli, asks what DeckCraft can or cannot do, which formats or
shortcuts it supports, wants to build, edit, inspect, convert, render, present, export, verify,
repair or troubleshoot a deck, wants assets prepared for it, or wants it automated or scripted —
even if the app is not named but the job is presentation work ("make a deck", "turn this outline
into slides", "export these slides to PDF", "why did my PPTX lose its animations?", "drive a
Audit basis. Refreshed 2026-11-12 against tag v0.18.1, commit 7cc73ab1895ed2e30c8afbcada20c70b9ea0a440 — git rev-parse HEAD in the pinned checkout confirms it, and the installed DeckCraft bundle matches (its binary prints deckcraft 0.18.1). The previous release this skill described was v0.16.0 (a3e2254d3de32ed1718f156f070b54a34b949b54); v0.17.0 and v0.18.0 lie in between, so the delta below covers all three.
v0.16.0 → v0.18.1 delta. 121 files changed (+2 939/−7 950) between the two tags; the checkout is squashed at each tag, so the diff — not the commit list — is the evidence. No registry moved: 329 command ids (234 ordinary / 57 noundo / 38 query), 57 engine shortcuts, 52 UI commands, 12 CLI subcommands, 25 control methods (+2 aliases), 25 MCP tools, and every transition, animation, theme, layout, shape-preset, chart, SmartArt, starter, icon and warp set are identical id-for-id at both tags (counts below, re-measured at this tag). The wave is media-crate consolidation, a web page API, and PPTX/robustness fixes: the in-tree opus, ogg, isobmff and matroska crates are gone (workspace 24 → 20 crates) and Opus/Ogg/MP4/MOV/Matroska now come from craft-media/craft-audio in craft-libs (Cargo.toml, crates/media/Cargo.toml, docs/architecture.md); the web build installs window.deckcraft, a promise-based page API over the control channel with request/execute/commands/docInspect/uiInspect/screenshot (apps/deckcraft-web/src/api.rs, packaging/web/README.md); an over-budget chart is now kept as its original part and written back whole (Chart.verbatim, crates/pptx/src/read/chart.rs) under presentation-wide budgets of 4 000 000 points and 256 MiB of chart decode; 3-D scene/extrusion XML on text bodies and groups is preserved (crates/model/src/text.rs, crates/pptx/src/read/dml.rs); SmartArt whose diagram has no parent-child connections keeps its node text (crates/pptx/src/dgm.rs); shape.adjust/shape.quickStyle reject a negative or fractional index (crates/engine/src/cmd/shape/appearance.rs); format.paragraph rejects an unknown align instead of silently left-aligning and accepts centre/justifyLow (crates/engine/src/cmd/format/paragraph.rs); shape.lock applies a group-and-child pair once (crates/engine/src/cmd/shape.rs); reopening a photo album seeds within the album limits and an album too large for the editor is refused instead of truncated (crates/engine/src/cmd/insert/album.rs); sentence case no longer capitalises after a decimal point (crates/model/src/edit.rs); MCP batch and JSON-RPC batches cap at 1 000 entries and 64 MiB of results (crates/mcp/src/{tools,server}.rs); the UI caps live video decoders at 16 (crates/ui-egui/src/media.rs); undo memory accounting now includes notes, comments and tags (crates/engine/src/lib.rs); and a ready update now installs at exit, with the Flatpak manifests granting the updater host access (crates/ui-egui/src/dialogs/updates_ui.rs, apps/deckcraft/src/main.rs, packaging/linux/flatpak/).
v0.15.0 → v0.16.0 delta. 144 files changed (+6 733/−717) between the two tags (carried from that round's audit — this checkout no longer carries the v0.15.0 tag, so the range cannot be re-diffed here). No id set moved; the wave was PPTX fidelity plus validation: file.save began refusing .png/.jpg/.jpeg ("use file.export"), handout perPage became exactly 1/2/3/4/6/9, view.slideMaster and table cells/comment.next/comment.prev gained strict validation, shape.flip was refused on SmartArt, shape.connect reached grouped shapes, deleting a slide pruned custom shows, slide.reuse scaled content to the destination size and brought custom table styles, outlines omitted footer/date/slide-number placeholders, the PDF text layer used evaluated fields, the native manifest was capped at 256 MiB with a hidden .deckcraft.<pid>.<n>.saving sibling, PPTX round-trips gained overflow/spacing/normalizeH/thaiDist/point bullets/RTL/altLang/reflections, the system clipboard returned, Transition Preview started from the previous slide, See All Slides opened in the presenter window, and the web ?host=parent bridge landed (crates/engine/src/cmd/file.rs, crates/pptx/, crates/ui-egui/src/show.rs, apps/deckcraft-web/src/host.rs).
v0.14.1 → v0.15.0 delta. 52 files changed (carried from that round's audit; neither tag is present in this checkout). The command-id set was unchanged at 329 ids, 329 cmd! sites (an earlier note's "234 ids" was the ordinary-kind subset). Wave: the WASM presenter view opening in a separate browser window, H.264 temporal direct motion-vector scaling, PPTX tags parts parsed once with a cap on copied tags, and resizing allowed on all selected shapes. craft-libs was pinned at c5a1cbfb…, which v0.16.0 kept while adding 2e2312dd… for the web app.
Verify against your installed version — the ArtCraft Launcher auto-updates, so a newer build may differ; every count quoted here was re-measured at this tag on 2026-11-12, and code paths that moved were re-cited. The measurement method for each count is in evidence.md.
DeckCraft is a clean-room, open-source (MIT OR Apache-2.0), pure-Rust presentation application targeting Microsoft PowerPoint for Mac parity — and better speed, openness and agent control (README.md; AGENTS.md; Cargo.toml). It builds decks with masters, eleven layouts, eight original themes, shapes, text, tables, charts, SmartArt, audio and video; presents them full screen or in a window with transitions and animations; and exchanges PowerPoint .pptx plus its own .deckcraft (README.md §"What works today"). It is alpha: the parity docs still claim 84% feature breadth (P0 92%, P1 82%, P2 55%) and ~55% ready for real work, both by the project's own measurement (ROADMAP.md; docs/target-app-parity.md; docs/parity-checklist.md). The workspace is 20 crates plus three apps (apps/deckcraft, apps/deckcraft-cli, apps/deckcraft-web) on Rust edition 2024 (Cargo.toml); video decoders and bitstream stay in-tree, while the Opus decoder and the Ogg/MP4/MOV/Matroska demuxers come from craft-libs (crates/media/Cargo.toml). The UI runs on egui 0.37 with craft-ui's shared widgets. Source: GitHub storytold/deckcraft.
Everything user-visible is a command with an id, and Session::execute is the single dispatch path shared by the ribbon, keyboard, CLI, control channel and MCP (crates/engine/src/lib.rs; crates/engine/src/cmd.rs).
| Surface | At v0.18.1 | Change vs the v0.16.0 skill |
|---|---|---|
Engine commands (CommandSpec) |
329, ids unique (234 ordinary / 57 noundo / 38 query) |
unchanged at v0.18.1 |
| Engine shortcuts | 57 commands (56 distinct strings; one real collision, Cmd+Shift+V) |
unchanged at v0.18.1 |
UI-only commands (UI_COMMANDS) |
52, 15 with shortcuts | unchanged at v0.18.1 |
| CLI subcommands | 12 (info render render-transition convert run commands describe app mcp bench links version) |
unchanged at v0.18.1 |
| Control-channel methods | 25 canonical, plus the aliases ui.menu.invoke and command (27 accepted strings) |
unchanged at v0.18.1 |
| MCP tools | 25, plus resources deckcraft://document, deckcraft://commands |
unchanged at v0.18.1 (batch caps added) |
| Web page API | window.deckcraft: request, execute, commands, docInspect, uiInspect, screenshot |
new at v0.18.1 |
| Transitions | 49 rows (48 + none) |
unchanged at v0.18.1 |
| Animations | 107 entries (24 entrance, 17 emphasis, 23 exit, 40 motion-path incl. customPath, 3 media) |
unchanged at v0.18.1 |
| Themes / layouts / shape presets | 8 themes × 4 colour variants / 11 layouts + Custom / 183 presets in 9 categories |
unchanged at v0.18.1 |
| Charts / SmartArt / starters / icons / text warps | 28 chart types (7 chartEx + RegionMap) / 45 layouts, 9 styles, 17 colour sets / 6 starter decks / 70 Lucide 1.56.0 icons / 40 warps |
unchanged at v0.18.1 |
| Pattern fills | 48-preset gallery (54 DrawingML names known) | unchanged at v0.18.1 |
| 3-D presets | 28 cameras offered (62 known), 12 bevels, 12 materials, 15 light rigs | unchanged at v0.18.1 |
| UI languages | 1 — English only, no string catalogue | unchanged at v0.18.1 |
Every count was re-derived from this tag's code on 2026-11-12, never copied: commands from the cmd!( sites in crates/engine/src/cmd/ (329 sites, 329 unique ids; command-id sets diffed between v0.16.0 and HEAD — nothing added, nothing removed), shortcuts and their collision from the cmd! shortcut arguments, control methods from the match req.method arms in crates/ui-egui/src/control.rs, MCP tools from crates/mcp/src/tools.rs, UI commands from UI_COMMANDS in crates/ui-egui/src/lib.rs, CLI from apps/deckcraft-cli/src/help.rs::SUBCOMMANDS, transitions and animations from TRANSITIONS/ANIMATIONS in crates/model/src/anim.rs, shape presets from CATALOG in crates/geom/src/preset/catalog.rs, warps from CATALOG in crates/geom/src/warp.rs, patterns from PATTERN_GALLERY/PATTERN_LABELS in crates/ui-egui/src/panels/fillui.rs, and the rest from their registries (crates/model/src/theme.rs, crates/model/src/chart.rs, crates/engine/src/cmd/smartart.rs, crates/engine/src/templates.rs, crates/engine/src/icon_data.rs, crates/engine/src/cmd/three_d.rs, crates/engine/src/cmd/insert/text_fields.rs). Languages: no locales/ directory, no i18n crate, no string catalogue in the workspace.
The MCP surface is 25 tools: list_commands, run_command, batch, new_presentation, open_presentation, save_presentation, export, inspect_document, inspect_slide, render_slide, add_slide, go_to_slide, add_shape, add_text_box, set_text, insert_picture, insert_table, insert_chart, select, pointer, select_tool, key, type_text, screenshot and call_app (the last two connected-mode only; full table in references/commands-and-formats.md). batch now refuses more than 1 000 commands and stops once its gathered results pass 64 MiB (crates/mcp/src/tools.rs); the JSON-RPC batch handler has the same caps (crates/mcp/src/server.rs).
Custom (LayoutType, crates/model/src/lib.rs). Slide/notes/handout masters, placeholder inheritance, sections, notes, comments, headers/footers, custom shows and slide sizes are modelled; deleting a slide prunes it from every custom show, undoably (crates/engine/src/cmd/slide.rs).builtin_themes, theme_variants in crates/model/src/theme.rs). Design ▸ Browse for Themes imports .thmx, .pptx or .potx.file.new {template} / file.templates.crates/geom/src/preset/catalog.rs), with adjust handles, glued connectors, freeform/curve/scribble, ink-to-shape, merge operations, gradient/picture/pattern fills, dashes, arrowheads, shadows, glow, soft edges and reflections. shape.connect glues to a shape inside a group and an unknown id is an error; shape.flip is refused on a SmartArt graphic; Merge Shapes drops the merged shapes' animations and clears triggers that pointed at them; shape.adjust/shape.quickStyle reject a negative or fractional index (an index past 16/41 is still clamped), and shape.lock applies a group+child pair once.crates/engine/src/cmd/three_d.rs); a:scene3d/a:sp3d stay as raw XML and round-trip, and at this tag so do a:scene3d/a:sp3d/a:flatTx on a text body and a:scene3d on a group (≤64 KiB, element names validated on write: crates/model/src/text.rs, crates/pptx/src/write/dml.rs::valid_raw3d). Rendering is approximate — see limitations.thaiDist. format.paragraph now rejects an unknown align instead of silently left-aligning, and accepts centre/justifyLow as synonyms (crates/engine/src/cmd/format/paragraph.rs); sentence case no longer capitalises the word after a decimal point (crates/model/src/edit.rs).cells: [[row, col], …] — exactly two integers a cell, inside the table.deckcraft-metafile, including EMF+-only files. Crop, brightness/contrast, duotone, alpha, artistic effects, compress and Set Transparent Colour are modelled; Compress Pictures measures grouped pictures at their displayed size. Photo albums take at most 48 items, 32 MiB a picture and 64 MiB in all; reopening an album is seeded within those limits, and editing an album larger than the editor can carry is refused rather than deleting the rest (crates/engine/src/cmd/insert/album.rs).chartEx types, plus radar, stock, region map and combo; chart text colour, palette, gridlines, data labels, bin options and six trendline kinds with forecast and equation/R². An unchanged chart keeps its embedded workbook; pattern fills read and write (a:pattFill). Past 1 000 000 points a chart, or past 4 000 000 points/256 MiB of decode across the presentation, a chart is shown empty and its original part is written back whole (Chart.verbatim) — its data is not modelled while it is in that state (crates/pptx/src/read/chart.rs, crates/pptx/src/write/chart.rs)..pptx as a real diagram. A diagram whose dgm:dataModel has no parent-child connections keeps its node text in ptLst order instead of dropping it (crates/pptx/src/dgm.rs).crates/media/Cargo.toml, Cargo.toml). Trim, fades, volume, poster frame, show-media-controls and embedded 3-D model parts are modelled. At most 16 video decoders are live at once in the editor/show; more videos play their sound without a picture and try again on their next play or seek (crates/ui-egui/src/media.rs).slide.reuseList lists the other file's slides, slide.reuse inserts the chosen ones; reused geometry and text are scaled to the destination slide size, and the source's custom table styles come along (reused slides fit the destination — picker thumbnails are still missing).insert.icon), WordArt, symbols, date/time fields (13 formats), slide numbers, photo albums (insert and edit), Zoom links, and an Equation dialog that inserts pretty-printed text, not OMML.browsed (in a window), presenter view in a second window, pen and laser pointer, black/white screens, See All Slides opening in the presenter window (G), zoom (Ctrl+wheel around the pointer), hyperlinks/actions, custom shows, kiosk looping, rehearse timings and media playback (show.setup {type: speaker|browsed|kiosk})..deckcraft: a zip with a stored mimetype, presentation.json, media/<id> and chart-parts/<index> entries; readers ignore unknown fields, and legacy .slidecraft files still open. Load budgets: 256 MiB presentation.json, 2 GiB per entry, 4 GiB total media + chart sidecars, 100 000 items; the notes page is clamped to the slide-size bounds. Kept 3-D body/group XML also round-trips here (BodyProps.raw3d)..pptx: read and write; .potx and .ppsx are written with their own main content types. Unknown parts are kept where the model does not understand them. Embedded TrueType/OpenType/EOT fonts are read, written and drawn; a MicroType Express subset is kept and written back but not drawn, so its text uses a stand-in. At this tag the writer also keeps text overflow (vertOverflow/horzOverflow, anchorCtr), compatLnSpc, normalised character height, Thai distributed alignment, RTL table direction, run altLang, reflection transforms, the show-media-controls flag, effects' parent time-node delays, and 3-D XML on text bodies and groups..rtf — PowerPoint's Outline/RTF save type — imported by content sniffing and by extension, and exported with bold/italic/underline and outline levels; footer, date and slide-number placeholders are left out, as in PowerPoint's outline view.slide, or all; transparentBackground; DPI = scale × 72) and an animated GIF of the deck (one frame per slide, 256-colour palette, 16–3840 px wide, 0.1–600 s per slide, loop or play once, slide range incl. "1-3,5", hidden slides skipped, ≤500 frames / ≤200M pixels).perUserOrMachine scope, so the launcher decides per-user or machine-wide); Linux (AppImage, Flatpak, deb, rpm, tarball; riscv64 tarball), FreeBSD and a static WebAssembly site.vello_cpu; the UI is egui 0.37/eframe. The web build uses WebGPU with a WebGL2 fallback (?webgl), starts blank or in show with ?blank/?show, downloads instead of saving, has no audio output, no TCP control channel and no persisted preferences — unless a same-origin page frames it: ?host=parent (+ &author=) sends the presentation to open and stores what it saves, and data-host="page" uses DOM events instead of an iframe. Every web build also installs window.deckcraft (craft-web-api), whose promise functions call the same control methods as the desktop server (apps/deckcraft-web/src/api.rs).chartex is mostly unmeasured, and "opens in PowerPoint without repair" is a docs claim, not independently verified here.c:tn fill="remove").crates/pptx/src/read/chart.rs, crates/model/src/chart.rs::Chart.verbatim)..ppt/.pot/.pps, OpenDocument .odp and .pptm/.potm/.ppsm are not read (macros are neither preserved nor run); password-protected decks fail with a clear error and there is no password protection on save..ppsx still does not start its show. Only open_from_system (the command-line path) checks for .ppsx; the Apple-event path calls open_path without it (crates/ui-egui/src/app/files.rs, apps/deckcraft/src/apple_events.rs).docs/control-protocol.md says a 16 MiB request line (code: 256 MiB); docs/animation-parity.md says 14 exit effects (code: 23); docs/architecture.md says 320 commands and 24 crates (code: 329 and 20); docs/target-app-parity.md says 328; ROADMAP.md says "226 commands"; docs/mcp.md omits the batch caps; and format.align's parameter doc omits thaiDist. Trust the code and deckcraft-cli commands/describe.insert.picture accepts image/svg+xml, but no decoder draws it, so an inserted SVG shows nothing and a PPTX that stores a PNG fallback beside its SVG shows that fallback.insert.picture.clipboard feature), so the open question is the Windows image path, not the clipboard API.crates/ui-egui/src/media.rs).menus::menu_tree() exists but nothing installs it; use the ribbon, the command palette (Cmd+Shift+P) or commands.chartex behaviour are thinner than PowerPoint's..pptx is kept and written back (RunKind::Math, a14:m; crates/pptx/src/{read,write}/dml.rs) but drawn as its flattened text, so it is not typeset.file.close closes a dirty document without prompting. The UI's Close (app.closePresentation, Cmd+W) prompts; the raw engine command does not. Do not call file.close on unsaved work.app.quit over the control channel quits without asking. {"save": true} saves every dirty presentation first and answers with an error if one can't be saved (an untitled deck opens a Save dialog there), so save explicit paths before quitting.file.save/file.saveAs without a path (and no stored path) ask the UI and return {"needsPath": true}, writing nothing in headless use — always pass path.file.save/file.saveAs/run --save refuse .png/.jpg/.jpeg — save_bytes returns an error telling you to use file.export. MCP save_presentation and control-channel app.save inherit the same refusal.file.save {path: "x.odp"} (or any extension no writer maps) is written as native .deckcraft bytes under that name, and file.export does the same. Check the extension you pass.run stops at the first failing command and saves nothing..deckcraft.<pid>.<n>.saving sibling that must also be inside the automation write root.inspect_slide answers on a notes-heavy deck can hit the byte cap and stop early (crates/mcp/src/tools.rs).window.deckcraft object is the same command authority inside the page: any script of the page's origin can call it, so treat a page that embeds DeckCraft as trusted code (packaging/web/README.md).command -v deckcraft-cli # headless CLI: a separate download, not in the .app
# the app bundle's own binary prints its version and exits before opening a window:
# <DeckCraft.app>/Contents/MacOS/DeckCraft --version → deckcraft 0.18.1
# <DeckCraft.app>/Contents/MacOS/DeckCraft --help → usage, then exit
The .app bundle contains no deckcraft-cli. The CLI ships as the separate signed/notarized release asset deckcraft-cli-<ver>-macos-<arch>.zip (the packaging default is <arch> = universal); download/unzip it, build it with cargo build --release -p deckcraft-cli, or automate through the control channel instead.
open -a DeckCraft # normal GUI
open -a DeckCraft --args --sample # sample deck
open -a DeckCraft talk.pptx # open a file
open -a DeckCraft --args --control 7990 --sample
GUI flags: --control PORT, --sample, --show, --help/-h, --version/-V, and file paths; -psn_* is ignored. The port can also come from DECKCRAFT_CONTROL_PORT. The desktop parser is hand-rolled: an unknown argument is treated as a file path, so a mistyped flag shows up as a failed open, not a usage error.
deckcraft-cli is the most reliable automation surface; it needs no window.
| Command | What it does |
|---|---|
info FILE |
JSON: slides, layouts, theme fonts, sections, slide size (document.inspect) |
render (FILE \| --sample) [--slide N \| --all] [--scale S] [--edit] [--transparent] OUT |
PNG per slide; --all writes slide-01.png…; default scale 2; --slide 0-based |
render-transition FILE --slide N --t T[,T...] [--width PX] OUT.png |
Frames of the transition into slide N |
convert IN OUT |
Save in OUT's extension: .deckcraft, .pptx/.potx/.ppsx, .pdf, .txt/.md/.rtf, .png/.jpg (first slide), .gif; other extensions are refused |
run [--in FILE \| --sample] [--cmd ID[=JSON] \| --cmd-file FILE]... [--save OUT] [--export OUT [--export-params JSON]] [--print] |
Run commands, then save/export; stops and saves nothing on the first error |
commands [FILTER] / describe COMMAND |
List ids/params; explain one |
app [--port PORT] COMMAND [JSON] / --method METHOD [JSON] |
One request to a running deckcraft --control (default port 7979) |
mcp [--connect PORT] [--sample] [--automation-read-root DIR]... [--automation-write-root DIR]... |
MCP server on stdio; both root flags and both spellings repeatable |
bench (FILE \| --sample) [--runs N] [--json] |
Time open/draw/save/PPTX reopen/PDF export and peak memory |
--cmd-file FILE reads one command per line from a UTF-8 file (blank lines and full-line # comments skipped, CRLF and a BOM accepted, 16 MiB a line), which avoids shell quoting and command-line length limits; it can repeat and mix with --cmd in order.
Examples:
deckcraft-cli commands format.
deckcraft-cli describe shape.insert
deckcraft-cli run --cmd 'slide.new={"layout":"titleOnly","title":"Q3 results"}' \
--cmd 'shape.insert={"preset":"roundRect","rect":[80,160,320,120],"text":"Revenue"}' \
--save q3.deckcraft
deckcraft-cli render q3.deckcraft --all --scale 1 out/
deckcraft-cli convert q3.deckcraft q3.pdf
deckcraft-cli run --in q3.deckcraft --export q3.rtf
--print prints each command's answer; it is not a printer flag. convert gives no PDF-layout options and only the first slide for PNG/JPEG; use run --export or file.export for notes/handouts and all slides.
[x, y, width, height].render --all names files from 1 (slide-01.png), while file.export all names stem1.png, stem2.png.slide.go {index} changes the current slide; slide.new inserts after it and selects the new slide (pass at for an index).format.* acts on the selection, while many shape commands take ids directly — ids entries that don't resolve are an error, not a silent fall back to the selection.\n for a new paragraph and a leading tab per level for bullets.index/from/at/master/layout is an error; a valid index past the last slide is also an error; review.spellingChange rejects an overflowing start; comment.next/comment.prev reject a malformed index; animation remove/move/timing/options reject invalid indexes; table row/column and cells commands reject invalid cells and out-of-table entries; shape.adjust/shape.quickStyle reject a negative/fractional index (values past 16/41 clamp).format.align also accepts thaiDist, although its parameter doc string lists only left/center/right/justify/justifyLow/distributed, and an unknown align name still falls back to left; format.paragraph and format.paragraphDialog accept the same names (plus centre, justifyLow) and error on anything else.file.new/file.open add documents, window.next cycles the active one, and view.newWindow opens a second, non-editing window on the same deck.file.open {path} — native .deckcraft, .pptx/.potx/.ppsx, and .txt/.md/.rtf outlines (RTF by content sniffing, not only extension), plus .thmx/.pptx/.potx through design.browseTheme. Open is lenient for PPTX: unknown parts skipped/kept, unreadable slides reported in lostSlides, damaged files open as a repaired copy, and media lengths/sizes are filled in from headers.file.save {path, format?: deckcraft|pptx} / file.saveAs {path, format?} / file.saveTemplate {path}; the format follows the extension unless format is given. Images are refused: use file.export. Writes go to a hidden .deckcraft.<pid>.<n>.saving sibling (also checked against the automation write root) renamed over the target, so a failed save never truncates the old file.file.export {path, format?, ...}. PNG/JPEG: slide?/all?/scale?/transparentBackground?; PDF: layout, perPage (handouts only, exactly 1/2/3/4/6/9), paper, orientation, dpi, slides, includeHidden, textLayer, frame; GIF: width, secondsPerSlide, loop, slides, includeHidden; outline: txt/outline/rtf. All requested image indices are validated before any file is written..deckcraft master and treat .pptx as an exchange copy. Native save is lossless for DeckCraft's model (chart payloads included); PPTX has the known losses above.Start deckcraft --control 7990, then either deckcraft-cli app … or raw JSON lines:
deckcraft-cli app --port 7990 --method ui.screenshot '{"path":"shot.png"}'
deckcraft-cli app --port 7990 shape.insert '{"preset":"star5","rect":[100,100,200,200]}'
{"id":1,"method":"engine.execute","params":{"command":"shape.insert","params":{"preset":"star5","rect":[100,100,200,200]}}}
{"id":2,"method":"ui.screenshot","params":{"path":"shot.png"}}
Use ui.inspect first to learn the window, canvasRect, slideRect and canvasScale, the active tool, dialogs and documents; ui.pointer takes slide points, while ui.move/ui.click/ui.drag take window points (egui coordinates, as ui.inspect reports them). The MCP equivalent is deckcraft-cli mcp --connect 7990. For headless MCP:
{"mcpServers":{"deckcraft":{"command":"deckcraft-cli",
"args":["mcp","--automation-read-root","work/deck","--automation-write-root","work/deck/out"]}}}
Paths outside the roots are refused with ordinary tool errors; a root left out grants none of its access, --flag=DIR works, each flag may be repeated (multiple roots per kind), and roots cannot be combined with --connect.
A web build (embedded or standalone) installs window.deckcraft; calls are promises over the same methods, so execute("shape.insert", …) is exactly the desktop engine.execute:
await window.deckcraft.execute("shape.insert", { preset: "roundRect", rect: [100, 100, 240, 120], text: "Hello" });
const doc = await window.deckcraft.docInspect();
const { data } = await window.deckcraft.screenshot(); // base64 PNG
A call rejects if the app does not answer within 30 s (packaging/web/README.md); the shared craft-libs web-api contract also refuses a 65th call waiting at once and releases a call the page gave up on (not audited in depth here). This is a page-local surface, not a network one — there is no port to connect to.
~/Library/Application Support/DeckCraft/ (ui.json, prefs.json, logs/deckcraft.log, rotated, capped at 16 MiB); recovery: …/DeckCraft/Recovery/.DECKCRAFT_CONTROL_PORT sets the control port; DECKCRAFT_NO_AUDIO=1 plays silently; DECKCRAFT_NO_PREFS=1 skips preferences; DECKCRAFT_NO_RECOVERY=1 skips AutoRecover; DECKCRAFT_DICTIONARIES adds dictionary folders; RUST_LOG sets log levels.deckcraft-cli run, render, convert, info, mcp) — best for generating decks, batch exports and verification. No window, no GUI state.deckcraft-cli mcp) — best when the agent has an MCP client; use run_command/batch for anything the 25 tools do not wrap, and inspect_document/inspect_slide before editing. A headless server starts with no document: call new_presentation or open_presentation first. batch stops at the first error unless keepGoing, and is capped at 1 000 commands / 64 MiB of results; tools reject unknown argument names rather than guessing.deckcraft --control) — only when a human and agent must share a live window, or UI-only state (dialogs, selection, screenshots) matters. Always ui.inspect/ui.screenshot before pointer work; never click blind.window.deckcraft) — only inside a page that already runs the web build; it is the same command authority with a 30 s promise timeout and no network port. Use it to build editor-like web integrations, not to reach a desktop app.# headings, a tab-indented plain-text file, or .rtf (\outlinelevel paragraphs, falling back to \li indent) imports directly (slide.fromOutline); footer/date/slide-number placeholders are skipped on export..thmx, or a .pptx/.potx whose first master holds the theme and layouts..deckcraft is a zip: inspect presentation.json, media/<id> and chart-parts/<index> with unzip -l/unzip -p. Repair damaged media by restoring the member; do not rewrite the JSON unless the schema is understood. Older files with inline chart bytes still load and migrate on save; a manifest over 256 MiB is refused..pptx zip to "fix" it: use DeckCraft commands and re-export. Unknown PPTX parts are preserved by the writer, but hand-edited XML can break content types or relationships..deckcraft, .pptx, .pdf, .txt/.md/.rtf and images with convert, remembering that convert writes only the first slide for PNG/JPEG and uses default PDF options.insert.chart if the data must be editable.{path, bytes} or {files}; assert the file exists and its size is plausible. A zero-byte or missing file is a failure even if the process exited 0.deckcraft-cli info out.pptx and compare slide count/titles/layouts; deckcraft-cli render out.pptx --all and look at the PNGs..pptx and .ppsx, the strongest test is opening it in PowerPoint/Keynote and checking for a repair prompt, animations, media and theme fonts. The project has not tested a real-deck corpus.GIF89a header, dimensions, frame count and delay; transitions/builds are intentionally absent.insert.picture and expect them to draw..ppt, .odp, .pptm, macros, password protection or MP4 export.file.close or app.quit on unsaved work; use app.quit {"save": true} only after saving explicit paths.file.save/--save for .png/.jpg: it is refused; use file.export/--export/convert. And do not trust an unmapped extension in file.save/file.export — it writes native bytes..pptx round-trip is lossless.window.deckcraft.docs/ where it contradicts the code (request-line size, exit-effect count, command and crate counts, MCP batch caps, the thaiDist parameter doc are stale at this tag).Alpha software with active auto-updates: verify every deliverable, keep a native master, and never trust a silent export.
--version (deckcraft 0.18.1 for this audit) before work. Update only between projects, not mid-deck; command ids, formats and export options move between releases..deckcraft master plus dated backups..deckcraft → export .pptx → reopen the .pptx → inspect counts and render PNGs. Fix workflow problems before touching the real deck.file.save is atomic via a hidden .saving sibling; exports are ordinary writes.transparentBackground was used); PDF: page count and selectable text; PPTX: reopen and render; GIF: header, dimensions, frame count; RTF: re-open as an outline.deckcraft-cli render … --all (or MCP render_slide) and inspect the PNGs. Text overflow, missing fonts, blank SVG/EMF pictures and chart scaling are visual failures that a successful exit code will not catch..pptx and check for repair prompts and lost animations/media. If not, state that fidelity is unverified rather than claiming parity..deckcraft master preserves DeckCraft-only constructs (including chart payloads) and is the safest thing to reopen after a failure.v0.18.1, commit 7cc73ab1895ed2e30c8afbcada20c70b9ea0a440 (git rev-parse HEAD), inspected 2026-11-12; v0.16.0 (a3e2254d…) was diffed for every set and behaviour claim (121 files, +2 939/−7 950). The pinned checkout is shallow and squashed (one release commit per tag, only v0.16.0 and v0.18.1 present), so the tag-to-tag diff is the evidence for the delta./Applications/DeckCraft.app, CFBundleIdentifier ai.storyteller.deckcraft, version 0.18.1; --version prints deckcraft 0.18.1; universal x86_64+arm64, Developer ID signed (Learning Machines LLC), notarized and stapled (spctl accepts it).README.md; Cargo.toml; ROADMAP.md; docs/{architecture,gaps,file-format-parity,animation-parity,target-app-parity,control-protocol,mcp}.md; packaging/web/README.md; apps/deckcraft/src/{main,control_server,apple_events,logging}.rs; apps/deckcraft-cli/src/help.rs; apps/deckcraft-web/src/{api,host}.rs; crates/engine/src/cmd.rs and crates/engine/src/cmd/ (id parse over every module, plus file.rs, format/paragraph.rs, insert/text_fields.rs, shape/{appearance,size}.rs, insert/album.rs, reuse.rs, review.rs, smartart.rs, three_d.rs, table.rs); crates/engine/src/{io,lib,connect,file_access,spell,tools}.rs; crates/model/src/{anim,chart,theme,text,lib,edit,trendline,resolve}.rs; crates/geom/src/{preset/catalog.rs,warp.rs}; crates/format/src/lib.rs; crates/pptx/src/{lib,read,write,dgm}.rs and crates/pptx/src/{read,write}/{chart,dml,shapes}.rs; crates/pdf/src/lib.rs; crates/mcp/src/{tools,server,backend,headless}.rs; crates/ui-egui/src/{lib,control,show,media,widgets}.rs, crates/ui-egui/src/panels/{fillui,notes}.rs, crates/ui-egui/src/app/files.rs, crates/ui-egui/src/ribbon/{animations,home}.rs; packaging/macos/Info.plist.in.craft-media/craft-audio at 75895c0321d8cb6e175a42466cba050352b117c5; craft-pdf/craft-update/craft-ui at 6e03f65bf45181db77ba6229716e6624db9eb25b; the web app's craft-web-api/craft-web-host at fd5e2feff6ea25bed371a99cc732b3968d621505 (the page-API contract is documented in the craft-libs web-api crate README).docs/control-protocol.md (16 MiB vs the code's 256 MiB); docs/animation-parity.md (14 exits vs 23); docs/architecture.md (320 commands and 24 crates vs 329 and 20) and docs/target-app-parity.md (328); ROADMAP.md ("226 commands"); docs/mcp.md (no batch caps); format.align's parameter doc (omits thaiDist)..pptx/.ppsx without repair on real decks, render fidelity against PowerPoint, runtime command execution, deckcraft-cli execution (not installed on this machine), the web window.deckcraft API in a browser, and any GUI behaviour. Claims here are code and document inspection plus bundle metadata and --version checks; no GUI was launched and no deck was rendered.