Repository navigation
tole v0.8.1
Usage reporting, chunked read_file, scan-driven fixes.
Fixed
- The usage report no longer renders an absent per-step
messagescount as a measured0; it isnullin the status JSON when unknown (found by the pre-tag scan). read_filerejects an emptypathwith a clear message instead of a confusing "is a directory" error.
Added
tole statusand the serve status JSON now report token usage, cache-hit rate and a per-step request-size split (system+tools vs history, stored per step undertole_wirein the usage record);fact/missiongainscached_tokens. Instrumentation only: the wire, budgets and durable entry shapes are unchanged (#211, part 1 of 3).
Changed
read_filenow returns at most 20,000 characters per call and acceptsoffset/limit(characters); the result carriestruncated,total_charsandnext_offsetso large files are read in chunks instead of being re-sent whole on every later step (#211, part 3 of 3).