mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
Promote the filesystem mode contracts (FilesystemMode, FilesystemSelection, ClientPlatform, LocalFilesystemMount) out of `new_chat` into the cross-agent `app/agents/shared` kernel. Pure leaf consumed across the whole multi-agent filesystem middleware/tool tree, the chat flows/monolith, routes and tests. git mv (content unchanged) + flipped all ~48 importers. A re-export shim remains at new_chat/filesystem_selection.py only for the not-yet-retired single-agent (chat_deepagent). Also updated the stream parity test's annotation normalizer to strip the new app.agents.shared.filesystem_selection. prefix (the dataclasses' __module__ changed with the move), keeping monolith<->flows signature parity intact. Behavior-preserving: only import paths change. 1326 tests green. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| action_log.py | ||
| anonymous_document.py | ||
| busy_mutex.py | ||
| compaction.py | ||
| context_editing.py | ||
| dedup_tool_calls.py | ||
| doom_loop.py | ||
| file_intent.py | ||
| filesystem.py | ||
| flatten_system.py | ||
| kb_persistence.py | ||
| kb_postgres_backend.py | ||
| knowledge_search.py | ||
| knowledge_tree.py | ||
| local_folder_backend.py | ||
| memory_injection.py | ||
| multi_root_local_folder_backend.py | ||
| noop_injection.py | ||
| otel_span.py | ||
| permission.py | ||
| retry_after.py | ||
| scoped_model_fallback.py | ||
| skills_backends.py | ||
| tool_call_repair.py | ||