mirror of
https://git.sync.wtf/troed/oc-ls-stats.git
synced 2026-08-31 09:43:38 +03:00
c299f430ac165cf2a53cb7f9db6bda0157efbf8d
- Use generateMaxDecoded to track highest n_decoded seen across all polls - Detect resets when nd drops below max (even if slot disappeared and reappeared) - Simplified logic: only compare against max, not per-slot baseline - Removed generateSlotId tracking (no longer needed)
oc-tps
Displays live TPS (tokens per second), average TPS, and average TTFT (time to first token) in the OpenCode session prompt.
Installation
Install from the CLI:
opencode plugin oc-tps@latest --global
Requires opencode 1.3.14 or newer.
Languages
TypeScript
100%
