SurfSense/surfsense_backend/app/agents
CREDO23 66103c68f6 refactor(agents): colocate main-agent-only tools (scrape_webpage, update_memory)
These two tools were "shared-by-folder, not shared-by-use": the only live
consumer of shared/tools/{scrape_webpage,update_memory} was the main agent
(the research/memory subagents carry their own local copies; web_search,
by contrast, is genuinely shared with anonymous_chat and stays put).

Move both into main_agent/tools/ (their sole owner). The shared BUILTIN_TOOLS
catalog still lists them for action_log/revert + /agent/tools, now via
deferred-import factories (_build_scrape_webpage_tool, _build_update_memory_tool)
mirroring the create_automation precedent to avoid a multi_agent_chat import
cycle. Removed the now-dead re-exports from shared/tools/__init__.py.

Verified: full unit suite green (2431 passed, 1 skipped).
2026-06-04 19:10:48 +02:00
..
anonymous_chat refactor(agents): promote anonymous_agent to its own anonymous_chat/ package (slice 8) 2026-06-04 13:25:23 +02:00
multi_agent_chat refactor(agents): colocate main-agent-only tools (scrape_webpage, update_memory) 2026-06-04 19:10:48 +02:00
podcaster cloud: added openrouter integration with global configs 2026-04-15 23:46:29 -07:00
shared refactor(agents): colocate main-agent-only tools (scrape_webpage, update_memory) 2026-06-04 19:10:48 +02:00
video_presentation cloud: added openrouter integration with global configs 2026-04-15 23:46:29 -07:00
__init__.py feat: Added chat_history to researcher agent 2025-05-10 20:06:19 -07:00