Commit Graph

4835 Commits

Author SHA1 Message Date
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
Rohan Verma 61b3f0d7e3 Merge pull request #1207 from CREDO23/feat/kb-export-and-folder-upload
[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
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
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
Trevin Chow 112d5f21cb perf: remove unnecessary "use client" from pricing-section.tsx
The component uses no hooks, event handlers, or browser APIs.
The child <Pricing> component already has its own client boundary,
so this wrapper can safely render on the server.

Fixes #1193
2026-04-10 01:16:03 -07:00
Anish Sarkar ac87f3fde0 feat: replace loading skeleton in ReportPanel with a new animated skeleton component 2026-04-10 12:53:12 +05:30
Anish Sarkar bbfce5028f feat: enhance MemoryContent and TeamMemoryManager components with new input handling, improved export options 2026-04-10 12:52:27 +05:30
mmatsumoto1026 1948f0825c fix: use NavItem interface for arguments of callback functions 2026-04-10 13:38:27 +09:00
mmatsumoto1026 694da5e439 fix: define proper interfaces for navprops 2026-04-10 13:03:47 +09:00
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
Rohan Verma 649f315dba Merge pull request #1209 from tmchow/fix/remove-dead-more-pages-dialog
Remove dead MorePagesDialog component and morePagesDialogAtom
2026-04-09 14:38:20 -07:00
Trevin Chow b544b161ae Remove dead MorePagesDialog component and morePagesDialogAtom
MorePagesDialog is never imported anywhere in the codebase.
The /more-pages route uses MorePagesContent directly from
page.tsx. The associated morePagesDialogAtom is also unused
outside the deleted component.

Closes #1192

This contribution was developed with AI assistance (Claude Code).
2026-04-09 14:13:31 -07:00
Anish Sarkar ad2a981a77 chore: ran linting 2026-04-10 02:33:48 +05:30
Anish Sarkar fdbb6200a6 feat: add export functionality to MemoryContent and TeamMemoryManager components, allowing users to download memory as markdown files 2026-04-10 02:31:59 +05:30
Rohan Verma 7808950abc Merge pull request #1208 from SohamBhattacharjee2003/fix/snapshot-delete-error-feedback
fix: add user feedback for snapshot deletion failures (#1197)
2026-04-09 14:01:09 -07:00
Anish Sarkar c06b82647d feat: refine team memory extraction decision policy to prioritize durable context and clarify criteria for updates, enhancing memory relevance and management 2026-04-10 02:02:14 +05:30
DESKTOP-RTLN3BA\$punk fedb4bcd76 fix: update metadata descriptions to emphasize privacy and data limits 2026-04-09 13:29:34 -07:00
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