npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tenonhq/dovetail-claude-plans

v0.0.5

Published

MCP server + CLI for Claude Code plans and visual artifacts surfaced in the Dovetail dashboard.

Readme

@tenonhq/dovetail-claude-plans

MCP server + CLI that surfaces Claude Code plans and visual artifacts (markdown, Mermaid diagrams) in the Dovetail dashboard.

What it does

Claude Code sessions push plans and artifacts via MCP stdio. Records land as JSON files under ~/.dovetail/claude-plans/. The Dovetail dashboard watches that directory and renders the records live at /claude-plans — markdown via marked, diagrams via mermaid.js.

Install

npm i -D @tenonhq/dovetail-claude-plans

The CTO repo's .mcp.json already wires this in via npx -y @tenonhq/dovetail-claude-plans mcp.

MCP tools

| Tool | Purpose | |---|---| | push_plan | Create / update a plan | | update_plan_status | DRAFT → APPROVED → EXITED | | get_plan | Returns plan + nested artifacts | | list_recent_plans | Newest first, status filter optional | | push_artifact | Generic artifact (kind: "markdown" \| "mermaid") | | push_diagram | Convenience wrapper around push_artifact for Mermaid sources |

Content formats

push_plan accepts three content formats — supply exactly one:

| Field | Format | |---|---| | content_md | Raw Markdown (rendered by marked.js) | | content_html | Raw HTML (sanitized by DOMPurify) | | content_structured | Zero-design JSON components (recommended) |

content_structured — component library

Pass a { sections: [...] } object. The server renders it to HTML using the dashboard's component CSS. Claude Code needs no HTML or CSS knowledge.

{
  "sections": [
    { "type": "header", "title": "Deploy PR #42", "subtitle": "feature/auth → PROD" },
    { "type": "meta", "rows": [
      { "label": "Author", "value": "Daniel" },
      { "label": "Status", "value": "Approved", "badge": "success" }
    ]},
    { "type": "callout", "variant": "warning", "message": "Touches auth middleware." },
    { "type": "steps", "steps": [
      { "label": "DEV",  "status": "done" },
      { "label": "TEST", "status": "done" },
      { "label": "UAT",  "status": "active" },
      { "label": "PROD", "status": "pending" }
    ]},
    { "type": "checklist", "title": "Pre-deploy", "items": [
      { "label": "Tests pass", "done": true },
      { "label": "Migration run", "done": false }
    ]},
    { "type": "metrics", "items": [
      { "label": "Files changed", "value": "12" },
      { "label": "Tests", "value": "142 / 142", "sub": "all pass", "variant": "success" }
    ]}
  ]
}

Section types:

| Type | Required fields | Optional fields | |---|---|---| | header | title | subtitle | | meta | rows: [{label, value}] | title, rows[].badge (default\|success\|warning\|danger\|info) | | callout | message | variant (info\|warning\|danger\|success), title | | checklist | items: [{label, done}] | title, items[].note | | steps | steps: [{label, status}] | title, steps[].note (done\|active\|pending\|error) | | metrics | items: [{label, value}] | items[].sub, items[].variant | | section | title | — | | table | headers: string[], rows: string[][] | title | | text | content | — | | code | content | title, lang | | tags | items: [{label}] | title, items[].color (green\|blue\|cyan\|sage\|warm\|yellow\|purple\|orange\|red\|teal) | | timeline | events: [{label}] | title, events[].time, events[].note, events[].status (done\|active\|pending\|error) | | progress | items: [{label, value}] | title, items[].max (default 100), items[].variant (success\|warning\|danger\|info) | | people | items: [{name}] | title, items[].sublabel, items[].color (blue\|emerald\|deep-emerald\|neon\|orange\|purple\|pink\|earthy) | | quote | text | cite |

CLI

dove-claude-plans list                # all plans, newest first
dove-claude-plans list --status DRAFT
dove-claude-plans exit <slug>         # flip to EXITED
dove-claude-plans exit-stale          # flip every DRAFT to EXITED (used by Claude Stop hook)
dove-claude-plans where               # print storage root
dove-claude-plans mcp                 # stdio MCP server (used by .mcp.json)
dove-claude-plans mcp --smoke         # list registered tools and exit (CI verification)

Storage layout

~/.dovetail/claude-plans/
├── <plan-slug>.json
└── <plan-slug>/
    └── artifacts/
        └── <artifact-slug>.json

All writes are atomic (.tmp → rename) so the dashboard watcher never sees a torn file.

Stop hook

Recommended addition to ~/.claude/settings.json:

{
  "hooks": {
    "Stop": [{
      "matcher": "*",
      "hooks": [{
        "type": "command",
        "command": "npx -y @tenonhq/dovetail-claude-plans exit-stale --quiet"
      }]
    }]
  }
}