Repository navigation
Releases: verneuil/dsh-opencode-go-usage
Releases · verneuil/dsh-opencode-go-usage
Release list
3.1.0
新功能:
- 悬停浮层优化:鼠标从浮窗移到浮层上时浮层不再消失、点击行为与浮窗点击效果相同(手动刷新)、刷新闪烁效果与浮窗相同;
- 侧栏入口:设置页新增「侧栏入口」开关(默认关闭)。开启后侧栏出现本插件菜单入口,点击直接打开本插件设置页面。
修复:
- 修复松开鼠标后浮窗自行漂移、部分位置无法固定于目标点的问题:落点改为仅按窗口边沿记录位置,并保留窗口缩放时的相对位置;位置精度提高到 0.1px,旧配置中的位置仍照常渲染;
- 修复浮层面板被窗口裁切的问题:浮窗贴近窗口边缘时,浮层自动判断展开方向,向软件内部展开,避免显示不全。
English
New features
- The hover popover is now interactive: moving the pointer from the pill onto the popover keeps it open, clicking it behaves like clicking the pill (a manual refresh), and its border flashes together with the pill on refresh;
- Sidebar entry: a new "Sidebar entry" switch in the settings page (off by default). When enabled the plugin gets a row in the sidebar that opens its settings page directly.
Fixes
- Fixed the pill drifting after release and being unable to stay at some positions: the drop position is now recorded against the window edges only (relative positions still hold when the window resizes), with 0.1px precision; positions from older configs keep rendering as before;
- Fixed the hover popover being clipped: near a window edge the popover now picks its opening direction and expands inwards so it stays fully visible.
3.0.5
- 更新内置兜底数据:1. 模型表 29 → 30 个(新增 Kimi K3.1 Pro;替换Gemini 4 Argon Contributor、
MiniMax M3.1 Flash Free 为 Gemini 4 Argon、MiniMax M3.1 Flash 并带配额);2. 汇率快照更新到24 Oct 2026; - 插件行为无变化,无任何功能改动。
English
- Refreshed the bundled fallback data: 1. the model table grew from 29 to 30 (adds Kimi K3.1 Pro; replaces
Gemini 4 Argon Contributor and MiniMax M3.1 Flash Free with Gemini 4 Argon and MiniMax M3.1 Flash, now
with quotas); 2. the exchange-rate snapshot is updated to 24 Oct 2026; - No behavioural change — no functional change.
3.0.4
- 把「安全与隐私」小节同步进 npm 包(README 中英两版,内容与仓库一致);
- 截图更新为当前版本;
- 插件行为无任何改动。
English
- Synced the "Security & privacy" section into the npm package (both READMEs, identical to the repository);
- Screenshots updated to the current version;
- No functional change.
3.0.0
新功能:
- 新增OpenCode Go模型配额金额显示。提供「配额参考模型选择」,按 OpenCode Go 各模型的月度配额折算该模型的已消耗与剩余金额,可选全部官方模型(默认 DeepSeek V4.1 Flash),模型清单随官方文档定时抓取更新,也可以手动刷新,获取失败时回退内置列表和配额数据;
- 新增「金额显示计价币种」切换。所有金额(DS余额与OCG配额)可切换 人民币 / 美元 / 自动(中文界面人民币、英文界面美元)。汇率自动获取,获取失败时回退内置汇率;
- 「浮窗」可自主选择显示DS官方余额或OCG配额。具体功能菜单细化:「在浮窗左侧显示余额」总开关、「浮窗左侧余额数据」(DS余额 / OCG配额剩余二选一)、「鼠标悬停浮层余额数据」下拉多选(支持同时或单独显示DS、OCG的数据或都不显示);
改进和修复:
- 数据获取失败时有更明确的提示信息。明确提示是 OCG 用量、DeepSeek 官方余额、汇率还是模型列表及配额获取出错;
- 悬停浮层动效优化,文本显示效果精简与修正;
- 设置菜单的文本描述、图标、按钮和控件优化了使用体验;
- 数据刷新说明:OpenCode Go模型清单、配额与汇率自动刷新周期:模型表 24 小时、汇率 1 小时,均复用缓存;手动刷新(菜单按钮 / 点击浮窗)均触发强制重抓,设置菜单小字如实显示各自的更新时刻与刷新结果。
English
New features
- Added OpenCode Go model quota amounts: a “quota reference model” selector converts each OpenCode Go model’s monthly quota into that model’s used and remaining amounts; every official model is available (DeepSeek V4.1 Flash by default), the list is refreshed from the official docs on a schedule or by manual refresh, and a failed fetch falls back to the bundled list and quota data;
- Added an “amount display currency” switch: every amount (the DS balance and the OCG quota) can be shown in CNY / USD / auto (CNY in Chinese, USD in English). The rate is fetched automatically and falls back to the bundled rate on failure;
- The pill can now show either the DS balance or the OCG quota by choice, with a finer set of settings rows: a “show a balance on the pill's left” master switch, “pill left-side balance data” (DS balance / OCG quota left, pick one) and a “hover popover balance data” checkbox dropdown (show the DS and OCG data together, separately, or neither);
Improvements & fixes
- Fetch failures are reported more explicitly, stating whether OCG usage, the DeepSeek balance, the exchange rate or the model list & quota failed;
- The hover popover’s animation was improved and its text display was tightened and corrected;
- The settings page’s wording, icons, buttons and controls were refined for a better experience;
- Refresh behaviour: the OpenCode Go model list, the quota and the exchange rate refresh automatically on a 24 h (model table) and 1 h (rate) cycle, reusing the cache; manual refresh (the settings button or a pill click) always forces a refetch, and the settings footnotes report each one’s own update time and result.
2.16.0
2.16.0
- 设置页UI更新;
- 设置增加一键跳转Opencode官方控制台的图标按钮;
- 浮窗的鼠标悬停浮层UI更新优化;
- 优化一些文案说明的准确性;
- 对部分插件安装环境进行针对性优化,提升插件稳定性。
English
- Settings page UI updated;
- Settings gained an icon button that jumps straight to the OpenCode console;
- The pill's hover popover got a UI refresh;
- Improved the accuracy of several strings;
- Targeted optimisations for some plugin install environments, improving stability.
安装 / Install:github:verneuil/dsh-opencode-go-usage
2.15.4
2.15.4
- 修复切到英文界面后插件文案仍显示中文的问题;
- 优化部分中英文描述文案的准确性;
- 插件图标换新、设置导航的菜单图标换新;
- 悬停浮层样式换新。
English
- Fixed the plugin copy staying Chinese after switching the UI to English;
- Improved the accuracy of several Chinese and English strings;
- New plugin icon and a new settings-navigation glyph;
- New hover-popover styling.
安装 / Install:github:verneuil/dsh-opencode-go-usage
2.15.3
2.15.2
2.15.2
- 把
@deepseek-ai/schemastery声明为peerDependencies(并标optional,由宿主运行时提供,不会多装副本)
English
- Declared
@deepseek-ai/schemasteryas apeerDependenciesentry (markedoptional: the host runtime provides it, so no second copy is installed)
安装 / Install:github:verneuil/dsh-opencode-go-usage
2.15.1
2.15.1
- 补齐
package.json的main字段;描述里的「边框光轨」改为现行的边框闪烁(行为无变化)
English
- Added the missing
mainfield topackage.json; corrected the description from the retired light rail to the current border flash (no behaviour change)
安装 / Install:github:verneuil/dsh-opencode-go-usage
2.15.0
2.15.0
- 新增「恢复默认设置」:一键写回已使用 / 5 分钟 / 极简模式 / 不显示余额 / 默认位置
- 默认位置改为窗口左上角;「重置到右下角」更名「重置位置」
- 新装默认即这套组合;三处开关切换加入过渡动效
English
- Added “Restore defaults”: one click writes back Used / 5 min / Minimal mode / balance hidden / default position
- Default position is now the window's top-left corner; “Reset to bottom-right” became “Reset position”
- A fresh install starts from that same combination; the three toggles now animate instead of cutting
安装 / Install:github:verneuil/dsh-opencode-go-usage