Commit graph

1744 commits

Author SHA1 Message Date
CREDO23
3ed09bdd90 Clear spans after task completion and pass span id on tool output. 2026-05-08 22:47:38 +02:00
CREDO23
2c1b219c6c Open task spans at tool start and tag unmatched tool-input SSE. 2026-05-08 22:47:32 +02:00
CREDO23
695f9ded2c Mint pending span id when the task tool registers from chunks. 2026-05-08 22:47:08 +02:00
CREDO23
f944cdacb7 Add helpers to open and close task delegation span ids. 2026-05-08 22:47:03 +02:00
CREDO23
f0f87107f2 Track active task span id on the agent event relay state. 2026-05-08 22:46:58 +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
7e07092f67 refactor(chat): drop alternate streaming entry path; use graph_stream 2026-05-07 19:25:20 +02:00
CREDO23
52895e37e9 build streaming contexts for chat resume and regenerate paths 2026-05-07 17:57:27 +02:00
CREDO23
a04b2e88bd wire orchestrator streaming context path and align event relay outputs 2026-05-07 17:06:17 +02:00
CREDO23
0f40279d95 Expand orchestration gate coverage to resume and regenerate flows. 2026-05-07 16:18:29 +02:00
CREDO23
52593d88db Reorganize streaming orchestration modules into relay and orchestration folders. 2026-05-07 16:00:15 +02:00
CREDO23
f8754a9dab Rename streaming runtime modules for clearer SRP boundaries. 2026-05-07 15:41:33 +02:00
CREDO23
4e664652a8 Add streaming runtime helpers with behavior-focused unit tests. 2026-05-07 15:13:22 +02:00
CREDO23
c0706364d1 Add a route-level kill switch for streaming orchestrator cutover. 2026-05-07 14:44:36 +02:00
CREDO23
ec26ca69a6 Add chat EventRelay and orchestrator stubs for future cutover. 2026-05-06 20:08:48 +02:00
CREDO23
c8fb4aa5e5 Add deliverables and web tool streaming handlers for chat runs. 2026-05-06 20:08:48 +02:00
CREDO23
a322eedaa1 Add filesystem tool streaming handlers for chat runs. 2026-05-06 20:08:48 +02:00
CREDO23
1392abf5b1 Add chat tool streaming registry with shared, default, and connector tools. 2026-05-06 20:08:48 +02:00
CREDO23
ee16e1d5f9 Add LangGraph handlers for chat model, chain, tool, and custom events. 2026-05-06 20:08:48 +02:00
CREDO23
7581a7c9c3 Add chat streaming relay state and thinking-step SSE helpers. 2026-05-06 20:08:48 +02:00
CREDO23
c25b78c304 Add chat streaming error classification, helpers, and StreamResult. 2026-05-06 20:08:48 +02:00
CREDO23
fef7621d96 Add StreamingService and interrupt correlation for chat streams. 2026-05-06 20:08:47 +02:00
CREDO23
fc429d8702 Add streaming emitter and registry for scoped SSE writes. 2026-05-06 20:08:47 +02:00
CREDO23
5510c6c314 Add typed event payload modules for the streaming service. 2026-05-06 20:08:47 +02:00
CREDO23
a9bf7ab7d2 Add SSE envelope helpers under app.services.streaming. 2026-05-06 20:08:47 +02:00
CREDO23
a421e7d792 fix(multi-agent): degrade to builtins-only when MCP or subagent registry build fails 2026-05-05 23:42:11 +02:00
CREDO23
3cb2c3056e fix(stream): route every agent (re)build through one helper to prevent factory drift 2026-05-05 23:35:23 +02:00
CREDO23
657c31fdf4 refactor(stream): rename multi-agent factory alias for clarity 2026-05-05 23:01:24 +02:00
CREDO23
997d860790 fix(multi-agent): defensive message extraction on subagent task return 2026-05-05 22:52:03 +02:00
CREDO23
07a84d1a41 fix(multi-agent): cache compiled agent graph keyed on per-request inputs 2026-05-05 22:50:02 +02:00
CREDO23
c8ed70a26c fix(multi-agent): layer per-thread prompt cache key onto LLM at agent build 2026-05-05 22:30:08 +02:00
CREDO23
744ad92971 chore(multi-agent): demote subagent registry listing log to debug 2026-05-05 22:23:17 +02:00
CREDO23
bba5fb1db8 fix(multi-agent): fail closed when connector discovery raises 2026-05-05 22:22:57 +02:00
CREDO23
73272ce348 refactor(multi-agent): switch compile graph to new orchestrator and drop deepagent_stack 2026-05-05 20:55:38 +02:00
CREDO23
5abae09435 refactor(multi-agent): add slimmed orchestrator at middleware/stack.py 2026-05-05 20:55:03 +02:00
CREDO23
7690e8b278 refactor(multi-agent): relocate general-purpose subagent next to other builtins 2026-05-05 20:54:45 +02:00
CREDO23
611fef8666 refactor(multi-agent): add subagent extras builder and drop filesystem from registry subagents 2026-05-05 20:54:27 +02:00
CREDO23
b0ee44b2f1 refactor(multi-agent): add main-agent safety and llm-shaping middleware factories 2026-05-05 20:54:13 +02:00
CREDO23
390dc9307f refactor(multi-agent): add main-agent knowledge middleware factories 2026-05-05 20:53:59 +02:00
CREDO23
6a4dacda72 refactor(multi-agent): add main-agent observability and lifecycle middleware factories 2026-05-05 20:53:49 +02:00
CREDO23
67036448f9 refactor(multi-agent): add shared middleware factory per concept 2026-05-05 20:51:17 +02:00
CREDO23
91701bb49a refactor(multi-agent): split shared resilience bundle into per-concept files 2026-05-05 20:51:02 +02:00
CREDO23
a6df944247 refactor(multi-agent): introduce shared flags helper and permissions package 2026-05-05 20:49:47 +02:00
CREDO23
9a4ee5d16b chore: trim narrative comments and docstrings 2026-05-05 18:27:46 +02:00
CREDO23
309c695531 feat(multi-agent): cap subagent model and tool call counts 2026-05-05 18:16:00 +02:00
CREDO23
b394dc71c7 feat(multi-agent): extend model fallback to general-purpose subagent 2026-05-05 18:12:38 +02:00
CREDO23
1745d7dccf feat(middleware): scope model fallback to provider/network errors only 2026-05-05 18:04:47 +02:00
CREDO23
f695298d30 feat(multi-agent): wire model fallback and retry into subagent middleware 2026-05-05 17:39:27 +02:00
DESKTOP-RTLN3BA\$punk
b5be9408f7 Merge commit '9576d1f01f' into dev
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-05-05 01:44:39 -07:00
DESKTOP-RTLN3BA\$punk
dd8c503eb0 fix: metadata extraction in Stripe checkout session
- Updated the `_get_metadata` function to handle changes in the Stripe SDK, specifically for `StripeObject` which is no longer a subclass of `dict` in `stripe>=15.0`.
- Implemented a fallback mechanism in `finalize_checkout` to recover purchase type from the database if metadata extraction fails, ensuring robust handling of checkout sessions.
2026-05-05 01:26:41 -07:00