SurfSense/surfsense_backend/app/agents/new_chat/middleware
CREDO23 3efe51e6ec refactor(agents): move filesystem_state, path_resolver, sandbox to app/agents/shared (slice 3b)
Relocate three leaf filesystem-cluster modules to the shared kernel and flip
all 38 importers. No re-export shims needed (no frozen single-agent importer).
This also resolves the pre-existing shared->new_chat back-edge from
shared/receipt_command.py onto filesystem_state.

filesystem_backends is intentionally deferred to slice 5: it depends on
new_chat middleware (kb_postgres_backend, multi_root_local_folder_backend)
that have not yet moved, so relocating it now would create a shared->new_chat edge.
2026-06-04 12:34:28 +02:00
..
__init__.py feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
action_log.py refactor(agents): move feature flags to app/agents/shared/feature_flags (slice 2b) 2026-06-04 12:23:12 +02:00
anonymous_document.py refactor(agents): move filesystem_state, path_resolver, sandbox to app/agents/shared (slice 3b) 2026-06-04 12:34:28 +02:00
busy_mutex.py refactor(agents): move error taxonomy to app/agents/shared/errors (slice 1) 2026-06-04 12:13:55 +02:00
compaction.py feat: enhance task management and timeout configurations in multi-agent chat 2026-05-27 14:58:10 -07:00
context_editing.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
dedup_tool_calls.py Harden HITL for multi-step tasks: bypass internal MCP gate, full-args dedup, and decision-envelope normalization. 2026-05-04 19:25:27 +02:00
doom_loop.py feat: enhance task management and timeout configurations in multi-agent chat 2026-05-27 14:58:10 -07:00
file_intent.py feat: updated file management for main agent 2026-04-28 04:32:52 -07:00
filesystem.py refactor(agents): move filesystem_state, path_resolver, sandbox to app/agents/shared (slice 3b) 2026-06-04 12:34:28 +02:00
flatten_system.py feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
kb_persistence.py refactor(agents): move filesystem_state, path_resolver, sandbox to app/agents/shared (slice 3b) 2026-06-04 12:34:28 +02:00
kb_postgres_backend.py refactor(agents): move filesystem_state, path_resolver, sandbox to app/agents/shared (slice 3b) 2026-06-04 12:34:28 +02:00
knowledge_search.py refactor(agents): move filesystem_state, path_resolver, sandbox to app/agents/shared (slice 3b) 2026-06-04 12:34:28 +02:00
knowledge_tree.py refactor(agents): move filesystem_state, path_resolver, sandbox to app/agents/shared (slice 3b) 2026-06-04 12:34:28 +02:00
local_folder_backend.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
memory_injection.py Merge remote-tracking branch 'upstream/dev' into improvement-agent-speed 2026-05-20 21:23:48 +02:00
multi_root_local_folder_backend.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
noop_injection.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
otel_span.py feat(agents): emit metrics for model and tool calls 2026-05-21 23:02:36 +05:30
permission.py refactor(agents): move error taxonomy to app/agents/shared/errors (slice 1) 2026-06-04 12:13:55 +02:00
retry_after.py feat(chat): add model retry and stream lifecycle events 2026-05-22 17:48:43 +05:30
scoped_model_fallback.py feat(chat): add model retry and stream lifecycle events 2026-05-22 17:48:43 +05:30
skills_backends.py fix: repair pre-existing agent_task, gateway, and skills tests 2026-06-04 10:25:06 +02:00
tool_call_repair.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00