Commit graph

5337 commits

Author SHA1 Message Date
Anish Sarkar
a1d3356bf5 feat(editor): add reserveToolbarSpace option to enhance toolbar visibility management 2026-04-23 20:13:29 +05:30
Anish Sarkar
0381632bc2 refactor(editor): replace Loader2 with Spinner component and enhance save button visibility 2026-04-23 20:03:18 +05:30
Anish Sarkar
06b509213c feat(editor): add mode toggle functionality and improve editor state management 2026-04-23 19:52:55 +05:30
Anish Sarkar
9317b3f9fc refactor(editor): remove auto-save functionality and simplify SourceCodeEditor props 2026-04-23 19:25:59 +05:30
Anish Sarkar
fe9ffa1413 refactor(editor): improve SourceCodeEditor styling and enhance scrollbar behavior 2026-04-23 18:39:35 +05:30
Anish Sarkar
3f203f8c49 feat(editor): implement auto-save functionality and manual save command in SourceCodeEditor 2026-04-23 18:29:32 +05:30
Anish Sarkar
d397fec54f feat(editor): add SourceCodeEditor component for enhanced code editing experience 2026-04-23 18:21:50 +05:30
Anish Sarkar
bbc1c76c0d feat(editor): integrate Monaco Editor for local file editing and enhance language inference 2026-04-23 18:00:51 +05:30
Anish Sarkar
864f6f798a feat(filesystem): enhance local file handling in editor and IPC integration 2026-04-23 17:23:38 +05:30
Trevin Chow
a2ddf47650 refactor(anon-chat): route upload through anonymousChatApiService
Fixes #1245. Deduplicate the anonymous-chat file upload request, which
was inlined verbatim in DocumentsSidebar.tsx and free-composer.tsx
while anonymousChatApiService.uploadDocument already existed.

Key change: service now returns a discriminated result instead of
throwing on 409. Callers need to distinguish 409 (quota exceeded, ->
gate to login) from other non-OK responses (real errors, -> throw).

  export type AnonUploadResult =
    | { ok: true; data: { filename: string; size_bytes: number } }
    | { ok: false; reason: "quota_exceeded" };

Both call sites now do:

  const result = await anonymousChatApiService.uploadDocument(file);
  if (!result.ok) {
    if (result.reason === "quota_exceeded") gate("upload more documents");
    return;
  }
  const data = result.data;

