Expand description
TokenMaxingSession + report (RFC-031 §8).
One session per activation window (or manual run). Persisted per run via
StateStore::save_json("token-maxing", &id, &session) and surfaced by the
report API. The session records what ran, on which provider/model, how much
quota was burned, and why the run ended.
Structs§
- Maxer
Status - Live status for
GET /api/token-maxing/status(RFC-031 §9). - Maxing
Window - A token-maxing activation window
[start, end). - Provider
Session Record - Per-provider rollup within a session.
- Provider
Window Record - One drained window on one provider (report fidelity, RFC-031 §11.5).
- Session
Totals - Session-wide totals.
- Task
Record - One executed task and its outcome.
- Token
Maxing Session - A complete token-maxing run.
Enums§
- Maxing
Start - How a session was activated.
- Stop
Reason - Why the session ended. The report distinguishes these so the user can tell “stopped: nothing to do” from “stopped: window ended” (RFC-031 §8).
- Task
Source - Where a planned task was sourced from (RFC-031 §7).