Commit graph

5510 commits

Author SHA1 Message Date
Rohan Verma
83ee58016e
Merge pull request #1352 from MODSetter/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
feat: Add multi-agent orchestration
2026-05-05 19:28:28 -07:00
DESKTOP-RTLN3BA\$punk
499c6be099 feat: bumped version to 0.0.23
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 19:21:43 -07:00
DESKTOP-RTLN3BA\$punk
a2ad697a29 feat(next.config): enable remote SVG support with enhanced content security policy 2026-05-05 19:13:38 -07:00
DESKTOP-RTLN3BA\$punk
0654662d29 refactor(plate-editor): replace markdown deserialization with safeDeserializeMarkdown utility 2026-05-05 19:10:35 -07:00
DESKTOP-RTLN3BA\$punk
5e87a7a251 fix: composio tool calls in composio connectors 2026-05-05 18:57:10 -07:00
DESKTOP-RTLN3BA\$punk
4e174f17f2 chore: linting 2026-05-05 17:08:34 -07:00
Rohan Verma
489dd0aa52
Merge pull request #1348 from guangyang1206/feat/document-chunker-table-aware-hybrid-1334
feat(chunker): add table-aware chunk_text_hybrid to prevent mid-row table splits
2026-05-05 16:23:39 -07:00
Rohan Verma
a4fc812b85
Merge pull request #1351 from CREDO23/feature/multi-agent
[Improvement] Modular middleware stack + agent/prompt caching + subagent resilience + unit tests
2026-05-05 16:21:48 -07: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
guangyang1206
2f3a33c9d5 feat(chunker): add table-aware chunk_text_hybrid to prevent mid-row table splits
Document_chunker currently splits Markdown tables mid-row when the table is
larger than a single chunk window, producing garbled rows that are useless
for RAG retrieval (issue #1334).

Changes:
- document_chunker.py: add chunk_text_hybrid() that detects Markdown table
  blocks with a regex, emits each table as an indivisible single chunk, and
  feeds the surrounding prose through the normal chunk_text() chunker.
- indexing_pipeline_service.py: route normal (non-code) documents through
  chunk_text_hybrid instead of chunk_text so tables are protected by default.

Fixes #1334
2026-05-05 12:48:04 +08: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
Rohan Verma
e5c00221c8
Merge pull request #1343 from MODSetter/fix/app-py-changes
feat: add CORS preflight response caching for 24 hours
2026-05-04 21:05:04 -07:00