mirror of
https://git.sync.wtf/troed/oc-ls-stats.git
synced 2026-08-31 09:43:38 +03:00
- Replace metrics-based TPS with slot n_decoded tracking during generation - Add generation tracking state (generateSlotId, generateCapturedDecoded, generateStartAt) - Poll interval reduced from 2s to 500ms to catch shorter prefill/generation events - AVG now uses session average from message events (cumulative tokens/duration) - Remove unused fetchMetrics, formatRate, formatTtft functions - TPS: slot-based (shows for all generation including files) - AVG: session average (cumulative across messages)
21 lines
386 B
JSON
21 lines
386 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"name": "@troed/oc-ls-stats",
|
|
"version": "0.0.41",
|
|
"type": "module",
|
|
"exports": {
|
|
"./tui": {
|
|
"import": "./tui.tsx"
|
|
}
|
|
},
|
|
"engines": {
|
|
"opencode": ">=1.3.14"
|
|
},
|
|
"peerDependencies": {
|
|
"@opencode-ai/plugin": "*",
|
|
"@opentui/core": "*",
|
|
"@opentui/solid": "*",
|
|
"solid-js": "*"
|
|
}
|
|
}
|