DiagramPilot v0.2.13
DiagramPilot v0.2.13
Issue: MCP Source Creation
Issue Version: 0.2.13
Tag: v0.2.13
npm: https://www.npmjs.com/package/diagrampilot/v/0.2.13
Public Website: https://diagrampilot.com
Summary
Add MCP Source Creation from structured input, writing valid YAML DiagramPilot
Source Files rather than raw YAML text replacement. Source Creation must
require caller-provided Stable IDs and should include a read-only Stable ID
suggestion helper so agents can propose valid IDs before writing.
Created sources should use canonical YAML key order and validate before the
tool reports success.
Implementation Notes
- Added
diagrampilot_create_sourcefor structured DiagramSpec input. - Added
diagrampilot_suggest_stable_idsas a read-only Stable ID suggestion
helper. - Created sources are written only to
*.dp.yaml, use canonical YAML key
order, validate before success, and return structured before/after summaries
with written paths instead of full source text. - Missing, invalid, and duplicate caller-provided Stable IDs fail before write.
- Updated MCP registry, stdio schemas, launch snapshots, and public MCP docs.
- PR #81 merged the implementation into
mainon 2026-06-09. - Follow-up closeout assigns issue 74 to release version
0.2.13and syncs
shared release metadata.
Validation Results
npm test
node packages/cli/dist/index.js mcp --help
npm run sync:issue-release-version -- --issue .scratch/v0-3-0-alpha-capability-release/issues/74-mcp-source-creation.md
npm run check:issue-release-version
node scripts/check-release-version.mjs
git diff --check
npm run audit:fallow
npm run audit:fallow:changedAll commands passed in the follow-up closeout. npm run sync:issue-release-version
updated shared release metadata to 0.2.13 and refreshed version-sensitive
artifacts.