Anish Sarkar
e38e20b484
fix: handle empty response in forced rewrite function
...
- Updated the `_forced_rewrite` function to strip whitespace from the extracted text and added a warning log if the response is empty, preventing potential issues with empty rewrites.
2026-05-04 12:18:09 +05:30
Anish Sarkar
b981b51ab1
Merge remote-tracking branch 'upstream/dev' into fix/memory-extraction
2026-05-04 12:03:44 +05:30
DESKTOP-RTLN3BA\$punk
78be75ed54
fix(security): manual auth endpoint leaks
2026-05-03 19:14:51 -07:00
DESKTOP-RTLN3BA\$punk
a34f1fb25c
feat: implement agent caches and fix invalid prompt cache configs
...
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
- Added a new function `_warm_agent_jit_caches` to pre-warm agent caches at startup, reducing cold invocation costs.
- Updated the `SurfSenseContextSchema` to include per-invocation fields for better state management during agent execution.
- Introduced caching mechanisms in various tools to ensure fresh database sessions are used, improving performance and reliability.
- Enhanced middleware to support new context features and improve error handling during connector and document type discovery.
2026-05-03 06:03:40 -07:00
DESKTOP-RTLN3BA\$punk
cab1dd6fb2
fix: docker issues
2026-05-03 00:39:27 -07:00
DESKTOP-RTLN3BA\$punk
30d06affdc
chore: bumped version to 0.0.20
2026-05-02 23:40:44 -07:00
DESKTOP-RTLN3BA\$punk
e4f9d79635
feat: add preferred premium auto configuration logic and corresponding tests
2026-05-02 23:35:47 -07:00
DESKTOP-RTLN3BA\$punk
c938d39277
feat: moved most things behind correct feature flag
2026-05-02 23:10:48 -07:00
DESKTOP-RTLN3BA\$punk
bdb97a0888
chore: linting
2026-05-02 22:25:04 -07:00
DESKTOP-RTLN3BA\$punk
cea8618aed
fix: fixed composio issues
2026-05-02 21:16:03 -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
9975e085aa
refactor(memory): streamline memory extraction by utilizing extract_text_content utility
2026-05-02 16:10:30 +05:30
Rohan Verma
451a98936e
Merge pull request #1332 from AnishSarkar22/feat/model-pinnning-mode
...
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: Auto-pin quality scoring, OpenRouter tier refactor and live usage sidebar
2026-05-01 15:57:19 -07:00
CREDO23
4fd3c4fb27
Inject dynamic registry subagents into the main prompt and simplify connector discovery.
2026-05-02 00:44:02 +02:00
CREDO23
ffed829cf8
Skip registry subagents missing connectors when assembling the stack.
2026-05-02 00:43:56 +02:00
CREDO23
06cef04e57
Gate builds via exclude list and expose registry helpers from subagents package.
2026-05-02 00:43:52 +02:00
CREDO23
eefdd1d7f0
Add connector routing entries and per-subagent connector token map.
2026-05-02 00:43:46 +02:00
CREDO23
2bce2a2f55
Remove obsolete main-agent connector permission helpers.
2026-05-02 00:43:42 +02:00
Anish Sarkar
cd25175b84
chore: ran linting
2026-05-02 03:36:13 +05:30
Anish Sarkar
e9d964514b
feat(alembic): add user table to zero_publication for selective replication of usage metrics
2026-05-02 03:31:03 +05:30
CREDO23
fbcff79a58
Export deep-agent factory and omit memory/research from task registry.
2026-05-01 23:18:17 +02:00
CREDO23
eb4b570265
Wire main-agent async factory and export create_surfsense_deep_agent.
2026-05-01 23:18:10 +02:00
CREDO23
fc540e962b
Add main-agent system prompt markdown and builder.
2026-05-01 23:17:55 +02:00
CREDO23
7a6c253711
Add main-agent graph compile and middleware stack.
2026-05-01 23:17:51 +02:00
CREDO23
083a9f7946
Add main-agent tool allowlist plus permission and prune helpers.
2026-05-01 23:17:46 +02:00
Anish Sarkar
d14fed43c6
feat(documents): add endpoint to retrieve document by virtual path
2026-05-02 02:45:27 +05:30
Anish Sarkar
789d8ce62e
feat(stream_new_chat): wire preflight + early repin into auto-mode flow
2026-05-02 02:08:34 +05:30
Anish Sarkar
7c1c394fe4
feat(stream_new_chat): add lightweight LLM preflight probe for auto-pin
2026-05-02 02:07:44 +05:30
Anish Sarkar
2764fa5e30
feat(openrouter): clear healthy-status cache on catalogue refresh
2026-05-02 02:07:30 +05:30
Anish Sarkar
14686cdf82
feat(auto_pin): add short-TTL healthy-status cache for preflight reuse
2026-05-02 02:07:16 +05:30
Anish Sarkar
25ccc959cf
feat(busy_mutex): enhance thread lock management to prevent stale middleware interference
2026-05-02 01:35:30 +05:30
Anish Sarkar
f65b3be1ce
feat(auto_model_pin): implement runtime cooldown for error handling and enhance candidate selection
2026-05-02 00:57:52 +05:30
CREDO23
d9c873b2e1
Adjust supervisor routing integration for delegated routes.
2026-05-01 20:30:20 +02:00
CREDO23
dcc348d72a
Add registry and factory for route subagent specs.
2026-05-01 20:30:20 +02:00
CREDO23
745bcec390
Add OneDrive, Slack, and Teams connector route slices.
2026-05-01 20:30:20 +02:00
CREDO23
6e54fb00e3
Add Linear, Luma, and Notion connector route slices.
2026-05-01 20:30:20 +02:00
CREDO23
96ab91b719
Add Gmail, Google Drive, and Jira connector route slices.
2026-05-01 20:30:20 +02:00
CREDO23
f24eb3496c
Add Confluence, Discord, and Dropbox connector route slices.
2026-05-01 20:30:20 +02:00
CREDO23
4f0e84c6a3
Add Airtable, Calendar, and Clickup connector route slices.
2026-05-01 20:30:20 +02:00
CREDO23
ba57eae2bb
Add builtin deliverables route slice for delegated agents.
2026-05-01 20:30:20 +02:00
CREDO23
ff307dd923
Add builtin memory route slice for delegated agents.
2026-05-01 20:30:20 +02:00
CREDO23
b9bc06e7b4
Add builtin research route slice for delegated agents.
2026-05-01 20:30:20 +02:00
CREDO23
7080b787d1
Add MCP tool loading and connector partitioning.
2026-05-01 20:30:20 +02:00
CREDO23
cf3acd87aa
Add MCP allow and ask name tables per integration.
2026-05-01 20:30:20 +02:00
CREDO23
5f84d46f96
Add subagent spec packing and shared package exports.
2026-05-01 20:30:20 +02:00
CREDO23
77f52af6cc
Add shared tool permission types and markdown file reader.
2026-05-01 20:30:20 +02:00
CREDO23
30cd530ac6
Add connector routing constants for delegated routes.
2026-05-01 20:30:20 +02:00
Anish Sarkar
4bef75d298
feat(auto_pin): quality-aware tier-locked selection with health gate
2026-05-01 23:38:53 +05:30
Anish Sarkar
1eedcaa551
feat(openrouter): blend per-model /endpoints health into quality score
2026-05-01 23:38:40 +05:30