Commit Graph

140 Commits

Author SHA1 Message Date
aniaan
aae4cc4014 refactor(cmp): Extract get_chat_mentions for third-party cmp source usage (#2027) 2025-05-12 20:19:42 +08:00
yetone
adae032f5f fix: get project root (#2026) 2025-05-10 15:08:27 +08:00
yetone
8f96d4319d fix: relative path (#2023) 2025-05-09 19:57:25 +08:00
yetone
6e1e2ac9f2 feat: automatically obtain diagnostics after finishing editing the file (#2018) 2025-05-08 22:50:46 +08:00
Joseph
b2064a8f40 Fix has_permissions_to_access when file is not ignored but patter is a substring (#2011)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-05-08 01:43:43 +08:00
yetone
2d6527197d feat: manual compact instead of automatic compact (#1996) 2025-05-06 20:57:58 +08:00
yetone
0f7fb35e6d fix: tool use id sometimes will be the same (#1982) 2025-05-04 02:43:33 +08:00
yetone
555b2e615c fix: cancel error (#1965) 2025-05-02 02:06:10 +08:00
yetone
3a43621e17 refactor: tool calling ui (#1959) 2025-05-01 19:16:15 +08:00
yetone
32ca1ed38e fix: set default auto suggestions provider to nil (#1951) 2025-05-01 02:50:01 +08:00
Peter Cardenas
59554e1cb0 fix: properly highlight multi filetype code blocks (#1926) 2025-04-30 22:20:40 +08:00
TKnightz
95d58435d3 feat: add icon highlights in selected files section (#1929) 2025-04-30 13:34:26 +08:00
yetone
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
Thomas Müller
f755861d93 fix(utils): when locking a buffer, only stopinsert if buffer is current (#1917)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-04-23 16:07:58 +08:00
yetone
33f95aedde feat: streaming json parser (#1883) 2025-04-16 23:41:38 +08:00
aniaan
dd83343e53 refactor(Sidebar): Introduce Utils.is_valid_container to simplify container checks (#1882) 2025-04-16 14:18:49 +08:00
yetone
7e31317fbc fix(lint): make neovim 0.11 typecheck happy (#1844) 2025-04-10 14:14:47 +08:00
yetone
d76a158b61 feat: custom slash commands (#1826) 2025-04-07 22:19:59 +08:00
K
25b3956b80 fix(wsl): wsl should prefer the defined shell instead of powershell.exe (#1766) 2025-03-30 12:54:40 +08:00
yetone
a9b01e766e chores: use stopinsert (#1745) 2025-03-28 00:17:01 +08:00
Micah Halter
3a75b7d36f refactor: utilize Utils.get_hl to minimize duplicate code (#1701) 2025-03-25 10:38:23 +08:00
yetone
25e9b1c111 fix: copilot's openai tool description cannot use long text (#1700) 2025-03-24 19:54:06 +08:00
Tobias Mersmann
e20a3ff111 fix(diagnostics): add vim.diagnostic.severity.INFO to diagnostics context (#1696) 2025-03-24 18:20:04 +08:00
Micah Halter
46be28c357 fix: make sure to get the final highlight values rather than link names (#1682)
* fix: make sure to get the final highlight values rather than link names

* fix: update other `nvim_get_hl` calls to use `link = false`

* fix: more link = false

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2025-03-24 15:42:44 +08:00
yetone
49ae3c84fd feat: add view_range parameter and remove read_file llm tool (#1690) 2025-03-24 15:07:14 +08:00
yetone
18f10f520b fix: read difinitions (#1672) 2025-03-22 14:05:37 +08:00
yetone
9e28252cd0 feat: lsp tools (#1588) 2025-03-22 13:57:32 +08:00
yetone
86b63b2a33 chores: refine ui (#1663) 2025-03-22 00:42:20 +08:00
yetone
a60a8d4701 fix: change readonly files (#1659) 2025-03-21 19:48:28 +08:00
yetone
0786499712 feat: link diff and confirm (#1635) 2025-03-19 03:09:30 +08:00
yetone
191d7b8783 feat: claude text editor tool (#1631) 2025-03-19 00:09:49 +08:00
ESSO0428
6fc4f16a4e fix: normalize CRLF to LF in read_file_from_buf_or_disk (#1622)
Ensure consistent line endings when reading files by converting CRLF
(`\r\n`) to LF (`\n`). This fixes incorrect line number detection
when modifying CRLF-formatted files.

Addresses yetone/avante.nvim#1621.
2025-03-18 10:43:22 +08:00
yetone
63605a55a3 fix: increase history max_tokens (#1609) 2025-03-17 04:38:08 +08:00
yetone
6e77da83c1 fix: better sidebar (#1603)
* fix: better sidebar

* feat: better msg history

* fix: tests
2025-03-17 01:40:05 +08:00
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
05b3b843c8 fix: selected code (#1542) 2025-03-10 00:17:24 +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
6c7c5464ca feat: cwd ad project root (#1517) 2025-03-07 11:53:09 +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
yetone
0d592f440c Revert "refactor: message content (#1424)" (#1442)
This reverts commit ae8497faf1.
2025-03-01 13:25:51 +08:00