Dropped the BACKEND_URL import in both files (no longer used). Verified
zero remaining /api/v1/public/anon-chat/upload references in
surfsense_web/.
2026-04-23 03:26:42 -07:00
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
Anish Sarkar
1eadecee23 feat(new-chat): integrate filesystem flow into agent pipeline 2026-04-23 15:45:33 +05:30
Anish Sarkar
42d2d2222e feat(filesystem): add local folder backend and verification coverage 2026-04-23 15:44:12 +05:30
CREDO23
739345671b fix: break circular import in llm_service and kb_sync_service files 2026-04-23 11:47:15 +02:00
Anish Sarkar
15a9e8b085 feat(middleware): detect file intent in chat messages 2026-04-23 15:03:32 +05:30
Anish Sarkar
749116e830 feat(new-chat): add filesystem backend interfaces and selection helpers 2026-04-23 15:02:58 +05:30
CREDO23
45b72de481 fix: robust generic MCP tool routing, retry, and empty-schema handling 2026-04-23 11:30:58 +02:00
CREDO23
1712f454f8 fix: add spinner loading state to MCP test connection button 2026-04-23 09:45:25 +02:00
CREDO23
cf7c14cf44 fix: mark connector auth_expired on token decryption failure 2026-04-23 09:27:03 +02:00
CREDO23
2eb0ff9e5e feat: add reauthentication endpoints for Linear and JIRA connectors 2026-04-23 08:57:56 +02:00
CREDO23
9bb117ffa7 feat: skip edit view for live connectors, disconnect directly from accounts list 2026-04-23 08:51:31 +02:00
CREDO23
80a349ea11 feat: add disconnect functionality for connectors with confirmation prompt 2026-04-23 08:50:49 +02:00
CREDO23
0b3551bd06 perf: parallelize MCP connector discovery with per-connector timeout 2026-04-23 08:40:06 +02:00
CREDO23
e3172dc282 fix: reactive 401 recovery for live MCP connectors and unified reauth endpoints 2026-04-23 08:27:11 +02:00
CREDO23
16f47578d7 Enhance MCP tool trust functionality to support OAuth-backed connectors and improve error handling in the UI. Refactor API calls to use baseApiService for consistency. 2026-04-23 08:03:32 +02:00
Rohan Verma
7245ab4046
Merge pull request #1294 from CREDO23/feature/mcp-migration
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
[FEAT] Live connector tools via MCP OAuth and native APIs
2026-04-22 21:00:28 -07:00
CREDO23
b6c506abef fix: treat all Gmail/Calendar as live connectors, hide indexing UI 2026-04-22 22:51:28 +02:00
CREDO23
9977f9b641 remove dead indexing tasks and fix silent schedule breakage for live connectors 2026-04-22 21:43:51 +02:00
Rohan Verma
f5376f2b55
Merge pull request #1293 from AnishSarkar22/fix/resume-page-limit
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
fix: implement resume page limit functionality
2026-04-22 12:23:45 -07:00
CREDO23
0eae96bffb fix: harden MCP OAuth and connector edge cases 2026-04-22 20:54:42 +02:00
CREDO23
01153b0d7e fix: cache TokenEncryption, clear stale router caches on re-init 2026-04-22 20:24:45 +02:00
CREDO23
a1d03da896 fix: encrypt tokens at rest, invalidate cache on refresh, clean up logging 2026-04-22 20:08:19 +02:00
CREDO23
4915675f45 Merge upstream/dev into feature/mcp-migration 2026-04-22 19:53:26 +02:00
Anish Sarkar
336bd57c4d refactor: enhance button loading states and styling in editor and sidebar components 2026-04-22 23:06:49 +05:30
Anish Sarkar
6ac5256431 feat: implement background processing for binary attachments in Obsidian plugin
- Added a new Celery task for indexing non-markdown attachments.
- Enhanced the Obsidian plugin schema to support binary attachments.
- Updated routes to enqueue binary attachments for background processing.
- Improved metadata handling for binary attachments during indexing.
- Added tests for binary attachment processing and validation.
2026-04-22 23:00:34 +05:30
Anish Sarkar
5047527b47 feat: enhance binary attachment handling in sync engine 2026-04-22 22:30:43 +05:30
CREDO23
a4134f1f03 fix alembic migration version numbering 2026-04-22 19:00:27 +02:00
CREDO23
9452d1090a replace broken native Jira/Linear tools with MCP equivalents 2026-04-22 18:57:49 +02:00
CREDO23
f2d9e67ac2 add multi-account MCP tool disambiguation with prefix namespacing 2026-04-22 18:57:43 +02:00
CREDO23
9eb54bc4af add account metadata discovery and connected_accounts tool 2026-04-22 18:57:26 +02:00
Anish Sarkar
23a52b6c63 feat: add confirmation modal for enabling attachment sync in SurfSense plugin 2026-04-22 22:01:14 +05:30
Anish Sarkar
6eeaa2db4d feat: enhance Obsidian plugin schema with HeadingRef class 2026-04-22 20:26:58 +05:30
Anish Sarkar
8ca4465a50 fix: adjust spacing in resume template for highlights 2026-04-22 19:24:30 +05:30
Anish Sarkar
8b67d5416e docs: update resume template guidelines for skills sections 2026-04-22 18:46:55 +05:30
Anish Sarkar
144e513068 feat: implement resume page limit functionality 2026-04-22 18:46:17 +05:30
Anish Sarkar
1d324f169f docs: enhance Obsidian connector installation instructions and add BRAT installation method 2026-04-22 17:34:27 +05:30
Rohan Verma
16587ec789
Merge pull request #1292 from MODSetter/dev
Some checks failed
Build and Push Docker Images / tag_release (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Has been cancelled
temp(hotpatch): block github_coplot custom provider
2026-04-22 04:06:06 -07:00
DESKTOP-RTLN3BA\$punk
b067c92b4c Merge commit 'f02909e378' into dev
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
2026-04-22 04:04:41 -07:00
DESKTOP-RTLN3BA\$punk
435406c302 temp(hotpatch): block github_coplot custom provider 2026-04-22 04:04:08 -07:00