Ship folder-based workspaces and data migration, daily practice, redesigned
provider and model settings, and streaming conversation improvements.
Synchronize README translations and document the archive/permanent-delete
upgrade behavior in assets/releases/ver1-6-9.md.
Reduce initial JavaScript by deduplicating English resources and loading
animation features after hydration. Keep the existing route size budgets.
Update regression fixtures and browser audits for scoped URLs and the new
settings and learning interfaces.
* fix: handle DeepSeek reasoning budget exhaustion
* style: satisfy ruff format, the one thing CI was red on
`ruff format --check` on agent_loop.py, the Responses parser and the test
file that came with them. No behaviour change.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Token counts arrive as a plain dict, a pydantic model, or a bare object with
attributes, and four readers each guessed the shape for themselves. #919 fixed
one of them (UsageTracker missed the dict case, so every streamed call on the
native adapters recorded zero), which left the other three still guessing.
Move the guess into services/llm/usage_frame.py: usage_mapping() answers "give
me this payload as a mapping", token_counts() returns DeepTutor's canonical
triple and takes the source key names, so the Responses API's
input_/output_tokens dialect stops needing its own hand-rolled copy.
Behaviour change, in the readers' favour: a provider that omits total_tokens
now gets prompt+completion instead of 0. An all-zero frame still reads as
falsy, which is what the streaming loop relies on to mean "no usage report".