ZIm/crates/assistant_tools/src
Mikayla Maki 1aefa5178b
Move "async move" a few characters to the left in cx.spawn() (#26758)
This is the core change:
https://github.com/zed-industries/zed/pull/26758/files#diff-044302c0d57147af17e68a0009fee3e8dcdfb4f32c27a915e70cfa80e987f765R1052

TODO:
- [x] Use AsyncFn instead of Fn() -> Future in GPUI spawn methods
- [x] Implement it in the whole app
- [x] Implement it in the debugger 
- [x] Glance at the RPC crate, and see if those box future methods can
be switched over. Answer: It can't directly, as you can't make an
AsyncFn* into a trait object. There's ways around that, but they're all
more complex than just keeping the code as is.
- [ ] Fix platform specific code

Release Notes:

- N/A
2025-03-19 02:09:02 +00:00
..
bash_tool bash tool: Rename working_directory to cd and improve command wrap (#26702) 2025-03-13 18:29:25 +00:00
delete_path_tool Delete tool uses paths instead of globs (#26715) 2025-03-16 11:58:25 +01:00
diagnostics_tool Introduce DiagnosticsTool (#26670) 2025-03-13 14:53:00 +01:00
edit_files_tool assistant edit tool: Create file when search/replace is empty (#27009) 2025-03-18 18:35:11 +00:00
fetch_tool assistant_tools: Add fetch tool (#26999) 2025-03-18 16:25:51 +00:00
list_directory_tool Add ListDirectoryTool (#26549) 2025-03-12 15:17:12 +00:00
path_search_tool Paginate regex and path search tools (#26997) 2025-03-18 15:44:41 +00:00
read_file_tool Remove list_worktrees and use relative paths instead (#26546) 2025-03-12 15:06:04 +00:00
regex_search_tool Paginate regex and path search tools (#26997) 2025-03-18 15:44:41 +00:00
thinking_tool Add thinking tool (#26675) 2025-03-14 16:26:22 -04:00
assistant_tools.rs assistant_tools: Add fetch tool (#26999) 2025-03-18 16:25:51 +00:00
bash_tool.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
delete_path_tool.rs Delete tool uses paths instead of globs (#26715) 2025-03-16 11:58:25 +01:00
diagnostics_tool.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
edit_files_tool.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
fetch_tool.rs assistant_tools: Add fetch tool (#26999) 2025-03-18 16:25:51 +00:00
list_directory_tool.rs assistant edit tool: Fix editing files in context (#26751) 2025-03-14 17:07:43 -03:00
now_tool.rs assistant edit tool: Fix editing files in context (#26751) 2025-03-14 17:07:43 -03:00
path_search_tool.rs Paginate regex and path search tools (#26997) 2025-03-18 15:44:41 +00:00
read_file_tool.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
regex_search_tool.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
thinking_tool.rs Add action log to thinking tool (#26802) 2025-03-14 20:44:36 +00:00