Commit graph

433 commits

Author SHA1 Message Date
CREDO23
8750462637 listen for quick-ask text in Composer 2026-03-24 19:28:41 +02:00
CREDO23
f9be80ab76 re-add initialText prop to InlineMentionEditor 2026-03-24 19:26:13 +02:00
CREDO23
59e7f8f068 remove tray and clipboard-to-chat feature 2026-03-24 19:12:04 +02:00
CREDO23
a1119c401f Merge branch 'feat/migrate-electric-to-zero' into electon-desktop 2026-03-24 18:38:17 +02:00
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
DESKTOP-RTLN3BA\$punk
2800878f9d Merge commit '354d80bf7a' into dev 2026-03-24 00:19:04 -07:00
Matt Van Horn
b240057c61
fix: gate console.log calls behind development check
Wraps unguarded console.log statements in use-connectors-electric,
mcp-config-validator, and ElectricProvider behind an IS_DEV guard,
matching the existing pattern in lib/electric/client.ts. Keeps
console.error calls untouched so real errors still surface.

Fixes #904
2026-03-23 23:29:16 -07:00
CREDO23
f04ab89418 refactor: rename Electric hooks and clean consumer components
Rename hooks to remove Electric branding:
- use-connectors-electric → use-connectors-sync (useConnectorsSync)
- use-messages-electric → use-messages-sync (useMessagesSync)
- use-comments-electric → use-comments-sync (useCommentsSync)

Clean all Electric/PGlite references in consumer components:
connector-popup.tsx, thread.tsx, page.tsx, use-indexing-connectors.ts,
use-connector-dialog.ts
2026-03-23 19:29:08 +02:00
Anish Sarkar
2c7908f733 fix: update placeholder texts in Thread component 2026-03-22 22:48:07 +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
0fe5e034fe feat: add video presentation tool to generate group 2026-03-21 22:17:08 -07:00
Anish Sarkar
856073b61b refactor: update file icon colors in connector configuration components for improved visual consistency 2026-03-21 22:36:49 +05:30
Anish Sarkar
19bd0c48e8 refactor: update class names and tooltip text in AssistantActionBar and AlertDialog components for improved clarity and consistency 2026-03-21 21:10:19 +05:30
Anish Sarkar
bad3eb695f refactor: update ConnectToolsBanner to accept isThreadEmpty prop and adjust visibility logic; modify 'no_chats' message across multiple languages 2026-03-21 21:03:23 +05:30
Anish Sarkar
de8841fb86 chore: ran linting 2026-03-21 13:20:13 +05:30
Anish Sarkar
5908a64c1d refactor: remove unused tool availability logic from ComposerAction component 2026-03-21 13:10:34 +05:30
Anish Sarkar
79bc123439 feat: implement lazy imports for token refresh in Confluence and Jira connectors
- Refactored token refresh logic in ConfluenceHistoryConnector and JiraHistoryConnector to use lazy imports, avoiding circular dependencies.
- Enhanced the ComposerAction component to manage tool availability based on connected types, adding support for Jira and Confluence tools.
- Updated tool icon management to include Jira and Confluence, improving the user interface for tool interactions.
2026-03-21 12:41:06 +05:30
Anish Sarkar
e71eae26fc feat: initial files for jira and confluence HITL tool 2026-03-21 12:16:44 +05:30
Anish Sarkar
b71dd425f8 feat: enhance tool management in ComposerAction component
- Added support for grouping tools with connector icons, improving organization and user interaction.
- Implemented logic to toggle tool groups based on their enabled/disabled state, enhancing user experience.
- Updated the display of enabled tools count to reflect the new grouping structure.
- Introduced a new constant for connector tool icon paths to streamline icon management across components.
- Added a new tool action for updating Gmail drafts in the backend agent, expanding functionality.
2026-03-21 11:38:42 +05:30
CREDO23
d6d4ebc75d feat(web): add ElectronAPI type declaration for window.electronAPI 2026-03-20 20:39:18 +02:00
CREDO23
9e058e1329 chore: clean up comments in editor and composer 2026-03-20 20:35:29 +02:00
CREDO23
c78f0e78aa feat(web): wire Composer to pre-fill clipboard content from Electron tray 2026-03-20 20:33:43 +02:00
CREDO23
5ab534511c feat(web): add initialText prop to InlineMentionEditor 2026-03-20 20:26:33 +02:00
Anish Sarkar
f938c4018e refactor: streamline authentication handling and UI feedback for connectors showing re-authentication button in the config edit area as well 2026-03-20 19:36:55 +05:30
Anish Sarkar
15857ecfd6 refactor: update radio group implementation and improve input styling 2026-03-20 17:09:31 +05:30
Anish Sarkar
f16e0d95ad refactor: remove conditional rendering for step title in ThinkingStepsDisplay component 2026-03-20 16:46:05 +05:30
Anish Sarkar
75cf12974a refactor: simplify header text generation in ThinkingStepsDisplay component 2026-03-20 16:41:51 +05:30
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
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
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
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
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
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
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
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
0d56cfb663 chore: ran linting 2026-03-17 15:19:16 +05:30
Anish Sarkar
e5180aa0a3 feat: implement tool grouping in ComposerAction for improved UI organization 2026-03-17 15:18:58 +05:30
Anish Sarkar
591bd6bb46 feat: enhance TooltipIconButton to conditionally disable tooltips 2026-03-17 15:09:24 +05:30
Anish Sarkar
893df1718b feat: add tool icons for enhanced UI in ComposerAction 2026-03-17 15:02:56 +05:30
Anish Sarkar
ac0f2fa2eb chore: ran linting 2026-03-17 04:40:46 +05:30
Anish Sarkar
54156633ff refactor: update ConnectToolsBanner layout 2026-03-17 03:36:32 +05:30
Anish Sarkar
993c8539e8 feat: update UI components to utilize new main panel styling
- Replaced background styles with `bg-main-panel` in various components for consistent theming.
- Enhanced the `Header`, `LayoutShell`, and `Thread` components to improve visual coherence.
- Adjusted tool management UI to reflect new design standards, ensuring a unified user experience.
2026-03-17 01:09:15 +05:30
Anish Sarkar
b7d684ca8d feat: integrate search space settings dialog across various components
- Added `searchSpaceSettingsDialogAtom` to manage the state of the settings dialog.
- Updated multiple components (OnboardPage, TeamManagementPage, ConnectorIndicator, DocumentUploadPopupContent, etc.) to utilize the new dialog state for navigating to settings.
- Removed unnecessary animations from ApiKeyContent and ProfileContent components for improved performance.
- Enhanced button styles for better UI consistency across settings actions.
- Refactored error handling in LLMRoleManager and ModelConfigManager to simplify the UI structure.
2026-03-16 21:10:46 +05:30
Anish Sarkar
60d12b0a70 Merge remote-tracking branch 'upstream/dev' into feat/web-search 2026-03-16 19:34:38 +05:30
Anish Sarkar
2919dc7dad refactor: replace Wrench icon with Settings2 and update tool management UI to use Drawer component 2026-03-15 16:39:56 +05:30
Anish Sarkar
1e6424ef42 feat: enhance ComposerAction with dropdown menu for managing tools and file uploads 2026-03-15 16:27:33 +05:30