Skip to content

v0.3.1

Choose a tag to compare

@snonux snonux released this 07 Feb 19:48
· 516 commits to main since this release

Release v0.3.1

Release Notes

Overview

This release focuses on improving the in-editor chat experience and code completion behavior in Hexai, making interactions more intuitive and reducing accidental completions. It introduces new, clearer chat triggers, ensures completions and chat do not conflict, and updates documentation to reflect these changes.


Features

New In-Editor Chat Triggers

  • What’s new: Chat prompts are now triggered by ending a line with ?>, !>, :>, or ;>.
  • Why it matters: These triggers are more explicit and less likely to conflict with normal code or punctuation, making it easier to ask questions or request explanations directly in your editor.

Improvements

Chat and Completion Separation

  • What’s improved: Code completion is now automatically suppressed when a chat trigger (?>, !>, :>, ;>) is detected at the end of a line.
  • Why it matters: This prevents accidental code completions when you intend to ask a question, resulting in a smoother and more predictable workflow.

Documentation Updates

  • What’s improved: Usage examples and documentation have been updated to reflect the new chat triggers and clarify how chat and completion interact.
  • Why it matters: Users can quickly understand the new workflow and avoid confusion when using chat features.

Bug Fixes

  • Suppressed Completions on Chat Triggers: Fixed an issue where code completions could still appear when using chat triggers at the end of a line. Now, completions are reliably suppressed in these cases.

Migration Notes

  • No breaking changes to configuration or API.
  • Action required: Update your workflow to use the new chat triggers (?>, !>, :>, ;>) instead of the old ones (??, !!, ::, or ;; for chat). Inline code-completion triggers like ;;text; remain unchanged.

Summary

This update makes Hexai’s in-editor chat and code completion more intuitive and less error-prone. By introducing clearer chat triggers and ensuring completions and chat do not interfere with each other, Hexai continues to streamline your coding and AI-assisted workflows.