v0.9.0 Better piping support and file handling
Release Notes
Enhancements
Improved Code Block Processing
- No More Language Tags: We've streamlined the extraction of code blocks by eliminating language indicators and superfluous blank lines. This means you get only the essential code without the clutter, ready for immediate use.
- Automatic Code Extraction: The first line in code blocks is now automatically skipped unless it contains actual code, ensuring you get right to what's important.
- Enhanced Accuracy: We've maintained all existing functionalities while boosting the precision and relevance of extracted data.
- User-Centric Experience: Experience less manual editing and faster integration, making your workflow more efficient than ever.
Customizable File Saving
- Filename Prompt for /save-last-answer: The slash command now prompts for a filename when saving the last assistant's message, allowing for greater personalization and file organization.
- Automatic Default: If you prefer to skip manual file naming, it defaults to ‘last_answer.txt’, ensuring your work is always saved.
- Talk About Flexibility: Whether you want a custom name or the default, the choice is yours, powered by a user-friendly input process.
Smarter Filename Input
- Autocompletion Support: We've revamped the filename input method with new autocompletion features. Say goodbye to cumbersome writing and hello to efficient input with Rustyline’s
FilenameCompleter
. - Seamless Interaction: Enjoy an intuitive file selection experience, making your workflow smoother and more productive.
Refactoring and Code Organization
Improved Modular Structure
- More Orderly Structure: Our internal refactor organizes CLI editors into dedicated modules, making for a cleaner, more maintainable codebase.
- Future-Proofed: This lays the groundwork for more advanced editor features down the line, ensuring our platform grows with your needs.
Usability Improvements
Cleaner Outputs and Smart Spinner Use
- No Unwanted Formatting: Formatting is now selectively applied to terminal outputs, preventing unnecessary formatting anomalies in files.
- Context-Aware Spinners: Spinners are conditionally activated based on your output destination, ensuring a polished experience free of unintended artifacts in your logs or scripts.
Thank you for being a valued user! We believe these changes will enhance your experience and streamline your workflows. Enjoy the latest enhancements and happy coding!