DiagramPilot v0.2.10
DiagramPilot v0.2.10
Issue: MCP repo output generation tool
Issue Version: 0.2.10
Tag: v0.2.10
npm: https://www.npmjs.com/package/diagrampilot/v/0.2.10
Public Website: https://diagrampilot.com
Summary
Add a side-effecting MCP tool that refreshes configured repo outputs through
DiagramPilot generation. The tool must require explicit paths or scopes and
must not default to the whole repository. It should return a structured
before/after summary and written paths rather than a full diff.
Implementation Notes
- Added
diagrampilot_generate_repo_outputsas an MCP write tool with
destructive/idempotent annotations. - The tool requires non-empty
source_pathsorscope_paths; it does not
default to the current repository. - Generation delegates to the core repo workflow generator, writes the returned
write intents with the same parent-directory creation and text/binary write
behavior asdiagrampilot generate, and returns redacted structured results
without generated file contents or diffs. - Added MCP runtime and stdio coverage for explicit source paths, explicit
directory scopes, configured output writes, unsafe output paths, invalid
sources, no whole-repo default, written paths, skipped paths, and repairable
failures. - Cleared all 30 selected historic Fallow health findings, including the 20
follow-up findings requested after the first pass. - Split large workflow, topology, SVG freshness, release, init, and website
validation branches into focused helpers/modules while preserving behavior.
Validation Results
npm testpassed.node packages/cli/dist/index.js mcp --helppassed.npm run audit:fallowpassed.npm run audit:fallow:changedpassed.npm run check:issue-release-version -- --issue .scratch/v0-3-0-alpha-capability-release/issues/73-mcp-repo-output-generation-tool.mdpassed.git diff --checkpassed.