← 返回列表
D

dsh-balance-context-meter

v0.1.0 · 1 天前发布

Sidebar meters for DeepSeek Harness Web: a DeepSeek account balance bar (orange, with a low-balance alarm) and a conversation context-usage bar (blue), rendered above the plugin store with a hover detail popover.

deepseekdeepseek-harnessdshdsh-pluginbalanceusagecontextdashboardui

README

dsh-balance-context-meter



DeepSeek Harness Web 侧边栏仪表盘插件:DeepSeek 账户余额进度条与对话上下文进度条,位于侧边栏底部、插件商店上方。

功能



  • 余额条(橙色胶囊):剩余 / 上次刷新时余额,40 秒轮询;右侧刷新按钮把当前余额设为新的满值,之后随使用逐渐缩短(满值存浏览器 localStorage)

  • 上下文条(蓝色胶囊):剩余 / 窗口上限,跟随当前对话窗口实时更新(对话中 10s 刷新,空闲 40s,新会话无数据 5s )

  • 余额预警:余额低于阈值(默认 ¥10,悬浮框内可修改)时,进度条变红橙渐变并带光点动画;悬浮框内有预警开关

  • 悬浮框:悬停或点击可查看余额明细(总/充值/赠送,各币种)、当前会话标题、上下文明细(pressure/projected/上限)


  • 安装



    sh
    

    npm


    dsh plugin --profile web add dsh-balance-context-meter

    GitHub


    dsh plugin --profile web add github:EvangeliMo/dsh-balance-context-meter#main

    本地目录


    dsh plugin --profile web add /path/to/dsh-balance-context-meter


    安装后重启 dsh web

    要求



  • DeepSeek Harness Web(rc.6 或更新)

  • 已在 设置 的 模型 页 配置 DEEPSEEK_API_KEY(能用聊天即已配置)

  • 账户有可用余额(`
  • 查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-balance-context-meter
    Repo
    git+https://github.com/EvangeliMo/dsh-balance-context-meter.git
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-api-remotes","slots"]}}