Commit Graph

93 Commits

Author SHA1 Message Date
yetone
bafe156639 feat: rename search_keyword => grep_search (#1584) 2025-03-14 15:57:24 +08:00
yetone
e332d74c06 fix: anthropic rate limit (#1583) 2025-03-14 14:13:47 +08:00
adasauce
70124ad366 feat: add caller information to debug logs (#1534) 2025-03-12 02:56:59 +08:00
yetone
9c7a1a59ac fix: plenary.path is too slow (#1557) 2025-03-11 15:39:34 +08:00
yetone
dff7e9b802 optimize: is_win (#1555) 2025-03-11 15:12:39 +08:00
yetone
a0e0924730 feat: carry recently viewed files as context (#1538) 2025-03-09 15:42:31 +08:00
adasauce
02fb470140 feat: support cmd: loading api keys for google search APIs (#1532)
refactor environment loading logic into Utils and use it for existing
provider loading, and web search where appropriate.
2025-03-09 15:01:49 +08:00
yetone
868c136574 refactor: remove use_xml_format (#1535) 2025-03-09 14:58:30 +08:00
yetone
3741460541 optimize: make relative (#1529) 2025-03-08 21:15:07 +08:00
yetone
d75094b815 fix: bedrock (#1524)
* fix: bedrock

* fix: bad variable name

* fix: missing metatable
2025-03-08 02:17:28 +08:00
yetone
8620ea3e12 refactor: summarize memory (#1508) 2025-03-07 00:12:57 +08:00
Sávio Carlos Martins Costa
6d39e06f57 fix: return statement of the "Utils.has", as "pcall" never returns nil (#1501) 2025-03-06 08:21:22 +08:00
Peter Cardenas
7704c21856 fix: do not change cwd for async bash command (#1456) 2025-03-02 11:30:16 +08:00
Omar Crespo
44e673d132 fix checkhealth to run outside lazy (#1401) 2025-02-26 17:36:11 +08:00
Hanchin Hsieh
0d5861f80d feat: add Windows support for git directory scanning (#1391) 2025-02-25 17:03:30 +08:00
Peter Cardenas
901e1caa91 feat: run_command is run asynchronously (#1377) 2025-02-25 13:22:36 +08:00
Peter Cardenas
afa674c6fd chore: prefer not to use function assignment (#1381) 2025-02-25 12:08:03 +08:00
Peter Cardenas
3dd1854cd4 feat: add custom shell command config (#1361) 2025-02-23 21:55:37 +08:00
yetone
e93f2426e9 fix: scan directory (#1362) 2025-02-23 18:26:52 +08:00
yetone
b04bffa441 fix: types (#1344) 2025-02-22 23:24:20 +08:00
yetone
581e61fae1 Revert "fix: remove stopinsert from lock_buf (#1323)" (#1330) 2025-02-21 03:32:14 +08:00
Hans Pinckaers
a465c42ffa fix: remove stopinsert from lock_buf (#1323) 2025-02-20 23:39:05 +08:00
yetone
a6b24f3387 fix: use the current filepath when the filepath of code block cannot be found (#1319) 2025-02-20 16:02:52 +08:00
phyer
b6ae4dfe7f fix: use absolute paths to handle gitignore
Co-authored-by: zhangkun9038@dingtalk.com <zhangkun9038@dingtalk.com>
2025-02-17 12:56:09 +08:00
Hanchin Hsieh
1a4f2575d6 fix(utils): get non-nil filetype 2025-02-13 16:58:35 +08:00
yetone
f8636315a5 fix: get filetype (#1258) 2025-02-12 22:19:55 +08:00
yetone
72edea97cb optimize: prompts (#1247) 2025-02-11 23:11:03 +08:00
Oliver Lorton
cc46386130 fix: when dev icons absent (#1214)
* Add helper function to check for dev icon availability

* Add function to display dev icon or nothing if icon plugins unavailable

* Fix existing use of icons

* Reformat with stylua
2025-02-11 01:43:01 +08:00
yetone
fd64662fa2 fix: planning prompts (#1202)
* fix: planning prompts

* fix: base prompts
2025-02-06 23:16:49 +08:00
yetone
29a71b2976 fix: insert conflict contents (#1201) 2025-02-06 22:24:59 +08:00
yetone
1ec12907a2 feat: fetch tool (#1196) 2025-02-06 19:13:47 +08:00
yetone
1437f319d2 feat: tools (#1180)
* feat: tools

* feat: claude use tools

* feat: openai use tools
2025-02-05 22:39:54 +08:00
yetone
a9ab429699 feat: trim think content in history messages (#1178) 2025-02-04 15:25:36 +08:00
Michael Gendy
4502e3e1f1 feat (file_selector) Add directory selection support to file selector (#954)
Co-authored-by: yetone <yetoneful@gmail.com>
2025-01-30 18:24:46 +08:00
yetone
0d48b8f8e5 fix(telescope): handle file listing in non-Git repositories 2025-01-25 01:39:09 +08:00
Christopher Brewin
f401983737 feat(sidebar): support files outside of the current working directory. (#1065) 2025-01-11 23:15:13 +08:00
Ethan Howard
c3e7ba0be0 feat: respect git ignore for autosuggestions (#994) 2025-01-11 23:00:19 +08:00
yetone
e14eb002d5 feat: add luatest (#1064) 2025-01-10 00:23:59 +08:00
yetone
48fc35f978 fix: hide internal properties of config (#1036) 2025-01-05 18:27:23 +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
yetone
c8e688a0ac feat: format diagnostic (#895) 2024-11-24 06:02:34 +08:00
yetone
67e946ef13 fix: diagnostics lnum starts with 1 (#892) 2024-11-23 23:08:10 +08:00
yetone
9042f5f202 feat: enable diagnostics (#891) 2024-11-23 21:49:33 +08:00
yetone
9d0e1cd4af fix: align lua oop (#889) 2024-11-23 20:23:05 +08:00
yetone
0b1cd5509e fix: incorrect filepath (#865) 2024-11-18 02:55:44 +08:00
yetone
dfc51b3247 feat: add url_join (#856) 2024-11-17 00:39:03 +08:00
Christopher Brewin
deb3b03826 feat (repo-map) configuration option for repo map ignore patterns (#831) 2024-11-12 00:56:20 +08:00
Christopher Brewin
99f3b3ae00 fix(repo-map) go vendor included in repo map causing token limit error (#777) 2024-11-03 16:45:44 +08:00
Ivan Sorokin
bf366f1b73 fix: Improve TS support for @codebase (#735) 2024-10-21 03:43:27 +08:00
Ivan Sorokin
2c33a894bb fix: add escaping characters to ignore patterns (#736) 2024-10-21 03:27:58 +08:00