Commit graph

245 commits

Author SHA1 Message Date
CREDO23
45b72de481 fix: robust generic MCP tool routing, retry, and empty-schema handling 2026-04-23 11:30:58 +02:00
CREDO23
cf7c14cf44 fix: mark connector auth_expired on token decryption failure 2026-04-23 09:27:03 +02:00
CREDO23
0b3551bd06 perf: parallelize MCP connector discovery with per-connector timeout 2026-04-23 08:40:06 +02:00
CREDO23
e3172dc282 fix: reactive 401 recovery for live MCP connectors and unified reauth endpoints 2026-04-23 08:27:11 +02:00
Rohan Verma
7245ab4046
Merge pull request #1294 from CREDO23/feature/mcp-migration
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
[FEAT] Live connector tools via MCP OAuth and native APIs
2026-04-22 21:00:28 -07:00
CREDO23
b6c506abef fix: treat all Gmail/Calendar as live connectors, hide indexing UI 2026-04-22 22:51:28 +02:00
CREDO23
0eae96bffb fix: harden MCP OAuth and connector edge cases 2026-04-22 20:54:42 +02:00
CREDO23
01153b0d7e fix: cache TokenEncryption, clear stale router caches on re-init 2026-04-22 20:24:45 +02:00
CREDO23
a1d03da896 fix: encrypt tokens at rest, invalidate cache on refresh, clean up logging 2026-04-22 20:08:19 +02:00
CREDO23
9452d1090a replace broken native Jira/Linear tools with MCP equivalents 2026-04-22 18:57:49 +02:00
CREDO23
f2d9e67ac2 add multi-account MCP tool disambiguation with prefix namespacing 2026-04-22 18:57:43 +02:00
CREDO23
9eb54bc4af add account metadata discovery and connected_accounts tool 2026-04-22 18:57:26 +02:00
Anish Sarkar
8ca4465a50 fix: adjust spacing in resume template for highlights 2026-04-22 19:24:30 +05:30
Anish Sarkar
8b67d5416e docs: update resume template guidelines for skills sections 2026-04-22 18:46:55 +05:30
Anish Sarkar
144e513068 feat: implement resume page limit functionality 2026-04-22 18:46:17 +05:30
CREDO23
ea3508cb25 use native connector types for MCP OAuth, restore original UI 2026-04-22 08:57:28 +02:00
CREDO23
940889c291 fix open redirect, error leaking, unused imports, state validation 2026-04-22 08:42:38 +02:00
CREDO23
9b78fbfe15 add automatic token refresh for MCP OAuth connectors 2026-04-21 21:20:12 +02:00
CREDO23
575b2c64d7 register all new live connector tools in registry 2026-04-21 20:50:42 +02:00
CREDO23
ba8e3133b9 add Luma list events, read event, create event tools 2026-04-21 20:50:31 +02:00
CREDO23
49f8d1abd4 add Teams list channels, read messages, send message tools 2026-04-21 20:49:50 +02:00
CREDO23
1de2517eae add Discord list channels, read messages, send message tools 2026-04-21 20:49:02 +02:00
CREDO23
07a5fac15d add Calendar search events tool 2026-04-21 20:48:47 +02:00
CREDO23
d2cb778c08 add Gmail search and read email tools 2026-04-21 20:48:40 +02:00
CREDO23
48158740ae remove Notion MCP tool definitions from registry 2026-04-21 20:33:22 +02:00
CREDO23
ea3bda9ec3 delete Notion MCP services, tools, and route 2026-04-21 20:33:10 +02:00
CREDO23
6529889e73 add declarative connector gating to tool registry 2026-04-21 20:28:45 +02:00
CREDO23
474c35fb2a add standardized tool response helper 2026-04-21 20:28:41 +02:00
CREDO23
8d438f52f5 feat(notion-mcp): add MCP agent tool factories and registry wiring 2026-04-20 21:02:10 +02:00
Anish Sarkar
0fa32c3a10 chore: ran linting 2026-04-17 16:45:14 +05:30
Anish Sarkar
d5a1f4ac01 fix: improve user information requirements and template handling in resume generation tool 2026-04-16 10:29:13 +05:30
Anish Sarkar
06c344d66e feat: implement PDF viewer for resume previews and integrate with report panel 2026-04-15 21:42:50 +05:30
Anish Sarkar
45eef24dbf feat: implement resume generation tool with Typst output and validation 2026-04-15 21:12:08 +05:30
Anish Sarkar
aac65e122e feat: add resume generation tool and update system prompts 2026-04-15 21:08:08 +05:30
DESKTOP-RTLN3BA\$punk
4bee367d4a feat: added ai file sorting 2026-04-14 01:43:30 -07:00
Anish Sarkar
8d8ba6cbe8 refactor: replace interrupt calls with request_approval utility in Linear and Notion tools
Updated the create, delete, and update functions in Linear and Notion tools to utilize the new request_approval utility for handling user approvals. This change improves code consistency and simplifies decision handling by directly merging parameters from the approval response.
2026-04-13 20:17:36 +05:30
Anish Sarkar
4875fd9211 refactor: replace interrupt calls with request_approval utility in Jira and OneDrive tools
Updated the create, delete, and update functions in Jira and OneDrive tools to utilize the new request_approval utility for handling user approvals. This change improves code consistency and simplifies decision handling by directly merging parameters from the approval response.
2026-04-13 20:17:06 +05:30
Anish Sarkar
2f59fc9c72 refactor: replace interrupt calls with request_approval utility in Google Calendar and Drive tools
Updated the create, delete, and update functions in Google Calendar and Google Drive tools to utilize the new request_approval utility for handling user approvals. This change enhances code consistency and simplifies decision handling by directly merging parameters from the approval response.
2026-04-13 20:16:09 +05:30
Anish Sarkar
85baaacd0a refactor: replace interrupt calls with request_approval utility in Gmail tools
Updated the create, send, update, and trash functions in Gmail tools to utilize the new request_approval utility for handling user approvals. This change improves code consistency and simplifies decision handling by directly merging parameters from the approval response.
2026-04-13 20:15:31 +05:30
Anish Sarkar
3eb448ec8d refactor: replace interrupt calls with unified request_approval utility in Confluence and Dropbox tools
Updated the create, delete, and update functions in Confluence and Dropbox tools to utilize the new request_approval utility for handling user approvals. This change enhances code consistency and simplifies decision handling by merging parameters directly from the approval response.
2026-04-13 20:14:50 +05:30
Anish Sarkar
82c7d4a2ab refactor: enhance deduplication logic for HITL tool calls
Updated the deduplication mechanism in the DedupHITLToolCallsMiddleware to utilize a comprehensive list of native HITL tools. The deduplication keys are now dynamically populated from both hardcoded values and metadata from StructuredTool instances. Additionally, integrated HITL approval into MCP tool creation, ensuring all tools are gated by user approval, with the ability to bypass for trusted tools.
2026-04-13 20:14:12 +05:30
Anish Sarkar
0c4fd30cce feat: add unified HITL approval utility for sensitive tool actions
This new module provides a `request_approval()` function that streamlines the process of requesting user approval for sensitive actions, including decision parsing and parameter merging. It enhances the interaction with tools by allowing for user modifications and handling trusted tools seamlessly.
2026-04-13 20:12:57 +05:30
Anish Sarkar
c6730c5551 feat: implement download functionality for different OS in SidebarUserProfile and DownloadButton components, enhance user experience with localized download messages 2026-04-10 19:53:13 +05:30
Anish Sarkar
8c9440998a chore: ran linting 2026-04-10 14:20:11 +05:30
Anish Sarkar
8d7b5bfe36 feat: enhance memory management protocols to enforce structured headings, utilize user first names in entries, and improve clarity in memory update rules 2026-04-10 04:51:56 +05:30
Anish Sarkar
b8e1c9801b feat: update memory extraction and management protocols to enforce structured bullet formats, utilize user first names, and enhance validation for team and user memory entries 2026-04-10 04:36:51 +05:30
Anish Sarkar
a0883d2ab6 feat: implement team memory extraction and validation mechanisms, enhancing memory management by enforcing scope restrictions and improving memory persistence for shared threads 2026-04-10 01:54:00 +05:30
Anish Sarkar
33626d4f91 chore: ran linting 2026-04-10 00:31:43 +05:30
Anish Sarkar
84fc72e596 feat: implement background memory extraction and editing capabilities for user and team memory management, enhancing long-term memory persistence and user interaction 2026-04-10 00:21:55 +05:30
Anish Sarkar
cd72fa9a48 refactor: remove memory extraction functionality and update memory management protocols to ensure immediate updates for user and team interactions 2026-04-09 23:30:17 +05:30