Repository navigation
Releases
v0.7.0
English
- The
/rings settingspane names the installed version at its foot (usage-rings 0.7.0), orusage-rings devfor a working copy.
中文
/rings settings面板底部显示已安装的版本号(usage-rings 0.7.0),开发副本显示usage-rings dev。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。
v0.6.2
English
- A fresh session's rings from the last saved rate-limit reading are now grey and marked
last reading, with no pace tick or forecast, until the session's first response brings its own. That reading may come from another session signed in to another account. - The README notes that the mod cannot tell accounts apart: sessions sharing one config folder share their totals; a separate
CLAUDE_CONFIG_DIRper account keeps them apart.
中文
- 新会话用上次保存的限额数据画出的圆环,现在显示为灰色并标注
上次读数,不显示时间刻度和用满预测,直到本会话第一次响应带来自己的数据。那份数据可能来自登录了另一个账号的会话。 - README 补充说明 mod 无法区分账号:共用同一个配置目录的会话共用合计;每个账号使用单独的
CLAUDE_CONFIG_DIR可以分开统计。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。
v0.6.1
English
- The forecast (
full ~…and its amber ring) is now off by default: the pace tick already shows a window running ahead of its time, and early in a window the forecast swung on and off./rings show forecastturns it back on. - Saved settings keep the choice they hold: a band whose settings were saved before this release still shows the forecast until
/rings hide forecast.
中文
- 用满预测(
full ~…和琥珀色圆环)改为默认关闭:时间刻度已经能看出用量跑在时间前面,而且窗口刚开始时预测容易时有时无。用/rings show forecast重新打开。 - 已保存的设置保留原来的选择:在这个版本之前保存过设置的面板仍会显示预测,运行
/rings hide forecast关闭。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。
v0.6.0
English
- ctx measures to auto-compact: the ring now reads against the auto-compact window, as the session rail and
/contextdo, and its second line says how many tokens are left before compaction (204k to compact). The ring's description keeps the used tokens, the compaction point and the model's window. /rings ctx compact|modelor the settings pane's Context select switches back to the model's whole window (163k / 1M). With auto-compact off, ctx measures against the model's window either way.- The settings pane groups the parts as rings, ring details, spend and speed.
中文
- 上下文按自动压缩计算:圆环改为按自动压缩窗口计算,和 session rail、
/context一致,第二行显示距自动压缩还剩多少 token(距压缩 204k)。圆环的描述里保留已用 token、压缩点和模型窗口。 - 用
/rings ctx compact|model或设置面板的「上下文」下拉框切回按模型完整窗口计算(163k / 1M)。关闭了自动压缩时,两种设置都按模型窗口计算。 - 设置面板把组件分成圆环、圆环细节、花费、速度四组。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。
v0.5.0
English
- Totals scope: today and month total every session (
all, the default) or this session alone (session). Switch with/rings scope all|sessionor the settings pane. The figures now say whose they are:all: today $… · mo $…orsession: today $… · mo $…. - Month totals now count a session begun this month in full, from its first message, as today already did for a session begun today; one begun earlier counts from when the mod first saw it that month. Both scopes add up the same per-session figures, so
allis never belowsession. - Removed the
session-todaypart added in 0.4.0; the session scope shows the same figure.
中文
- 合计范围:今日和本月可以统计所有会话(
all,默认),也可以只统计本会话(session)。用/rings scope all|session或设置面板切换。数字前面标明统计范围:全部:今日 $… · 本月 $…或本会话:今日 $… · 本月 $…。 - 本月合计里,本月开始的会话从第一条消息起全部计入,和今日合计对当天开始的会话的处理一致;更早开始的会话从 mod 当月第一次看到它时算起。两种范围用的是同一份按会话记录的数据,所以
all不会小于session。 - 移除 0.4.0 新增的
session-today组件;只统计本会话时显示的就是这个数。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。
v0.4.0
English
- The session's figure is marked
session, so it reads apart from today's and this month's totals, which cover every session. A session left open for days shows its whole cost there, while today counts only this day. - New part
session-today, off by default: this session's own spend today./rings show session-todayor the settings pane turns it on.
中文
- 本会话花费旁边加上
本会话标注,和覆盖所有会话的今日、本月合计区分开。开了好几天的会话,这里显示的是它开着以来的全部花费,而今日只算当天。 - 新增组件
session-today(本会话今日花费),默认关闭,用/rings show session-today或设置面板打开。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。
v0.3.2
English
- Fixed: today's and this month's spend left out what a session had spent before the mod loaded in it, so after an install, an update or a reload they could read far below the sessions' own figures. A session begun today now counts from its first message, whenever the mod loaded; one begun on an earlier day counts from when the mod first saw it that day.
- Each session's figure for a day is now recorded as one total rather than added to, so a reload or a resumed session cannot count the same spend twice.
- On the day of this update, today's figure starts from the sessions' own totals; the older ledgers still count for earlier days of the month.
中文
- 修复:今日和本月花费不包含 mod 加载之前会话已经花掉的钱,所以安装、更新或重载之后,可能远低于各会话自己的花费。现在今天开始的会话从第一条消息算起,不管 mod 什么时候加载;更早开始的会话从 mod 当天第一次看到它时算起。
- 每个会话每天的花费改为记一个总数,而不是每次往上加,所以重载或恢复会话不会把同一笔花费算两次。
- 更新当天的今日花费改为从各会话自己的总数算起;旧账本在本月更早的日子里仍然计入。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。
v0.3.1
English
- Fixed: with several sessions open, a band's today and month figures stayed where they were until that session spent again; every band now picks up the other sessions' spend within a minute.
- Fixed: two sessions spending at the same moment could overwrite each other's addition to today's and this month's totals. Each session now keeps its own figure and the band sums them. Totals recorded by 0.3.0 carry over.
中文
- 修复:同时开着多个会话时,某个会话的今日和本月花费要等它自己再花钱才会更新;现在每条面板最多一分钟内就会算上其他会话的花费。
- 修复:两个会话恰好同时花钱时,今日和本月总额里可能有一笔被另一笔覆盖。现在每个会话单独记自己的花费,面板显示时再求和。0.3.0 记下的总额会接着累计。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。
v0.3.0
English
- Per-surface default visibility: new sessions show the band in the desktop app and hide it in the terminal; VS Code and mobile follow the desktop choice.
/rings default desktop|terminal on|offchanges those defaults,/rings defaultalone shows them, and the settings pane has a toggle for each./ringsstill hides or shows the band in the current session, and a plugin reload keeps that choice.- A hidden band keeps counting spend, so today's and this month's totals include every session.
中文
- 按端设置默认显隐:新会话在桌面端默认显示面板,在终端默认隐藏;VS Code 和移动端跟随桌面端的设置。
/rings default desktop|terminal on|off修改默认值,单独运行/rings default查看当前设置;设置面板里每个端各有一个开关。/rings仍然在当前会话隐藏或显示面板,插件重载后保留这个选择。- 面板隐藏时仍会累计花费,所以今日和本月总额包含所有会话。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。
v0.2.0
English
- Layouts:
tiles(default), each ring with a two-line label sized to fit beside the desktop prompt box, andminimal, the rings and leading figures only. - Pace tick on each limit ring marking how much of the window's time has gone by; in the terminal an arrow (
▲ahead of pace,▽behind). - Forecast: when a window's average rate would use it up before it resets, the tile says
full ~1h57mand the ring turns amber. - Output speed: live tokens per second while a response streams, exact once it ends; optional cache hits and time to first token.
- Optional per-turn and per-hour spend.
- Settings:
/rings settingspane and/rings mode | lang | show | hide | theme | color | resetcommands; every part can be switched on or off. - Themes
default,ocean,grape,mono, and per-slot color overrides. - English and Chinese (English by default); a Chinese README.
- Fixed: the rings no longer flash when the band redraws during a response, and the speed figure redraws at most once a second.
中文
- 布局:
tiles(默认),每个圆环旁边两行字,宽度按桌面端输入框设计;minimal,只显示圆环和主数字。 - 时间刻度:每个限额圆环上的一道刻度,标出窗口时间已经过去多少;终端里换成箭头(
▲用得比时间快,▽比时间慢)。 - 用满预测:按窗口开始以来的平均速度,如果会在重置前用满,小卡显示
约 1h57m 用满,圆环变成琥珀色。 - 输出速度:生成过程中实时显示每秒 token 数,结束后换成精确值;可选显示缓存命中率和首 token 延迟。
- 可选显示本轮花费和每小时花费。
- 设置:
/rings settings设置面板,以及/rings mode | lang | show | hide | theme | color | reset命令;每个组件都可以单独开关。 - 主题:
default、ocean、grape、mono,每个颜色槽都可以单独覆盖。 - 中英文界面(默认英文),并新增中文 README。
- 修复:生成过程中面板重绘时圆环不再闪烁,速度数字最多每秒刷新一次。
claude plugin update usage-rings@claude-mod-usage-statusbar, then /reload-plugins or a new session.
已安装的用户运行上面的命令更新,然后执行 /reload-plugins 或开新会话。