Commit graph

1985 commits

Author SHA1 Message Date
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
Anish Sarkar
c229b4356a feat(config): stamp Auto (Fastest) ranking metadata on YAML configs 2026-05-01 23:38:21 +05:30
Anish Sarkar
d9058b73f5 feat(auto_pin): add pure-function quality scoring module 2026-05-01 23:37:49 +05:30
Anish Sarkar
421a4d7d08 refactor(auto_model_pin): simplify thread-level pinning by removing unused fields and indexes 2026-05-01 19:32:42 +05:30
Anish Sarkar
680a1c1c38 refactor(openrouter): remove virtual openrouter/free auto-select entry 2026-05-01 18:16:47 +05:30
Anish Sarkar
4d34b56c4d docs(router): drop reference to virtual openrouter/free in is_premium_model 2026-05-01 18:09:50 +05:30
Anish Sarkar
2019e90a04 test(openrouter): cover pool filter, per-model tier, legacy config warnings 2026-05-01 17:42:54 +05:30
Anish Sarkar
925c33abd1 chore(config): deprecate billing_tier / anonymous_enabled, split anon flags 2026-05-01 17:42:44 +05:30
Anish Sarkar
ccd7caf99f feat(openrouter): derive billing tier per-model and stabilize config IDs 2026-05-01 17:42:21 +05:30
Anish Sarkar
5dd45a5740 refactor(router): add router_pool_eligible filter and rebuild() API 2026-05-01 17:41:52 +05:30
DESKTOP-RTLN3BA\$punk
e57c3a7d0c feat: prompt caching
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
- Updated `litellm` dependency version from `1.83.4` to `1.83.7`.
- Adjusted `aiohttp` version from `3.13.5` to `3.13.4` in the lock file.
- Implemented `apply_litellm_prompt_caching` in `chat_deepagent.py` to improve prompt caching.
- Added model name resolution logic in `chat_deepagent.py` to ensure correct provider-variant dispatch.
- Enhanced `llm_config.py` to configure prompt caching for various LLM providers.
- Updated tests to verify correct model name forwarding and prompt caching behavior.
2026-05-01 05:10:53 -07:00
DESKTOP-RTLN3BA\$punk
c644f02d05 chore: linting
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-30 18:42:38 -07:00
CREDO23
5d3b8b9ca9 Merge remote-tracking branch 'upstream/dev' into feature/multi-agent 2026-05-01 00:05:20 +02:00
CREDO23
d157ceaabc Remove multi-agent planning docs and fix stream_new_chat logger. 2026-04-30 23:42:21 +02:00
Anish Sarkar
af66fbf106 refactor(chat): implement turn cancellation and status management in new chat routes for improved user experience and error handling 2026-05-01 01:47:52 +05:30
CREDO23
a6540b21c7 Fix stream_new_chat interrupt resolution using LangGraph snapshot.interrupts. 2026-04-30 21:42:58 +02:00
CREDO23
ba131f5736 Refactor multi-agent supervisor prompts and wiring; thread citations into streaming. 2026-04-30 19:33:57 +02:00
CREDO23
74337b462a Tighten supervisor delegation policy and align deliverables wording across prompts. 2026-04-30 16:43:44 +02:00
CREDO23
c077939522 Gate chat on MULTI_AGENT_CHAT_ENABLED and route to the multi-agent graph when on. 2026-04-30 16:43:31 +02:00
CREDO23
8f8d7540f0 Coerce deliverables thread_id and invoke domain agents asynchronously. 2026-04-30 16:41:19 +02:00
Anish Sarkar
872065f90d Merge remote-tracking branch 'upstream/dev' into feat/split-auto-free-premium 2026-04-30 16:23:05 +05:30