696 Commits

Author SHA1 Message Date
yetone
5461342fce
fix: only use cargo fmt (#633) 2024-09-25 17:13:43 +08:00
yetone
cbd92577de
fix: add features for cargo check (#632) 2024-09-25 17:11:17 +08:00
yetone
ee07276f63
chore: add files for pre-commit rust hooks (#631) 2024-09-25 17:07:15 +08:00
yetone
39d32155bf
chore: pre-commit-rust (#630) 2024-09-25 17:05:55 +08:00
yetone
a016663cda
fix(sidebar): cmp appears only once (#629) 2024-09-25 17:01:10 +08:00
yetone
5aec0ba48b
fix: place the project context and memory context at the forefront (#619) 2024-09-23 19:09:04 +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
Evgeny Naumov
8dbfe85dd4
fix(hl): use correct highlighting for inline hints (#613) 2024-09-21 14:49:07 +08:00
yetone
f97a2d9bc1
fix: docs format (#608) 2024-09-19 20:07:48 +08:00
yetone
8a3d5f30ec
fix: use global statusline (#607) 2024-09-19 20:06:19 +08:00
yetone
8fa2757e1b
feat(planning): supports insert code after line (#605) 2024-09-19 10:17:35 +08:00
yetone
20a81b891e
fix(prompts): the key information in the prompts was incorrectly filtered out by jinja (#603) 2024-09-18 14:55:31 +08:00
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
0209a804ec
chore(script): update build script to use env (#596)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-15 10:53:23 -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
Aaron Pham
8184275770
docs: add credits for secrets (#566)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-11 19:43:20 -04:00
Aaron Pham
bcd73a8b9a
chore: add minimal reproduction instruction (#564)
Thanks from lazy.nvim
2024-09-11 00:47:50 -04:00
yetone
7532e590d2
fix: suggestion instantiate (#554) 2024-09-08 17:17:52 +08:00
Aaron Pham
4a3b278a76
chore: fix join vim-plug (#550)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-06 19:12:41 -04: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
33c9ac216d
docs: add notes on initializing library (#543) 2024-09-05 02:50:59 -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
a8ef7de7d8
chore(docs): correct neovim command (#538) 2024-09-04 18:57:36 -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
Will Lynas
19a7d84d1e
chore: update bug report template (#531)
* chore: remove typo in bug report template

* chore: spelling of snippet

* chore: grammar in bug_report

* chore: grammar in bug_report

* chore: move neovim version in bug_report

* chore: add space before elipsis
2024-09-04 12:08:52 -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
b8c484148a
chore: add issue templates (#521)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 04:20:01 -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
Hanchin Hsieh
c027ea269a chore: doc for windows
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-09-04 13:52:31 +08: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
yetone
f77bacb10b
fix(docs): don’t need jq anymore (#514) 2024-09-04 13:14:14 +08:00
Aaron Pham
5dcd10e29b
chore(vimscript): disable build from source (#513)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 00:54:09 -04:00
yuchanns
3e65e7a40d ci(release): archive Windows artifacts with zip
Signed-off-by: Hanchin Hsieh <me@yuchanns.xyz>
2024-09-04 12:45:44 +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
1e43122cac
chore(readme): update instructions to keep up with main (#509)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 23:26:54 -04:00