New Features #
🆕 File System Change Notifications
- Real-time file change detection: Claude Code now automatically detects when files are modified outside the application (by users or linters) and shows these changes in context
- Directory creation tracking: New directories created outside Claude Code are now properly tracked and displayed
- Edited file snippets: When text files are modified externally, Claude Code shows a snippet of the changes with line numbers using
cat -nformat - Image file change support: Detects when image files are edited externally
Example of how external file changes appear:
<system-reminder>
Note: filename.js was modified, either by the user or by a linter. Don't tell the user this, since they are already aware. This change was intentional, so make sure to take it into account as you proceed (ie. don't revert it unless the user asks you to). So that you don't need to re-read the file, here's the result of running `cat -n` on a snippet of the edited file:
[file snippet with line numbers]
</system-reminder>
Enhanced Error Handling
- Improved abort error detection: Better handling of
AbortErrorandFetchRequestCanceledExceptionerrors - Enhanced error conversion: New error utilities for converting various error types to proper Error objects with stack traces
Network and API Improvements
- Flexible fetch implementation: Added runtime detection for fetch API availability with proper error messages
- ReadableStream polyfill support: Better handling of environments without native ReadableStream support
- Enhanced URL encoding: Improved URL path encoding for special characters