Commit graph

90 commits

Author SHA1 Message Date
Anish Sarkar
864f6f798a feat(filesystem): enhance local file handling in editor and IPC integration 2026-04-23 17:23:38 +05:30
Anish Sarkar
4899588cd7 feat(web): connect new chat UI to agent filesystem APIs 2026-04-23 15:46:39 +05:30
Anish Sarkar
5c3a327a0c feat(desktop): expose agent filesystem IPC APIs 2026-04-23 15:45:59 +05:30
DESKTOP-RTLN3BA\$punk
24383a3741 feat: add auto-launch functionality for desktop app
- Implemented IPC channels for managing auto-launch settings.
- Enhanced main process to handle auto-launch behavior on startup.
- Updated UI components to allow users to configure launch options.
- Integrated analytics tracking for auto-launch events.

This commit introduces the ability for users to enable or disable the application launching at system startup, along with options for starting minimized to the tray.
2026-04-20 12:42:06 -07:00
DESKTOP-RTLN3BA\$punk
b440610e04 feat: implement analytics tracking for desktop app events
- Added event tracking for desktop app activation and quitting.
- Introduced analytics bridge in preload script to handle user identification and event capturing.
- Updated IPC channels to support analytics-related actions.
- Enhanced analytics functionality in the main process to track user interactions and application updates.
- Integrated analytics tracking for folder watching and deep link handling.
- Improved connector setup tracking in the web application.

