Skip to content

Releases: acris-software/grok-nvim

grok-nvim v0.1.1 Release Notes

21 Oct 03:47
ca38022

Choose a tag to compare

grok-nvim v0.1.1 Release Notes

Release Date: October 20, 2025

Overview

The v0.1.1 release of grok-nvim brings significant UI improvements and bug fixes, enhancing the plugin's usability within Neovim. This update focuses on polishing the chat interface and resolving key issues identified in v0.1.0.

New Features

  • UI Polish:
    • Centered chat input box with configurable positions (left, center, right).
    • Multi-line prompt support with auto-growing height (3-8 lines).
    • Auto-scrolling to keep new messages in view.
  • Command Addition:
    • :GrokKeymaps command to display chat window keymaps (accessible via Tab 2).

Bug Fixes

  • Issue 4: Corrected max prompt length to track characters (2000 for grok-3-mini) instead of tokens.
  • Issue 5: Ensured consistent prompt box display on repeated :Grok commands.
  • Issue 7: Fixed Neovim exit issues by properly cleaning up buffers, eliminating the need for :qa!.

Verification

  • Confirmed Grok-3-mini context window limit of 131072 tokens.
  • Core features tested and functional; edge-case testing ongoing.

Known Limitations

  • Further testing is recommended for edge cases (e.g., rapid tab switching, heavy usage, Neovim exit scenarios).
  • Max character limit (2000 chars) and GitHub CLI integration with Lazygit verified but should be validated in diverse workflows.

Installation

  • Update via your plugin manager (e.g., Packer, Lazy) or clone the latest from the repo.
  • Ensure Neovim 0.9+ and required dependencies (plenary.nvim) are installed.

Next Steps

  • Complete edge-case testing post-release.
  • Plan v0.1.2 features based on user feedback.

grok-nvim v0.1.0 release

20 Oct 08:04
40a84b4

Choose a tag to compare

v0.1.0 (Basic)

Basic chat, streaming, UI, logging, visual selection. Fixes for reasoning/modifiability. Multi-turn persistence and logging enhancements.
Multi-Turn Chat Persistence (Target: 0.1.0)

  • Description: Maintain conversation history per session.
  • Implementation Notes:
    • In chat.lua: Add local history = {} table.
    • On input: Append {role="user", content=input} to history; send full history to API.
    • Append assistant response to history.
    • Clear on :GrokClear.
  • Dependencies: ui.lua for appending responses.
  • Status: [✓] Implemented.

Logging and Debugging Toggle (Target: 0.1.0)

  • Description: Verbose logs when debug=true.
  • Implementation Notes: Already gated; add more details (e.g., full JSON in stream).
  • Status: [✓] Implemented and enhanced with levels (debug, info, error) and throttling.

Plugin Manager Compatibility (Target: 0.1.0)

  • Description: Lazy-loading spec.
  • Implementation Notes: Add lazy.nvim example in README.
  • Status: [✓] Implicitly supported.

Issue 1 Fix: Chat Persistence on Tab Switch (Target: 0.1.0)

  • Description: History persists when switching tabs.
  • Status: [✓] Fixed via modular chat/history.lua + render.lua re-render.

Issue 2 Fix: Fixed Navigation Bar (Target: 0.1.0)

  • Description: Header stays visible across all tabs.
  • Status: [✓] Fixed via render_tab_header always on line 0.

Issue 3 Fix: Read-Only Grok Responses (Target: 0.1.0)

  • Description: Assistant responses cannot be edited.
  • Status: [✓] Fixed via vim.ui.input + modifiable=false.

Recent commits

  • [grok-nvim] 0.1.0-120-p: v0.1.0 COMPLETE - All issues fixed, MVP ready
  • [grok-nvim] 0.1.0-119-p: Modularized chat.lua into chat/ directory structure
  • [grok-nvim] 0.1.0-118-p: feat: Multi-turn chat persistence for v0.1.0
    • Add history table in chat.lua for session persistence.
    • Append user/assistant messages, send to API.
    • Update :GrokClear to reset history, close window.
    • Ensure render.lua keeps chat tab modifiable.
    • Support v0.1.0: chat, streaming, UI, logging, selection.

Test:

  • History persists in session and API.
  • :GrokClear resets and closes.
  • Chat tab stays modifiable, UI responsive.
  • Logging and :GrokVisual work.