opencode/packages
Kit Langton f5d199db62 feat(llm): add Usage.totalInputTokens / totalOutputTokens getters
Match the `LLMResponse.text` / `reasoning` / `toolCalls` getter pattern
in the same file — `usage.totalInputTokens` reads naturally and lives
where the Usage data does. Both sums are monotonic under the additive
contract, so callers no longer need to remember which fields are
non-overlapping.

Test fixtures that previously asserted with `usage: { ... }` plain
literals are now wrapped with `new Usage({...})` to match the runtime
shape the mappers actually produce (an instance, not a struct).
2026-05-10 19:29:41 -04:00
..
app sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
console zen: fix usage css on mobile 2026-05-10 12:14:11 -04:00
containers chore: bump Bun to 1.3.13 (#23791) 2026-04-23 00:25:36 -04:00
core sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
desktop sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
docs
enterprise sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
extensions/zed sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
function sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
http-recorder chore: generate 2026-05-10 16:44:40 +00:00
identity
llm feat(llm): add Usage.totalInputTokens / totalOutputTokens getters 2026-05-10 19:29:41 -04:00
opencode Use Effect timeout in compaction test (#26728) 2026-05-10 12:45:54 -04:00
plugin sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
script
sdk chore: generate 2026-05-10 16:22:29 +00:00
slack sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
storybook feat(prompt): add shell mode UI with cancel button, custom icon, and example placeholder (#24105) 2026-04-24 14:04:55 +08:00
ui sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
web Zen: add Ring 2.6 1T 2026-05-10 03:51:34 -04:00