43 Commits

Author SHA1 Message Date
Waitzz
a9a558d1e2 feat: Add mapping to delete avante history via fzf-lua (#2869) 2025-12-21 19:34:37 +08:00
Waitzz
483c57013c fix: history selector snacks.nvim live search error (#2870) 2025-12-21 19:34:24 +08:00
XuJiawei
92f972a413 feat: Add mapping to delete avante history via snacks.nvim (#2868) 2025-12-14 19:02:43 +08:00
XuJiawei
08977a401f feat: Add mapping to delete avante history via telescope.nvim (#2867) 2025-12-14 02:49:54 +08:00
Jalen Jouett
ca95e03864 Fix: Snacks picker format config (#2828) 2025-11-13 00:55:03 +08:00
Dmitry Torokhov
4fc83dc308 cleanup: use vim.uv instead of vim.loop everywhere (#2762) 2025-10-15 18:44:40 +08:00
Carlos Gomes
cecd0de6fc feat: Allow inline buttons and popup confirmation for both ACP and normal Providers (#2760)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-15 18:08:51 +08:00
ljie-PI
4390828e88 Fix luacheck error caused by snacks API change 2025-10-08 13:52:41 -07:00
yetone
10e0312ec4 feat: request permission button group (#2685) 2025-09-04 15:35:40 +08:00
Dmitry Torokhov
d737fa6109 build: remove presubmit dependency on luvit-meta
As discussed in https://github.com/yetone/avante.nvim/pull/2536 the
project should either use luv bindings from luals or luvit-meta
library, but not both, as they conflict with each other (especially
with uv.uv_timer_t). Given that other projects such as kickstart.nvim
and lazydev.nvim are switching to use the former, we should do the same
and drop luvit-meta dependency.

Also adjust code that was using luvit-meta's annotations for timers.
2025-07-31 14:12:13 +08:00
Dmitry Torokhov
beeea5cb1c refactor(sidebar): get rid of winids table, use containers table
Now that we have a table listing all containers and can iterate over it
we no longer need a separate table with window IDs that we need to
maintain. Remove it.
2025-07-21 13:31:07 +08:00
skt041959
6a9424a63b set keymap with nowait (#2422) 2025-07-09 22:32:05 +08:00
guanghechen
7aec52ff3e improve: support to customize the spinners (#2397) 2025-07-02 18:54:41 +08:00
yetone
e64b5f054c fix: selector preview (#2362) 2025-06-28 20:07:25 +08:00
Jalen Jouett
8d936b738e fix: snacks selector opts should extend from user provided opts (#2256) 2025-06-18 19:14:40 +08:00
yetone
ad05a802f9 feat: todos (#2184) 2025-06-15 15:10:07 +08:00
Brewinski
f766b42d85 fix(ui): prevent confirm dialog from closing prematurely on rejection (#2218) 2025-06-13 12:26:25 +08:00
Brewinski
2675155a76 feat(ui): add configurable keymaps for confirm modal (#2206) 2025-06-12 11:26:58 +08:00
Jiyeol Lee
de8fb58bfa feat: remove history command (#2063)
* feat: remove history command

* Address code review

Co-authored-by: Michael Bøcker-Larsen <247048+mblarsen@users.noreply.github.com>

---------

Co-authored-by: Michael Bøcker-Larsen <247048+mblarsen@users.noreply.github.com>
2025-06-09 19:59:43 +08:00
Avinash Thakur
ec0f4f9ae0 feat: allow custom input provider, removing dressing.nvim (#2173)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: yetone <yetoneful@gmail.com>
2025-06-06 23:04:35 +08:00
yetone
2813e3ba07 fix: confirm window deletion (#2170) 2025-06-05 23:58:57 +08:00
yetone
fcf6e8617e fix: selector item title cannot contains newline (#1978) 2025-05-03 14:45:06 +08:00
yetone
3a43621e17 refactor: tool calling ui (#1959) 2025-05-01 19:16:15 +08:00
zenk
48a415ef01 feat(window): add height&width option for editing window (#1913)
Co-authored-by: zhangkai.zju <zhangkai.zju@bytedance.com>
2025-04-30 13:59:54 +08:00
yetone
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
yetone
54a1df28b6 fix: no nvim_del_namespace (#1881) 2025-04-15 20:53:01 +08:00
yetone
756d1f1e24 feat: universal selector (#1877) 2025-04-15 16:40:47 +08:00
aniaan
f1abc57ebf refactor(PromptInput): optimize PromptInput autocmd management (#1857) 2025-04-13 21:04:54 +08:00
guanghechen
c74ef1b9bc improve(prompt_input): support to customize the border and body highlight (#1846) 2025-04-11 10:20:40 +08:00
yetone
7e31317fbc fix(lint): make neovim 0.11 typecheck happy (#1844) 2025-04-10 14:14:47 +08:00
yetone
d76a158b61 feat: custom slash commands (#1826) 2025-04-07 22:19:59 +08:00
yetone
0828d32346 fix: AvanteEdit command (#1799) 2025-04-02 16:27:10 +08:00
yetone
76fd19812e feat: accept all (#1764) 2025-03-30 12:51:15 +08:00
yetone
a9b01e766e chores: use stopinsert (#1745) 2025-03-28 00:17:01 +08:00
guanghechen
0b4a493d60 improve: support to customize the keymaps for cancelling the editing (#1730)
* improve: support to customize the keymaps for cancelling the editing

* docs: update README
2025-03-26 21:58:03 +08:00
yetone
1e1cd1cf78 fix: confirm ui (#1665) 2025-03-22 01:57:22 +08:00
yetone
a60a8d4701 fix: change readonly files (#1659) 2025-03-21 19:48:28 +08:00
Omar Crespo
bae5275705 feat: add stop sequence (#1652) 2025-03-21 19:34:33 +08:00
yetone
af372d7328 fix: confirm ux (#1653) 2025-03-20 19:00:23 +08:00
yetone
8b730182cb refactor: ui lib (#1642) 2025-03-19 14:34:32 +08:00
Aaron Pham
d7d476ddf5 chore(secrets): support table of string (#500)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 21:47:01 -04:00
Aaron Pham
e8c71d931e chore: run stylua [generated] (#460)
* chore: add stylua

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: running stylua

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:19:54 -04:00
Aaron Pham
58af2b7f92 fix(ui): use dressing.nvim for better input support (#58)
* fix(ui): use dressing.nvim for better input support

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: add small docs on setting up dependencies

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: update docs

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* revert: add back quick docs for setup

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* chore: update readme

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>

* Update lua/avante/ui/dressing.lua

* Update lua/avante/ui/dressing.lua

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-18 06:07:29 -04:00