Commit graph

31 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
656e061f84 feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux
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
- Introduced a `ProcessingMode` enum to differentiate between basic and premium processing modes.
- Updated `EtlRequest` to include a `processing_mode` field, defaulting to basic.
- Enhanced ETL pipeline services to utilize the selected processing mode for Azure Document Intelligence and LlamaCloud parsing.
- Modified various routes and services to handle processing mode, affecting document upload and indexing tasks.
- Improved error handling and logging to include processing mode details.
- Added tests to validate processing mode functionality and its impact on ETL operations.
2026-04-14 21:26:00 -07:00
Anish Sarkar
55099a20ac feat: enhance token usage tracking in chat messages with UI integration and dropdown display 2026-04-14 13:40:46 +05:30
Anish Sarkar
1c9c496e01 feat: implement MCP Tool Trust methods for managing trusted tools
Added methods to trust and untrust tools in the MCP connector's "Always Allow" list, allowing for streamlined tool usage without HITL approval. This enhancement supports better management of trusted tools within the application.
2026-04-13 20:21:46 +05:30
Anish Sarkar
04691d572b chore: ran linting 2026-03-30 01:50:41 +05:30
DESKTOP-RTLN3BA\$punk
2a06d035f5 refactor: update NewChatPage to re-initialize thread on search space switch and add new SSE event for document updates 2026-03-29 02:52:23 -07:00
DESKTOP-RTLN3BA\$punk
34f204620f feat: implement FrameBatchedUpdater for efficient state updates during streaming, enhance message handling in NewChatPage, and improve thread viewport scrolling behavior 2026-03-29 02:45:59 -07:00
Anish Sarkar
147061284b feat: integrate OneDrive connector with UI components and configuration options 2026-03-28 17:00:52 +05:30
DESKTOP-RTLN3BA\$punk
64c913baa3 chore: linting 2026-03-27 03:17:05 -07:00
Anish Sarkar
e587b588c9 refactor: migrate thinking steps handling to new data structure and streamline related components 2026-03-24 02:23:05 +05:30
CREDO23
0d1b61d7e6 Implement update notion page tool 2026-02-13 10:45:51 +02:00
CREDO23
2ef2474058 add HITL tool argument editing with approval UI
Enables users to edit tool call arguments before execution in human-in-the-loop
workflows. Adds edit mode UI with form fields, grayscale styling, and subtle
pulse animations for pending approvals. Backend stub enhanced to verify edited
arguments are correctly passed through.
2026-02-11 15:43:07 +02:00
CREDO23
5d1c386105 extract shared streaming helpers from page.tsx into streaming-state.ts
Move duplicated types (ThinkingStepData, ContentPart), content-part helpers
(appendText, addToolCall, updateToolCall, buildContentForUI,
buildContentForPersistence), and SSE read loop (readSSEStream) into a
shared module. Removes ~395 lines of tripled code from page.tsx.
2026-02-11 13:50:46 +02:00
DESKTOP-RTLN3BA\$punk
c979609041 feat: simplified document upload handling
- Introduced a new endpoint for batch document status retrieval, allowing users to check the status of multiple documents in a search space.
- Enhanced the document upload process to return duplicate document IDs and improved response structure.
- Updated schemas to include new response models for document status.
- Removed unused attachment processing code from chat routes and UI components to streamline functionality.
2026-02-09 16:46:54 -08:00
CREDO23
98991d2ed4 feat: update UI for snapshot-based public sharing 2026-01-30 14:20:06 +02:00
CREDO23
9a4da10b12 feat(frontend): two-phase cloning with loading state 2026-01-28 00:17:44 +02:00
CREDO23
271de96cce fix: public chat copy link button and podcast access 2026-01-26 20:10:03 +02:00
CREDO23
ee65e1377f feat: improve public chat UI and shared components 2026-01-26 18:39:59 +02:00
DESKTOP-RTLN3BA\$punk
ad475397c4 feat(chat): add regenerate endpoint for chat threads to support editing and reloading responses 2026-01-23 01:42:10 -08:00
CREDO23
d99722cfdc feat(web): integrate comment gutter with thread layout 2026-01-19 14:37:06 +02:00
CREDO23
dcd36166fc add author fields to MessageRecord type 2026-01-14 18:38:47 +02:00
DESKTOP-RTLN3BA\$punk
f22d649239 feat: added shared chats 2026-01-13 00:17:12 -08:00
Anish Sarkar
9e7f8d7fe3 feat: enhance chat functionality with improved attachment handling and user experience
- Updated system prompt to clarify usage of the display_image tool, emphasizing URL requirements and restrictions on user-uploaded images.
- Enhanced the streaming chat process to provide more context about user attachments and documents during analysis.
- Implemented state resets when switching between chats to prevent stale data and race conditions.
- Added new components for displaying image previews and document attachments in the chat interface.
- Improved attachment processing to support image data URLs for persistent display after uploads.
2025-12-25 17:52:48 +05:30
DESKTOP-RTLN3BA\$punk
4a0c3e368a feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
DESKTOP-RTLN3BA\$punk
c2dcb2045d feat: added attachment support 2025-12-21 22:26:33 -08:00
DESKTOP-RTLN3BA\$punk
b5e20e7515 feat: old chat to new-chat with persistance 2025-12-21 16:32:55 -08:00
DESKTOP-RTLN3BA\$punk
0c3574d049 feat: implement new chat feature with message persistence and UI integration 2025-12-21 16:16:50 -08:00
Anish Sarkar
35463eeab4 Merge remote-tracking branch 'upstream/dev' into feature/podcast-agent 2025-12-21 20:39:21 +05:30
Anish Sarkar
783ee9c154 feat: enhance podcast generation with duplicate request prevention and improved UI feedback 2025-12-21 20:07:04 +05:30
Anish Sarkar
4c4e4b3c4c feat: add podcast generation capabilities to SurfSense deep agent and UI integration 2025-12-21 19:07:46 +05:30
DESKTOP-RTLN3BA\$punk
73f0f772a8 feat: message history and PostgreSQL checkpointer integration 2025-12-21 03:30:10 -08:00
DESKTOP-RTLN3BA\$punk
947087452f feat: new chat working stateless. Added citation logic. 2025-12-20 23:15:49 -08:00