SurfSense/surfsense_web/components/free-chat
DESKTOP-RTLN3BA\$punk ab747e7a49 feat(agents): consolidate connectors under mcp_discovery; route web search through google_search
MCP consolidation:
- Route all MCP-capable connectors (Slack, Jira, Linear, ClickUp, Airtable,
  Notion, Confluence, interim Gmail/Calendar, custom MCP) through a single
  `mcp_discovery` subagent. Drive/OneDrive/Dropbox stay native to enrich the KB.
- Deprecate Discord/Teams/Luma: no viable official MCP server.

Google-only web search:
- Remove the main-agent `web_search` tool and the SearXNG platform service;
  all public web search now flows through the `google_search` subagent via task().
- Deprecate the Tavily/SearXNG/Linkup/Baidu search connectors (HTTP 410 on
  create, "Deprecated" badge); guide heavy users to the custom MCP connector.
- Remove web search from anonymous chat (pure Q&A).
- Tear SearXNG out of docker compose + install scripts; drop tavily-python
  and linkup-sdk deps and their config/env vars.

Fix:
- metrics._package_version() now swallows any metadata lookup failure. A
  malformed editable-install distribution with no `Version` field raised
  KeyError deep in importlib.metadata, and since it runs on every
  record_subagent_invoke_duration call it was crashing every task()
  delegation. Verified end-to-end against live GPT-5.4.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-04 21:06:04 -07:00
..
anonymous-chat.tsx refactor(web): replace instances of BACKEND_URL with buildBackendUrl for improved URL handling 2026-06-16 14:51:25 +05:30
free-chat-page.tsx feat(agents): consolidate connectors under mcp_discovery; route web search through google_search 2026-07-04 21:06:04 -07:00
free-composer.tsx feat(agents): consolidate connectors under mcp_discovery; route web search through google_search 2026-07-04 21:06:04 -07:00
free-model-selector.tsx feat(model-connections): add provider-specific connection forms and shared components 2026-06-12 22:04:44 +05:30
free-right-panel.tsx refactor: anonymous/free chat experience 2026-05-31 15:58:21 -07:00
free-thread.tsx refactor(chat): introduce ChatViewport and NestedScroll components for improved chat UI structure and functionality 2026-05-01 03:09:53 +05:30
quota-bar.tsx refactor: anonymous/free chat experience 2026-05-31 15:58:21 -07:00
quota-warning-banner.tsx refactor: anonymous/free chat experience 2026-05-31 15:58:21 -07:00
remove-ads-banner.tsx feat(chat): add RemoveAdsBanner component to FreeChatPage 2026-06-03 17:52:40 -07:00