SurfSense/surfsense_backend/app/agents/new_chat/tools
CREDO23 a97d1548a6 multi_agent_chat/permissions: surface MCP tool metadata into ask interrupts
The FE permission card needs mcp_connector_id, mcp_server, and
tool_description in the interrupt context to render "Always Allow"
against the right connected account. Thread the tool through the
ask pipeline:

- pack_subagent → build_permission_mw(tools=...) → PermissionMiddleware
  (tools_by_name) → request_permission_decision(tool=...) →
  build_permission_ask_payload(tool=...) projects card fields out of
  BaseTool.

- mcp_tool.py: stdio path now stashes mcp_connector_id in metadata for
  parity with the HTTP path.
2026-05-15 11:28:06 +02:00
..
confluence feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
discord feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
dropbox feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
gmail feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
google_calendar feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
google_drive feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
jira feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
linear feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
luma feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
notion feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
onedrive feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
teams feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
__init__.py refactor: rename and consolidate memory tools to update_memory 2026-04-08 23:29:26 +05:30
connected_accounts.py feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
generate_image.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
hitl.py fix: fixed composio issues 2026-05-02 21:16:03 -07:00
invalid_tool.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
knowledge_base.py feat: add Dropbox integration support with configuration and connector updates 2026-03-30 22:16:41 +05:30
mcp_client.py chore: linting 2026-04-27 14:04:50 -07:00
mcp_tool.py multi_agent_chat/permissions: surface MCP tool metadata into ask interrupts 2026-05-15 11:28:06 +02:00
podcast.py feat: updated file management for main agent 2026-04-28 04:32:52 -07:00
registry.py feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
report.py feat: made agent file sytem optimized 2026-03-28 16:39:46 -07:00
resume.py fix: adjust spacing in resume template for highlights 2026-04-22 19:24:30 +05:30
scrape_webpage.py feat: update YouTube transcript fetching to select primary language transcripts 2026-02-06 14:02:46 -08:00
search_surfsense_docs.py feat: implement agent caches and fix invalid prompt cache configs 2026-05-03 06:03:40 -07:00
tool_response.py chore: linting 2026-04-27 14:04:50 -07:00
update_memory.py fix: handle empty response in forced rewrite function 2026-05-04 12:18:09 +05:30
video_presentation.py feat: updated file management for main agent 2026-04-28 04:32:52 -07:00
web_search.py chore: ran linting 2026-03-17 04:40:46 +05:30