SurfSense/surfsense_backend/app/agents/new_chat
CREDO23 1b536b8aee refactor(agents): move filesystem_selection to app/agents/shared (slice 3a)
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.
2026-06-04 12:28:20 +02:00
..
middleware refactor(agents): move filesystem_selection to app/agents/shared (slice 3a) 2026-06-04 12:28:20 +02:00
plugins chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
prompts refactor: remove search_surfsense_docs tool and related references 2026-05-28 22:35:14 -07:00
skills refactor: remove search_surfsense_docs tool and related references 2026-05-28 22:35:14 -07:00
subagents refactor: remove search_surfsense_docs tool and related references 2026-05-28 22:35:14 -07:00
tools chore: remove dead agent code (vision autocomplete, linear tools, provider hints) 2026-06-04 11:44:23 +02:00
__init__.py cloud: added openrouter integration with global configs 2026-04-15 23:46:29 -07:00
agent_cache.py feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
anonymous_agent.py refactor: anonymous/free chat experience 2026-05-31 15:58:21 -07:00
chat_deepagent.py refactor: extract shared connector->searchable-type mapping out of chat_deepagent 2026-06-04 12:05:17 +02:00
checkpointer.py feat: implement connection pooling for AsyncPostgresSaver in checkpointer 2026-02-05 17:32:43 -08:00
connector_searchable_types.py refactor: extract shared connector->searchable-type mapping out of chat_deepagent 2026-06-04 12:05:17 +02:00
context.py refactor(agents): move context schema + state reducers to app/agents/shared (slice 2) 2026-06-04 12:19:22 +02:00
document_xml.py feat: updated file management for main agent 2026-04-28 04:32:52 -07:00
feature_flags.py refactor(agents): move feature flags to app/agents/shared/feature_flags (slice 2b) 2026-06-04 12:23:12 +02:00
filesystem_backends.py refactor(agents): move filesystem_selection to app/agents/shared (slice 3a) 2026-06-04 12:28:20 +02:00
filesystem_selection.py refactor(agents): move filesystem_selection to app/agents/shared (slice 3a) 2026-06-04 12:28:20 +02:00
filesystem_state.py refactor(agents): move context schema + state reducers to app/agents/shared (slice 2) 2026-06-04 12:19:22 +02:00
llm_config.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
mention_resolver.py refactor: remove search_surfsense_docs tool and related references 2026-05-28 22:35:14 -07:00
path_resolver.py feat: updated file management for main agent 2026-04-28 04:32:52 -07:00
permissions.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
plugin_loader.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
prompt_caching.py perf(prompt-cache): enable Azure prompt_cache_key routing hint 2026-05-20 11:58:15 +02:00
sandbox.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
system_prompt.py Wire Linear and Slack specialists and prompt routing. 2026-04-29 20:51:06 +02:00
utils.py inject tools at runtime 2025-12-20 18:35:39 +02:00