79 Commits

Author SHA1 Message Date
zhangkun9038@dingtalk.com
1ce3efbfe6 show provider selector 2025-02-14 12:42:51 +08:00
yetone
1ec12907a2
feat: fetch tool (#1196) 2025-02-06 19:13:47 +08:00
yetone
4464b7f4ae
fix: load path (#926) 2024-12-06 01:35:33 +08:00
Aaron Pham
16e10c5f88
revert: restore AvanteBuild (fixes #792) (#799) 2024-11-04 20:44:45 -05:00
Aaron Pham
4282cda0ac
feat(health): support checkhealth for plugins and providers (#769) 2024-10-29 07:00:05 -04:00
Cristian Hernandez
3f947f8deb
fix: diff highlights doesn't reapply in colorscheme change (#744) 2024-10-22 10:42:02 +08:00
teocns
36b23cef16
feat: add repo map display (#727)
Co-authored-by: yetone <yetoneful@gmail.com>
2024-10-18 14:41:40 +08:00
Jakkapat Paijit
86ba5a468b
feat(api): add switch sidebar focus (#709) 2024-10-15 11:24:48 +08:00
Maddison Hellstrom
964715be64
feat: floating input (#721)
* feat: add floating input to ask method

Open a floating input similar to the "edit" input for the "ask" input.
Enabled in config via `Config.windows.ask.floating` or by passing
`{ floating = true }` to the `api.ask` method.

Includes logic to ensure the sidebar uses the correct buffer and selection
if an existing sidebar is open for another code buffer.

Also refactored the `selection` module to extract the floating input
logic into a new `PromptInput` class.

* docs: update config options

* feat: more accurate annotations to prevent user misunderstandings

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-10-15 11:22:34 +08:00
yetone
0d90c047ef
feat: avante repo map rust crate (#628) 2024-09-26 03:45:49 +08:00
Anthony Flores
dadf0dc48b
fix: use correct non-nil variables (closes #568) (#587) 2024-09-15 10:55:08 -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
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
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
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
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
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
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
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
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
Aaron Pham
1e009822e4
chore(mappings): add options to reflect wiki changes (#349)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 01:09:26 -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
Aaron Pham
2e48174d09
fix(refresh): check if sidebar is available or not (#333)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 14:52:57 -04:00
Aaron Pham
755c15c0bd
chore(clipboard): separate logic to save as base64 and files (#329)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 11:52:12 -04:00
yetone
bfa203018e
fix: remove copilot provider (#318) 2024-08-28 20:51:20 +08:00
Will Lynas
5d5ebc8560
chore: add desc to keymaps (#314) 2024-08-28 18:54:15 +08:00
yetone
fe6518f6de
feat: editing mode (#281) 2024-08-27 22:44:40 +08:00
Aaron Pham
36446a24e3
chore(config): customize prompt prefix (#271)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 03:44:05 -04:00
Aaron Pham
e80246e211
chore: remove deadcode (#265)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 02:40:24 -04:00
yetone
50d0748901
refactor: remove floating windows (#262) 2024-08-27 14:28:10 +08:00
Aaron Pham
3369f732c5
chore(opts): respect user opts (#255)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 01:39:48 -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
Aaron Pham
3f906e5289
refactor(history): use XDG_DATA_STATE as source dir (#209)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-25 03:12:53 -04: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
7bea73eb80
fix: check if is sidebar buf (#179) 2024-08-24 00:14:20 +08:00
Aaron Pham
2fc266edd2
fix(refresh): correct refresh in code buffer (#166)
only render inlay in codebuf

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 02:23:45 -04:00
Aaron Pham
8d52229f16
refactor(llm): cleanup providers for future ops (closes #134) (#147)
support allow_insecure and proxy ops

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-22 01:48:40 -04:00
yetone
5208fdc278
fix: default use global statusline (#133) 2024-08-21 22:43:00 +08:00
yetone
2e48d387a9
refactor: get rid of nui-components (#118) 2024-08-21 21:28:17 +08:00
Aaron Pham
7e6705c0b1
fix(hint): correct variable and setup on init (#82)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-19 05:11:38 -04:00