Install
On macOS or Linux:~/.atatus/harness/config.json, and copies a plugin file to
~/.config/opencode/plugin/atatus-tracing.ts.
opencode discovers plugins in that directory automatically, so there is no config file to edit and no
opencode.json change required. Installing the plugin file is the whole registration step.What gets captured
opencode produces a three-level tree, with the model call as its own span rather than merged into the turn:This differs from the hook-based tools, where the turn itself is the model call. In opencode traces,
look for token counts and cost on the
LLM span rather than on Turn.Where things live
Two lifecycle events are forwarded:
message.updated when an assistant message completes, and
session.idle to close the turn.
Spans are sent straight from the plugin, so there is no separate collector or buffer service to run.
Uninstall
~/.config/opencode/plugin/atatus-tracing.ts. Because registration is the presence of
that file, removing it is all that is needed. See Uninstall for the full-wipe option.