SurfSense/surfsense_backend/app/agents/new_chat
CREDO23 28b13ed25b refactor(agents): move context schema + state reducers to app/agents/shared (slice 2)
Continue promoting the shared agent toolkit out of `new_chat` into the
cross-agent `app/agents/shared` kernel.

- state_reducers.py: clean move (no single-agent importer); all 7 importers
  flipped to app.agents.shared.state_reducers.
- context.py: moved to app.agents.shared.context; flipped the multi-agent,
  app, automations, chat-flows and monolith importers. A thin re-export shim
  remains at new_chat/context.py because the not-yet-retired single-agent
  (chat_deepagent) and the new_chat package __init__ still import it; the shim
  goes away with the single-agent deletion.
- Updated the stream parity test's annotation normalizer to strip the new
  app.agents.shared.context. prefix (SurfSenseContextSchema.__module__ changed
  with the move), keeping monolith<->flows signature parity intact.

Behavior-preserving: definitions unchanged; only import paths move. 1219 tests green.
2026-06-04 12:19:22 +02:00
..
middleware refactor(agents): move context schema + state reducers to app/agents/shared (slice 2) 2026-06-04 12:19:22 +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: remove search_surfsense_docs tool and related references 2026-05-28 22:35:14 -07:00
filesystem_backends.py feat: updated file management for main agent 2026-04-28 04:32:52 -07:00
filesystem_selection.py feat(filesystem): refactor local filesystem handling to use mounts instead of root paths, enhancing mount management and path normalization 2026-04-24 05:59:21 +05:30
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