Commit graph

5502 commits

Author SHA1 Message Date
CREDO23
f1a5f1c683 Add multi_agent_chat routing tools and supervisor routing composition. 2026-04-30 00:59:58 +02:00
CREDO23
0fcb2acfdc Add multi_agent_chat supervisor agent graph and supervisor prompt. 2026-04-30 00:59:57 +02:00
CREDO23
5a0a265b2b Add multi_agent_chat calendar slice with connector tools, agent, and domain prompt. 2026-04-30 00:59:56 +02:00
CREDO23
09a46a282a Add multi_agent_chat gmail slice with connector tools, agent, and domain prompt. 2026-04-30 00:59:55 +02:00
CREDO23
5ff2678253 Add multi_agent_chat shared helpers for prompts, domain agents, deps, and invoke parsing. 2026-04-30 00:59:47 +02:00
CREDO23
b9132f8544 Export supervisor baseline create_surfsense_deep_agent. 2026-04-29 23:41:29 +02:00
CREDO23
93fb4011e9 Add async factory for tool-free supervisor baseline agent. 2026-04-29 23:41:29 +02:00
CREDO23
53adac0cc9 Compose supervisor prompt from SurfSense fragments and composer blocks. 2026-04-29 23:41:29 +02:00
CREDO23
06f4b9b4d5 Clarify memory limits without update_memory tool. 2026-04-29 23:41:29 +02:00
CREDO23
fc68cbf22f Add team-space KB-first policy for supervisor prompts. 2026-04-29 23:41:29 +02:00
CREDO23
26095805a8 Add private-space KB-first policy for supervisor prompts. 2026-04-29 23:41:29 +02:00
CREDO23
b506c79611 Describe LangGraph supervisor scope for baseline. 2026-04-29 23:41:29 +02:00
CREDO23
c1273c41b9 Add prompts package for supervisor baseline fragments. 2026-04-29 23:41:29 +02:00
CREDO23
615a23b3ec Build compiled LangGraph agent without tool-injecting middleware. 2026-04-29 23:41:29 +02:00
CREDO23
15e105454d Map connector enums to searchable KB types. 2026-04-29 23:41:29 +02:00
CREDO23
525527d802 Add deep_agent package for supervisor baseline. 2026-04-29 23:41:29 +02:00
CREDO23
3908131105 Fix stale feature flags cache so specialized subagents respect env. 2026-04-29 21:36:34 +02:00
CREDO23
bf9b606a61 Wire Linear and Slack specialists and prompt routing. 2026-04-29 20:51:06 +02:00
CREDO23
41cb4a567b Harden Linear and Slack MCP subagent permissions. 2026-04-29 20:24:21 +02:00
Anish Sarkar
222b27183f feat(chat): improve error handling and logging for premium quota exhaustion in chat operations 2026-04-29 22:01:28 +05:30
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
901de33684 feat(chat): enhance error formatting to include optional error codes for better frontend handling 2026-04-29 21:05:21 +05:30
Anish Sarkar
fa6a09197e feat(chat): enhance error handling for premium quota exhaustion in chat messages 2026-04-29 20:57:33 +05:30
DESKTOP-RTLN3BA\$punk
a688895115 feat: increase recursion limit for chat streaming to enhance tool iteration capabilities
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-29 08:03:39 -07:00
Anish Sarkar
d66fa1559b feat(chat): implement forced repin to free tier for pinned LLM configurations 2026-04-29 20:29:41 +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
CREDO23
3dec2a7327 Add a Slack operations specialist subagent. 2026-04-29 16:25:36 +02:00
CREDO23
8ddfa6ac6f Add shared safety constants for provider subagents. 2026-04-29 16:25:28 +02:00
CREDO23
dce08e8b25 Merge remote-tracking branch 'upstream/dev_mod' into feature/multi-agent-subagents-gmail-calendar 2026-04-29 16:22:13 +02:00
CREDO23
dcae196eea Revert "feat(chat): add multi-agent mode routing scaffold and telemetry."
This reverts commit 7b9a218d62.
2026-04-29 16:21:57 +02:00
CREDO23
2eed81d059 Revert "feat(subagents): export registry helpers."
This reverts commit 8d0a679805.
2026-04-29 16:21:57 +02:00
CREDO23
6e5206e47c Revert "feat(subagents): add shared subagent utility helpers."
This reverts commit 755d20f6ea.
2026-04-29 16:21:57 +02:00
CREDO23
14dbcf0874 Revert "feat(subagents): add read-only calendar subagent."
This reverts commit 6afe65a449.
2026-04-29 16:21:57 +02:00
CREDO23
fa5a209e5a Revert "feat(subagents): add read-only gmail subagent."
This reverts commit e57633dab2.
2026-04-29 16:21:57 +02: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
Anish Sarkar
835bd9f65d fix(chat): enforce pinned model quota flow and reset stale pins 2026-04-29 19:15:36 +05:30
Anish Sarkar
41849fe10f feat(chat): add auto model pin resolution service 2026-04-29 19:15:15 +05:30
Anish Sarkar
57db198919 feat(chat): add thread-level auto model pinning fields 2026-04-29 19:14:56 +05:30
Rohan Verma
afb4b09cde
Merge pull request #1322 from guangyang1206/perf/blog-search-derive-results-usememo
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
perf(blog): derive search results with useMemo instead of useState+us…
2026-04-29 00:08:49 -07:00
Rohan Verma
cc6da08346
Merge pull request #1321 from guangyang1206/perf/lucide-explicit-icons-whitelist
perf(docs): replace full lucide barrel import with explicit icon whit…
2026-04-29 00:08:27 -07:00
Rohan Verma
619e4b5639
Merge pull request #1320 from guangyang1206/feat/loading-skeletons-async-routes-1243
feat(perf): add loading.tsx skeletons for async marketing routes
2026-04-29 00:07:59 -07:00
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
Rohan Verma
27d990d5e8
Merge pull request #1323 from MODSetter/dev_mod
feat: updated agent harness
2026-04-28 23:59:57 -07:00
DESKTOP-RTLN3BA\$punk
f9b5367754 chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
DESKTOP-RTLN3BA\$punk
f23be16b35 refactor: citation viewer 2026-04-28 23:25:26 -07:00
DESKTOP-RTLN3BA\$punk
ca9bbee06d chore: linting 2026-04-28 21:37:51 -07:00
guangyang1206
345cb88224 refactor(settings): use key prop to reset LLM role manager form state
Fixes #1018

