suna/backend/agent/tools
LE Quoc Dat 9a0dc4e200 AI: can we streamline the edit-file just like the create_file tool, in the front end ?
like stream the code-edit output of the agent; Then we should be able to show the diff as well, when the tool complete. We get the original file content, and the full updated code (output of morph) and some how send it to the front end.

the front end should show this properly , concisely so user can see the changes in green / red.

This shouldn't change the content feed to the model btw. Like it will pollute the context.

make a plan what to do first, not make changes yet
2025-07-28 20:46:21 +02:00
..
agent_builder_tools AI: we need instruct the agent to Always use edit_tool. it doesn't do this for now. Like it prefer str_replace 2025-07-28 18:46:41 +02:00
data_providers feat: removed unused imports 2025-05-07 15:24:00 +02:00
utils feat: extend agent builder for Suna 2025-07-25 13:24:34 +05:30
__init__.py agent wip 2025-04-11 00:53:01 +01:00
computer_use_tool.py perf(sandbox): switch to async daytona sdk (#891) 2025-07-04 21:12:53 +05:30
data_providers_tool.py chore(dev): cleanup frontend 2025-06-01 02:23:53 +05:30
expand_msg_tool.py chore(dev): convert expand message to new tool call format 2025-05-30 19:08:23 +05:30
mcp_tool_wrapper.py refactor backend code 2025-07-14 16:06:27 +05:30
message_tool.py Enhance complete tool with text, attachments, and improved frontend rendering 2025-07-19 15:45:43 +00:00
sb_browser_tool.py perf(sandbox): switch to async daytona sdk (#891) 2025-07-04 21:12:53 +05:30
sb_deploy_tool.py perf(sandbox): switch to async daytona sdk (#891) 2025-07-04 21:12:53 +05:30
sb_expose_tool.py fix port expose not working 2025-07-07 20:45:16 +02:00
sb_files_tool.py AI: can we streamline the edit-file just like the create_file tool, in the front end ? 2025-07-28 20:46:21 +02:00
sb_image_edit_tool.py fix(sb_image_edit_tool): update image processing to use base64 data instead of URL 2025-07-05 12:39:55 +00:00
sb_shell_tool.py fix: improve command completion detection in shell tool 2025-07-24 11:17:44 +08:00
sb_vision_tool.py perf(sandbox): switch to async daytona sdk (#891) 2025-07-04 21:12:53 +05:30
web_search_tool.py perf(sandbox): switch to async daytona sdk (#891) 2025-07-04 21:12:53 +05:30