Use this page as a map of the deckster repository: which package does what, which one you install, and how they call each other. The links go to each package’s README on GitHub, which has its exports and the rules for changing it.
What is published
Only @deckster/cli is on npm. The other ten packages have "private": true in their package.json and are never published. The CLI carries them instead: its npm package holds the framework’s TypeScript source under dist/framework/packages/ (all eleven packages, cli included), and the default brand under dist/framework/brands/default/. No other brand ships with it; see use a brand.
The packages
| Package | What it does |
|---|---|
@deckster/cli |
deck, the command line. The only published package. |
@deckster/engine |
The React runtime that renders a deck (canvas, steps, navigation, the URL hash, window.__deck) and the typed contracts for the deck config, slide frontmatter and layouts. |
@deckster/vite-plugin |
Turns one folder under decks/ into a Vite app: finds and validates the deck, compiles MDX slides, serves the virtual:deck* modules, builds mini apps and locks down the dev server. |
@deckster/brand |
The brand schema, resolver and checks; compiles a brand.ts to CSS custom properties, a Tailwind theme, @font-face rules and code themes. |
@deckster/kit |
The 63 layouts and the code, media, link, chart, diagram and mini-app components. |
@deckster/presenter |
The presenting tools: sidebar, overview, presenter window with notes and pacing, go-to, blackout, laser pointer, shortcut help. |
@deckster/comments |
Review comments: the overlay in the dev server and the files they are saved to. |
@deckster/export |
The PDF and PowerPoint writer behind deck export, and its --verify tooling. |
@deckster/shell |
The Electron app behind deck present: the audience and presenter windows. |
@deckster/agent |
The deck MCP server, the host that runs your own claude or codex CLI one turn at a time, and the chat panel. |
@deckster/app-bridge |
The postMessage protocol between a deck and the mini apps it shows in <AppFrame>. |
How they fit together
Every deck command starts in the CLI. To serve, build or capture a deck, it drives @deckster/vite-plugin, which validates the deck and serves a page of the engine with three runtime plugins loaded into every deck, in dev and in builds: the brand’s stylesheet from @deckster/brand, the layouts and components from @deckster/kit, and the tools from @deckster/presenter.
Some parts exist only while a deck is served by deck dev or deck present: @deckster/comments adds its overlay and endpoint, and @deckster/agent adds the MCP endpoint with --mcp and the chat panel with --agent. A build, deck shot, deck lint and the exports have neither.
@deckster/export runs only inside the CLI, for deck export and deck diff, on slides Chromium has rendered. @deckster/shell is a separate Electron process that deck present starts and drives over standard input and output; it loads no deck itself. @deckster/app-bridge runs in the deck page and inside each mini app.
Why it is split this way, and why the engine is its own runtime, is on design decisions. To work on the packages, start from work from a clone and contributing.