Repository navigation
Per-turn token, cache and cost capsules for OpenCode Desktop V2 #1
AquariusCZ
started this conversation in
Show and tell
Replies: 1 comment
|
0.3.1 is out: the composer dock now always shows the session summary, and per-turn capsules stay under each turn. If you saw a zero "This turn" capsule after queuing or steering a message in 0.3.0, this release fixes it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I wanted to know what the reply in front of me cost, not just how large the context is, so I built a GUI plugin for OpenCode Desktop V2.
The image is an illustrative mock, not a real session capture.
What it shows:
popoverSide("left" default, "right"), compact/detailed modes, bilingual UI.Install (v0.3.1):
Then reload with Ctrl/Cmd+R or
opencode service restart.It is built on the experimental V2 GUI plugin API (
./gui-experimental,@opencode/plugin/gui) and injects the footer into the message DOM, so a future desktop release can move the selector. It logs one warning and stays quiet instead of breaking the timeline. Tested with Desktop 2.2.3 on Windows 11; macOS/Linux should work but are untested.MIT, zero runtime deps, no network by default. Repo and README:
https://github.com/AquariusCZ/opencode-token-usage-gui
If you try it, I would like to know: does the capsule land under the right turn, and does the session summary match what you expect after a compaction or a subagent run?
All reactions