Remove the sync useEffect that copied preferences into local state,
along with the savingRef guard that prevented mid-save overwrites.
Instead, pass key={searchSpaceId} on the LLMRoleManager component so
React remounts the form with correct initial state whenever the search
space changes — no extra re-render, no effect dependency array.

Changes:
- llm-role-manager.tsx: remove useEffect + useRef + savingRef pattern;
  drop useEffect and useRef from imports (now only useCallback, useState)
- search-space-settings-dialog.tsx: add key={searchSpaceId} to
  <LLMRoleManager> so the component remounts on search-space change

Before: useEffect synced preferences → assignments on each preference
  update, with savingRef to avoid overwriting an in-flight save.
After:  React remounts the component with correct initial state from
  the preferences selector; no mid-save race possible.
2026-04-29 12:34:14 +08:00
yeranyang
942077c773 perf(docs): replace full lucide barrel import with explicit icon whitelist
Fixes #1241

The docs bundle was importing `{ icons }` from lucide-react, which pulls
the entire Lucide icon library (~1 400 SVGs, ~500 kB of JS) into the Next.js
docs bundle even though only nine icons are used in docs frontmatter and
meta.json files.

Replace with a hand-maintained DOCS_ICONS whitelist that imports only the
icons that are actually referenced (BookOpen, ClipboardCheck, Compass,
Container, Download, FlaskConical, Heart, Unplug, Wrench).

To add a new docs icon: import it from lucide-react and add it to the
DOCS_ICONS record. The icon() callback remains the same for callers.
2026-04-29 12:34:13 +08:00