All plugins

DSH / BUNDLE / CLIENT-UI

dsh-plugin-opencode-usage

v0.1.1jiekesu967 / dsh-plugin-opencode-usage9e73eaf760

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

dsh-plugin-opencode-usage

OpenCode Go 用量百分比悬浮面板:在 DeepSeek Harness Web 会话窗口左下角显示滚动/每周/每月用量百分比与重置时间。

README / EN

Package documentation

Registry summary

OpenCode Go 用量百分比悬浮面板:在 DeepSeek Harness Web 会话窗口左下角显示滚动/每周/每月用量百分比与重置时间。

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- 官方 usage 接口只返回百分比,不返回绝对金额;插件也只展示百分比 - 不同模型额度金额不同,因此不提供金额换算,避免误导 - 仅适用于 `web` profile;`headless` 下不注册路由 - `GET /plugins/opencode-usage/stats` **不做鉴权**,它继承 webserver 的绑定地址。 默认 profile 绑定 `127.0.0.1`,只有本机可访问;若你把 profile 的 `webServer.config.host` 改成 `0.0.0.0`,同一局域网内的任何人都能读到用量百分比。 API key 本身不会离开 host 进程(只作为请求头上游使用),所以泄露的是用量信息而非凭据。 介意的话请保持回环绑定,或在反向代理层限制该路径。