ZIm/crates/agent/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
..
prompts agent: Send stale file notifications using the project_notifications tool (#34005) 2025-07-07 19:48:18 +03:00
agent.rs Extract an agent_ui crate from agent (#33284) 2025-06-23 18:00:28 -07:00
agent_profile.rs agent: Fix issue with duplicated tool names from MCP servers (#33811) 2025-07-02 20:32:07 +00:00
context.rs Move UI code from assistant_context_editor -> agent_ui (#33289) 2025-06-23 22:22:01 -07:00
context_server_tool.rs Extract an agent_ui crate from agent (#33284) 2025-06-23 18:00:28 -07:00
context_store.rs Move UI code from assistant_context_editor -> agent_ui (#33289) 2025-06-23 22:22:01 -07:00
history_store.rs Move UI code from assistant_context_editor -> agent_ui (#33289) 2025-06-23 22:22:01 -07:00
thread.rs agent: Send stale file notifications using the project_notifications tool (#34005) 2025-07-07 19:48:18 +03:00
thread_store.rs agent: Fix issue with duplicated tool names from MCP servers (#33811) 2025-07-02 20:32:07 +00:00
tool_use.rs Extract an agent_ui crate from agent (#33284) 2025-06-23 18:00:28 -07:00