SurfSense/surfsense_backend/app/tasks/chat/streaming/handlers/tools
CREDO23 24b62a63b4 refactor(agents): introduce chat/ category; dissolve top-level agents/shared
Recursive shared-folder rule: a shared/ must be shared by ALL siblings at its
level. The kernel (context, compaction, retry_after, web_search) was shared by
only 2 of the agents -- anonymous_chat + multi_agent_chat -- never by podcaster
or video_presentation. Those 2 are the "chat" category, so their shared code
belongs in that category's shared/, not the top-level one.

  app/agents/anonymous_chat/   -> app/agents/chat/anonymous_chat/
  app/agents/multi_agent_chat/ -> app/agents/chat/multi_agent_chat/
  app/agents/shared/           -> app/agents/chat/shared/   (anon<->mac kernel)

Top-level app/agents/shared/ is gone: nothing was shared across all three
categories (chat / podcaster / video_presentation).

~289 import sites rewritten (app.agents.{anonymous_chat,multi_agent_chat,shared}
-> app.agents.chat.*); all moves are git renames (history preserved).
app/agents/ now: chat/, podcaster/, video_presentation/, runtime/.
2026-06-05 12:54:02 +02:00
..
connector feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
default Add chat tool streaming registry with shared, default, and connector tools. 2026-05-06 20:08:48 +02:00
deliverables refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
filesystem feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
scrape_webpage feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
shared Add chat tool streaming registry with shared, default, and connector tools. 2026-05-06 20:08:48 +02:00
web_search feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
__init__.py Add chat tool streaming registry with shared, default, and connector tools. 2026-05-06 20:08:48 +02:00
emission_context.py Clear spans after task completion and pass span id on tool output. 2026-05-08 22:47:38 +02:00
registry.py feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00