name: designcraft
.designcraft project format; IDML/INDD/INDT import; PDF/X-4 and PDF/X-1a export, PDF/A-2b, EPUB with Split Document, editable PPTX, HTML, PNG and JPEG export; batch export of layouts and versions; preflight; headless CLI, MCP server and JSON control channel). Trigger this skill whenever the user mentions DesignCraft — or a .designcraft, .idml, .indd, .indt, .dcbook, .dclib, .ase or command-script file — asks what it can or cannot do, which formats it opens or writes, its keyboard shortcuts, how to automate or script it, how to prepare or convert assets for it, how to place PDFs and choose their layers, how to thread text or target a table by id, how to check links, how to verify or repair its output, or how to troubleshoot it. Also trigger when the job is described without naming the app — "lay out a magazine", "thread this story across three columns", "set this on a baseline grid", "export a PDF/X-4", "export a press-ready PDF/X-1a", "export every layout and version at once", "make an EPUB from these pages", "split the EPUB into chapters", "batch-export every page to PNG", "place these photos in a brochure", "hide a layer of this placed PDF", "convert these text variables to text", "import my InDesign shortcuts", "why did my white object vanish on press". Do not guess its capabilities from InDesign knowledge — read this first.Audit basis. Refreshed 2026-11-12 against tag v0.20.1, commit 33a467872268c98536231491865b4011b0275b17 — git rev-parse HEAD in the pinned checkout confirms, and the installed DesignCraft.app bundle matches (CFBundleShortVersionString 0.20.1, DesignCraftBuildCommit the same SHA; the bundled CLI prints designcraft-cli 0.20.1, the desktop binary designcraft 0.20.1). The previous release this skill described was v0.18.0 (58ac6d29b260e033f4291afc4318b507cfd90fd9).
v0.18.0 → v0.20.1 delta. 146 files changed, +8007/−658, and no registry change: 555 engine command ids, 190 UI command rows, 26 MCP tools, 11 CLI subcommands and format version 4 are all unchanged at v0.20.1 (re-measured; the live registry returns 555). What moved is behaviour. Anchored text frames now own their stories: copy, paste (also into another document, carrying placed graphics), duplicate, release and delete keep each frame's story and ids, nested up to 64 deep (crates/doc/src/anchored.rs, crates/engine/src/cmd/anchored.rs). The Links panel checks file status on a worker thread (2 s minimum poll, at most 4 workers) and the document stores each link's size and time, so an unchanged graphic on a network share is not re-read — the network-path stall (#1444) — while links.list keeps its result shape (crates/ui-egui/src/links_worker.rs, crates/engine/src/cmd/links.rs, crates/doc/src/assets.rs). Preflight gains whiteOverprint: white or [Paper] fills, strokes, gaps, ruby and kenten set to overprint are reported, because they vanish on press (crates/engine/src/cmd/preflight/white_overprint.rs). Page commands now validate and count: layout.pages.delete returns {deleted} and layout.pages.applyParent {applied}; an index past the last page is an error instead of being dropped (crates/engine/src/cmd/layout/registry.rs). Scripts are bounded — depth 8, 100 000 steps across nested scripts, 16 MiB per ${…} interpolation, 64 MiB per $N.path copy, 256 MiB per resolved step parameter tree (crates/engine/src/script.rs). Table commands with story?/table? run without a table selection, defaulting to the whole table (crates/engine/src/cmd/table/target.rs, docs/mcp.md). Hardening: GREP refuses subroutine calls and bounds empty-match scans (crates/compose/src/grep.rs); whole-file reads refuse devices and FIFOs and cap at 4 GiB (crates/engine/src/io.rs); recovery entries refuse links (crates/engine/src/recovery.rs); package copies the bytes it loaded (crates/engine/src/cmd/package.rs); hyperlink and data-merge ranges follow story edits (crates/doc/src/edit.rs); DOCX signed character references are dropped, XLSX signed row numbers are rejected and RTF header/footer groups are skipped on import (crates/textimport/src/). Typography and UI: the stale preflight warning that PDF export drops ruby and kenten overprint is gone (the export writes it, as docs/cjk.md now says), arrowheads on curves point the right way, a graphic implicitly placed with a line or open path selected gets its own frame and leaves the line alone, and the canvas draws a spine hairline where a spread's pages meet (screen only, never exported — crates/doc/src/page.rs, crates/ui-egui/src/canvas/page_decor.rs). pt-BR is ~100% translated (the maintainers' 2,936-of-2,939 report) and Russian is listed; the updater installs at exit and reports installing/ready/installed/failed, with the Flatpak update permissions repaired in 0.20.1 (crates/ui-egui/src/updates_ui.rs, packaging/linux/flatpak/).
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, and code paths that moved were re-cited. The measurement method for each count is in evidence.md.
v0.17.0 → v0.18.0 delta. 214 files changed; +8 engine command ids, +3 UI commands, nothing removed: file.exportBatch, file.exportPresets, file.saveExportPreset, file.deleteExportPreset, layout.alternate.duplicate/.delete/.options, layout.parents.duplicate, and UI app.exportBatch, app.parentOptions, app.alternateLayoutOptions. File ▸ Export Layouts and Versions writes several alternate layouts and versions at once — PDF (marks, bleed, spreads; standard: none|x4|a2b), PNG or JPEG — one folder per version, a {document}/{layout}/{version}/{date} template, at most 5 000 files and 24 versions, in a DesignCraft export preset (not Adobe .joboptions). PDF and PowerPoint exports warn about text their pages had no room for; IDML round-trips a document's hyperlinks; the macOS DMG bundles designcraft-cli inside the app; the CLI gains thumbnail and validate-pdf --standard; the native reader stops charging stored assets against the deflate budget; hyphenation adds Danish. Deep automation detail — CLI flags, script syntax and limits, all 26 MCP tools, the control methods, coordinates, guide and column geometry, layer options, EPUB splitting, table targeting, shortcut import — is in references/agent-surfaces.md next to this file.
DesignCraft is a page-layout and publishing application written from scratch in Rust: "an open-source, modern desktop publishing and page layout studio" (README.md). It aims at full Adobe InDesign 2026 parity — "faster, open (documented JSON format + IDML), scriptable by agents (MCP), and available on the web" (ROADMAP.md) — as a clean-room application (AGENTS.md). It runs natively on macOS, Windows and Linux, and in a browser as WebAssembly (README.md §Web, apps/designcraft-web). The UI runs on egui 0.37 with craft-ui's shared docking. Maturity is pre-alpha: the alpha gate is still blocked by fixes to Smart Text Reflow on the Primary Text Frame (#165), ~5–7 h away (ROADMAP.md:3, docs/gaps.md §0); the maintainers estimate ~80% feature breadth and ~47% "ready for real work" (docs/target-app-parity.md §Headline). Source: GitHub storytold/designcraft, MIT OR Apache-2.0 (Cargo.toml), a layered Cargo workspace enforced by cargo xtask layers; shared craft-libs crates provide printing, ICC colour management, atomic writes, PDF writing (overprint/knockout/CMYK blending and spot gradients, plus the craft-prepress flattener for PDF/X-1a) and document-path policy (Cargo.toml).
The one idea that governs everything: every user-visible action is a command with a stable id and JSON parameters (crates/engine/src/cmd.rs command_specs), and the UI, CLI, control channel and MCP all go through Session::execute (crates/engine/src/lib.rs). Prefer commands over GUI poking.
crates/doc/src/{page,story}.rs; crates/engine/src/cmd/{layout,thread}.rs).layout.documentSetup, layout.pageSize, file.new).file.activate {index}, document.list, next/previous document (Cmd+F6 / Cmd+Shift+F6) — crates/engine/src/cmd/file.rs, crates/ui-egui/src/menus/.layout.pages.delete {pages: [0-based indices]} → {deleted}, layout.pages.applyParent {pages, parent} → {applied}; both refuse an index past the last page and a non-integer list entry (crates/engine/src/cmd/layout/registry.rs page_indices).guide.add (horizontal/vertical/both; page, spread or liquid guide), guide.list, guide.select, guide.selectAll (Cmd+Alt+G), guide.deselect, guide.move, guide.moveBy, guide.delete, guide.deleteAll, layout.createGuides (crates/engine/src/cmd/guides.rs; caps 10 000 guides, rows/columns ≤ 1000). Guides are selected like objects and a dragged guide snaps along its axis; Shift snaps to ruler ticks (10× the tick spacing), Cmd suspends snapping. A drawn or resized edge also snaps to the page's centre line.Columns.positions, crates/doc/src/page.rs), layout.moveColumnGuide {page, gutter, position, spread?|parent?}, at most 216 columns (MAX_COLUMNS); view.lockColumnGuides is a document setting, on by default, saved in the document and IDML; view.lockGuides (Cmd+Alt+;) only stops pointer dragging.view.goBack (Cmd+PageUp) / view.goForward (Cmd+PageDown) retrace page jumps at the current zoom (crates/ui-egui/src/page_history.rs).crates/doc/src/page.rs page_seams, crates/ui-egui/src/canvas/page_decor.rs).object.qrCode), math expressions (math.insert/math.svg), colour themes from a placed image (color.extractTheme), live captions (object.caption).crates/images, crates/render, crates/idml/src/import.rs).object.layerOptions {ids?, hidden: [name], useDefaults?} where useDefaults: false with hidden: [] means explicitly all on, and legacy hidden: [] resets to file defaults (crates/engine/src/cmd/pdflayers.rs). object.pdfLayers {id?} lists {name, visible, default, overridden}.file.package reports a placement whose choice an IDML copy cannot carry.GraphicLayerOption/GraphicLayer settings are retained per placement; retention is not layer-aware rendering — read Known limitations before promising appearance fidelity.crates/compose/src/).crates/doc/src/anchored.rs, crates/engine/src/cmd/anchored.rs).Document::adjust_text_ranges shifts story-external source ranges on insert/delete/replace, so editing text no longer leaves a link on the wrong bytes (crates/doc/src/edit.rs, crates/engine/tests/hyperlink_offsets.rs).story.options {story?, frame?, opticalMargin?, opticalMarginSize?} sets hanging punctuation/edges for every paragraph of a story except paragraphs with ignoreOpticalMargin; the Story panel and type.selectionAttrs.storyOptions expose it, and IDML carries StoryPreference (crates/engine/src/cmd/text.rs).app.hyphenationDialog) sets limits, zone, the Better Spacing ↔ Fewer Hyphens slider, Hyphenate Capitalized/Last Word/Across Column and Preview as one undo step.list.bullets / list.numbers {on?} apply InDesign's default hanging indent and remove it again (crates/engine/src/cmd/lists.rs).note.convertFromText {author?}, note.next, note.previous, and note.split; deleting a note or converting it to text keeps the caret on the same text; footnote caret edits no longer drop untyped formatting (crates/engine/src/cmd/editorial.rs).variables.convertToText and variables.convertAllToText {name} replace each instance with the value it shows on its page; the variable stays defined.selection.key {id} makes a selected item the key object (needs ≥ 2 selected); object.align's to defaults to keyObject while one is set.view.storyEditorDepthRuler), as in InDesign (crates/ui-egui/src/story_editor.rs).Document Fonts folders beside a document (case-insensitive, and a bare document filename looks in the current directory), missing Korean sans falls back to a sans face, and Type › Reload Fonts (font.reload).preflight.run {minPpi?} returns issues [{severity, kind, message, item?, page?}]: overset/unplaced text, missing fonts and glyphs, missing or low-resolution graphics, RGB content in print documents, empty text frames, unsupported placed-graphic layers, and now whiteOverprint — a fill, stroke, stroke gap, ruby or kenten in [Paper] or a colour that lays down no ink, set to overprint, which would disappear on press. White text in a frame set to Overprint Fill still knocks out and prints and is not reported; [None], gradients and spot inks above a 0% tint are not white (crates/engine/src/cmd/preflight.rs, crates/engine/src/cmd/preflight/white_overprint.rs, #2401).links.list returns every used placed graphic with {asset, name, path, status: ok|modified|missing|embedded, refused?, pixels, pdfCrop?, uses: [{id, page, ppi}]} and linked text files with {story, name, path, status (also tooLarge), edited, uses}. The panel's statuses come from a background worker so a dead network share cannot freeze the UI; the document keeps the size and time of the file each link's bytes came from, so once recorded an unchanged link needs no read, even on the first check after opening. The command itself is synchronous (crates/engine/src/cmd/links.rs, crates/ui-egui/src/links_worker.rs, crates/doc/src/assets.rs).file.open decides by content, not extension (crates/engine/src/cmd/file.rs open_path):
.designcraft (zip or legacy single JSON) — crates/format..idml InDesign Markup imported into the native model — crates/idml/src/import.rs; .indd/.indt converted to IDML in memory by storytold/indd-utils (real-file fidelity unmeasured — docs/gaps.md §2).crates/images/src/lib.rs, crates/images/src/eps.rs)..txt/.text (UTF-8 or UTF-16), .md, .docx, .rtf, .xlsx (first used range becomes a table), Tagged Text; Data Merge sources CSV, TSV, text, .xlsx. The importers are strict about malformed input: DOCX signed numeric character references are dropped, XLSX signed row numbers are rejected, and RTF header/footer groups (headerl, headerr, headerf, footer*) are skipped (crates/textimport/src/{docx,xlsx,rtf}.rs)..ase, ICC .icc/.icm, XML (with DTD), libraries .dclib, books .dcbook, and a page of an IDML or .designcraft document (file.place {layoutPage}) as a group of objects.file.openRecent {index} backs File › Open Recent (at most recentFilesMax, default 20).crates/engine/src/io.rs)..designcraft is a zip (crates/format/src/lib.rs): mimetype (stored, first), document.json (pretty JSON), assets/ entries (byte-for-byte, each file once), meta.json (format version and generator) and an optional preview.png. Latest reader capability is version 4: it covers retained placed-graphic layer options and explicit all-on placed-PDF layer choices. required_version pins a file to 4 only when it needs one of those, else keeps 2 or 3 so older readers still open it. Readers upgrade older versions and still open the legacy single-JSON form. Read limits: 100 000 entries, 256 MiB document.json; deflated entries share a 4 GiB expansion budget (1 GiB per deflated asset), while a stored entry — a placed image, as the writer stores them — is read at its size in the archive and charged to the archive's own size instead, so a saved document opens at any placed-image size. A document with non-finite geometry cannot be saved. Writes are atomic.
file.exportPdf): real selectable text with embedded font subsets, DeviceCMYK/RGB/Gray, spot /Separation, bleed boxes, crop/bleed marks and page info, pages or spreads, standard: "none" | "x4" | "x1a" | "a2b" (PDF/X-1a:2003 — the PDF/X-4 print file flattened by craft-prepress, with overprint/knockout and CMYK blending preserved), tagged structure tree, transparency flattening, hyperlink annotations and outlines, interactive options, created (Unix seconds) for reproducible files, file.printBooklet imposition. PDF export writes the File Info title, author, description and keywords (file.info); it also writes ruby and kenten overprint. It warns about text the exported pages had no room for — read warnings; the same applies to PowerPoint export (crates/engine/src/cmd/preflight.rs overset_warnings).designcraft-cli validate-pdf FILE.pdf [--standard x4|x1a] prints {path, standard, valid, issues, warnings} and exits non-zero on failure; without --standard it picks the standard from the file's own GTS_PDFXVersion (PDF/X-1a:2003 gets the 1a checks). Checks include PDF version, output intent, Info/XMP identification, interpolation, encryption, trim boxes, Type 3 fonts, device RGB under a CMYK output intent, and fonts that draw visible text without an embedded font program (including inside placed PDF forms), with font names and pages; render-mode-3 invisible text is exempt (crates/pdf/src/pdfx.rs, crates/pdf/src/pdfx/fonts.rs, crates/pdf/src/pdfx1a.rs).craft_prepress::InkSet (four process inks plus each spot swatch; crates/pdf/src/inks.rs); Separations Preview shows the exported PDF's plates, spot plates included (ink.separations).file.exportBatch): one job writes several alternate layouts and several versions at once — PDF (marks crop/bleed/page-info, spreads, standard: none|x4|a2b, ppi, quality), PNG or JPEG — with a {document}/{layout}/{version}/{date} name template, a folder per version by default, dryRun to list the files only; at most 5 000 files, 24 versions, 120-character names. Jobs are saved as DesignCraft export presets (100 max; file.exportPresets, file.saveExportPreset, file.deleteExportPreset — not Adobe .joboptions).file.exportEpub) and fixed layout (file.exportFixedEpub). Split Document: document.epubSplit {split?} stores off / before each export-tagged paragraph / before each paragraph of one style; file.exportEpub {split} overrides it for one export and style.exportTag {split} marks the styles; navigation and note links point across the files. CSS class names for styles that slug alike are numbered uniquely even across thousands of names (crates/epub/src/css.rs).file.exportHtml): one self-contained page, styles as CSS, images embedded, stories and graphics in reading order; returns warnings.file.exportPptx): every page becomes a slide of editable shapes, pictures, tables and text boxes; lineBreaks: keep|reflow, rasterize (default true), embedFonts (default true); approximations and text its slides had no room for are reported in warnings.designcraft-cli run --export out.png, --all-pages DIR; MCP render_page / export_png; control ui.render). render_page/export_png page 0 is the first page — the same page is position 1 in file.exportPdf's pages.file.exportIdml, embedImages) carrying the document's hyperlinks (page destinations, page-item and text sources) — Text .txt/.rtf/tagged (file.exportText), XML (file.exportXml). IDML import keeps a hyperlink on a page item or a text run.file.print, file.printers, dryRun, created) through the shared craft-print spooler — docs/gaps.md §10.designcraft-cli (apps/designcraft-cli/src/main.rs): run, commands [FILTER], describe COMMAND, script, app, mcp, perf, bench, validate-pdf, thumbnail, links, --version — 11 subcommands, unchanged at v0.20.1. On macOS the app bundle installs it at Contents/MacOS/designcraft-cli (docs/mcp.md); a separate designcraft-cli-<version>-macos-universal.zip, cargo install --path apps/designcraft-cli --locked, or cargo build --release -p designcraft-cli are the alternatives. mcp takes --automation-read-root/--automation-write-root more than once, in --flag DIR and --flag=DIR spellings; a non-UTF-8 MCP line answers a parse error instead of dying.designcraft-cli mcp — stdio JSON-RPC, protocol 2025-06-18 (older revisions accepted), 26 tools, unchanged at v0.20.1: command discovery/execution (list_commands, execute, batch), document I/O and inspection (inspect_document, get_story, set_story_text, new_document, open_document, save_document, place_image), rendering (render_page, export_png, screenshot), input/UI tools (select_tool, pointer, key, type_text, ime, click, drag, menu_list, ui_inspect, ui_set, dialog_set/confirm/cancel). Read/write root flags confine every path a command touches. Every input schema is closed (additionalProperties: false) and keys are checked at every level, so a misspelt key in a batch step, a pointer event or mods is an invalid-params error naming its path; every tool carries all four MCP hints (crates/mcp/src/tools.rs, server.rs).designcraft --control PORT serves JSON lines on 127.0.0.1 only; 4 MiB line limit, 16 connections, no authentication (docs/control-protocol.md). crates/ui-egui/src/control.rs and apps/designcraft/src/control_server.rs are byte-identical to v0.18.0: 28 dispatch arms / 31 accepted method strings (30 dotted names plus the command alias), unchanged at v0.20.1. The earlier "27 methods" figure was an undercount; use engine.commands / ui.inspect to discover live behaviour.$N.path references to earlier results (crates/engine/src/script.rs; script.run {text}). A compact line's parameters must be a JSON object (command.id {...}, command.id={...}), not bare values. The Scripts panel runs a script as one undo step and restores the document on failure. Bounds at v0.20.1: nesting depth 8, 100 000 steps for a script and the scripts it runs, 16 MiB per ${…} interpolation, 64 MiB per $N.path copy, 256 MiB per resolved step parameter tree (MAX_SCRIPT_DEPTH, MAX_SCRIPT_STEPS, MAX_INTERPOLATED_BYTES, MAX_REFERENCED_BYTES, MAX_STEP_PARAM_BYTES).story? and table? runs with table (the id table.insert/table.get return) and optionally story, even when nothing in a table is selected; without a cell range it targets the whole table. A missing table, or one not in the given story, is an error (crates/engine/src/cmd/table/target.rs, docs/mcp.md §Tables without a selection).window.shortcutSets), and InDesign shortcut import (window.importShortcuts {path | text}) which reads an InDesign Show Set .txt (UTF-8/BOM or UTF-16; ≤ 8 MiB), applies its Default context, and reports {set, imported, changed, conflictsCleared, skipped, unmatched, unmatchedWithoutShortcut, unreadable} (crates/ui-egui/src/shortcut_import.rs, crates/ui-egui/src/menus/keys.rs).designcraft-cli commands returns 555 entries; the same set extracted from cmd!( in crates/engine/src) and 190 UI command rows in UI_COMMANDS (crates/ui-egui/src/menus/ui_commands.rs) — both unchanged at v0.20.1 (v0.17.0: 547 + 187; v0.18.0: 555 + 190). MCP stays 26 and the control surface is byte-identical. Discover the live list with designcraft-cli commands and describe.apps/designcraft); WebAssembly web build via trunk (apps/designcraft-web: WebGPU with a WebGL2 fallback, ?webgl to force it, ?sample for the sample magazine). The web build has no control channel, and Save/Export download files instead of writing them. Runtime environment variables: RUST_LOG, WGPU_BACKEND, WGPU_POWER_PREF, WGPU_ADAPTER_NAME, WGPU_VALIDATION_INDIRECT_CALL, DESIGNCRAFT_CONTROL_PORT, DESIGNCRAFT_CONFIG_DIR, DESIGNCRAFT_NO_PREFS, DESIGNCRAFT_NO_NATIVE_MENU, DESIGNCRAFT_WAYLAND (Linux). Windows installs per-user by default.Ranked shortfall list: docs/gaps.md (kept current by the maintainers — read it before promising work). Headline items at this tag:
docs/gaps.md §1)..joboptions presets, or output-intent choice beyond the built-in profile; PostScript printing is absent. Placed-PDF font repair is missing (gap 28): export and validate-pdf detect and name visible unembedded fonts, but nothing embeds, substitutes or outlines them automatically.layout.createAlternate copies the source layout's pages at the new size and objects follow the liquid (auto-fit) rules; layout.alternate.options only renames or resizes them, and a layout's pages keep their source pages' parents. Export Layouts and Versions writes PDF/PNG/JPEG only (standard none/x4/a2b — no X-1a, EPUB, HTML or PPTX in a batch job).gpu.json skip list; gap 5). v0.20.1 also asks the adapter for its largest buffer as well as its largest texture side, which removes one large-frame panic (apps/designcraft/src/gpu_limits.rs) but does not close the gap. Performance: no incremental composition and no GPU raster — the canvas is CPU-rendered with vello_cpu, the GPU only composites the UI (gap 20).font.reload) (gap 6).crates/ui-egui/src/i18n.rs LANGUAGES). pt-BR is 2,936 of 2,939 strings (~100%), AI-drafted with native-speaker review still pending; the maintainers' 2026-11-04 report gives Japanese 95%, Arabic 85%, French/German 83%, Czech 69%, Italian 68%, Ukrainian 65%, Polish 64%, Hungarian 65%, Russian 63%, Georgian 98%, Swedish 98%. Hindi, Indonesian, Korean and Vietnamese interfaces are absent. A missing string shows English and fails no check.crates/engine/src/script.rs).\g<name>, \g<1>, \g<-1>): the pattern errors instead of compiling, because the regex engine inlines each call. Empty-match scanning is also budgeted, so a pattern that only matches empty can return fewer matches than the paragraph length (crates/compose/src/grep.rs).file.open, file.place and every whole-file read reject a device, FIFO or other endless source and anything over 4 GiB; use a regular file (crates/engine/src/io.rs). Capped reads (some importers) still stop at their own cap but can open a device.links.list when the answer must be current; it is synchronous..txt (not .indk), applies only the Default context (Text for type/text commands), and rejects macOS Control-key chords; editing tool keys and managing sets happens in the Keyboard Shortcuts dialog, not the importer (crates/ui-egui/src/shortcut_import.rs, menus/keys.rs).layout.moveColumnGuide refuses while locked; changing column count or gutter discards the custom positions; a page that changes side of the spine mirrors them.file.close is not a safe "close tab": it closes without asking and discards the document's recovery data. The UI's File ▸ Close / tab × asks when the document is dirty; app.quit asks per dirty document, while the control method app.quit quits without asking.ui.dialog.open / ui_inspect confirms it.docs/target-app-parity.md still quotes old command counts (446 engine + 99 UI, and ~200); docs/agents.md and the CLI's SCRIPT_HELP say most commands ignore unknown parameters, while the CLI, MCP and control channel reject them; docs/localization-parity.md's "Other shipped languages" table still prints pre-catalogue percentages. Verify with designcraft-cli describe against your build.open -a DesignCraft (bundle id ai.storyteller.designcraft); to open a file: open -a DesignCraft brochure.designcraft. The executable inside the bundle is Contents/MacOS/DesignCraft.apps/designcraft/src/main.rs): --sample, --control <port> (also DESIGNCRAFT_CONTROL_PORT), --version, --gpu-skip=<list> (internal restart bookkeeping), plus any number of file paths.Contents/MacOS/designcraft-cli; the separate designcraft-cli-<version>-macos-universal.zip asset still exists, as do cargo install --path apps/designcraft-cli --locked and cargo build --release -p designcraft-cli. An independently installed CLI is not changed by app updates; the bundled one is.~/Library/Application Support/DesignCraft/ on macOS): ui.json, prefs.json, logs/designcraft.log (rotates, 16 MiB cap), gpu.json, and Recovery/. portable.txt next to the app switches to a DesignCraftData folder; DESIGNCRAFT_CONFIG_DIR overrides both.apps/designcraft-cli/src/main.rs)designcraft-cli run [--in FILE(.designcraft|.idml|.indd|.indt) | --sample] [--cmd ID[=JSON]]...
[--page N] [--scale S] [--pdf-options JSON] [--export OUT] [--all-pages DIR]
designcraft-cli commands [FILTER] # engine commands as JSON; FILTER matches id/label/menu
designcraft-cli describe COMMAND # label, menu path, shortcut and parameters of one command
designcraft-cli script [FILE|-] [--in FILE | --sample] [--connect PORT] [--save OUT]
[--export OUT] [--keep-going] [--help]
designcraft-cli app [--port PORT] COMMAND [JSON] | app --method METHOD [JSON]
designcraft-cli mcp [--connect PORT] [--sample] [--automation-read-root DIR]... [--automation-write-root DIR]...
designcraft-cli perf [--pages N] [--runs N] [--strict]
designcraft-cli bench FILE [--runs N]
designcraft-cli validate-pdf FILE.pdf [--standard x4|x1a] | thumbnail FILE.designcraft OUT.png [SIZE]
designcraft-cli links | --version
--page, --scale and --pdf-options apply to the --exports that follow them; one left after the last export is an error.--export picks the writer from the extension: .png/.jpg/.jpeg (a page), .pdf, .designcraft (Save As), .idml, .epub, .pptx, .html/.htm, .rtf/.txt; an unknown extension is an error and nothing runs; a name with no extension is a PNG of the page.run --cmd ID=JSON uses $N.path/$last.path references; a params key the command's description doesn't name is an error (checked by the CLI, MCP and control channel).script prints {"completed": n, "results": [...]} plus failedIndex/failedCommand/error and exits non-zero on failure; --keep-going records failures as results instead. Scripts are subject to the depth/step/byte limits above.mcp roots may each be repeated; a path inside any root of its kind passes. A root left out grants none of that access, and roots plus --connect is an error.thumbnail writes the document's saved first-page preview (fitted to SIZE px, never rendered) and refuses an output that names the input document; a file without a preview is an error. validate-pdf defaults to the file's own GTS_PDFXVersion and prints standard plus a separate warnings array.DocState with its own undo history, selection and (optionally) its own Document Fonts scope. A document is spreads → pages → items; text lives in stories threaded through text frames; parent pages contribute items behind a page's own.x = page width. Text offsets are UTF-8 byte offsets, not character counts (docs/mcp.md §Text offsets).spread: an integer, or {"kind":"parent","index":N}. page in guide/column commands is the page's index within its spread; document.inspect page index is absolute.layout.pages.delete / layout.pages.applyParent: an index at or past page_count errors with the count in the message, and a repeated index counts once in the reply.table.insert and table.get return a table id; table commands accept {table, story?, row?, col?, rows?, cols?} and, without a cell range, act on the whole table.file.close {index?} closes without prompting and discards recovery data; the UI's File ▸ Close / tab × and app.quit ask when dirty; the control app.quit does not. Save first.# Explicitly show every layer of the selected placed PDF, then read the state back
designcraft-cli run --in brochure.designcraft \
--cmd 'object.layerOptions={"useDefaults":false}' \
--cmd 'object.pdfLayers={}'
# Split a reflowable EPUB before paragraphs of one style, for this export only
designcraft-cli run --in brochure.designcraft \
--cmd 'document.epubSplit={"split":{"style":"Heading 1"}}' \
--export book.epub
# Press-ready PDF/X-1a (flattened), then validate it
designcraft-cli run --in brochure.designcraft \
--cmd 'file.info={"title":"Brochure","author":"A. Designer","keywords":"print"}' \
--export press.pdf
designcraft-cli validate-pdf press.pdf
# Story-wide hanging punctuation, then a list and a variable converted to text
designcraft-cli run --in brochure.designcraft \
--cmd 'story.options={"opticalMargin":true,"opticalMarginSize":12}' \
--cmd 'list.bullets={"on":true}' \
--cmd 'variables.convertAllToText={"name":"Running Header"}' \
--export page.pdf
# Delete two pages and hear how many went; then apply a parent to two pages
designcraft-cli run --sample \
--cmd 'layout.pages.delete={"pages":[1,2]}' \
--cmd 'layout.pages.applyParent={"pages":[0,1],"parent":"A"}'
# Create a table at a caret in a text frame, then fill a cell by table id (no cell selection)
designcraft-cli run --in catalogue.designcraft \
--cmd 'frame.create={"rect":[36,36,300,200],"content":"text","text":"","caret":0}' \
--cmd 'table.insert={"rows":4,"cols":4}' \
--cmd 'table.setCell={"table":"$1.table","row":0,"col":0,"fill":"[Black]"}'
object.layerOptions returns {hidden, useDefaults}; useDefaults cannot be combined with a non-empty hidden. Read object.pdfLayers — its overridden flag separates a per-placement choice from the file's defaults.document.epubSplit with no split is a query; off, "exportTags" or {"style": name} sets it. After export, unzip the EPUB and count OEBPS/content*.xhtml.story.options also accepts story/frame; omit both to use the selection. Per-paragraph ignoreOpticalMargin opts a paragraph out.selection.key {id} then object.align {edge, to?} — with a key object set, to defaults to keyObject.list.bullets/list.numbers are toggles: with no on they turn off when every selected paragraph already has the list, else on.file.info sets the document's title/author/description/keywords (File Info dialog); PDF export writes them into the PDF's Info dictionary.layout.pages.delete refuses to delete every page, counting duplicates once; layout.pages.applyParent with parent: null or "[None]" clears the parent.File ▸ Open… (Cmd+O, file.open {path}) — content-sniffed; .idml and .indd/.indt route through the IDML interchange module. file.recentFiles / file.openRecent back Open Recent.File ▸ Save (Cmd+S, file.save) and Save As… (Cmd+Shift+S, file.saveAs {path}) write the native .designcraft package; file.saveACopy writes a copy without changing the open document; writes are atomic.recoveryMinutes, minimum 5 s) and reopened after a crash (crates/engine/src/recovery.rs; file.recovery.{save,list,open}, file.revert).file.export* commands above, or the CLI's --export. Every export returns {path, bytes, …} plus a warnings array where applicable — read it.File ▸ Package (app.packageDialog, Cmd+Alt+Shift+P; file.package {dir, idml?, pdf?, instructions?}) relinks to a Links folder with package-relative link paths, copies placed files and document fonts, writes an IDML copy and a report. It copies the bytes the document loaded, not whatever is at the path now, and refuses to overwrite a font destination that changed after loading.# Headless: build a page and export it three ways (--scale applies to the exports after it)
designcraft-cli run --sample \
--cmd 'frame.create={"rect":[36,36,540,300],"content":"text","text":"Hello"}' \
--export page.png --scale 2 --export page@2x.png --export page.pdf
# Discover then call a command (never guess params)
designcraft-cli commands note && designcraft-cli describe note.split
# Drive a running app (start it with a control port first)
designcraft --sample --control 7979 &
designcraft-cli app document.inspect
designcraft-cli app --method ui.render '{"page":0,"scale":2}'
MCP registration (docs/mcp.md):
claude mcp add designcraft -- designcraft-cli mcp \
--automation-read-root "$PWD" --automation-write-root "$PWD/out"
Legitimate and productive
crates/images reads (PNG, JPEG, GIF, WebP, TIFF, BMP, PSD composite), author SVG or single-page PDF for vector/print art, write .docx/.rtf/.txt/.md (UTF-8 or UTF-16) for copy, and CSV/TSV/XLSX for Data Merge. Generate a test document with file.newSample.designcraft-cli run --cmd, script with $N.path wiring, MCP batch, or the control channel. Gesture paths exist (ui.pointer, key, text, ime, dialog_*), but commands are deterministic and return JSON.render_page/export_png/ui.render return or write PNGs — read the image after layout work; ui.screenshot gives the whole window.document.inspect (pages incl. columnRects/customColumns, items, stories with overset, styles, swatches, selection incl. guides), story.get, links.list, font.list, preflight.run {minPpi?}, document.preferences; view state is UI-only (ui.inspect). designcraft-cli describe gives exact parameter names.guide.add/guide.move/guide.moveBy, read back with guide.list; move column gutters with layout.moveColumnGuide after view.lockColumnGuides {on:false}, then verify columnRects.story.options for story-wide hanging punctuation, list.bullets/list.numbers for list buttons, note.* (incl. note.split) for notes, variables.convertToText when a client wants the running headers flattened, style.exportTag/document.epubSplit before an EPUB deliverable.table.insert/table.get's table (plus story when ambiguous) rather than selecting cells with pointer gestures; verify with table.get after structural edits..designcraft is a zip: unzip, read document.json, meta.json and assets/. Re-zipping by hand is risky: the reader requires document.json, honours meta.json's version (above 4 is refused), and runs Document::check() plus asset wiring on load. Prefer open → re-save through a command.designcraft-cli validate-pdf out.pdf, preflight.run (including whiteOverprint), story.get for overset text, links.list for missing images, every export's warnings, and an EPUB content-file count after document.epubSplit.DESIGNCRAFT_CONFIG_DIR pointed at a scratch folder.Do not attempt
docs/gaps.md and designcraft-cli describe. ExtendScript, UXP, .joboptions presets, plug-ins and Adobe cloud features do not exist (gaps 9, 22, 23).designcraft-cli in Contents/MacOS/. Use that path (or a separately installed CLI), and say which one you used.file.close or the control method app.quit on a dirty document — both discard unsaved work and recovery data. The app.quit command (and the UI) asks first..indk, apply non-Default contexts, or handle macOS Control-key chords; check changed and test a shortcut after importing..indd/.indt fidelity, INDB/INDL, or QuarkXPress import.\g<…>) or expect a pattern that matches empty at every character to return every position; the engine refuses or budgets those.file.open/file.place at a device or FIFO, and do not drive the GUI blind (no screenshot/inspect feedback). Never run --control on a port you do not control: the channel has no authentication (docs/control-protocol.md).DesignCraft is pre-alpha: treat every export as unverified until you have looked at it.
file.new or --sample) → one edit → save a .designcraft → reopen it (--in) → export the same page to PNG and PDF → check the PNG visually and the PDF with validate-pdf if you asked for standard: "x4" or "x1a". If a step fails or geometry moved, stop and report.bytes, pages, slides, warnings) and confirm the file exists and is non-empty. A failed step in a non---keep-going script still leaves earlier steps applied in the live app: re-inspect before retrying.meta.json; version 4 documents are refused by older readers. Keep a copy at the start of a session; to deliver files to someone on an older build, test one round-trip on their version first.plutil -p on the app's Contents/Info.plist, grep Version|BuildCommit; at this pin: 0.20.1, commit 33a4678…). The bundled designcraft-cli updates with the app; a separately installed CLI does not. The updater now asks to close only when no document is dirty and installs at exit; a failed install is reported on the next start.DESIGNCRAFT_CONFIG_DIR to a scratch folder, DESIGNCRAFT_NO_PREFS to avoid writing preferences, and --automation-read-root/--automation-write-root (repeatable) for MCP.guide.list; after layout.moveColumnGuide read document.inspect's columnRects/customColumns. Reopen and confirm they survive (and IDML too, if handing off IDML).story.options re-read type.selectionAttrs.storyOptions; after document.epubSplit unzip the EPUB and count content files, and click one cross-file link target.file.exportBatch returns files (use dryRun first); layout.pages.delete/applyParent return deleted/applied, so compare that count with the request.preflight.run and read whiteOverprint issues: a white object set to overprint looks fine on screen and vanishes on press. Fix the colour or the overprint setting, then re-run.Verify against your installed version. The repository at this pin and the installed bundle match exactly; if the launcher has since updated DesignCraft, re-run step 4 and re-check command parameters with designcraft-cli describe before relying on them.
33a467872268c98536231491865b4011b0275b17 (git rev-parse HEAD; "Merge tested main for v0.20.1", 2026-11-11), audited 2026-11-12. The v0.18.0 ref in the same checkout was used for set diffs (146 files, +8007/−658)./Applications/DesignCraft.app — CFBundleShortVersionString 0.20.1, DesignCraftBuildCommit 33a4678…, CFBundleIdentifier ai.storyteller.designcraft (Contents/Info.plist inspected, GUI never launched). The bundle contains Contents/MacOS/designcraft-cli, which prints designcraft-cli 0.20.1; the desktop binary prints designcraft 0.20.1; its read-only --version, --help, commands (555 entries) and describe runs are the live cross-check.README.md, Cargo.toml, ROADMAP.md, AGENTS.md, docs/{agents,mcp,control-protocol,gaps,target-app-parity,file-format-parity,graphic-layer-options,pdf-layer-visibility,localization-parity,cjk}.md, apps/designcraft/src/{main,gpu_limits,control_server}.rs, apps/designcraft-cli/src/{main,automation_args}.rs, crates/format/src/lib.rs, crates/engine/src/{lib,io,script,recovery,file_access}.rs, crates/engine/src/cmd.rs and crates/engine/src/cmd/ (incl. anchored.rs, export.rs, export/pdf.rs, export/formats.rs, export_batch.rs, preflight.rs, preflight/white_overprint.rs, pdflayers.rs, links.rs, package.rs, table/target.rs, text.rs, variables.rs, lists.rs, editorial.rs, file.rs, file/place.rs, guides.rs, layout.rs, layout/registry.rs, params.rs), crates/mcp/src/{tools,server,headless,backend}.rs, crates/ui-egui/src/{control,links_worker,shortcut_import,page_history,story_editor,updates_ui,i18n}.rs, crates/ui-egui/src/menus/{ui_commands,keys}.rs, crates/ui-egui/src/canvas/page_decor.rs, crates/doc/src/{anchored,page,item,assets,edit}.rs, crates/compose/src/{hyphen,grep}.rs, crates/pdf/src/{lib,pdfx,pdfx/fonts,pdfx1a,inks,optional_content}.rs, crates/epub/src/{lib,css}.rs, crates/idml/src/{import,export}.rs, crates/images/src/{lib,eps}.rs, crates/textimport/src/{lib,docx,xlsx,rtf,export}.rs, packaging/linux/flatpak/.cmd! id set and UI_COMMANDS rows extracted from the clone at both tags, MCP tool calls and control arms counted, CLI subcommands read from USAGE and the installed --help, format version from source, live registry cross-checked): 555 engine / 190 UI / 26 MCP tools / 28 control arms (31 method strings) / 11 CLI subcommands / format version 4 / 10 hyphenation languages / 15 non-English interface languages — all unchanged from v0.18.0 except the corrected control figure. Live discovery beats this document: designcraft-cli commands, designcraft-cli describe ID, and docs/gaps.md.references/agent-surfaces.md.