mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
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. |
||
|---|---|---|
| .. | ||
| middleware | ||
| prompts | ||
| tools | ||
| __init__.py | ||
| test_action_log.py | ||
| test_agent_cache.py | ||
| test_busy_mutex.py | ||
| test_compaction.py | ||
| test_context_editing.py | ||
| test_dedup_tool_calls.py | ||
| test_default_permissions_layering.py | ||
| test_desktop_safety_rules.py | ||
| test_doom_loop.py | ||
| test_feature_flags.py | ||
| test_flatten_system.py | ||
| test_hitl_auto_approve.py | ||
| test_memory_response_content.py | ||
| test_mention_resolver.py | ||
| test_noop_injection.py | ||
| test_otel_span.py | ||
| test_path_resolver.py | ||
| test_permission_middleware.py | ||
| test_permissions.py | ||
| test_plugin_loader.py | ||
| test_prompt_caching.py | ||
| test_resolve_prompt_model_name.py | ||
| test_retry_after.py | ||
| test_rm_rmdir_cloud.py | ||
| test_skills_backends.py | ||
| test_specialized_subagents.py | ||
| test_state_reducers.py | ||
| test_tool_call_repair.py | ||