Skip to main content

Crate zagens_runtime_orchestrator

Crate zagens_runtime_orchestrator 

Source
Expand description

Runtime orchestrator — thread/turn persist (D16 E1-b, D17 frozen).

Live engine orchestration (RuntimeThreadHost impl, spawn/monitor, turn lifecycle) intentionally remains in zagens-cli. Further extraction is deferred by design (D17 Architecture Freeze) — the engine, tools, and route handlers form an internally co-located unit that is not a candidate for crate-level splitting. This crate is the stable boundary for SQLite thread storage, pricing aggregation, and RuntimeThreadManager persistence helpers.

Modules§

engine
Engine host port — orchestrator refers to the generic core handle (D16 E1-b phase 2).
models
Chat/model re-exports for the orchestrator persist layer.
pricing
Cost estimation for DeepSeek API usage.
runtime_threads
Durable thread/turn/item types and disk store (D16 E1-b).
thread_store_sqlite
usage_aggregate
Helpers for usage aggregation and cache-hit telemetry (#584).