mirror of
https://github.com/HKUDS/CLI-Anything.git
synced 2026-07-07 15:18:32 +08:00
Implements a full CLI harness that converts Draw.io (diagrams.net) into an agent-callable API, following the CLI-Anything 7-phase pipeline pattern. Features: - XML-native manipulation of .drawio files (no GUI required) - 15 shape presets (rectangle, ellipse, diamond, cylinder, cloud, etc.) - 4 edge styles (straight, orthogonal, curved, entity-relation) - Style property system (fill/stroke/font color, opacity, shadow, dashed, etc.) - Multi-page diagram support - Undo/redo with snapshot-based history (50 levels) - Session persistence and auto-save in --project mode - Interactive REPL mode with prompt-toolkit - JSON output mode for AI agent consumption - Export pipeline: XML direct + PNG/SVG/PDF via draw.io desktop CLI - 138 tests passing (116 unit + 22 e2e), 3 skipped (require draw.io desktop) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>