Expand description
Deterministic sequential roster scheduling.
This owns turn selection only. Prompt construction and adapter I/O remain outside the scheduler, making the relay safe to replay and test.
Structs§
Enums§
- Collaboration
Strategy - How a multi-agent session chooses its next non-direct recipient.
- Queued
Kind - Relay
Decision
Constants§
Functions§
- control_
token_ visible_ end - Buffer only a possible control-marker suffix while text is streaming.
- is_
usage_ limit_ response - Recognize a provider usage-limit reply (for example an exhausted Codex plan). Kept deliberately narrow so ordinary conversation mentioning “limits” is never misclassified.
- requested_
next_ slot - Resolve an exact terminal handoff marker to a zero-based roster slot.
- stop_
token_ visible_ end - End of text safe to display after complete stop markers have been removed. Retain only a suffix that could become a marker in a later stream chunk.
- strip_
control_ tokens - Hide complete control markers, including stale or unavailable targets.
- strip_
stop_ token