What's wrong with this entry?
Anonymous. No account, no email.
Auto-Compact Enhancement
The /compact command has been significantly improved:
- Better conversation summarization using a more sophisticated prompt template
- Improved error handling with clearer user messages
- The summary now includes structured sections:
- Primary Request and Intent
- Key Technical Concepts
- Files and Code Sections
- Problem Solving
- Pending Tasks
- Current Work
- Next Step Recommendation
Error messages are now more helpful:
- "Not enough messages to compact." - when conversation is too short
- "Conversation too long. Press esc to go up a few messages and try again." - when hitting API limits
- "API Error: Request was aborted." - for network issues
Diff Display Improvements
The code diff display now supports:
- Option to hide line numbers with the
hideLineNumbersparameter - Option to skip unchanged lines with the
skipUnchangedparameter - Enhanced word-level diff highlighting for better readability
File Reading Enhancements
- New token counting for file content to prevent API overload
- Better error messages when files exceed size limits:
- Size-based: "File content (XKB) exceeds maximum allowed size (YKB)"
- Token-based: "File content (X tokens) exceeds maximum allowed tokens (Y)"
- Improved handling of large file reads with streaming support
Shell Improvements
The persistent shell has been optimized:
- Better tracking of working directory changes with a "dirty" flag
- Reduced unnecessary
pwdcalls for better performance - Enhanced logging for debugging shell operations
- Fixed initialization timeout for shell configuration loading
Platform Detection
New environment detection capabilities:
isWslEnvironment: Detects if running in WSLisNpmFromWindowsPath: Detects if npm is being run from Windows path in WSL
Configuration
New configuration option added:
autoCompactEnabled: Control automatic conversation compacting (default: true)