Commit graph

176 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
2cc2d339e6 feat: made agent file sytem optimized 2026-03-28 16:39:46 -07:00
Anish Sarkar
17091edb77 Merge remote-tracking branch 'upstream/dev' into refactor/indexing-pipelines 2026-03-27 22:36:34 +05:30
DESKTOP-RTLN3BA\$punk
64c913baa3 chore: linting 2026-03-27 03:17:05 -07:00
Anish Sarkar
bbd5ee8a19 feat: enhance Google Calendar event update functionality
- Introduced helper functions `_is_date_only` and `_build_time_body` to streamline the construction of event start and end times for all-day and timed events.
- Refactored the `create_update_calendar_event_tool` to utilize the new helper functions, improving code readability and maintainability.
- Updated the Google Calendar sync service to ensure proper handling of calendar IDs with a default fallback to "primary".
- Modified the ApprovalCard component to simplify the construction of event update arguments, enhancing clarity and reducing redundancy.
2026-03-25 20:35:23 +05:30
Anish Sarkar
778cfac6fa Merge remote-tracking branch 'upstream/dev' into impr/thinking-steps 2026-03-25 01:50:10 +05:30
DESKTOP-RTLN3BA\$punk
9a29843866 Merge commit '31b0527e9a' into dev 2026-03-24 12:59:49 -07:00
Anish Sarkar
c674fb3054 chore: ran linting 2026-03-25 00:27:24 +05:30
Anish Sarkar
323f7f2b4a Merge remote-tracking branch 'upstream/dev' into impr/thinking-steps 2026-03-25 00:17:08 +05:30
Anish Sarkar
c894185102 refactor: implement error handling for video download and PPTX export in video presentation component 2026-03-24 23:57:32 +05:30
Anish Sarkar
d0dcb8a98b refactor: simplify video presentation UI components and enhance loading/error states 2026-03-24 23:53:51 +05:30
Anish Sarkar
15a81dbf41 feat: add GenerateImageToolUI component for rendering generated images with error handling and loading states 2026-03-24 23:03:00 +05:30
CREDO23
5d8a62a4a6 merge upstream/dev into feat/migrate-electric-to-zero
Resolve 8 conflicts:
- Accept upstream deletion of 3 composio_*_connector.py (unified Google connectors)
- Accept our deletion of ElectricProvider.tsx, use-connectors-electric.ts,
  use-messages-electric.ts (replaced by Zero equivalents)
- Keep both new deps in package.json (@rocicorp/zero + @slate-serializers/html)
- Regenerate pnpm-lock.yaml
2026-03-24 17:40:34 +02:00
CREDO23
0e49cc33f8 format: auto-fix via pnpm format:fix 2026-03-24 16:07:28 +02:00
Anish Sarkar
c926c3f62e refactor: remove display_image tool and associated UI components to streamline chat functionality 2026-03-24 19:00:55 +05:30
Anish Sarkar
3f4e1a7dfd refactor: remove frontend of scrape_webpage tool 2026-03-24 18:55:06 +05:30
likiosliu
a3b3852452 fix: add AbortController to fetch call in audio download
Abort in-flight download when the component unmounts or a new download
starts, preventing wasted bandwidth on navigation.

