Mint v1.2.4
Mint Release Notes
v1.2.4 - The "Smart Path & Dynamic Version" Update
This update makes Mint much more "street smart" when it comes to finding your files and provides a more consistent versioning experience across the CLI.
✨ New Features
- Smart Path Resolution:
- Automatic Root Correction: If you (or the AI) specify a path like
/Downloads/...that doesn't exist at the system root, Mint now automatically checks your Home directory. - Common Directory Search: Simply type a folder name (e.g.,
Gamesorvscode), and Mint will automatically search in your most common directories (Downloads, Desktop, Documents, Videos, Pictures, Music, vscode, Games). - Tilde (~) Expansion: Added support for
~/path expansion even when commands are executed in a quoted shell environment.
- Automatic Root Correction: If you (or the AI) specify a path like
- Dynamic Versioning:
- The CLI now dynamically pulls its version number directly from
package.json. No more manual version bumps in multiple files! - Visibility: Added version display to the startup header and the
/configslash command.
- The CLI now dynamically pulls its version number directly from
🛠️ Improvements & Bug Fixes
- Robust File Operations: Updated
createFolder,openFile, anddeleteFileto all use the new smart path resolution logic, preventing "No such file or directory" errors. - CLI Consistency: Fixed an issue where
mint --versionwould report an outdated hardcoded version.
v1.2.3 - The "Smart TUI" Update
This release focuses on enhancing the CLI experience with better system awareness, a polished terminal interface, and improved stability.
✨ New Features
- System Awareness: Mint can now retrieve and report system information, including OS, Kernel version, and Architecture (x86_64).
- Enhanced TUI Layout:
- Implemented a new "Bubble-Lite" message style with distinct left-borders for the assistant and proper indentation for all multi-line messages.
- Manual Text Wrapping: Added smart text wrapping to ensure long Thai/English messages stay within the frame without breaking the layout.
- Mouse Support: Enabled mouse scroll wheel support for navigating chat history effortlessly.
- Startup Info: Added a clean startup header showing the Active Model and current Timestamp.
🛠️ Improvements & Bug Fixes
- Terminal Cleanup: Fixed an issue where "garbage" mouse coordinate characters (e.g., 35;35;44M) appeared after exiting. Added robust terminal state restoration (disabling mouse tracking and restoring cursor).
- Slash Command Aliases: Added
/modelas a convenient alias for/models. - Silence Background Logs: Suppressed technical logs from
dotenvxand model initialization to provide a cleaner chat experience. - User Selection Hint: Added UI hints for text selection (Shift+Drag) while mouse mode is active.
📦 Installation
Update to the latest version via npm:
npm install -g @pheem49/mint@latest