mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
subagents/shared/middleware/ held build_subagent_middleware_stack, but no subagent package imports it -- its only caller is main_agent/middleware/stack.py (the generic pack_subagent builder merely consumes the resulting dict at runtime). It is main_agent's policy for which middleware to thread into subagents, so it belongs with its caller: subagents/shared/middleware/middleware_stack.py -> main_agent/middleware/subagent_stack.py subagents/shared/ now holds only genuinely subagent-shared code (md_file_reader, snippets, spec, subagent_builder, hitl). |
||
|---|---|---|
| .. | ||
| main_agent | ||
| shared | ||
| subagents | ||
| __init__.py | ||
| constants.py | ||