mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
Re-decide subagent_stack placement using the primary-built-for lens rather than consumer-only: it assembles the middleware stack threaded into every subagent, so its domain is subagents -- even though main_agent is its sole caller (analogous to subagents/registry.py, also invoked from main_agent). Since no subagent *sibling* imports it, it does not belong in subagents/shared/ but at the subagents/ package root: main_agent/middleware/subagent_stack.py -> subagents/middleware_stack.py |
||
|---|---|---|
| .. | ||
| anonymous_chat | ||
| multi_agent_chat | ||
| runtime | ||
| shared | ||
| __init__.py | ||