Commit graph

3935 commits

Author SHA1 Message Date
Anish Sarkar
3d6ff39bf4 feat: implement Google Drive knowledge base synchronization after file creation
- Added a new GoogleDriveKBSyncService to handle synchronization of newly created Google Drive files with the knowledge base.
- Enhanced the create_file.py tool to include feedback on the success of the knowledge base update, informing users if their file has been added or will be synced later.
- Updated the Google Drive tool metadata service to include parent folder information for improved file organization.
- Modified the UI components to support selection of parent folders during file creation, enhancing user experience and file management.
2026-03-20 15:41:08 +05:30
Anish Sarkar
510f9150cb feat: improve error handling for Google Drive authentication
- Enhanced error handling in both Composio and Google Drive folder listing functions to check for expired authentication and mark connectors as 'auth_expired' when necessary.
- Added logging for failed persistence of authentication status and raised appropriate HTTP exceptions to prompt users for re-authentication.
- Streamlined the error checking process to include various authentication failure scenarios, improving overall robustness of the integration.
2026-03-20 14:48:31 +05:30
Anish Sarkar
df0d9bb2b5 feat: improve Composio Drive folder listing and authentication handling
- Simplified the folder and file listing process in the Composio Drive integration by utilizing the GoogleDriveClient for fetching contents.
- Enhanced error handling for authentication issues, marking connectors as 'auth_expired' when necessary and prompting users to re-authenticate.
- Updated UI components to display authentication status and provide re-authentication options, improving user experience during folder selection.
2026-03-20 14:48:19 +05:30
Anish Sarkar
a27c10a5f5 feat: update Google Drive connector UI and authentication handling 2026-03-20 13:39:28 +05:30
Anish Sarkar
75f0975674 feat: enhance Google Drive account authentication handling
- Added checks for expired authentication in Google Drive file creation and deletion tools, returning appropriate error messages for re-authentication.
- Updated the Google Drive tool metadata service to track account health and persist authentication status.
- Enhanced UI components to display authentication errors and differentiate between valid and expired accounts, improving user experience during file operations.
2026-03-20 12:34:30 +05:30
Anish Sarkar
d21593ee71 feat: unify handling of native and legacy document types for Google connectors
- Introduced a mapping of native Google document types to their legacy Composio equivalents, ensuring seamless search and indexing for both types.
- Updated relevant components to utilize the new mapping, enhancing the consistency of document type handling across the application.
- Improved search functionality to transparently include legacy types, maintaining accessibility for older documents until re-indexed.
2026-03-20 03:41:32 +05:30
Anish Sarkar
aaf34800e6 feat: enhance legacy document migration for Google connectors
- Implemented fallback logic in Google Calendar, Drive, and Gmail indexers to handle legacy Composio document types, ensuring smooth migration to native types.
- Updated document indexing functions to check for existing documents using both primary and legacy hashes, improving data integrity during indexing.
2026-03-20 03:39:05 +05:30
CREDO23
71e87f302b ci(desktop): add release workflow skeleton with tag trigger and matrix 2026-03-19 20:49:30 +02:00
CREDO23
fb1db6c891 feat(desktop): wire auto-updater with GitHub Releases 2026-03-19 20:20:26 +02:00
Anish Sarkar
8e7cda31c5 feat: update Google indexing functions to track skipped messages
- Modified the indexing functions for Google Calendar and Gmail to return the count of skipped messages alongside indexed messages, enhancing performance tracking.
- Updated related tests to accommodate the new return values, ensuring comprehensive coverage of the indexing process.
- Improved error handling to maintain consistency in returned values across different indexing functions.
2026-03-19 20:56:40 +05:30
Anish Sarkar
80f7d5f34a feat: enhance document deletion feedback in UI 2026-03-19 20:34:31 +05:30
Anish Sarkar
e9485ab2df feat: update Google Drive indexing to include skipped file tracking 2026-03-19 20:27:50 +05:30
Anish Sarkar
eac4cb6075 feat: enhance Google Drive indexing to track skipped files
- Updated the indexing function to return the count of skipped files alongside indexed files, improving tracking of indexing performance.
- Added logic to accumulate skipped file counts during the indexing process, providing better insights into potential issues.
- Enhanced notification updates to include skipped file counts, ensuring comprehensive progress reporting for users.
2026-03-19 20:27:36 +05:30
Anish Sarkar
83d9c49a50 feat: enhance Composio connector handling and status management
- Updated the .env.example file to include a note about disabling "Mask Connected Account Secrets" for Google indexing.
- Implemented a wait_for_connection method in ComposioService to ensure connected accounts reach ACTIVE status after authentication.
- Added logic in composio_callback and composio_reauth_callback to wait for Composio to finish processing tokens, improving reliability in token handling.
- Enhanced logging to provide clearer warnings when connection timeouts occur, ensuring better visibility into potential issues.
2026-03-19 19:24:55 +05:30
Anish Sarkar
2390bd7d26 feat: enhance Google Drive authentication error handling
- Improved error handling for Google Drive indexing and listing operations to manage authentication failures more effectively.
- Added logic to mark connectors as 'auth_expired' when a 401 error or invalid credentials are detected, prompting users to re-authenticate.
- Updated error messages to provide clearer guidance on authentication issues, ensuring a better user experience.
2026-03-19 18:24:41 +05:30
Anish Sarkar
53e555f10c feat: implement Composio re-authentication endpoints and refresh logic
- Added new endpoints for re-authenticating Composio connectors, allowing users to refresh their authentication when expired.
- Introduced a method in ComposioService to handle the refresh of connected accounts.
- Updated the frontend to support re-authentication flows, including success notifications and redirection after re-authentication.
- Enhanced error handling for re-authentication processes to improve user experience.
2026-03-19 18:08:23 +05:30
Anish Sarkar
90481b9462 feat: Added logic to encrypt the access token, refresh token, and client secret if the configuration specifies token encryption for native Gmail connector 2026-03-19 17:57:51 +05:30
Anish Sarkar
c9deae940c feat: implement re-authentication flows for Google Drive, Gmail, and Calendar connectors
- Added re-authentication endpoints for Google Drive, Gmail, and Calendar connectors to handle expired authentication.
- Enhanced the UI to prompt users for re-authentication when their credentials are expired.
- Updated backend logic to mark connectors as 'auth_expired' and manage re-authentication requests effectively.
- Improved error handling for authentication failures across Google connectors.
2026-03-19 17:51:59 +05:30
Anish Sarkar
36f4709225 feat: add integration and unit tests for Google unification connectors
- Introduced comprehensive integration tests for Google Drive, Gmail, and Calendar indexers, ensuring proper credential handling for both Composio and native connectors.
- Added unit tests to validate the acceptance of Composio-sourced credentials across various connector types.
- Implemented fixtures to seed test data and facilitate testing of hybrid search functionality, ensuring accurate document type filtering.
2026-03-19 17:51:15 +05:30
Anish Sarkar
83152e8e7e refactor: unify all 3 google Composio and non-Composio connector types and pipelines keeping same credential adapters 2026-03-19 05:08:21 +05:30
DESKTOP-RTLN3BA\$punk
cf62fd07f8 chore: update pnpm workspace configuration to include root package 2026-03-18 13:20:37 -07:00
Anish Sarkar
6c37b563c0 fix: update re-authentication messages for Linear and Notion connectors 2026-03-19 01:31:26 +05:30
Rohan Verma
c6a83535d2
Merge pull request #889 from CREDO23/electon-desktop
[Feat] Desktop app (Win, Mac, Linux)
2026-03-18 12:56:42 -07:00
Anish Sarkar
7ba5e9c662 feat: implement re-authentication flow for connectors and enhance auth expiration handling
- Added a mechanism to mark connectors as 'auth_expired' in the database, allowing the frontend to prompt users for re-authentication.
- Updated Linear and Notion connector routes to handle token refresh failures by invoking the new expiration flagging function.
- Enhanced UI components to display re-authentication options when a connector's authentication status is expired.
2026-03-19 01:20:48 +05:30
CREDO23
0c3f8f0e7e docs(desktop): update README 2026-03-18 21:14:42 +02:00
CREDO23
5361f4cf24 docs(desktop): add README with setup, config, and build steps 2026-03-18 21:06:11 +02:00
CREDO23
abf80da2e3 chore: remove desktop app planning docs 2026-03-18 21:02:30 +02:00
CREDO23
3b19b54b2b fix(desktop): validate URL scheme in open-external IPC handler 2026-03-18 20:58:49 +02:00
CREDO23
572e7999b2 fix(backend): allow CORS from any localhost port for desktop app 2026-03-18 20:58:30 +02:00
CREDO23
9b4d9f0da2 feat(desktop): add native menu bar with standard Edit/View/Window roles 2026-03-18 20:10:30 +02:00
CREDO23
a0e57562e0 assets(desktop): generate .icns and .ico from source PNG 2026-03-18 19:56:55 +02:00
CREDO23
36e3772686 assets(desktop): add SurfSense icon source PNG 2026-03-18 19:56:41 +02:00
CREDO23
36924bbd65 feat(desktop): handle startup failure and renderer load errors 2026-03-18 19:49:59 +02:00
CREDO23
9434965803 feat(desktop): add error dialog and global exception handlers 2026-03-18 19:49:50 +02:00
CREDO23
c6f3218085 fix(desktop): use get-port-please for dynamic port selection 2026-03-18 19:38:47 +02:00
CREDO23
b07a64fd27 docs(desktop): add distribution readiness checklist 2026-03-18 19:28:26 +02:00
CREDO23
c8d6883474 refactor(desktop): replace resolve-env with build-time dotenv injection 2026-03-18 19:27:53 +02:00
CREDO23
14b561bc39 fix(desktop): resolve pnpm packaging and in-process server 2026-03-18 17:51:47 +02:00
Anish Sarkar
81ddac1f54 refactor: update connector status messages and remove deprecated Google OAuth connector entries 2026-03-18 17:01:07 +05:30
Anish Sarkar
95f11521c3 refactor: migrate OAuth result handling from sessionStorage to cookies and update connector callback implementation
- Removed the ConnectorCallbackPage component and replaced it with a route handler that sets the OAuth result in a cookie.
- Updated the useConnectorDialog hook to read from the cookie instead of sessionStorage, ensuring a more consistent state management approach.
2026-03-18 17:00:54 +05:30
Anish Sarkar
8baba0693d feat: ensure unique connector names for MCP connectors 2026-03-18 16:09:35 +05:30
Anish Sarkar
c343368456 refactor: remove query params for connector popup and improve connector callback URLs 2026-03-18 16:08:30 +05:30
Anish Sarkar
9c93d32f20 feat: made non-composio OAuth connectors for Google Drive, Gmail, and Google Calendar available for self-hosted users only
- Introduced OAuth connectors for Google Drive, Gmail, and Google Calendar, enabling users to authenticate and access their data.
- Each connector includes a selfHostedOnly property to specify hosting requirements.
- Enhanced user experience by providing clear descriptions and authentication endpoints for each connector.
2026-03-18 15:00:00 +05:30
Anish Sarkar
df872e261e feat: implement re-authentication flow for Linear and Notion HITL connectors and improve their HITL flow and error states
- Added re-authentication endpoints for Linear and Notion connectors to handle expired authentication.
- Enhanced error handling in issue creation, deletion, and update tools to return appropriate authentication error messages.
- Updated UI components to display authentication status and guide users on re-authentication steps.
- Improved account health checks to ensure valid tokens are used for operations.
2026-03-18 14:10:11 +05:30
DESKTOP-RTLN3BA\$punk
755f8b71fe secutiry: CVE-2026-32597 fix 2026-03-17 23:39:07 -07:00
DESKTOP-RTLN3BA\$punk
9da3384c43 security: a couple of CVE fixes
- Added authlib version 1.6.9 and tornado version 6.5.5 to the project dependencies.
- Updated authlib version in uv.lock to 1.6.9 with corresponding source and wheel URLs.
- Included tornado in the dependencies section of uv.lock for consistency.
2026-03-17 23:37:27 -07:00
DESKTOP-RTLN3BA\$punk
86b21458e0 feat: enhance HeroCarousel with autoplay and visibility handling
- Implemented autoplay functionality for the carousel, allowing automatic slide transitions when not expanded or hovered.
- Added visibility change detection to pause autoplay when the tab is not visible.
- Improved button styles to reflect autoplay state visually with progress indicators.
2026-03-17 23:33:45 -07:00
DESKTOP-RTLN3BA\$punk
79208c9812 chore: update tutorial GIFs and MP4s for homepage
- Replaced existing binary files for BQnaGif, ConnectorFlowGif, and DocUploadGif with updated versions to enhance visual content on the homepage.
2026-03-17 23:11:52 -07:00
DESKTOP-RTLN3BA\$punk
9b9279ec54 refactor: update user mutation and query atoms to use USER_QUERY_KEY
- Replaced cacheKeys with USER_QUERY_KEY in user-mutation.atoms.ts for consistency.
- Updated query function in user-query.atoms.ts to use a separate userQueryFn for clarity.
2026-03-17 22:56:59 -07:00
Rohan Verma
18c9a39345
Update images in README for connectors and uploads 2026-03-17 20:36:48 -07:00