Commit Graph

283 Commits

Author SHA1 Message Date
yetone
7e31317fbc fix(lint): make neovim 0.11 typecheck happy (#1844) 2025-04-10 14:14:47 +08:00
yetone
87ea15bb94 fix: follow the prev slash command strategy (#1835) 2025-04-08 20:01:57 +08:00
yetone
d76a158b61 feat: custom slash commands (#1826) 2025-04-07 22:19:59 +08:00
Jae-Won Chung
40ffc0f5fa Use vim.hl if available (#1809) 2025-04-07 15:04:37 +08:00
yetone
d698dbe17a fix: badcase in gpt-4o (#1757) 2025-03-28 12:57:49 +08:00
yetone
a9b01e766e chores: use stopinsert (#1745) 2025-03-28 00:17:01 +08:00
yetone
a06bb97db6 fix: close the hint win when the input win is closed (#1734) 2025-03-26 22:20:39 +08:00
yetone
39787969c7 fix: memory (#1718) 2025-03-26 00:45:54 +08:00
yetone
d82eb8534e fix: prompts (#1715) 2025-03-25 23:16:03 +08:00
yetone
a2aec079c9 feat: extract str_replace tool (#1710) 2025-03-25 18:43:57 +08:00
yetone
8c4244b940 fix: decrease history max tokens (#1709) 2025-03-25 16:07:45 +08:00
yetone
f84cb2896d fix: prohibit repeated reading of the file (#1708) 2025-03-25 15:54:47 +08:00
yetone
976fb4177c fix: refine tools (#1706)
* fix: refine tools

* fix: missing break line

* fix: view a in-context file

* fix: remove create_file tests
2025-03-25 11:17:48 +08:00
yetone
5e0cc39210 fix: special handling wehn vim diff count_a is 0 (#1698) 2025-03-24 18:19:17 +08:00
yetone
e33d648d71 fix: special handling wehn vim diff count_a is 0 (#1697) 2025-03-24 17:56:10 +08:00
yetone
642020ff2d fix: selected code container winhighlight (#1695) 2025-03-24 16:59:08 +08:00
yetone
2c63dfea16 fix: special handling wehn vim diff count_a is 0 (#1692) 2025-03-24 15:41:20 +08:00
yetone
1cc81b10bf fix: startinsert in the last col (#1667) 2025-03-22 02:20:43 +08:00
yetone
1e1cd1cf78 fix: confirm ui (#1665) 2025-03-22 01:57:22 +08:00
yetone
1025d45cfa fix: result container winbar (#1664) 2025-03-22 00:48:59 +08:00
yetone
86b63b2a33 chores: refine ui (#1663) 2025-03-22 00:42:20 +08:00
Omar Crespo
d1fa11ec41 fix: claude-text-editor dont change the mod for other providers (#1656) 2025-03-21 10:30:44 +08:00
yetone
3a96c1f9c7 fix: do not asynchronously store history messages (#1654) 2025-03-20 19:27:32 +08:00
yetone
af372d7328 fix: confirm ux (#1653) 2025-03-20 19:00:23 +08:00
yetone
a9ec013f1c fix: fix code snippets parsing bug in cursor planning mode (#1651) 2025-03-20 13:26:00 +08:00
yetone
8c9cd1a7b2 Revert "feat: Allow Chat Sidebar to Replace the Main Window (No Split) (#1638)" (#1648)
This reverts commit 31041f6d65.
2025-03-20 03:25:08 +08:00
brook hong
31041f6d65 feat: Allow Chat Sidebar to Replace the Main Window (No Split) (#1638) 2025-03-20 03:10:54 +08:00
yetone
bfe8404161 fix: treesitter fold (#1647) 2025-03-20 03:04:30 +08:00
yetone
1c8cac1958 feat: history manager (#1644) 2025-03-19 17:28:05 +08:00
yetone
191d7b8783 feat: claude text editor tool (#1631) 2025-03-19 00:09:49 +08:00
brook hong
a8baee4354 fix: header text in case of no nvim-web-devicons setup and show current provider/model in it (#1617) 2025-03-18 19:40:50 +08:00
Haaris Rahman
4384a8ddca fix: use new treesitter syntax for cursor planning (#1623) 2025-03-18 10:43:08 +08:00
yetone
540cc53f0c fix: valid codeblock (#1616) 2025-03-17 19:06:40 +08:00
Jaime
f761e83033 fix: update displayed response for the first chunk (#1594)
If one is using avante.nvim with a non streaming LLM API the API
response will only have a single chunk. So that if we don't update the
displayed_response in the sidebar component, the output of the LLM will
be removed from the sidebar when we complete the interaction with the
LLM.

This commit makes sure that the displayed_response is updated for the
first chunk as well as subsequent ones.
2025-03-17 17:48:32 +08:00
yetone
aaf400a411 fix: parse empty code block in markdown (#1612) 2025-03-17 15:03:04 +08:00
yetone
63605a55a3 fix: increase history max_tokens (#1609) 2025-03-17 04:38:08 +08:00
yetone
e05312f83b fix: reset buffer (#1608) 2025-03-17 04:05:22 +08:00
yetone
6e77da83c1 fix: better sidebar (#1603)
* fix: better sidebar

* feat: better msg history

* fix: tests
2025-03-17 01:40:05 +08:00
Kasper Seweryn
c4fa4621fb fix: remove stale popup buffers (#1530)
* fix: remove stale popup buffers

* fix: restore the logic for updating the buffer

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2025-03-12 16:43:25 +08:00
yetone
5a1f9fcfb9 fix: trim empty last line (#1556) 2025-03-11 15:20:58 +08:00
yetone
558a7bbd38 fix: close_from_input keybinding types (#1546) 2025-03-10 15:54:01 +08:00
Jae-Won Chung
9fa2d9e51d fix: remove sidebar.close_from_input default keybinding (#1536)
* Remove <c-d> from default insert mode keybinding

* Check `close_from_input ~= nil` before keymap

* Default `close_from_input` to `nil`

* Update README.md keybinding defaults

* Try to pass type check
2025-03-10 15:31:13 +08:00
Canopus
4976807a33 fix: thrown error when trying to use codebase with no buffer opened (#1541)
* Fix - Fix thrown error when trying to use @codebase with no buffer opened

* Style - Fix stylua formatting in repo_map and sidebar

* Fix - Restore code selection handling in sidebar
This was a mistake on my part while rushing to make the PR. I deleted an
unrelated commit that got sent by mistake, and during the second review,
I didn't notice that this important code selection functionality was
removed. The code has now been properly restored.
2025-03-10 00:20:43 +08:00
yetone
05b3b843c8 fix: selected code (#1542) 2025-03-10 00:17:24 +08:00
yetone
a0e0924730 feat: carry recently viewed files as context (#1538) 2025-03-09 15:42:31 +08:00
yetone
868c136574 refactor: remove use_xml_format (#1535) 2025-03-09 14:58:30 +08:00
brook hong
4766e76a31 feat: add key mappings to close sidebar in input_container (#1494)
* add key mappings to close sidebar in input_container
* add autocmd to enter normal mode on leaving input_container
* add autocmd to enter insert mode on entering input_container
2025-03-08 12:55:13 +08:00
yetone
d75094b815 fix: bedrock (#1524)
* fix: bedrock

* fix: bad variable name

* fix: missing metatable
2025-03-08 02:17:28 +08:00
yetone
8620ea3e12 refactor: summarize memory (#1508) 2025-03-07 00:12:57 +08:00
Jie Liu
3fae794ea8 fix: sub-folder creation on Windows (#1468) 2025-03-03 15:08:39 +08:00