Commit graph

5001 commits

Author SHA1 Message Date
Anish Sarkar
635cdde0eb refactor: enhance roles manager component with expanded role details and improved permissions display 2026-04-13 21:45:53 +05:30
CREDO23
c4a5ac4144 delete existing snapshot before recreating 2026-04-13 18:11:40 +02:00
CREDO23
4bd9ff15eb add /documents symlink to sandbox snapshot 2026-04-13 18:06:45 +02:00
Anish Sarkar
25644e1c0b refactor: replace Eye icon with ScanEye in multiple components and enhance model not found messages 2026-04-13 21:36:07 +05:30
CREDO23
bb41c09eef clean execute_code tool description, remove sandbox internals 2026-04-13 18:03:22 +02:00
CREDO23
c9e3b1a08a fix KB search skipping when system message follows user message 2026-04-13 18:03:16 +02:00
Anish Sarkar
b6e2510e55 refactor: remove export functionality from DocumentsFilters and streamline DocumentsSidebar export handling 2026-04-13 21:25:17 +05:30
Anish Sarkar
fce465a40f refactor: simplify layout structure in user settings components 2026-04-13 21:06:16 +05:30
Anish Sarkar
71f4f77f26 refactor: unify interrupt handling in various tools
Refactored the context types for create, delete, and update functionalities across multiple tools including Confluence, Dropbox, Gmail, Google Calendar, Jira, Linear, Notion, and OneDrive to utilize a consistent type definition. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:25:49 +05:30
Anish Sarkar
041af34820 refactor: unify interrupt handling in OneDrive tools
Refactored the create and delete file functionalities in OneDrive tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:23:03 +05:30
Anish Sarkar
5169d3d56c refactor: unify interrupt handling in Linear and Notion tools
Refactored the create, update, and delete functionalities in Linear and Notion tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:22:47 +05:30
Anish Sarkar
e6065b6793 refactor: unify interrupt handling in Gmail and Google Calendar tools
Refactored the create, send, update, and delete functionalities in Gmail and Google Calendar tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:22:26 +05:30
Anish Sarkar
1c9c496e01 feat: implement MCP Tool Trust methods for managing trusted tools
Added methods to trust and untrust tools in the MCP connector's "Always Allow" list, allowing for streamlined tool usage without HITL approval. This enhancement supports better management of trusted tools within the application.
2026-04-13 20:21:46 +05:30
Anish Sarkar
71cd04b05e refactor: unify interrupt handling in Dropbox and Google Drive tools
Refactored the create and delete file functionalities in Dropbox and Google Drive tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:21:16 +05:30
Anish Sarkar
f844c3288c refactor: unify interrupt handling in Confluence and Jira tools
Refactored the create, delete, and update functions in Confluence and Jira tools to utilize a consistent InterruptResult interface with specific context types. This change enhances code clarity and maintains uniformity in handling user approvals across different tools by integrating the useHitlDecision hook for decision dispatching.
2026-04-13 20:20:38 +05:30
Anish Sarkar
ea7bcebcd0 refactor: integrate HITL approval UI for interrupt results
Enhanced the NewChatPage to utilize the new GenericHitlApprovalToolUI for handling interrupt results. Updated the ToolFallback component to conditionally render the approval UI based on the result type. Additionally, introduced a new GenericHitlApprovalToolUI component to manage user approvals and parameter editing for tool actions.
2026-04-13 20:19:23 +05:30
Anish Sarkar
b3a8364fbd feat: add MCP Tool Trust routes for managing trusted tools 2026-04-13 20:18:12 +05:30
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
CREDO23
c72b737a81 add snapshot creation script for surfsense-sandbox 2026-04-13 16:30:27 +02:00
CREDO23
1e74c87aa1 add Daytona sandbox env vars to .env.example 2026-04-13 16:23:58 +02:00
CREDO23
823e3ebb1d pass thread_id to filesystem middleware 2026-04-13 16:23:53 +02:00
CREDO23
a7e70020b1 add execute_code tool with sandbox integration 2026-04-13 16:23:47 +02:00
CREDO23
9e8ea1fd1c harden sandbox: security params, file sync, path traversal fix 2026-04-13 16:23:40 +02:00
DESKTOP-RTLN3BA\$punk
7ea840dbb2 feat: enhance SurfSense with new skills, blog section, and improve SEO metadata
Some checks failed
Build and Push Docker Images / tag_release (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Has been cancelled
- Added multiple new skills to skills-lock.json from the repository `aaron-he-zhu/seo-geo-claude-skills`.
- Introduced `fuzzy-search` dependency in package.json for improved search functionality.
- Updated pnpm-lock.yaml to include the new `fuzzy-search` package.
- Enhanced SEO metadata across various pages, including canonical links and descriptions for better search visibility.
- Improved layout and structure of several components, including the homepage and changelog, to enhance user experience.
2026-04-11 23:38:12 -07:00
Rohan Verma
61b3f0d7e3
Merge pull request #1207 from CREDO23/feat/kb-export-and-folder-upload
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] KB Export, Folder Upload & Vision LLM for Image Processing
2026-04-11 13:56:57 -07:00
CREDO23
ec3bd2f5f4 fix: renumber vision_llm migration from 121 to 123 to resolve conflict with upstream 2026-04-11 11:02:44 +02:00
CREDO23
51c2633c30 chore: add .env.example for desktop 2026-04-11 10:46:39 +02:00
CREDO23
10ef2a81ab chore: add .env to desktop gitignore 2026-04-11 10:45:01 +02:00
CREDO23
c30cc08771 Merge upstream/dev into feat/kb-export-and-folder-upload 2026-04-11 10:28:40 +02:00
Rohan Verma
43c859047f
Merge pull request #1215 from mvanhorn/feat/1198-tanstack-query-github-stars
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: migrate GitHub stars fetch to TanStack Query
2026-04-10 21:44:28 -07:00
Matt Van Horn
b65502322a feat: migrate GitHub stars fetch to TanStack Query
Replace the manual useEffect + fetch in NavbarGitHubStars with
useQuery from @tanstack/react-query. This gives the component
caching, request deduplication, automatic retries, and devtools
visibility for free.

