Skip to content

grok-nvim v0.1.0 release

Choose a tag to compare

@acris-software acris-software released this 20 Oct 08:04
· 29 commits to master since this release
40a84b4

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.