106 Commits

Author SHA1 Message Date
yetone
48fc35f978
fix: hide internal properties of config (#1036) 2025-01-05 18:27:23 +08:00
Christopher Brewin
e612ad7566
feat(file_selector): command for switching the file picker provider. (#958) 2024-12-17 19:29:28 +08:00
Fernando Freire
5c20cc1779
feat(context): add current buffer to selected file ctx (#941) 2024-12-13 22:57:42 +08:00
Aaron Lifton
a1da07097d
feat: allow configurable file select provider (#944)
- add file_selector config
- add providers for fzf and telescope
2024-12-13 22:55:36 +08:00
Christopher Brewin
78dd9b0a6d
feat(context): add a ui for selecting and adding files to the sidebar as context (#912)
* feat(sidebar): supports select files

chore (context) update add type annotations to context functions

chore (sidebar) remove unused notify function call

refactor (sidebar) remove setting search file to file path

chore (sidebar) remove nvim_notify debugging api call

* feat (files) allow selecting a file by string via cmp suggestion menu

* chore (context) refactor to allow context using @file with a context view

* refactor (context) refactor seletected file types as an array of path and content

* refactor (config) remove unused configuration options

* refactor (sidebar) remove unused unbild key

* refactor (context) remove unused imports

* refactor (mentions) update mentions to support items with callback functions and removal of the underlying selection.

* fix (sidebar) add file context as a window that is visitable via the tab key

* refactor (file_content) remove file content as an input to llm

* feat (sidebar) support suggesting and applying code in all languages that are in the context

* feat (sidebar) configurable mapping for removing a file from the context.

* feat (context_view) configure hints for the context view for adding and deleting a file.

* feat (context) add hints for the context view.

* fix (sidebar) type when scrolling the results buffer.

* refactor (selected files) refactor llm stream to accept an array of selected file metadata

* refactor: context => selected_files

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-12-12 01:29:10 +08:00
Will Lynas
341ecd2073
feat: minimal diff (#583)
* Add minimize_diff option and add dummy function

* fix: minimize snippets

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-11-21 16:16:32 +08:00
yetone
3c010e38ac
feat: update copilot model version (#872) 2024-11-19 06:25:17 +08:00
Xinyao(Alvin) Sun
87885a4530
fix(docs): correct typo in README and config.lua (#863) 2024-11-18 02:56:20 +08:00
Xinyao(Alvin) Sun
3051bfdf24
feat: add Dual Boost Mode for Enhanced LLM Responses with Multi-Provider Support (#854) 2024-11-17 15:54:01 +08:00
yetone
ff85b9c1e2
refactor: remove redundant local field to facilitate provider configuration (#858) 2024-11-17 02:55:40 +08:00
yetone
a3e5053d55
fix: preset vendors missing many fields (#851) 2024-11-16 02:09:14 +08:00
Shourya Sharma
839a8ee25a
feat: Added vertex AI provider for orgs using gemini (#840)
Co-authored-by: Shourya Sharma <shourya.sharma@complyadvantage.com>
2024-11-15 00:34:58 +08:00
Christopher Brewin
3abdb69fa2
feat(repo-map): configurable negate patterns (#844) 2024-11-14 17:30:00 +08:00
Christopher Brewin
deb3b03826
feat (repo-map) configuration option for repo map ignore patterns (#831) 2024-11-12 00:56:20 +08:00
Aaron Pham
8699ada7b2
chore(config): add default claude-haiku and claude-opus (closes #774) (#801) 2024-11-04 20:54:33 -05:00
yetone
1e8abbf798
feat: memory 🧠 (#793) 2024-11-04 16:20:28 +08:00
JIAJUN
58e0165098
feat: add configurable input window height for vertical layout (#773)
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 (#779) 2024-11-02 18:33:08 +08:00
Maddison Hellstrom
19ab7d51d5
feat: override timeoutlen while hovering over diff (#781) 2024-11-02 18:31:54 +08:00
mochi33i
f8d80d87c5
chore: fix 404 url for custom providers comment (#772) 2024-10-30 18:43:57 +08:00
Aaron Pham
bdbbdec88c
feat(tokenizers): support parsing from public URL (#765) 2024-10-27 02:17:35 -04:00
Maky
a8e2b9a00c
chore: update to latest claude sonnet 3.5 (#751) 2024-10-23 02:05:52 +08:00
Aaron Pham
bbfc315eed
fix: conflict mapping with refresh and repomap (#740) 2024-10-20 22:45:53 -04:00
João Mendonça
134cf40096
feat: toggle sidebar_header (#737) 2024-10-21 03:42:07 +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
yetone
7c83558b37
feat: smart position (#725) 2024-10-15 17:12:10 +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
Maddison Hellstrom
347d9be730
feat: allow pressing apply_all mapping anywhere in sidebar (#528) (#712)
- 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 #528
2024-10-12 18:41:08 +08:00
yetone
0705234991
refactor: planning mode user prompt use aider prompt (#671) 2024-09-30 19:38:31 +08: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
yetone
0642905c80
feat: specific provider for auto-suggestions (#569) 2024-09-12 14:23:00 +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
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
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