ZIm/crates/assistant_tools/src
Oleksiy Syvokon d87603dd60
agent: Send stale file notifications using the project_notifications tool (#34005)
This commit introduces the `project_notifications` tool, which
proactively pushes notifications to the agent.

Unlike other tools, `Thread` automatically invokes this tool on every
turn, even when the LLM doesn't ask for it. When notifications are
available, the tool use and results are inserted into the thread,
simulating an LLM tool call.

As with other tools, users can disable `project_notifications` in
Profiles if they do not want them.

Currently, the tool only notifies users about stale files: that is,
files that have been edited by the user while the agent is also working
on them. In the future, notifications may be expanded to include
compiler diagnostics, long-running processes, and more.

Release Notes:

- Added `project_notifications` tool
2025-07-07 19:48:18 +03:00
..
copy_path_tool Add copy-path tool (#27371) 2025-03-24 21:21:55 -04:00
create_directory_tool Add Create Directory Tool (#27505) 2025-03-26 11:59:03 -04:00
delete_path_tool Delete tool uses paths instead of globs (#26715) 2025-03-16 11:58:25 +01:00
diagnostics_tool Systematically optimize agentic editing performance (#28961) 2025-04-19 02:47:59 +00:00
edit_agent Add Danger check for changes to eval fixtures (#33852) 2025-07-03 14:27:49 +00:00
edit_file_tool Fix agent reading and editing files over SSH (#30144) 2025-05-07 17:07:01 +00:00
fetch_tool assistant_tools: Add fetch tool (#26999) 2025-03-18 16:25:51 +00:00
find_path_tool agent: Improve initial file search quality (#29317) 2025-04-23 21:24:41 -03:00
grep_tool assistant: Partial fix for HTML entities in tools params (#32148) 2025-06-05 10:36:55 +00:00
list_directory_tool agent: Improve initial file search quality (#29317) 2025-04-23 21:24:41 -03:00
move_path_tool Add move_path tool (#27366) 2025-03-24 14:45:19 +00:00
open_tool Add eval for open_tool (#29801) 2025-05-02 15:56:07 +00:00
project_notifications_tool agent: Send stale file notifications using the project_notifications tool (#34005) 2025-07-07 19:48:18 +03:00
read_file_tool Systematically optimize agentic editing performance (#28961) 2025-04-19 02:47:59 +00:00
templates edit_file: Add diff-fenced output format (#32737) 2025-06-16 14:28:18 +00:00
terminal_tool agent: Discourage long-running commands (#29627) 2025-04-29 19:21:16 -03:00
thinking_tool Add thinking tool (#26675) 2025-03-14 16:26:22 -04:00
ui agent: Display full terminal output without scrolling (#31922) 2025-06-03 10:54:25 -07:00
assistant_tools.rs agent: Send stale file notifications using the project_notifications tool (#34005) 2025-07-07 19:48:18 +03:00
copy_path_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
create_directory_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
delete_path_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
diagnostics_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
edit_agent.rs edit_file: Add diff-fenced output format (#32737) 2025-06-16 14:28:18 +00:00
edit_file_tool.rs Remove into SelectionEffects from .change_selections (#33554) 2025-06-27 14:31:31 -06:00
fetch_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
find_path_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
grep_tool.rs Have tools respect private and excluded file settings (#32036) 2025-06-05 10:02:11 +02:00
list_directory_tool.rs Have tools respect private and excluded file settings (#32036) 2025-06-05 10:02:11 +02:00
move_path_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
now_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
open_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
project_notifications_tool.rs agent: Send stale file notifications using the project_notifications tool (#34005) 2025-07-07 19:48:18 +03:00
read_file_tool.rs Include full abs paths of worktrees in system prompt (#32725) 2025-06-15 15:45:26 +02:00
schema.rs gemini: Fix issue with builtin tool schemas (#33917) 2025-07-04 15:11:38 +00:00
templates.rs Introduce a new StreamingEditFileTool (#29733) 2025-05-01 17:37:43 +02:00
terminal_tool.rs debugger: Fix the JavaScript debug terminal scenario (#33924) 2025-07-05 19:48:55 -04:00
thinking_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00
ui.rs agent: Display full terminal output without scrolling (#31922) 2025-06-03 10:54:25 -07:00
web_search_tool.rs agent: Allow to accept and reject all via the panel (#31971) 2025-06-03 15:20:25 -03:00