refactor(mcp): simplify history implementation

- Reduce history.ts from 169 to 51 lines
- Remove AI tools (list_history, restore_version, get_version)
- Remove /api/update-svg endpoint
- Remove 10-second history polling
- Simplify HistoryEntry to just {xml, svg}
- Use array index instead of version numbers

Total reduction: 1936 → 923 lines (-52%)
This commit is contained in:
dayuan.jiang
2025-12-21 16:11:49 +09:00
parent c215d80688
commit b9bc2a72c6
3 changed files with 224 additions and 1203 deletions

File diff suppressed because it is too large Load Diff