Commit graph

5511 commits

Author SHA1 Message Date
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
366122da6e Add unit tests for streaming interrupts and service propagation. 2026-05-06 20:08:48 +02:00
CREDO23
619a8362b7 Add unit tests for streaming emitters and registry wiring. 2026-05-06 20:08:48 +02:00
CREDO23
3d8c4be369 Add unit tests for streaming SSE envelope behavior. 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
a3c3db2a18 test(multi-agent): pin first-wins assumption on pending subagent interrupts 2026-05-05 22:57:35 +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
CREDO23
fa6f3015a9 test(hitl): regression net for bundle decision shape preservation 2026-05-05 17:19:39 +02:00
CREDO23
0c55635603 test(hitl): regression net for fail-loud guard on missing resume value 2026-05-05 17:15:28 +02:00
CREDO23
681895d28d test(hitl): regression net for end-to-end resume bridge dispatch 2026-05-05 17:13:13 +02:00
CREDO23
102f77ab7f test(hitl): regression net for surfsense_resume_value pop-on-read 2026-05-05 17:04:19 +02:00
CREDO23
e74fce4166 Merge branch 'dev' into feature/multi-agent 2026-05-05 16:48:11 +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
Rohan Verma
9576d1f01f
Merge pull request #1347 from MODSetter/fix/stripe-routes
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
fix: metadata extraction in Stripe checkout session
2026-05-05 01:27:11 -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
Rohan Verma
3c0f318323
Merge pull request #1346 from MODSetter/fix/stripe-routes
fix: stripe routes
2026-05-05 01:02:29 -07:00
DESKTOP-RTLN3BA\$punk
0bd3281ccf Merge commit '3edefb9596' into fix/stripe-routes 2026-05-05 01:01:51 -07:00
DESKTOP-RTLN3BA\$punk
6e1dd40597 feat: implement finalize checkout endpoint and update purchase success handling
- Added a new endpoint `/stripe/finalize-checkout` to synchronously fulfill a checkout session, addressing the webhook-vs-redirect race condition.
- Updated the `PurchaseSuccessPage` component to handle various states of the checkout process, including loading, completed, pending, and failed states.
- Introduced a new response model `FinalizeCheckoutResponse` to provide immediate feedback on the purchase status.
- Enhanced the Stripe API service to include the new finalize checkout functionality.
2026-05-05 01:01:12 -07:00
Rohan Verma
3edefb9596
Merge pull request #1345 from MODSetter/fix/stripe-routes
fix: stripe weebhook
2026-05-05 00:18:41 -07:00
DESKTOP-RTLN3BA\$punk
5ff6baedb3 fix: stripe weebhook 2026-05-05 00:17:44 -07:00
DESKTOP-RTLN3BA\$punk
ca26676b4f Merge commit '2a63a0ab88' into dev 2026-05-04 23:58:17 -07:00
Rohan Verma
2a63a0ab88
Merge pull request #1344 from MODSetter/fix/app-py-changes
feat: bumped version to 0.0.22
2026-05-04 21:08:30 -07:00
DESKTOP-RTLN3BA\$punk
0b4bd50bce feat: bumped version to 0.0.22 2026-05-04 21:08:08 -07:00