Skip to content

v0.2.0

Choose a tag to compare

@ivan-hilckov ivan-hilckov released this 06 Feb 23:14
· 41 commits to main since this release

Major rewrite: unified inline editing assistant with extmark feedback, Telescope prompt history, and Claude Code project-level context.

Added

  • Unified :Botglue command replacing 4 separate operations
  • :BotglueCancel command for request cancellation
  • Inline progress display via extmarks (spinner + Claude activity above/below selection)
  • Telescope picker for prompt history with frequency sorting and model badges
  • Model cycling in input window (<C-s>) with visual badge
  • Prompt history with JSON persistence (~/.local/share/nvim/botglue/history.json)
  • Claude Code stream-json parsing for real-time activity display
  • Read-only tool access (Read,Grep,Glob) for project-level context
  • Configurable timeout (default 5 min), max_turns, ai_stdout_rows
  • Dynamic system prompt with file path, line range, filetype, project name
  • 60 tests (config, claude, display, history, operations, ui)

Changed

  • Single entry point M.run() replaces M.optimize/explain/refactor/translate()
  • Keymaps changed: <leader>pp (run), <leader>ps (cancel)
  • Input window now shows model badge in footer, supports pre-fill from history
  • Claude invocation uses -p with --output-format stream-json --verbose
  • Result mode is always replace (no explain/window mode in this version)

Removed

  • 4 hardcoded operations and their Russian prompt templates
  • ResultMode enum (REPLACE/WINDOW)
  • Result display window (show_result_window)
  • Spinner via nvim_echo (replaced by extmark-based display)
  • Old keymaps: <leader>po, <leader>pe, <leader>pr, <leader>pt
  • Old commands: BotglueOptimize, BotglueExplain, BotglueRefactor, BotglueTranslate

Dependencies

  • Added: telescope.nvim (required)