This commit enhances the overall analytics capabilities of the application, ensuring better user behavior insights and event tracking across both desktop and web environments.
2026-04-18 14:35:14 -07:00
Anish Sarkar
d009d06432 feat: add seedFolderMtimes API for seeding file modification times during folder synchronization 2026-04-08 16:07:25 +05:30
Anish Sarkar
5f5954e932 feat: implement upload-based folder indexing and synchronization features 2026-04-08 15:46:52 +05:30
DESKTOP-RTLN3BA\$punk
6dd85dd365 feat: validate version format in auto-updater and release workflow
- Added a check in the desktop release workflow to ensure version tags follow semantic versioning (semver) format.
- Enhanced the auto-updater to log a message and skip updates if the app version is not valid semver.
- Improved type definitions for event handlers in the auto-updater for better TypeScript support.
2026-04-07 20:07:15 -07:00
Rohan Verma
e827a3906d
Merge pull request #1162 from CREDO23/feat/vision-autocomplete
[Feat] Multi-suggestion autocomplete, Vision LLM config & Desktop analytics
2026-04-07 14:01:44 -07:00
DESKTOP-RTLN3BA\$punk
00ee7974f6 fix(desktop): pasteback issues in quick ask
- Updated the quick ask window URL to include a query parameter for quick assist mode.
- Introduced a constant to detect quick assist mode based on the URL parameter in the assistant message component.
- Simplified state management for quick assist detection, improving component performance and clarity.
2026-04-07 13:13:16 -07:00
CREDO23
0be3c79635 Guard trackEvent with try-catch 2026-04-07 20:22:00 +02:00
CREDO23
556646fe97 Use assets.surfsense.com as PostHog host 2026-04-07 20:20:56 +02:00
CREDO23
8566b03c91 Add PostHog analytics to desktop main process 2026-04-07 20:18:42 +02:00
DESKTOP-RTLN3BA\$punk
7c6e52a0a5 feat: add active search space management to Electron API and UI
- Introduced IPC channels for getting and setting the active search space, enhancing user experience across the application.
- Updated the preload script to expose new API methods for active search space management.
- Modified the main window and quick ask functionalities to sync the active search space based on user navigation.
- Enhanced the desktop and web applications to allow users to select and manage their default search space seamlessly.
- Implemented automatic synchronization of the active search space during login and navigation events.
2026-04-07 04:45:48 -07:00
DESKTOP-RTLN3BA\$punk
27e9e8d873 feat: add general assist feature and enhance shortcut management
- Introduced a new "General Assist" shortcut, allowing users to open SurfSense from anywhere.
- Updated shortcut management to include the new general assist functionality in both the desktop and web applications.
- Enhanced the UI to reflect changes in shortcut labels and descriptions for better clarity.
- Improved the Electron API to support the new shortcut configuration.
2026-04-07 03:42:46 -07:00
DESKTOP-RTLN3BA\$punk
49441233e7 feat: enhance keyboard shortcut management and improve app responsiveness
- Updated the development script to include a build step before launching the app.
- Refactored the registration of quick ask and autocomplete functionalities to be asynchronous, ensuring proper initialization.
- Introduced IPC channels for getting and setting keyboard shortcuts, allowing users to customize their experience.
- Enhanced the platform module to support better interaction with the Electron API for clipboard operations.
- Improved the user interface for managing keyboard shortcuts in the settings dialog, providing a more intuitive experience.
2026-04-07 00:43:40 -07:00
DESKTOP-RTLN3BA\$punk
e920923fa4 feat: implement auth token synchronization between Electron and web app
- Added IPC channels for getting and setting auth tokens in Electron.
- Implemented functions to sync tokens from localStorage to Electron and vice versa.
- Updated components to ensure tokens are retrieved from Electron when not available locally.
- Enhanced user authentication flow by integrating token management across windows.
2026-04-06 23:02:25 -07:00
CREDO23
a180bf5576 fix merge conflicts 2026-04-04 09:39:20 +02:00
CREDO23
d7315e7f27 Merge upstream/dev into feat/vision-autocomplete 2026-04-04 09:15:13 +02:00
CREDO23
960b8fc012 add app context and KB grounding to autocomplete suggestions 2026-04-03 21:34:01 +02:00
CREDO23
080acf5e0a remove dead code: allPermissionsGranted, simulateCopy, pendingSuggestionText, updateSuggestionText 2026-04-03 20:16:23 +02:00
CREDO23
c5aa869adb switch to on-demand permission requests and improve suggestion UX 2026-04-03 19:57:48 +02:00
CREDO23
aeb3f13f91 replace text-based autocomplete with vision-based endpoint 2026-04-03 18:17:50 +02:00
CREDO23
ced7f7562a wire global shortcut and screenshot into autocomplete trigger 2026-04-03 18:09:54 +02:00
CREDO23
339ff7fdf4 add screenshot capture module using desktopCapturer 2026-04-03 17:47:33 +02:00
CREDO23
8ba571566d remove uiohook-napi and keystroke monitoring 2026-04-03 16:10:52 +02:00
Anish Sarkar
530db10539 refactor: remove unused Electron API check and update search space ID handling in document upload 2026-04-03 02:56:24 +05:30
CREDO23
a99d999a36 fix: correct preload.js path after autocomplete module restructure 2026-04-02 21:29:05 +02:00
Anish Sarkar
e0b35cfbab feat: implement pending file event handling using durable queue with acknowledgment support in folder synchronization 2026-04-03 00:40:49 +05:30
Anish Sarkar
b46c5532b3 feat: add unified file and folder browsing functionality with IPC channel integration 2026-04-03 00:28:24 +05:30
CREDO23
3e68d4aa3e refactor: extract autocomplete service and fix tooltip screen-edge positioning 2026-04-02 20:38:09 +02:00
CREDO23
9c1d9357c4 refactor: fix dynamic tooltip resizing and split autocomplete into SPR modules 2026-04-02 20:19:16 +02:00
Anish Sarkar
5d6e3ffb7b feat: add renderer readiness signaling and update IPC channels for folder sync 2026-04-02 22:20:11 +05:30
CREDO23
b2706b00a1 feat: add autocomplete module with keystroke monitoring and IPC wiring 2026-04-02 14:29:12 +02:00
CREDO23
eaabad38fc feat: add permission onboarding page and startup routing for macOS 2026-04-02 13:44:57 +02:00
CREDO23
ec2b7851b6 feat: add macOS permission infrastructure for autocomplete 2026-04-02 13:26:32 +02:00
Anish Sarkar
b93da843dc feat: implement mtime tracking and synchronization for folder watcher 2026-04-02 11:55:29 +05:30
Anish Sarkar
28f556224a feat: implement folder watching functionality with IPC integration 2026-04-02 11:17:49 +05:30
CREDO23
cfddfa54c6 fix: harden quick-ask panel, prompt handling, and clipboard UX 2026-03-29 02:54:48 +02:00
CREDO23
6df9eea5a6 desktop: clipboard auto-insert with prompt picker, remove old sessionStorage logic 2026-03-29 00:45:11 +02:00
CREDO23
58ac17fb81 fix: move quickAskMode to IPC to prevent sessionStorage leak between windows 2026-03-27 20:35:29 +02:00
CREDO23
f9a6e648cf fix: don't clear pendingText on read to survive auth remount 2026-03-27 19:10:15 +02:00
CREDO23
af2129ebb6 move quick-ask page into dashboard route for auth context 2026-03-27 18:55:03 +02:00
CREDO23
98e12dd195 load /quick-ask page in panel 2026-03-27 17:19:13 +02:00
CREDO23
f931f08f00 rename keyboard to platform module, add getSelectedText 2026-03-27 16:53:09 +02:00
CREDO23
1133a36fe2 extract keyboard module with macOS and Windows support 2026-03-27 15:59:41 +02:00
CREDO23
2f08d401fa destroy panel on dismiss, remove activate to preserve selection 2026-03-26 20:58:04 +02:00
CREDO23
bc16c0362d check accessibility permission before paste-back 2026-03-26 20:34:37 +02:00
CREDO23
5bb4f5c084 implement replace handler with clipboard swap and paste-back 2026-03-26 20:12:33 +02:00
CREDO23
f931b4cf9d expose replaceText in preload 2026-03-26 20:10:10 +02:00