cendor-sdk 1.12.0
Emission truth on governed journeys — TTFT, estimated-usage, and run.agents on the SDK span paths (Monitor v5 G-V4-1/2/3). Additive; a monitor renders these, nothing changes for a run that doesn't stream or governs no agents.
Added
- TTFT inside a governed journey (G-V4-1).
span_treeandlive_spansnow stampcendor.ttft_mson a streamedchatspan (recovered on the first chunk byinstrument()), so time-to-first-token shows on real SDK workloads — previously only a bare libs-only streamed call carried it. - Estimated-usage provenance (G-V4-3). When a streamed call reported no usage and the token count was recovered by offline estimate, the
chatspan carriescendor.usage_estimated="true"— truth = the product, so a monitor shows those tokens as est. rather than exact. Stamped only when set. - Run agents on the live root (G-V4-2).
live_spansaccumulates the participating agents and stampscendor.run.agentson theagent.runroot at close, reaching parity with the post-hocspan_tree(so a monitor's Agents view fills for live-streamed runs too).