Skip to content

DiagramPilot v0.2.11

Choose a tag to compare

@github-actions github-actions released this 09 Jun 15:58
11d9b19

DiagramPilot v0.2.11

Issue: MCP Source Creation
Issue Version: 0.2.11
Tag: v0.2.11
npm: https://www.npmjs.com/package/diagrampilot/v/0.2.11
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_source for structured DiagramSpec input.
  • Added diagrampilot_suggest_stable_ids as 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.

Validation Results

npm test
node packages/cli/dist/index.js mcp --help
git diff --check
npm run audit:fallow
npm run audit:fallow:changed

All commands passed.