@@ -142,29 +142,43 @@ swarmmind/ ← Python package root
142142├── renderer.py ✅ LLM Status Renderer
143143├── agents/
144144│ ├── base.py ✅ BaseAgent (abstract base with memory utilities)
145- │ └── general_agent.py ✅ DeerFlowRuntimeAdapter (DeerFlow-driven adapter , compat alias: GeneralAgent)
145+ │ └── general_agent.py ✅ DeerFlowRuntimeAdapter (runtime orchestration shell , compat alias: GeneralAgent)
146146├── repositories/ ✅ Repository layer (SQLModel + CRUD per domain)
147147│ ├── agent.py
148148│ ├── action_proposal.py
149149│ ├── strategy.py
150150│ ├── event_log.py
151- │ ├── working_memory.py
152151│ ├── memory.py
153152│ ├── conversation.py
154153│ ├── message.py
155154│ └── runtime_catalog.py
155+ ├── services/
156+ │ ├── conversation_execution.py ✅ ChatSession send/stream orchestration
157+ │ ├── conversation_support.py ✅ Message/title persistence helpers
158+ │ ├── conversation_trace_service.py ✅ conversation_id -> thread_id trace orchestration
159+ │ ├── lifecycle.py ✅ startup lifecycle + cleanup scanner
160+ │ ├── runtime_bridge.py ✅ sync/async bridge helpers for DeerFlow runtime calls
161+ │ ├── runtime_event_processing.py ✅ stream capture + event normalization helpers
162+ │ ├── runtime_support.py ✅ runtime binding/model/runtime-option helpers
163+ │ ├── stream_events.py ✅ DeerFlow event -> UI stream event translation
164+ │ ├── trace_checkpoint_storage.py ✅ raw checkpoint storage access
165+ │ ├── trace_provider.py ✅ parsed checkpoint provider boundary
166+ │ └── trace_service.py ✅ collaboration trace reconstruction
156167├── runtime/
157168│ ├── bootstrap.py ✅ DeerFlow Runtime bootstrap + config generation
158169│ ├── profile.py ✅ RuntimeProfile management
159170│ ├── models.py ✅ Runtime data models
160171│ ├── catalog.py ✅ Model catalog for runtime profiles
161172│ └── errors.py ✅ Runtime error types
162173└── api/
163- └── supervisor.py ✅ FastAPI supervisor REST API
174+ ├── supervisor.py ✅ FastAPI app assembly + supervisor/system endpoints
175+ └── conversation_routes.py ✅ conversation route registration and compatibility exports
164176
165177ui/ ← Supervisor web UI (Vite + React + shadcn/ui)
166178├── src/
167- │ └── App.tsx ✅ Full supervisor UI
179+ │ ├── App.tsx ✅ Full supervisor UI shell
180+ │ ├── components/workspace/ ✅ Split chat workspace components
181+ │ └── core/chat/ ✅ Chat stream/scroll/types helpers
168182├── vite.config.ts
169183└── tailwind.config.js
170184
@@ -175,6 +189,10 @@ tests/
175189├── test_layered_memory.py ✅ Layered memory tests
176190├── test_conversation_titles.py ✅ ChatSession title generation
177191├── test_conversation_stream.py ✅ Streaming conversation tests
192+ ├── test_conversation_trace_service.py ✅ Conversation trace orchestration tests
193+ ├── test_runtime_bridge.py ✅ Sync/async bridge tests
194+ ├── test_general_agent_stream_bridge.py ✅ GeneralAgent sync/async bridge regression tests
195+ ├── test_general_agent_stream_events.py ✅ GeneralAgent stream event processing tests
178196└── test_runtime_model_catalog.py ✅ Runtime model catalog tests
179197```
180198
0 commit comments