Skip to content

Releases: barmoshe/mdp

v0.6.0

28 Jun 13:19

Choose a tag to compare

Fixed

  • Plan preview renders before approval. The auto-render hook is now PreToolUse on ExitPlanMode, not PostToolUse. PostToolUse resolves only after you approve a plan, so the preview appeared only post-approval and, via --latest, could render the previous plan mid-iteration. The preview now pops up as the plan is presented and refreshes on every revision.

Added

  • preview-plan.mjs --hook. A first-class hook mode: it reads the ExitPlanMode tool-call JSON on stdin and renders that exact plan (tool_input.plan), so no shell wrapper is needed to wire the PreToolUse hook. It falls back to the newest saved plan when the payload carries none, and always exits 0 so it can never block ExitPlanMode. The repo's own .claude/settings.json and the README now use PreToolUse + --hook.

Changed

  • Plan preview works as an installed plugin. /mdp-preview-plan now invokes the converter via ${CLAUDE_PLUGIN_ROOT} (with a repo-root fallback) instead of a CWD-relative path, so it works for /mdp plugin users in any project, not just inside this repo.

Published: mdp-compiler@0.6.0, mdp-mcp@0.6.0. Claude Code + Codex plugins bumped to 0.6.0.

v0.5.0

24 Jun 10:21

Choose a tag to compare

Added

  • Plan form: a fifth interactive form that renders an implementation plan as collapsible phases with status-aware checklists and a live progress meter.
  • mdp:tasks block: a status-aware checklist (done / in progress / to do) that renders in every artifact and feeds the plan form's progress meter.
  • Plan-mode preview: a /mdp-preview-plan command and an ExitPlanMode hook that render a Claude Code plan as the plan form, deterministically and read-only.
  • Extension examples and a live showcase: three curated, zero-dependency reference packages under extensions/ (mdp-block-status, mdp-block-spec-sheet, mdp-artifact-resume), gated in CI, plus a site Extensions showcase and a "Build an extension" docs page.

Fixed

  • The extension scaffolder now documents content-blocks.mjs wiring, so a scaffolded block renders inside the interactive forms.

Published to npm: mdp-compiler@0.5.0, mdp-mcp@0.5.0. The Claude and Codex plugins move to 0.5.0 as well.

v0.4.0

24 Jun 10:21

Choose a tag to compare

Added

  • Send to Slack: a new mdp_send_slack MCP tool compiles a source and uploads the self-contained HTML artifact to a Slack channel as a file, via Slack's external-upload flow. Auth is a bot token in SLACK_BOT_TOKEN (scope files:write); the channel is the channel argument or MDP_SLACK_CHANNEL. Zero new dependencies.

This Release was backfilled: the v0.4.0 tag existed but no Release object had been cut.

v0.3.0

23 Jun 13:41

Choose a tag to compare

MDP 0.3.0 — interactive forms, custom brand color, an MCP server, a live site, and the first npm publish.

Highlights

  • Interactive forms. Four new artifacts that compile the same source into client-side experiences: scroll (scroll-driven narrative with reveal-on-enter, a progress bar, and a dot rail), accordion (collapsible <details> sections with Expand/Collapse all), tabs (arrow-key navigation and a deep-linkable hash), and stepper (a guided walkthrough with Back/Next). Each is opt-in via forms:, degrades to readable HTML with no JavaScript, respects prefers-reduced-motion, and keeps WCAG-AA contrast and keyboard navigation.
  • Timeline, FAQ, and pricing blocks (mdp:timeline, mdp:faq, mdp:pricing), rendered across every form.
  • Custom brand color. A brand-accent frontmatter field (one hex) that the engine derives a full WCAG-AA accent set from (five roles, light and dark), falling back to the named theme when a color cannot be made accessible. An optional brand-accent-2 adds a secondary color used sparingly, and brand-font selects the body/UI family from a closed set of system stacks.
  • Five more themes (ocean, forest, terracotta, coral, plum) for eleven total, each AA-verified in light and dark, plus a visual swatch theme picker in the playground and an AA-conformance test so a future theme cannot regress accessibility.
  • An MCP server (mdp-mcp): any MCP host (Claude Desktop, Cursor, ...) can compile MDP via mdp_compile, mdp_present, and mdp_validate, plus mdp://spec and mdp://example/* resources. Install with claude mcp add mdp -- npx -y mdp-mcp.
  • A Codex plugin in codex/ exposing the same mdp skill (codex marketplace add barmoshe/mdp).
  • A hub, live playground, and full docs at https://barmoshe.github.io/mdp/, deployed to GitHub Pages. The playground bundles the real engine, so it compiles with the same code the CLI and plugins run.

Published to npm

  • mdp-compiler — the dependency-free engine (npm i mdp-compiler)
  • mdp-mcp — the MCP server (npx -y mdp-mcp)
  • create-mdp-extension — the scaffolder (npm create mdp-extension)

The engine package was renamed from @mdp/core to mdp-compiler for its npm publish (the @mdp scope is owned by an unrelated party).

Full notes: CHANGELOG.md

v0.2.0

22 Jun 09:14

Choose a tag to compare

MDP 0.2.0 brings the format to npm.

Install

  • Engine: npm i mdp-compiler
  • MCP server: npx -y mdp-mcp (or claude mcp add mdp -- npx -y mdp-mcp)
  • Extension scaffolder: npm create mdp-extension

Highlights

  • Published to npm: mdp-compiler 0.2.0, mdp-mcp 0.2.0, create-mdp-extension 0.2.1 (all unscoped and public).
  • Eleven curated WCAG-AA themes in light and dark, enforced by a contrast test.
  • An MCP server so any MCP host can compile MDP: mdp_compile, mdp_present, mdp_validate.
  • A create-mdp-extension scaffolder for new blocks and artifacts.
  • A live hub, playground, and full docs at https://barmoshe.github.io/mdp.
  • A logo-only brand layer (brand-logo frontmatter), sanitized and engine-placed.

Zero-dependency Node ESM engine with deterministic, byte-identical output. Apache-2.0.
Full changelog: https://github.com/barmoshe/mdp/blob/main/CHANGELOG.md