93 Commits

Author SHA1 Message Date
Christopher Brewin
deb3b03826
feat (repo-map) configuration option for repo map ignore patterns () 2024-11-12 00:56:20 +08:00
Aaron Pham
8699ada7b2
chore(config): add default claude-haiku and claude-opus (closes ) () 2024-11-04 20:54:33 -05:00
yetone
1e8abbf798
feat: memory 🧠 () 2024-11-04 16:20:28 +08:00
JIAJUN
58e0165098
feat: add configurable input window height for vertical layout ()
Co-authored-by: amojury <wujiajun880@gmail.com>
2024-11-03 16:48:37 +08:00
Maddison Hellstrom
8e8f2c15ab
feat: add windows.ask.focus_on_apply config option () 2024-11-02 18:33:08 +08:00
Maddison Hellstrom
19ab7d51d5
feat: override timeoutlen while hovering over diff () 2024-11-02 18:31:54 +08:00
mochi33i
f8d80d87c5
chore: fix 404 url for custom providers comment () 2024-10-30 18:43:57 +08:00
Aaron Pham
bdbbdec88c
feat(tokenizers): support parsing from public URL () 2024-10-27 02:17:35 -04:00
Maky
a8e2b9a00c
chore: update to latest claude sonnet 3.5 () 2024-10-23 02:05:52 +08:00
Aaron Pham
bbfc315eed
fix: conflict mapping with refresh and repomap () 2024-10-20 22:45:53 -04:00
João Mendonça
134cf40096
feat: toggle sidebar_header () 2024-10-21 03:42:07 +08:00
teocns
36b23cef16
feat: add repo map display ()
Co-authored-by: yetone <yetoneful@gmail.com>
2024-10-18 14:41:40 +08:00
yetone
7c83558b37
feat: smart position () 2024-10-15 17:12:10 +08:00
Jakkapat Paijit
86ba5a468b
feat(api): add switch sidebar focus () 2024-10-15 11:24:48 +08:00
Maddison Hellstrom
964715be64
feat: floating input ()
* 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
Maddison Hellstrom
347d9be730
feat: allow pressing apply_all mapping anywhere in sidebar () ()
- make apply and apply_all mappings configurable
- fixed bug where apply mapping was not unbound in unbind_apply_key
- allow apply_all mapping to be pressed anywhere in the sidebar

fixes 
2024-10-12 18:41:08 +08:00
yetone
0705234991
refactor: planning mode user prompt use aider prompt () 2024-09-30 19:38:31 +08:00
Valentin Berlin
cea3dfb85b
Add user option for sidebar window focus mapping ()
* 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
yetone
0642905c80
feat: specific provider for auto-suggestions () 2024-09-12 14:23:00 +08:00
Aaron Pham
7015dde5bf
chore(mapping): add support for toggling suggestion ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-06 01:09:02 -04:00
Aaron Pham
59959d7522
fix(lua): linter for config ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 22:56:17 -04:00
Aaron Pham
d7d476ddf5
chore(secrets): support table of string ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 21:47:01 -04:00
Aaron Pham
0d8098e4eb
fix(style): add parentheses ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 05:12:07 -04:00
Aaron Pham
e8c71d931e
chore: run stylua [generated] ()
* 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 ) ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-03 04:09:13 -04:00
yetone
65e1e178f5
feat: automatic suggestion (smart tab) () 2024-09-03 14:03:59 +08:00
Aaron Pham
7266661413
feat(api): enable customizable calls functions ()
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 ) ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 19:33:04 -04:00
Aaron Pham
c33ab80d88
revert: remove invalid configuration ()
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 ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-01 18:47:35 -04:00
yetone
d9aa7c78af
feat: support windows position () 2024-09-01 15:52:16 +08:00
Aaron Pham
0557deeab7
feat: tokenizers ()
* feat: tokenizers

This reverts commit d5a4db8321d232a1b9c0d86fc38e8dd516d15776.

* fix(inputs): 

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 ) ()
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 ()
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 () 2024-08-30 18:53:49 +08:00
Aaron Pham
ea73816665
fix(warning): taken into account silent_warning (fixes ) ()
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 () 2024-08-30 01:51:26 -04:00
Aaron Pham
483f71dba4
feat(provider): support copilot ()
* 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 ()
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 () 2024-08-29 23:17:44 +08:00
yetone
cdd7730bd7
feat: choose all theirs () 2024-08-29 20:32:00 +08:00
Maddison Hellstrom
abe08d5283
feat: pick conflict under cursor ()
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 ()
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 ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 23:56:00 -04:00
Aaron Pham
c635f73748
feat: pasting image within buffer ()
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 ()
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-08-28 11:52:12 -04:00
yetone
bfa203018e
fix: remove copilot provider () 2024-08-28 20:51:20 +08:00