v1.8.0: Worksheet Atomic Operations & Screenshot Rendering Fix
Highlights
Fixed Issues
- Worksheet copy-to-file No Longer Requires session_id - The atomic \copy-to-file\ and \move-to-file\ operations now work transparently without requiring a session parameter
- Screenshots Now Capture Reliably After Save Operations - Added automatic rendering delays and window focus handling to prevent blank/white screenshots
New Features
- Manual ExcelWorksheetTool for intelligent routing of session vs. atomic operations
- Enhanced screenshot rendering with 500ms delays and app.Activate() call
- New smoke test validating atomic worksheet operations
Changes
- ✨ New: src/ExcelMcp.McpServer/Tools/ExcelWorksheetTool.cs
- 🔧 Enhanced: src/ExcelMcp.Core/Commands/Screenshot/ScreenshotCommands.cs
- Added automatic 500ms rendering delay when Excel already visible
- Added window activation for proper focus
- Increased CopyPicture retries from 5 to 7 (3.5s timeout)
- 🔧 Updated: src/ExcelMcp.Core/Commands/Sheet/ISheetCommands.cs
- 🧪 New Test: WorksheetCopyToFile_WithoutSessionId_Works
Compatibility
✅ Fully backward compatible - No breaking changes