Copilot CLI v1.0.41: File Attachments & Edit Reliability
Copilot CLI 1.0.41 adds file attachment support for non-interactive prompts, improves edit reliability, and fixes @-mention completion for paths. Windows stability also improved.
TL;DR
- Attach files to prompts in non-interactive mode with new --attachment flag
- File edits now recover better from fuzzy alignment issues
- @-mention completion fixed for paths, Windows stability improved
New
- --attachment flag — attach images or documents to initial prompts in -p/--prompt mode, enabling richer context without interactive mode
Improved
- File edit reliability — better recovery from fuzzy or misaligned edit blocks reduces failed edits
Fixed
- @-mention completion now works for ./ paths, removes trailing space on directories, shows project files before workspace roots
- Windows stability — worked around V8 crash in Node 24.x
- Session files with Unicode line separator characters now load correctly
- Reasoning effort picker hint text displays "Esc to cancel" with proper spacing
Update: npm install -g @github/copilot-cli@1.0.41-0
Source: Copilot CLI