Commit graph

6085 commits

Author SHA1 Message Date
Anish Sarkar
708e3a9120 feat(gateway): enhance logging and event handling in agent and Telegram translator 2026-05-28 00:07:37 +05:30
Anish Sarkar
5f9d16530d feat(web): add messaging channels settings page 2026-05-27 23:41:18 +05:30
Anish Sarkar
a428f6c05f feat(gateway): schedule gateway maintenance tasks 2026-05-27 23:40:47 +05:30
Anish Sarkar
d32e8c6a90 feat(gateway): expose binding and webhook APIs 2026-05-27 23:39:24 +05:30
Anish Sarkar
bd86a72587 feat(gateway): add long-lived gateway runner 2026-05-27 23:39:05 +05:30
Anish Sarkar
b8538655bb feat(gateway): process inbound events through the agent 2026-05-27 23:38:52 +05:30
Anish Sarkar
967ec099c8 feat(gateway): add Telegram command and stream handling 2026-05-27 23:38:25 +05:30
Anish Sarkar
59e6475348 feat(gateway): add Telegram adapter and formatting 2026-05-27 23:38:09 +05:30
Anish Sarkar
c9b7d7b572 feat(gateway): add gateway domain primitives 2026-05-27 23:37:54 +05:30
Anish Sarkar
ae3ce91465 feat(gateway): add configuration and metrics hooks 2026-05-27 23:37:26 +05:30
Anish Sarkar
81cf63ac96 feat(gateway): add messaging gateway persistence schema 2026-05-27 23:34:46 +05:30
Anish Sarkar
69abf0d916 feat: add python-telegram-bot dependency to project 2026-05-27 23:28:34 +05:30
Rohan Verma
820f541f08
Merge pull request #1439 from AnishSarkar22/fix/mention-documents
feat: improve composer mentions and connector account selection
2026-05-26 13:37:18 -07:00
Rohan Verma
5f4d62c225
Merge pull request #1437 from AnishSarkar22/fix/electron-nextjs
feat: improve desktop updates, branding, and local server lifecycle
2026-05-26 13:36:58 -07:00
Anish Sarkar
b8450e60d5 refactor(web): update Switch component styles in ComposerAction for improved layout and consistency 2026-05-27 01:41:37 +05:30
Anish Sarkar
dbf235cbda feat(web): enhance composer suggestion skeleton, improve document mention picker loading states & improved LLM prompt block for connector mentions 2026-05-27 00:43:50 +05:30
Anish Sarkar
17293125ef feat(web): implement recent mention management in document mention picker and enhance composer component 2026-05-27 00:26:44 +05:30
Anish Sarkar
79f5e8f88c feat(web): add connector display definitions and enhance composer suggestion components 2026-05-26 22:40:22 +05:30
Anish Sarkar
2d134439ec feat(web): enhance mention handling to support connectors and improve document key management 2026-05-26 21:52:04 +05:30
Anish Sarkar
a41b16b73e feat(web): enhance chat context and mention handling with connector support 2026-05-26 21:11:53 +05:30
Anish Sarkar
701ae800b4 feat(web): refactor sign-in button and composer components to use Button component 2026-05-26 18:27:02 +05:30
Anish Sarkar
9cd3de9ec1 feat(web): update mention components to use Button component and enhance styling 2026-05-26 16:50:40 +05:30
Anish Sarkar
d445974838 feat(web): enhance inline mention editor and thread components with suggestion trigger info and anchor rect 2026-05-26 14:36:46 +05:30
Anish Sarkar
0d65a2e4e3 feat(web): implement composer suggestion popover and integrate with document mention picker 2026-05-26 13:37:59 +05:30
Anish Sarkar
baba31ab43 feat(tray): refactor context menu creation for improved screenshot functionality and quit option 2026-05-26 12:23:41 +05:30
Anish Sarkar
7276210403 feat(auto-updater, ui): rename DesktopUpdatePrompt with DesktopUpdateToast 2026-05-26 11:57:50 +05:30
Rohan Verma
e1abbf7424
Merge pull request #1436 from suryo12/refactor/1360-shrink-documents-panel-interface
refactor(web): shrink LayoutShell.documentsPanel interface (fixes #1360)
2026-05-25 20:09:12 -07:00
Anish Sarkar
bf4e60d224 feat(menu, dev-tools): enhance menu with view options and enable dev tools in development mode 2026-05-26 03:55:16 +05:30
Anish Sarkar
98697f1dd6 feat(auto-updater, menu): implement update state management and enhance menu options for updates 2026-05-26 03:11:06 +05:30
Anish Sarkar
6cf0f07366 refactor(auto-updater): remove native install dialog and streamline update notification handling 2026-05-26 02:38:23 +05:30
Anish Sarkar
c0fefa4db1 feat(auto-updater, ui): implement update notification and installation prompt in desktop application 2026-05-25 23:24:26 +05:30
Anish Sarkar
74fff64779 feat(menu): add Privacy Policy and Terms of Service options to the application menu 2026-05-25 22:26:14 +05:30
Anish Sarkar
79378db7c8 refactor(connector): streamline connector telemetry imports and clean up unused constants 2026-05-25 22:21:34 +05:30
Anish Sarkar
26fe4d7493 feat(auto-updater, menu): enhance update management and add menu options for updates and policies 2026-05-25 21:44:31 +05:30
suryo12
20b8b99938 refactor(web): shrink LayoutShell.documentsPanel interface (fixes #1360)
The `documentsPanel` prop on `LayoutShell` declared `isDocked` and
`onDockedChange` alongside `open` / `onOpenChange`, but the shell never
forwarded those two extra fields to its consumers. `RightPanel` already
defines its own interface accepting only `open` / `onOpenChange`, and
`DocumentsSidebar` keeps both as optional props with safe fallbacks for
the rare cases that pass them directly.

Trim the interface to the two fields the shell actually plumbs through
and drop the matching `isDocumentsDocked` state and prop entries from
`LayoutDataProvider`, which was the only caller still populating the
dead fields (`FreeLayoutDataProvider` already passed the minimal pair).
`DocumentsSidebar` itself is untouched — its props remain optional so
direct consumers that want docking behaviour can still wire it.
2026-05-25 22:06:44 +07:00
Anish Sarkar
96da8498e6 Merge remote-tracking branch 'upstream/dev' into fix/electron-nextjs 2026-05-25 18:01:06 +05:30
Anish Sarkar
fe797e65d6 refactor(deep-links, quick-ask, window): replace localhost references with dynamic server origin retrieval 2026-05-25 17:55:03 +05:30
Anish Sarkar
a2847664c8 feat(server): enhance server management with process forking and implement server origin retrieval 2026-05-25 17:52:10 +05:30
Anish Sarkar
7be4231ad4 feat(app): update product name to 'SurfSense' and implement server shutdown on app quit 2026-05-25 17:45:27 +05:30
Rohan Verma
18c66409a0
Merge pull request #1433 from suryo12/fix/roles-manager-orphaned-hasPermission
fix(web): remove orphaned hasPermission inline body in roles-manager
2026-05-24 18:50:48 -07:00
Rohan Verma
ba18d932e6
Merge pull request #1432 from suryo12/refactor/1358-jotai-slideout-tick
refactor(web): replace slideout panel window event with jotai atom (f…
2026-05-24 18:50:17 -07:00
suryo12
d571cb23fa refactor(web): use last-seen-tick comparison for slideout listener
Replace the boolean "skip first render" ref with a ref that stores the
previously-seen tick value. The effect now compares against the stored
value and only fires when it differs, which makes the dependency
naturally used (removes the `void slideoutOpenedTick;` acknowledgement)
and self-documents the intent of the guard.

Behavior is unchanged — both forms preserve the one-shot-per-event
semantics of the prior window-event implementation. The JSDoc on
`slideoutOpenedTickAtom` is updated to describe the new pattern.
2026-05-24 18:13:36 +07:00
suryo12
29d5ee5465 fix(web): remove orphaned hasPermission inline body in roles-manager
PR #1428 (issue #1366) extracted the inline `hasPermission` callback into
a shared `canPerform` helper but left the original arrow-function body,
its dependency array, and trailing `)` behind after the new
`useCallback` block. The result was a syntactically invalid statement
that broke `pnpm build` on the `dev` branch and is now blocking every
E2E job in the PR queue.

Delete the orphaned lines so the file parses again. No behavior change —
the working `useCallback(canPerform(access, permission))` already
supplies the same predicate the duplicated body did.
2026-05-24 17:23:27 +07:00
Rohan Verma
63e5943cc8
Merge pull request #1431 from dekalouis/refactor/1361-prompt-config-use-mutation-atom
refactor: migrate PromptConfigManager save to updateSearchSpaceMutationAtom
2026-05-24 02:48:46 -07:00
suryo12
ddae506631 refactor(web): replace slideout panel window event with jotai atom (fixes #1358)
Replace the `SLIDEOUT_PANEL_OPENED_EVENT` window event with a
`slideoutOpenedTickAtom` jotai atom. The dispatcher in
`SidebarSlideOutPanel` now bumps the tick via `useSetAtom`, and the
listener in `Thread` reads it via `useAtomValue` and reacts on change
behind a ref guard that skips the initial render — preserving the
one-shot-per-open semantics of the previous event.

This removes the implicit cross-module string contract, makes the
signal traceable through React DevTools / jotai inspector, and lets
TypeScript catch typos that the string-based event API silently
swallowed.
2026-05-24 16:41:47 +07:00
dekalouis
f382cb296c refactor: migrate PromptConfigManager save to updateSearchSpaceMutationAtom 2026-05-24 15:26:40 +07:00
Rohan Verma
d53866d87d
Merge pull request #1430 from suryo12/refactor/1362-oauth-typed-contract
refactor(web): centralize OAuth callback cookie contract (fixes #1362)
2026-05-23 15:53:51 -07:00
Rohan Verma
69388fc710
Merge pull request #1429 from CREDO23/fix-desktop-redirects
[Fixes] Packaged desktop: connector redirect + linux launcher icon
2026-05-23 15:51:59 -07:00
Rohan Verma
ee87747b37
Merge pull request #1428 from guangyang1206/fix/extract-shared-haspermission-helper-1366
refactor: extract shared hasPermission helper (MODSetter/SurfSense#1366)
2026-05-23 15:51:34 -07:00
Rohan Verma
06bcc85287
Merge pull request #1426 from guangyang1206/fix/1375-move-getConnectorTelemetryMeta-to-lib
fix: move getConnectorTelemetryMeta from components/ to lib
2026-05-23 15:50:59 -07:00