Commit graph

107 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
4e2e94250c chore: add lock file syncing in bump-version script 2026-04-08 02:20:20 -07:00
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
DESKTOP-RTLN3BA\$punk
b9b567fe30 chore: update desktop release workflow and configuration
- Changed shell to bash in the desktop release workflow for consistency.
- Updated the hosted frontend URL in the .env file to point to the new domain.
- Enhanced package.json with homepage and author details for better project metadata.
2026-04-07 15:13:26 -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
CREDO23
4dd1b6c64f Add posthog-node and node-machine-id dependencies for desktop analytics 2026-04-07 22:15:35 +02: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
CREDO23
f4d197f702 feat: add native module support for desktop autocomplete 2026-04-02 13:18:20 +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
Anish Sarkar
fe6c2e9b52 chore: add electron-store dependency for persistent data storage 2026-04-02 10:37:05 +05:30
Anish Sarkar
1f8f71b542 chore: add chokidar dependency for file watching 2026-04-02 00:22:10 +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
CREDO23
6597649fd1 add REPLACE_TEXT IPC channel 2026-03-26 20:09:04 +02:00