The useLatestRelease hook referenced in the issue has already been
removed from hero-section.tsx, so only the stars badge needed
migration.

Closes #1198
2026-04-10 22:44:03 -04:00
Rohan Verma
7ec2973223
Merge pull request #1214 from AnishSarkar22/fix/azure-document-intelligence
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
fix: update Azure Document Intelligence to use `prebuilt-layout`
2026-04-10 14:37:55 -07:00
Rohan Verma
e273197ed2
Merge pull request #1212 from mmatsumoto1026/fix/define-proper-interfaces-for-navprops
fix: define proper interfaces for navprops
2026-04-10 14:36:59 -07:00
Rohan Verma
c2ab3316fe
Merge pull request #1211 from tmchow/osc/1193-remove-use-client
perf: remove unnecessary `"use client"` from pricing-section.tsx
2026-04-10 14:36:26 -07:00
Rohan Verma
b96dc49c8a
Merge pull request #1200 from AnishSarkar22/refactor/persistent-memory
refactor: persistent memory
2026-04-10 14:34:16 -07:00
CREDO23
f556446d07 Fix test mocks for vision_llm kwarg 2026-04-10 18:20:49 +02:00
Anish Sarkar
bb5b90e5bd fix: update Azure Document Intelligence parser to use prebuilt-layout model 2026-04-10 20:40:54 +05:30
CREDO23
a95bf58c8f Make Vision LLM opt-in for uploads and connectors 2026-04-10 16:45:51 +02:00
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
42572ad09d refactor: simplify alert descriptions, improved icons, improved UI in LLM settings 2026-04-10 19:07:35 +05:30
Anish Sarkar
0925f89b7c fix: guard display_name.split() against whitespace-only IndexError (recurseml feedback) 2026-04-10 15:29:56 +05:30
Anish Sarkar
27cd032d28 feat: implement input handling improvements in MemoryContent and TeamMemoryManager components, including click outside to close functionality 2026-04-10 15:23:04 +05:30
Anish Sarkar
8c9440998a chore: ran linting 2026-04-10 14:20:11 +05:30
Anish Sarkar
a5bf3af4f8 feat: migrate legacy memory tables to markdown format and drop old structures 2026-04-10 14:19:20 +05:30