导出 OpenCode 控制台 Usage 的 token 统计。拦截服务端请求拿原始 JSON;分层存储(30 天明细 + 永久聚合),全量/增量、并发拉页+重试、断点续传、自动同步、可中断抓取、按 keyID/plan 维度、面板、CSV+Excel 导出。⚠ 请仅从官方 GitHub (github.com/Shirolin/opencode-go-usage-export) 获取本脚本,未知来源修改版可能窃取 API Key
Fra og med
Export OpenCode Go subscription usage from the OpenCode console — token breakdown (cache read / reasoning), aggregated by model / API key / plan / date, with CSV + Excel export. Network-layer capture, 30-day detail + permanent aggregates in IndexedDB, full/incremental sync, interruptible fetch, auto-sync. GPL-3.0, open source — install only from the official repository.
导出 OpenCode 控制台的 Go 订阅用量统计:token 细分(cache read / reasoning)、按模型 / API key / plan / 日期聚合,支持 CSV + Excel。网络层抓取原始 JSON、IndexedDB 分层存储(30 天明细 + 永久聚合)、全量/增量同步、可中断抓取、自动同步。GPL-3.0 开源——请仅从官方仓库安装,未知来源修改版可能窃取 API Key。