mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
Relocate the entire new_chat/tools/ package (62 files incl. registry, hitl, MCP cluster, and all connector subpackages: gmail/slack/discord/teams/drive/etc.) to the shared kernel. The package turned out to be a clean cohesive cluster: its only references to non-tools new_chat modules were comments, and its middleware deps were already flipped to shared in slice 5c. Flip 33 live importers (multi-agent, flows, routes, services, anonymous_agent, tests). Re-export shims remain for the frozen single-agent stack: a package __init__ mirroring the public surface (new_chat.__init__ imports it) plus invalid_tool + registry submodule shims (chat_deepagent imports those). Resolves slice 5c's two transient back-edges: shared/middleware/action_log (TYPE_CHECKING ToolDefinition) and tool_call_repair (local INVALID_TOOL_NAME) now point at app.agents.shared.tools. |
||
|---|---|---|
| .. | ||
| streaming | ||
| __init__.py | ||
| test_agent_billing_resolver.py | ||
| test_ai_file_sort_service.py | ||
| test_ai_sort_task_dedupe.py | ||
| test_auto_model_pin_service.py | ||
| test_auto_pin_image_aware.py | ||
| test_billable_call.py | ||
| test_docling_image_support.py | ||
| test_folder_hierarchy.py | ||
| test_image_gen_api_base_defense.py | ||
| test_llm_router_pool_filter.py | ||
| test_memory_service.py | ||
| test_openrouter_integration_service.py | ||
| test_openrouter_legacy_config.py | ||
| test_or_health_enrichment.py | ||
| test_pricing_registration.py | ||
| test_provider_api_base.py | ||
| test_provider_capabilities.py | ||
| test_quality_score.py | ||
| test_quota_checked_vision_llm.py | ||
| test_revert_filesystem_tools.py | ||
| test_revert_service.py | ||
| test_supports_image_input.py | ||
| test_token_quota_service_cost.py | ||
| test_vision_llm_api_base_defense.py | ||