Repository navigation
v0.2.0
Major rewrite: unified inline editing assistant with extmark feedback, Telescope prompt history, and Claude Code project-level context.
Added
- Unified
:Botgluecommand replacing 4 separate operations :BotglueCancelcommand 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()replacesM.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
-pwith--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
ResultModeenum (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)