41 Commits

Author SHA1 Message Date
Adrian Cole
148998b1db feat(acp): support mcp_servers in acp_providers config (#2883)
Allow acp_providers to specify an mcp_servers array that gets passed
to create_session. This enables agents to connect to HTTP MCP servers
configured by the client.

- Read mcp_servers from Config.acp_providers[provider]
- Pass to acp_client:create_session for MCP tool support
- Add mock transport tests verifying mcpServers propagation
2025-12-29 17:50:24 +08:00
Adrian Cole
0336666a73 fix(acp): return JSON-RPC error for fs/read_text_file on missing files (#2849)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-12-13 23:30:11 +08:00
Dmitry Torokhov
4fc83dc308 cleanup: use vim.uv instead of vim.loop everywhere (#2762) 2025-10-15 18:44:40 +08:00
Carlos Gomes
cecd0de6fc feat: Allow inline buttons and popup confirmation for both ACP and normal Providers (#2760)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-15 18:08:51 +08:00
yetone
00224ea378 fix: use acp to editing (#2701) 2025-09-11 18:39:00 +08:00
brook hong
47877c7e8b fix: bedrock exception could be found at end of a stream (#2654) 2025-08-31 19:11:04 +08:00
Fabian Klopfer
11e457e56b [feat] Add basic support for IBM's watsonx code assistant (#2617)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-08-26 17:26:15 +08:00
Yinzuo Jiang
f643b262cc fix: empty tool array reports an error for some LLM models (#2639)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-08-26 17:19:29 +08:00
samuelm00
0a603efad1 add possibility to define a project based instruction file 2025-08-19 14:53:40 +08:00
Dmitry Torokhov
3b1f65e46d fix(tests): specify initial branch when initializing git repository
Git may complain if init.defaultBranch is not set up on the system:

hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"

Use "git init -m main" to suppress this message.
2025-08-02 17:43:55 +08:00
yetone
8c5b3f9706 fix: duplicated replace blocks in diff (#2549) 2025-07-30 22:16:56 +08:00
yetone
b8bb0fd969 refactor: llm tool parameters (#2449) 2025-07-15 16:40:25 +08:00
guanghechen
436a02c355 fix(#2094): fix the path resolving in windows (#2248)
* fix(#2094): fix the path resolving in windows

* fix test case

* tweak test case
2025-06-17 16:55:19 +08:00
yetone
fcf457ed7f fix: refine tools (#2229) 2025-06-16 01:27:39 +08:00
yetone
fdf4716ec0 fix: fuzzy match (#2221) 2025-06-13 16:46:55 +08:00
yetone
746f071b37 feat: streaming diff (#2107) 2025-06-02 16:44:33 +08:00
yetone
bc403ddcbf feat: ReAct tool calling (#2104) 2025-05-31 08:53:34 +08:00
yetone
7fd6cf3d64 fix: the foolish copilot/claude-3.7-sonnet is unable to invoke the attempt_completion tool as instructed (#2095) 2025-05-29 03:18:15 +08:00
yetone
53f29bf76d fix: view truncated file (#2090) 2025-05-27 17:09:14 +08:00
msvechla
2f806ca342 Resolve AWS credentials using default credentials provider chain for Bedrock (#1752) 2025-05-16 11:13:40 +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
f10b8383e3 refactor: history messages (#1934) 2025-04-30 03:07:18 +08:00
yetone
33f95aedde feat: streaming json parser (#1883) 2025-04-16 23:41:38 +08:00
yetone
976fb4177c fix: refine tools (#1706)
* fix: refine tools

* fix: missing break line

* fix: view a in-context file

* fix: remove create_file tests
2025-03-25 11:17:48 +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
cc966194d0 refactor: llm tools (#1675) 2025-03-22 17:13:42 +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
3741460541 optimize: make relative (#1529) 2025-03-08 21:15:07 +08:00
yetone
f6484a0e61 feat: add glob llm tool (#1495) 2025-03-05 19:22:22 +08:00
Francesco Tassi
232c9a635c feat: improve avante-rag-service container execution (#1448)
* Refactor Docker mount to mount only user home

Mounting the whole filesystem expose the user to security risks,
considering the container is running are root.

This mounts only the user home directory in the container, to mitigate
the security risks. The user home directory is mounted in read only mode
to even reduce the risks of accidental or malicious modifications.

Mounting the whole should allow the user to have multiple neovim instances runinng at
the same time and sharing the same rag_service.

Also the container is started with the --rm flag to remove it after it stops.

* RAG mount point is not configurable

* Remove useless filter.lua file

* Use Path to join paths

This should be more safe than just concatenating strings.
2025-03-05 16:18:52 +08:00
yetone
4cbba9f95e fix: lua test (#1429) 2025-02-28 14:57:01 +08:00
Jax Tsai
22739f33f2 fix: rename llm-tool search to search_keyword (#1364) 2025-02-24 22:00:11 +08:00
Peter Cardenas
3dd1854cd4 feat: add custom shell command config (#1361) 2025-02-23 21:55:37 +08:00
yetone
e47c27af66 fix: python llm tool with confirmation (#1365) 2025-02-23 21:53:40 +08:00
yetone
e93f2426e9 fix: scan directory (#1362) 2025-02-23 18:26:52 +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
yetone
2d5306b55c chores: more test for debounce (#1079) 2025-01-14 20:11:42 +08:00
yetone
bd8afce3b0 feat: tab flow (#1077) 2025-01-14 15:39:57 +08:00
yetone
e14eb002d5 feat: add luatest (#1064) 2025-01-10 00:23:59 +08:00