@tinkink/oc-tps
v1.0.1
Published
Temporary OpenCode 2 fork of Tarquinen/oc-tps: live TPS, average TPS, and average TTFT in the session prompt.
Readme
@tinkink/oc-tps
Temporary fork. This is a private, temporary fork of Tarquinen/oc-tps, ported to the OpenCode 2 TUI plugin API. It is not affiliated with, or endorsed by, the upstream author. Once OpenCode 2 support lands upstream, use the upstream package instead.
Displays live TPS (tokens per second), average TPS, and average TTFT (time to first token) in the OpenCode session prompt.

Installation
Requires OpenCode 2.
Add it to the plugins array in the global terminal client configuration:
{
"plugins": ["@tinkink/oc-tps@latest"]
}Development
npm install
npm run typecheckThe V2 port follows the upstream opencode-v2 branch; see
tui.tsx.
