Agus Zubiaga
78975d75f5
Provide more helpful message on init error
2025-09-03 15:15:03 -03:00
Agus Zubiaga
76331017b2
Pass node executable path
2025-09-03 15:07:13 -03:00
Agus Zubiaga
dae4c9956e
Raise timeout
2025-09-03 14:03:47 -03:00
Agus Zubiaga
1b99ab96a0
Fix test
2025-09-03 09:28:11 -03:00
Agus Zubiaga
98b6cd5c07
Fix edit location reporting ( #15 )
...
When reporting the edit tool uses, we were accessing a field with a typo
(we should start using Zod, btw), and that caused locations not to be
reported correctly. We also now report all line numbers.
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-09-03 09:25:15 -03:00
Agus Zubiaga
a08ce88f30
Improve edit tool quality ( #14 )
...
- Return a unified diff after applying changes
- Fail if the `old_string` isn't found
- Fail if the `old_string` is empty
- Throw instead of returning succesful content on error
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-09-03 09:04:06 -03:00
Agus Zubiaga
d1fd794ecb
Add backticks around glob pattern ( #13 )
...
Looks nicer and prevents potential markdown issues
2025-09-02 23:13:27 -03:00
Agus Zubiaga
46f643b9f4
Improve background terminal output
2025-09-02 20:03:14 -03:00
Agus Zubiaga
07316e2eb0
Redirect console.log et al to stderr
2025-09-02 19:46:30 -03:00
Agus Zubiaga
a3038d383f
Setup linter ( #12 )
...
Fixes basic issues. For now, we're still allowing `any`, but it'd be
nice to move away from it.
2025-09-02 19:06:32 -03:00
Conrad Irwin
a4e8ba0b14
Remove more unsupported /slash commands
2025-09-02 13:18:13 -07:00
Conrad Irwin
d6e5910631
Fix load errors when SDK is busted
2025-09-02 12:33:11 -07:00
Agus Zubiaga
0d5e78f1ac
Fix info for builtin tools ( #11 )
2025-09-02 15:50:21 -03:00
Agus Zubiaga
02fac67f52
Do not send tool_call_update for TodoWrite ( #10 )
...
When we receive a `TodoWrite` tool use, we send a plan update instead of
a tool call. However, we were still trying to send a tool call update
when we received the `TodoWrite` tool result, which caused an ACP error.
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-09-02 11:53:54 -03:00
Bennet Bo Fenner
0dc5a4b366
Add support for slash commands ( #7 )
...
Co-authored-by: Antonio Scandurra <me@as-cii.com >
Co-authored-by: Agus Zubiaga <agus@zed.dev >
2025-09-02 10:29:45 +02:00
Agus Zubiaga
6d1711cfa4
Use ACP terminal support when available ( #8 )
...
When the `terminal` client capability is available, we'll now replace
Claude Code's bash tools with our own that go over ACP. This includes
support for background terminals.
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
Co-authored-by: Bennet <bennet@zed.dev >
2025-09-01 12:01:50 -03:00
Conrad Irwin
63d243deef
Add a bin field
2025-08-29 10:01:45 -06:00
Bennet Bo Fenner
d6b805a77b
Update tests to reflect new behavior
2025-08-29 10:36:42 +02:00
Conrad Irwin
b83c250f17
Only enable read/write tools if supported by the client
2025-08-28 23:02:59 -06:00
Conrad Irwin
f18bfeaf8d
Render read files in code blocks
2025-08-28 22:34:56 -06:00
Cole Miller
c4674e901a
Change the format of LS tool's title to match Zed agent ( #4 )
2025-08-29 00:20:51 -04:00
Ben Brandt
dd088b39e3
Cleanup tool updates a bit
2025-08-28 20:01:34 -07:00
Conrad Irwin
b875e24ad5
Fix showing of diffs in permission prompts
2025-08-28 20:58:45 -06:00
Ben Brandt
ce0e1a30ac
Only overwrite content if we have something
2025-08-28 16:48:30 -07:00
Ben Brandt
fab3728386
Track line numbers for text file edits ( #3 )
2025-08-29 01:22:58 +02:00
Ben Brandt
d29b17705a
More locations from tool input
2025-08-28 14:48:12 -07:00
Ben Brandt
2850f015d1
Prioritize base64 images and only use url if it is an external link ( #2 )
2025-08-28 23:21:22 +02:00
Conrad Irwin
b25913ebe3
Add always allow for tools
2025-08-28 14:33:40 -06:00
Conrad Irwin
0e163f6930
Assign content correctly in read tool
2025-08-28 14:24:34 -06:00
Richard Feldman
a502e0a9a5
Add mcp__acp__multi-edit synonym
2025-08-28 15:53:45 -04:00
Richard Feldman
be60a82398
Add multi-edit tool
2025-08-28 15:53:45 -04:00
Conrad Irwin
163b5c87b5
Return errors over MCP
2025-08-28 13:15:25 -06:00
Ben Brandt
9eccf4ea02
Update deps and fix tests
...
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com >
2025-08-28 10:01:27 -07:00
Bennet Bo Fenner
854dfb18dd
Fix cancellation
...
Co-authored-by: Richard Feldman <oss@rtfeldman.com >
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com >
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com >
2025-08-28 18:57:18 +02:00
Conrad Irwin
64f19462a2
Add support for authentication
2025-08-28 10:38:14 -06:00
Richard Feldman
a3d6335bfc
Change web search icon to globe
...
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-08-28 11:09:27 -04:00
Richard Feldman
400ddddd23
Fix grep flags
...
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-08-28 11:09:18 -04:00
Richard Feldman
5a8f12d692
Don't show "List Directory"
...
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-08-28 10:22:43 -04:00
Richard Feldman
4a126c7064
Put backticks around terminal command
...
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-08-28 10:22:32 -04:00
Richard Feldman
0e1c7640cf
Add read tool tests
...
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-08-28 09:49:54 -04:00
Richard Feldman
774ce69f96
Add some write tool tests
...
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-08-28 09:46:18 -04:00
Conrad Irwin
5ac23643eb
Two more
2025-08-27 22:34:06 -06:00
Conrad Irwin
9073555283
Refactor to allow one switch statement
2025-08-27 21:46:31 -06:00
Ben Brandt
9340947688
Dont' delete on cancel
2025-08-27 16:53:47 -07:00
Ben Brandt
265a8b79a6
Add abort controller we can trigger from cancel
2025-08-27 16:45:43 -07:00
Ben Brandt
00de6ef7fb
Support @mentions
2025-08-27 16:34:56 -07:00
Ben Brandt
a81d9eaa7f
Add more tool conversion tests
2025-08-27 16:05:52 -07:00
Ben Brandt
80a7eaeaff
Rename test file
2025-08-27 15:46:53 -07:00
Ben Brandt
3aa301f360
Refactor tool extraction
2025-08-27 15:41:00 -07:00
Ben Brandt
ea0f25b14c
Clean up some tool content
2025-08-27 15:17:42 -07:00