Dennis Dillert
f9520c4fdf
fix(sidebar): escape square brackets ( #591 )
2024-09-15 11:06:50 -04:00
Dennis Dillert
6604d03237
feat(sidebar): enhance pattern matching for local LLM ( closes #588 ) ( #589 )
...
- Extend pattern matching beyond "Replace lines: {{start_line}}-{{end_line}}" to support variations such as:
- Extra whitespace
- Numbered changes
- Optional colons
- Case insensitivity (upper- and lowercase)
- Singular line references
- Add support for indented code snippets, allowing whitespace before code
blocks beginning with three backticks (```)
2024-09-15 10:59:57 -04:00
Dennis Dillert
ff5d27a4cf
fix(sidebar): allow /clear to be run multiple times ( #579 )
2024-09-15 10:56:28 -04:00
Agustín Catellani
bcec0fa194
fix: initialize auto suggestions providers ( closes #571 ) ( #576 )
2024-09-15 10:56:18 -04:00
Anthony Flores
dadf0dc48b
fix: use correct non-nil variables ( closes #568 ) ( #587 )
2024-09-15 10:55:08 -04:00
Evgeny Naumov
de9f36fc2f
fix(hl): use global namespace ( closes #563 ) ( #590 )
...
* add AvantePopupHint and AvanteInlineHint hl groups
* Update lua/avante/sidebar.lua
* chore: update styling
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-15 10:53:33 -04:00
Aaron Pham
26fe7b4a10
fix: vim-plug installation ( #595 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-15 10:44:39 -04:00
Valentin Berlin
cea3dfb85b
Add user option for sidebar window focus mapping ( #585 )
...
* add mappings for window navigation in sidebar
* add new mapping option to readme
* rollback formatitng changes in Readme file
2024-09-15 02:42:55 +08:00
Maddison Hellstrom
932535aa99
fix: use vim.o.lines
/vim.o.columns
when calculating sidebar height/width ( #570 )
2024-09-13 10:53:06 -04:00
yetone
0642905c80
feat: specific provider for auto-suggestions ( #569 )
2024-09-12 14:23:00 +08:00
yetone
7532e590d2
fix: suggestion instantiate ( #554 )
2024-09-08 17:17:52 +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
Aaron Pham
e18fd41180
chore(cmd): AvanteChat ( #542 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-05 02:48:49 -04:00
Aaron Pham
29e109e447
feat(api): support native chat mode ( #541 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-05 02:43:31 -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
Josef Moudrik
bf8a943f45
fix(windows): check nil ( #529 )
...
* small fixes: sidebar: opts.win ~= nil case && bash
- and bash in Makefile (should correspond to she-bang in build.sh)
* fix lua style
2024-09-04 10:34:33 -04:00
Aaron Pham
d10cca4265
feat(api): support for ask customization ( #527 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 09:15:32 -04:00
GNITOAHC
a4a037cec1
feat(cmd): AvanteClear
( #518 )
...
Remove all cache/history path.
Co-authored-by: Aaron Pham <Aaronpham0103@gmail.com>
2024-09-04 07:38:59 -04:00
Hanchin Hsieh
e55f9f753f
fix(avante/path): incorrect handle of windows path ( #522 )
...
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-09-04 06:34:53 -04:00
Aaron Pham
158170f9ed
fix(api): invalid types on defined class ( #523 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 06:34:29 -04:00
Aaron Pham
835e718883
chore(sidebar): decrease defer for jump ( #524 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 06:34:21 -04:00
Aaron Pham
2b89f0d529
perf(anthropic): prompt-caching ( #517 )
...
bring back prompt caching support on Anthropic
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 03:19:33 -04:00
yuchanns
f239733e61
chore(build): support download-windows-artifacts
...
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-09-04 13:21:51 +08:00
Aaron Pham
5fde5e03ea
chore(build): streaming logs ( #512 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 00:42:32 -04:00
Aaron Pham
b48b6b7afd
chore(build): streaming stdout ( #511 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 00:21:41 -04:00
Aaron Pham
73730513d1
revert(gemini): revert to gpt-4o as tokenizers ( closes #499 ) ( #506 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 22:59:14 -04:00
Aaron Pham
59959d7522
fix(lua): linter for config ( #505 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 22:56:17 -04:00
Aaron Pham
e57a3f27df
chore(provider): use default value set in metaclass ( #503 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 21:56:52 -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
Aaron Pham
d395aa3fea
chore: set build from source to false ( #494 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 15:49:41 -04:00
yetone
ff316f9110
fix(installation): asset name is incorrect in linux ( #491 )
2024-09-03 22:43:50 +08:00
Aaron Pham
24b66e08dc
fix(install): prebuilt instruction ( closes #474 ) ( #476 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 06:53:14 -04:00
Aaron Pham
a5726bd2bf
feat(crates): prebuilt binaries ( #473 )
...
* feat(crates): prebuilt binaries
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: update name
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: build on PR
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: only build for lua51 and luajit
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* feat: build stuff
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* chore: only build if changes in Rust
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
* fix: remove deadcode
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
---------
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 06:20:53 -04:00
yetone
9765eaca21
chore(suggestion): increase debounce delay ( #472 )
2024-09-03 17:18:38 +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
8cc674f1da
fix(highlight): make sure to setup conflict colors ( #470 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:03:52 -04:00
Aaron Pham
e16111ba34
chore(types): update API to include suggestion ( #469 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:29:08 -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
054695cc63
chore(sidebar): remove emoji ( #467 )
2024-09-03 15:27:20 +08:00
yetone
65e1e178f5
feat: automatic suggestion (smart tab) ( #455 )
2024-09-03 14:03:59 +08:00
Aaron Pham
962dd0a759
fix(highlights): remove duplicates initialization ( #462 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-02 16:56:00 -04:00
Aaron Pham
7266661413
feat(api): enable customizable calls functions ( #457 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-02 12:22:48 -04:00
Aaron Pham
d520f09333
fix(highlight): respect user boolean ( #451 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 20:46:04 -04:00
Aaron Pham
96d060db83
fix(highlight): respect user bold configuration ( fixes #448 ) ( #450 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 19:33:04 -04:00
Aaron Pham
c33ab80d88
revert: remove invalid configuration ( #447 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 18:51:03 -04:00
Aaron Pham
7912070c6f
fix(gemini): check if json can be decoded ( #446 )
...
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 18:47:35 -04:00
yetone
3ccb71d7ef
fix(sidebar): apply current cursor ( #440 )
2024-09-01 17:26:27 +08:00
yetone
55c85692bf
feat(ci): add lua static analyzer ( #438 )
2024-09-01 17:04:33 +08:00
yetone
d9aa7c78af
feat: support windows position ( #436 )
2024-09-01 15:52:16 +08:00