SurfSense/surfsense_backend/app/tasks/chat/streaming/handlers
CREDO23 f615d6b530 refactor(agents): relocate remaining MAC-only kernel (permissions, deliverable_wait)
permissions.py (authorization Rule/Ruleset model) is consumed across all
MAC subagents + the permissions middleware, with a single external
consumer (user_tool_allowlist service) -> move to
multi_agent_chat/shared/permissions.py and repoint all 42 sites.

deliverable_wait.py (wait_for_deliverable) is used only by the podcast and
video_presentation deliverable tools -> colocate into
subagents/builtins/deliverables/.

No behavior change; import-all + permission/allowlist/deliverable unit
tests stay green.
2026-06-05 10:58:49 +02:00
..
tools refactor(agents): relocate remaining MAC-only kernel (permissions, deliverable_wait) 2026-06-05 10:58:49 +02:00
__init__.py Add LangGraph handlers for chat model, chain, tool, and custom events. 2026-05-06 20:08:48 +02:00
chain_end.py Add LangGraph handlers for chat model, chain, tool, and custom events. 2026-05-06 20:08:48 +02:00
chat_model_stream.py Mint pending span id when the task tool registers from chunks. 2026-05-08 22:47:08 +02:00
custom_event_dispatch.py Forward span metadata from report_progress thinking updates. 2026-05-08 22:47:50 +02:00
custom_events.py feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
tool_end.py refactor(agents): group tool-outcome receipts into multi_agent_chat/shared/receipts/ 2026-06-05 10:56:37 +02:00
tool_output_frame.py Clear spans after task completion and pass span id on tool output. 2026-05-08 22:47:38 +02:00
tool_start.py Pass thinkingStepId through tool-input start and available metadata. 2026-05-08 23:17:05 +02:00