Rohan Verma
8fc4b98593
Merge pull request #1402 from guangyang1206/fix/extract-domain-helper-1368
...
Fix/extract domain helper 1368
2026-05-17 18:17:25 -07:00
Anish Sarkar
af1d2fa430
Merge remote-tracking branch 'upstream/dev' into fix/zero-cache-stale-replica-1355
2026-05-16 19:30:09 +05:30
guangyang1206
f096548a16
fix(web): extract single tryGetHostname helper (DRY, unified fallback)
...
Fixes #1368
Previously, was duplicated in 4 places with 3 subtly different fallback behaviors:
1. inline-citation.tsx: returned on error
2. markdown-text.tsx: returned on error
3. assistant-message.tsx: returned on error
4. citation.tsx: returned on error
Created canonical in that:
- Returns
- Strips prefix from hostname
- Returns on invalid URL (safest contract)
Updated all 4 call sites:
- inline-citation.tsx: (preserves original fallback)
- markdown-text.tsx: (preserves original fallback)
- assistant-message.tsx: (drop-in, both return )
- citation.tsx: (drop-in, both return )
Co-authored-by: guangyang1206 <guangyang1206@users.noreply.github.com>
2026-05-16 12:15:16 +08:00
CREDO23
4980f9f1ba
Merge remote-tracking branch 'upstream/dev' into feature/multi-agent-with-task-parallelization
2026-05-15 16:44:22 +02:00
CREDO23
5327f3348c
connector-popup: surface trusted-tools UI in MCP edit view; consolidate disconnect
...
- Slot MCPTrustedTools in mcp-service-config (gated on connector.id > 0) so
any connected MCP-backed connector exposes a revoke surface for
approve_always grants.
- Add new mcp-trusted-tools.tsx (audit + revoke list) and
connectorsApiService.untrustMCPTool() that backs it.
- Drop the redundant row-level Disconnect from ConnectorAccountsListView:
Manage now leads to the edit view whose own Disconnect is the single
source of truth. Remove the now-dead onDisconnect prop, confirm-flow
state, and handleDisconnectFromList hook callback + return entry.
2026-05-15 16:40:16 +02:00
Anish Sarkar
32ff864fd3
refactor(assistant-ui): streamline docstrings and comments
2026-05-12 23:24:01 +05:30
Anish Sarkar
2437716752
refactor(assistant-ui): enhance mention chip handling and editor focus behavior
2026-05-12 23:18:45 +05:30
Anish Sarkar
0c2beb7ce8
fix(thread): conditionally render screen capture button for desktop users
2026-05-12 21:26:33 +05:30
Anish Sarkar
8ea042e88c
refactor(chat): improve user query handling and mention chip functionality
2026-05-12 20:57:15 +05:30
Anish Sarkar
275e2c9e83
chore: fix linting
2026-05-12 04:00:04 +05:30
DESKTOP-RTLN3BA\$punk
c8374e6c5b
feat: improved document, folder mentions rendering
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-05-09 22:15:51 -07:00
CREDO23
ba0e1e70a0
chat: drop legacy thinking-steps, tool-fallback, hitl modules, and span-indent helper.
2026-05-09 18:35:52 +02:00
CREDO23
aafeee0516
assistant-message: render only deliverable tools and delegate process tools to slice timeline.
2026-05-09 18:32:03 +02:00
CREDO23
a8417e3c45
Render HITL approval cards inline in the thinking-steps timeline.
2026-05-09 14:37:06 +02:00
CREDO23
4b2c9f07cd
Group delegated thinking steps under their task parent and show subagent name.
2026-05-09 00:40:06 +02:00
CREDO23
e7c5204b02
Indent tool cards under an active delegating task span.
2026-05-09 00:39:59 +02:00
CREDO23
78f4747382
refactor(chat): stream agent events via stream_output and remove parity v2 flag
2026-05-07 19:40:10 +02:00
CREDO23
5119915f4f
Merge upstream/dev into feature/multi-agent
2026-05-05 01:44:46 +02:00
CREDO23
0af2c28a8d
Stabilize HITL bundle UX and resume.
2026-05-04 23:58:53 +02:00
DESKTOP-RTLN3BA\$punk
bdb97a0888
chore: linting
2026-05-02 22:25:04 -07:00
DESKTOP-RTLN3BA\$punk
47b2994ec7
feat: fixed vision/image provider specific errors and fixed podcast/video streaming
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-05-02 19:18:53 -07:00
DESKTOP-RTLN3BA\$punk
ae9d36d77f
feat: unified credits and its cost calculations
2026-05-02 14:34:23 -07:00
Anish Sarkar
cd25175b84
chore: ran linting
2026-05-02 03:36:13 +05:30
Anish Sarkar
d14fed43c6
feat(documents): add endpoint to retrieve document by virtual path
2026-05-02 02:45:27 +05:30
DESKTOP-RTLN3BA\$punk
c644f02d05
chore: linting
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-30 18:42:38 -07:00
DESKTOP-RTLN3BA\$punk
7aeb8bb0a8
feat(markdown): enable citation rendering in MarkdownViewer and related components
...
- Added `enableCitations` prop to `MarkdownViewer` to support interactive citation badges.
- Updated instances of `MarkdownViewer` across various components to utilize the new citation feature.
- Enhanced citation processing in `PlateEditor` for read-only views, ensuring citations are rendered correctly without affecting markdown serialization.
- Refactored citation handling in `InlineCitation` and `MarkdownText` to improve citation context management.
2026-04-30 18:40:55 -07:00
Anish Sarkar
04da62a554
refactor(chat): improve AssistantMessage component with fixed comment trigger slot and enhanced visibility handling
2026-05-01 04:28:24 +05:30
Anish Sarkar
0883ac88fb
refactor(chat): enhance InlineMentionEditor with improved mention handling and text processing for better user interaction
2026-05-01 04:23:59 +05:30
Anish Sarkar
8b4f136668
refactor(chat): enhance UserMessage component with mention parsing and segment rendering for improved message display
2026-05-01 04:02:24 +05:30
Anish Sarkar
511f4fde64
refactor(chat): update ChatViewport className for improved scroll behavior consistency
2026-05-01 03:40:14 +05:30
Anish Sarkar
7b549f8444
refactor(chat): enhance ChatViewport with auto-scroll and top fade effect for improved user experience
2026-05-01 03:38:21 +05:30
Anish Sarkar
833b4dd441
refactor(chat): simplify ChatViewport and footer structure for improved readability and maintainability
2026-05-01 03:10:21 +05:30
Anish Sarkar
a66c1576b9
refactor(chat): introduce ChatViewport and NestedScroll components for improved chat UI structure and functionality
2026-05-01 03:09:53 +05:30
Anish Sarkar
872065f90d
Merge remote-tracking branch 'upstream/dev' into feat/split-auto-free-premium
2026-04-30 16:23:05 +05:30
Anish Sarkar
ba2a08b295
Merge remote-tracking branch 'upstream/dev' into feat/split-auto-free-premium
2026-04-30 15:45:11 +05:30
DESKTOP-RTLN3BA\$punk
e651c41372
feat: enhance tool input streaming and agent action handling for improved chat experience
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-30 03:13:58 -07:00
Anish Sarkar
e6db050dfd
feat(chat): add userId to premium alert handling and improve alert visibility in UI
2026-04-29 21:58:17 +05:30
Anish Sarkar
c598d7038f
refactor(chat): update premium token error messages for clarity and consistency
2026-04-29 20:17:45 +05:30
DESKTOP-RTLN3BA\$punk
9a114a2d45
feat: enhance tool display names for better user experience in chat UI
2026-04-29 07:40:11 -07:00
DESKTOP-RTLN3BA\$punk
c110f5b955
feat: improved agent streaming
2026-04-29 07:20:31 -07:00
Anish Sarkar
d5ef0d2598
feat(ui): surface pinned premium quota alerts in chat thread
2026-04-29 19:15:46 +05:30
Rohan Verma
95200e444f
Merge pull request #1319 from AnishSarkar22/fix/ui-mention-documents
...
fix: enhance mention documents
2026-04-29 00:07:05 -07:00
DESKTOP-RTLN3BA\$punk
f23be16b35
refactor: citation viewer
2026-04-28 23:25:26 -07:00
DESKTOP-RTLN3BA\$punk
b9a66cb417
feat: various UI fixes, prompt optimizations, and allowing duplicate docs
...
- Updated `content_hash` in the `Document` model to remove global uniqueness, allowing identical content across different paths.
- Enhanced `_create_document` function to handle path uniqueness and prevent session-poisoning from `IntegrityError`.
- Added detailed comments for clarity on the changes and their implications.
- Introduced new citation handling in the editor for improved user experience with citation jumps.
- Updated package dependencies in the frontend for better functionality.
2026-04-28 21:30:53 -07:00
Anish Sarkar
e61b410805
Merge remote-tracking branch 'upstream/dev' into fix/ui-mention-documents
2026-04-29 04:29:10 +05:30
Anish Sarkar
8be7f2e05c
refactor(mentions): update document mention handling to use document keys for consistency across components
2026-04-29 04:19:07 +05:30
Anish Sarkar
76c91adebc
refactor(mentions): replace sidebarSelectedDocumentsAtom with mentionedDocumentsAtom and introduce getMentionDocKey utility for consistent document key generation
2026-04-29 04:12:42 +05:30
DESKTOP-RTLN3BA\$punk
e6433f78c4
Merge commit ' 61f4d05cd1' into dev_mod
2026-04-28 09:25:41 -07:00
DESKTOP-RTLN3BA\$punk
31a372bb84
feat: updated agent harness
2026-04-28 09:22:19 -07:00
Anish Sarkar
282510f93c
feat(mentions): add syncEditorState function to manage editor state and mentioned documents
2026-04-28 18:47:57 +05:30