CREDO23
4910263c93
refactor(chat): add streaming/shared/ package for StreamResult and utils
...
Foundation layer for the parallel refactor of stream_new_chat.py.
Extracts the StreamResult dataclass (tracks per-turn streaming state)
and a small set of shared utilities (resume_step_prefix, safe_float).
Add-only; no existing code imports from this package yet. Existing
stream_new_chat.py keeps its inline equivalents until cutover.
2026-05-25 21:48:04 +02:00
Anish Sarkar
132e7b3c44
refactor: remove memory extraction functions and related components from the new chat agent
2026-05-20 14:03:28 +05:30
CREDO23
c06dd6e8ba
chat/stream_new_chat: emit one SSE frame per pending interrupt
2026-05-13 20:59:48 +02:00
DESKTOP-RTLN3BA\$punk
c8374e6c5b
feat: improved document, folder mentions rendering
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-09 22:15:51 -07:00
CREDO23
1761b60c16
Carry thinkingStepId on tool output and extend builder and parity tests.
2026-05-08 23:17:12 +02:00
CREDO23
32092c0b65
Pass thinkingStepId through tool-input start and available metadata.
2026-05-08 23:17:05 +02:00
CREDO23
d136fcd054
Add tool_activity_metadata to merge spanId and thinkingStepId for tools.
2026-05-08 23:16:44 +02:00
CREDO23
f1d80ffe5d
Forward span metadata from report_progress thinking updates.
2026-05-08 22:47:50 +02:00
CREDO23
1dcb08e925
Attach active span metadata to thinking-step SSE and completion.
2026-05-08 22:47:46 +02:00
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