Closes #919
2026-03-24 19:53:14 +08:00
Anish Sarkar
a009cae62a refactor: remove link_preview tool and associated components to streamline agent functionality 2026-03-24 17:15:29 +05:30
Anish Sarkar
6c507989d2 refactor: remove display_image tool and update related components to streamline image handling 2026-03-24 16:28:11 +05:30
Anish Sarkar
eed792c19a refactor: remove deprecated DeepAgentThinking component and redefine ThinkingStep interface for improved clarity 2026-03-24 02:56:42 +05:30
Anish Sarkar
b8f3f41326 refactor: update dependencies and streamline assistant-ui package usages 2026-03-24 02:22:51 +05:30
Anish Sarkar
009e89e5cd refactor: simplify audio component by removing dropdown menu and integrating download button directly 2026-03-23 03:39:08 +05:30
Anish Sarkar
fed3a3b436 feat: add dropdown menu for audio actions and improve layout in audio component 2026-03-23 03:11:19 +05:30
Anish Sarkar
74ef4bb414 refactor: enhance loading skeleton UI in GenerateReport 2026-03-23 02:55:35 +05:30
Anish Sarkar
8510a76e9a refactor: enhance UI for podcast card and audio components 2026-03-22 21:20:05 +05:30
Anish Sarkar
5c598e8588 Merge remote-tracking branch 'upstream/dev' into feat/human-in-the-loop 2026-03-22 15:45:45 +05:30
DESKTOP-RTLN3BA\$punk
eb8cfd296c feat: add public routes for video presentations and audio streaming 2026-03-21 23:29:23 -07:00
DESKTOP-RTLN3BA\$punk
d90b6d35ce feat: enhance video presentation agent with parallel theme assignment and watermarking 2026-03-21 23:02:09 -07:00
DESKTOP-RTLN3BA\$punk
b28f135a96 feat: init video presentation agent 2026-03-21 22:13:41 -07:00
Anish Sarkar
5b6b1e5d72 feat: add issue URL to Jira issue creation and update responses for direct access 2026-03-22 03:16:34 +05:30
Anish Sarkar
2c17c355d5 feat: add page URL to Confluence page creation and update responses instead of showing page id 2026-03-22 02:55:33 +05:30
Anish Sarkar
a9683bb1dc feat: add support for HTML content in HitlEditPanel and PlateEditor components for only Confluence HITL tool 2026-03-22 02:42:51 +05:30
Anish Sarkar
6f82a8ff9c refactor: enhance Navbar component to accept custom background class for scrolled state; update PublicChatView and PublicThread styles for consistency 2026-03-21 22:16:48 +05:30
Anish Sarkar
b6be92e394 refactor: enhance report generation UI with improved loading and error states, and update report content handling 2026-03-21 22:02:13 +05:30
Anish Sarkar
de8841fb86 chore: ran linting 2026-03-21 13:20:13 +05:30
Anish Sarkar
e71eae26fc feat: initial files for jira and confluence HITL tool 2026-03-21 12:16:44 +05:30
Anish Sarkar
9cd2c1f712 feat: integrate HITL phase management across tool components
- Refactored ApprovalCard in various tools (Gmail, Google Calendar, Google Drive) to utilize the new useHitlPhase hook for improved state management.
- Updated logic to handle tool action phases (pending, processing, complete, rejected) consistently across components, enhancing user feedback during interactions.
- Simplified decision handling by removing direct state management for approval decisions, streamlining the approval process.
- Enhanced UI feedback to reflect the current phase of tool actions, improving user experience during tool interactions.
2026-03-21 11:18:35 +05:30
Anish Sarkar
ff6514a99f feat: add DedupHITLToolCallsMiddleware to prevent duplicate tool calls
- Introduced DedupHITLToolCallsMiddleware to prevent duplicate HITL tool calls within a single LLM response, ensuring only the first occurrence of each tool call is retained.
- Updated the create_surfsense_deep_agent function to include the new middleware, enhancing the efficiency of tool interactions.
- Added a new middleware file for better organization and maintainability of the codebase.
2026-03-21 03:47:30 +05:30
Anish Sarkar
0d47233580 refactor: remove TriangleAlertIcon from various tool components 2026-03-21 02:09:52 +05:30
Anish Sarkar
cb6b687933 feat: enhance Gmail draft update functionality
- Improved the update_gmail_draft tool to allow users to review and edit draft content before applying changes.
- Added logic to generate draft body content based on user requests and conversation context.
- Implemented fetching of existing draft body to facilitate user edits in the approval card.
- Updated UI components to support displaying and editing existing draft content, enhancing user experience.
2026-03-21 00:30:18 +05:30
Anish Sarkar
ab6eeaf02e feat: add onClose functionality to ApprovalCard across all HITL tools 2026-03-20 23:50:50 +05:30
Anish Sarkar
85462675a0 feat: add update functionality for Gmail drafts
- Introduced a new tool to update existing Gmail drafts, allowing users to modify draft content, recipients, and subject lines.
- Updated the Gmail tools registry to include the new update_gmail_draft tool.
- Enhanced the GmailKBSyncService to support draft ID handling during synchronization.
- Added UI components for the update draft functionality in the web application, improving user interaction with Gmail drafts.
2026-03-20 23:50:27 +05:30
Anish Sarkar
5e23949af6 feat: implement date and time picker in HITL edit panel
- Added a DateTimePickerField component to allow users to select date and time in the HITL edit panel.
- Updated the EmailsTagField to use a ref for onChange to improve performance.
- Modified the ExtraField type to support "datetime-local" for better event management in Google Calendar tools.
2026-03-20 23:07:54 +05:30
Anish Sarkar
4b54826d78 refactor: update ApprovalCard to use state for wasAlreadyDecided across all HITL tools
- Changed the wasAlreadyDecided variable to use useState for better state management in ApprovalCard.
- Updated multiple components including Gmail, Google Calendar, and Notion to reflect this change, ensuring consistency across the application.
2026-03-20 23:06:58 +05:30
Anish Sarkar
b4309f13be feat: add email tag input functionality to HITL edit panel
- Updated the HITL edit panel to support multiple email inputs using a tag input component.
- Modified the ExtraField type to include "emails" as a valid type.
- Enhanced the Gmail draft creation process to utilize the new email input format for "To", "CC", and "BCC" fields.
2026-03-20 22:46:49 +05:30
Anish Sarkar
282e913c50 refactor: update ApprovalCard to display account names instead of emails across Gmail tools 2026-03-20 22:02:35 +05:30
Anish Sarkar
9b38626723 feat: add pending edits functionality to ApprovalCard across all HITL tools 2026-03-20 21:38:19 +05:30
Anish Sarkar
4bd2071a8d refactor: streamline ApprovalCard component across various tools 2026-03-20 20:53:59 +05:30
Anish Sarkar
283b4194cc feat: enhance permission handling and user feedback for Gmail and Google Calendar tools
- Implemented logic to persist authentication expiration status for connectors when insufficient permissions are detected, improving error handling and user experience.
- Updated messages to guide users to re-authenticate in connector settings for Gmail, Google Calendar, and Google Drive tools.
- Added InsufficientPermissionsResult type and corresponding UI components to display permission-related messages consistently across Gmail and Google Calendar tools.
2026-03-20 19:36:00 +05:30
Anish Sarkar
f4c0c8c945 feat: add initial logic for HITL for gmail and google calendar connectors 2026-03-20 18:47:06 +05:30
Anish Sarkar
6d1c7731f0 refactor: improve spacing and layout in ApprovalCard component 2026-03-20 18:13:53 +05:30