72 Commits

Author SHA1 Message Date
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
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
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
d9aa7c78af
feat: support windows position (#436) 2024-09-01 15:52:16 +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
534b1e6bec fix: remove unnecessary alerts 2024-08-31 23:51:54 +08:00
yetone
faa46975cf fix(sidebar): the sidebar height is incorrect when selecting code 2024-08-31 23:36:28 +08:00
tang-hi
ff887af901 feat: add horizontal layout 2024-08-31 23:36:28 +08:00
Aaron Pham
97e691861c
fix(after): early supression of warnings (fixes #385) (#409)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 19:07:52 -04:00
Aaron Pham
b196627e86
chore(provider): use latest cohere models (#400)
Update prompts to correct grammar
concat with table.concat to avoid overhead

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 13:39:36 -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
ea73816665
fix(warning): taken into account silent_warning (fixes #385) (#388)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-30 02:08:59 -04:00
Cosmin Nicolaescu
b7127b33c6
chore(provider): update supported LLM list (#386) 2024-08-30 01:51:26 -04:00
Aaron Pham
483f71dba4
feat(provider): support copilot (#381)
* feat(provider): add back support for copilot

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

* docs: add acknowledgement

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-29 23:36:39 -04: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
Josef Moudrik
fa043bf8ce
config.lua: improve check for img-clip (#363) 2024-08-29 23:17:44 +08:00
yetone
cdd7730bd7
feat: choose all theirs (#361) 2024-08-29 20:32:00 +08:00
Maddison Hellstrom
abe08d5283
feat: pick conflict under cursor (#355)
Added `cc` which picks the conflict under the cursor, if there is one.
2024-08-29 02:25:45 -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
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
c635f73748
feat: pasting image within buffer (#331)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 14:43:14 -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
Aaron Pham
943d3f20b5
fix(local): ensure to set login to true in local (fixes #135) (#295)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 18:05:47 -04:00
Aaron Pham
2feaa28ced
chore: cleanup typo and win options (#288)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-27 13:13:38 -04: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
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
a1aed57c60
perf: use envvar whenever possible, and use cmd only as fallback (#228)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-26 01:13:12 -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
yetone
ee88563215
fix: types (#208) 2024-08-25 14:26:42 +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
Aaron Pham
f99bf767b5
fix(highlight): allow override (#201)
update envvar parsing from cmdline

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-24 20:15:45 -04:00
Aaron Pham
a7d3defa3d
feat(llm): add support for parsing secret vault (#200)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-24 17:52:38 -04:00
yetone
303928de88
Revert "feat: add support of light theme" (#196)
This reverts commit 8b55833db646f0acb5481ee21f98a426da4a93e9.
2024-08-25 00:59:49 +08:00
tang donghai
8b55833db6
feat: add support of light theme (#195) 2024-08-25 00:53:07 +08:00
tang donghai
dd6bfad844
feat(mapping): shortcut for input box (#194) 2024-08-24 12:51:59 -04:00
Coffee
1142c3c274
fix(openai): add support for Cloudflare's AI-Gateway (#192) 2024-08-24 12:32:16 -04:00
Aaron Pham
d2775135a3
feat(llm): cohere support (#167)
should be good set of defaults now, one in US, one in canada, and
microsoft :/

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 09:36:40 -04:00
yetone
12d7cd8ec7
fix: code buffer tab buttons should not be hijacked (#174) 2024-08-23 18:38:14 +08:00
Aaron Pham
c6d5073945
chore(llm): cut-back support (#159)
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 12:21:30 +08:00
Aaron Pham
6475407d0d
fix(llm): persistent key check for override class (#158)
* fix(llm): make sure to allow passing custom module

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

* fix: correct custom class

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

* fix: correct attribute

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-22 23:52:49 -04:00
Aaron Pham
ed5057448c
feat: tab switching behaviour (#155)
* feat: tab switching behaviour

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

* revert: features

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

---------

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-23 00:48:20 +08: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
jihunkim0
45a47075e5
feat: add Gemini support (#142)
Co-authored-by: Jihun Kim <jihun.kim.uk@gmail.com>
2024-08-22 00:52:25 +08:00