58 Commits

Author SHA1 Message Date
yetone
9d0e1cd4af
fix: align lua oop (#889) 2024-11-23 20:23:05 +08:00
yetone
0b1cd5509e
fix: incorrect filepath (#865) 2024-11-18 02:55:44 +08:00
yetone
dfc51b3247
feat: add url_join (#856) 2024-11-17 00:39:03 +08:00
Christopher Brewin
deb3b03826
feat (repo-map) configuration option for repo map ignore patterns (#831) 2024-11-12 00:56:20 +08:00
Christopher Brewin
99f3b3ae00
fix(repo-map) go vendor included in repo map causing token limit error (#777) 2024-11-03 16:45:44 +08:00
Ivan Sorokin
bf366f1b73
fix: Improve TS support for @codebase (#735) 2024-10-21 03:43:27 +08:00
Ivan Sorokin
2c33a894bb
fix: add escaping characters to ignore patterns (#736) 2024-10-21 03:27:58 +08:00
yetone
26bf8d67e8
fix: failed to rename buffer (#731) 2024-10-17 00:36:13 +08:00
yetone
a0d3845bf3
fix: failed to rename buffer (#730) 2024-10-16 23:57:40 +08:00
yetone
9907f05fbf
fix: cannot rename buffer (#729) 2024-10-16 18:05:19 +08:00
yetone
8c28e285ea
perf(sidebar): update the buffer more efficiently (#724) 2024-10-15 12:30:20 +08:00
yetone
b19573cb2a
feat: write to multiple files (#720) 2024-10-14 20:15:11 +08:00
yetone
faaa7f223b
fix: keep correct indentation (#710) 2024-10-11 21:07:55 +08:00
yetone
3dac407a11
fix: should not get the previous visual selection (#698) 2024-10-09 17:16:01 +08:00
yetone
895b0f4143
fix: get selection range from previous visual mode (#689) 2024-10-08 16:29:18 +08:00
yetone
22243bc316
feat: silence debug msg (#636) 2024-09-26 11:18:40 +08:00
yetone
0d90c047ef
feat: avante repo map rust crate (#628) 2024-09-26 03:45:49 +08:00
yetone
8e1018fef7
feat: repo map (#496)
* feat: repo map

* chore: remove breakline

* chore: remove spaces

* fix: golang public method

* feat: mentions for editing input
2024-09-23 18:52:26 +08:00
Aaron Pham
7015dde5bf
chore(mapping): add support for toggling suggestion (#546)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-06 01:09:02 -04:00
Will Lynas
8c021f3691
fix(input): move hints to bottom right (#533)
Uses vim.fn.winline() to determine correct hint buffer position
2024-09-04 16:27:08 -04: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
yetone
ff316f9110
fix(installation): asset name is incorrect in linux (#491) 2024-09-03 22:43:50 +08:00
Aaron Pham
0d8098e4eb
fix(style): add parentheses (#471)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:12:07 -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
4ad913435c
feat(templates): avanterules filetype support (closes #254) (#466)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:09:13 -04:00
yetone
65e1e178f5
feat: automatic suggestion (smart tab) (#455) 2024-09-03 14:03:59 +08:00
yetone
55c85692bf
feat(ci): add lua static analyzer (#438) 2024-09-01 17:04:33 +08:00
Aaron Pham
0557deeab7
feat: tokenizers (#429)
* feat: tokenizers

This reverts commit d5a4db8321d232a1b9c0d86fc38e8dd516d15776.

* fix(inputs): #422

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-31 13:39:50 -04:00
yetone
d5a4db8321
Revert tokenizers (#423)
* Revert "fix: add missing "with" in README"

This reverts commit bf1e7f1f17c8b82687b15c41e5a8104ea03f70cf.

* Revert "feat: tokenizers (#407)"

This reverts commit d2095ba267abbfe169582708a4449e609aa9709b.
2024-08-31 22:45:31 +08:00
Aaron Pham
d2095ba267
feat: tokenizers (#407)
* feat: autobuild tiktoken lib and schenanigans

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

* chore: revert readme changes

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

* fix(build): windows

Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>

* chore(plugin): early load commands and base setup

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

* fix(build): make sync

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

* feat: rust go vroom vroom

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

* feat: scuffed afaf implementation binding go brrrr

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

* chore: remove dups

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

* fix(tokens): calculate whether we should do prompt_caching (fixes #416)

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

* chore: ignore lockfiles

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

* Update README.md

* Update crates/avante-tokenizers/README.md

* chore: remove unused

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

* chore: remove auto build

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
Co-authored-by: yuchanns <me@yuchanns.xyz>
2024-08-31 07:19:59 -04:00
yetone
2997d4669a
refactor: refactor planning prompts to resolve line number issues and indentation issues (#382) 2024-08-30 18:53:49 +08:00
Aaron Pham
b43377c044
chore(config): add silent_warning options (#378)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 17:08:39 -04:00
Aaron Pham
bd500feeec
chore(logs): silent safe_keymap_set to debug (fixes #376) (#377)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 17:00:44 -04:00
Aaron Pham
38a5dbe429
fix(mapping): eager set via lua functions (#347)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 00:00:10 -04:00
Aaron Pham
2e6a26240e
feat(mapping): plug and expose API (#346)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 23:56:00 -04:00
yetone
bfa203018e
fix: remove copilot provider (#318) 2024-08-28 20:51:20 +08:00
Aaron Pham
03b4cb7115
chore(utils): rename default titles (#298)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 18:47:13 -04:00
yetone
fe6518f6de
feat: editing mode (#281) 2024-08-27 22:44:40 +08:00
Aaron Pham
cf68572494
feat(clipboard): initial support (#279)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 06:57:29 -04:00
Aaron Pham
07af0a91f2
chore: persistent augroup name pattern (#250)
for better augroup management

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 22:31:57 -04:00
Aaron Pham
72ba4ad52e
refactor: cleanup diff highlights (#247)
make sure to run on scheme change

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 17:18:37 -04:00
yetone
b874045885
feat: make tiktoken optional (#245) 2024-08-27 01:46:05 +08:00
yetone
1cb68e9aa2
fix: do not need compatible with old nvim (#242) 2024-08-26 20:35:36 +08:00
yetone
c75dc48356
fix: binding shortcuts to specific buffers (#238) 2024-08-26 18:26:56 +08:00
Aaron Pham
305d972849
chore(keymaps): add toggle options (#204)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 00:16:25 -04:00
yetone
0e07128b56
feat: use regular floating win instead of nui.input (#191) 2024-08-24 17:34:41 +08:00
yetone
b8b5a3086e
fix: nui input cannot paste (#187) 2024-08-24 16:25:08 +08:00
yetone
7bea73eb80
fix: check if is sidebar buf (#179) 2024-08-24 00:14:20 +08:00
yetone
25f8175662
chore: fix types (#173) 2024-08-23 18:33:49 +08:00
yetone
8c8d864637
fix: floating window highlights (#149) 2024-08-22 14:46:08 +08:00