mirror of
https://github.com/HKUDS/CLI-Anything.git
synced 2026-08-28 23:27:04 +08:00
501931c5e3
Commands now reload project metadata from output files after backend operations, ensuring session.project_data reflects actual changes. Previously, snapshot() captured state before mscore operations, but project_data was never updated afterward—undo restored unchanged metadata. Now all mutation commands (transpose, add/remove/reorder instruments) update session state from the output file. Fixes the issue identified in PR review where undo/redo was scaffolding-only for backend-driven harnesses. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>