dsh-usage-chart
通过复核版本当前含界面v1.0.0视觉与多模态
DeepSeek 用量 / 成本 / 余额仪表盘 for DSH Web:输入框下方实时指标指示器 + 零依赖 SVG 用量可视化图表(含每轮成本视角、耗时叠加、异常标记、成本徽章、上下文压力条),token 数据来自官方 adapter 上报,成本按官方刊例价 + 用户覆盖 pricing.json 解析,余额来自官方 /user/balance 接口。
安装
dsh plugin --profile web add dsh-usage-chart把 web 换成你自己的 profile 名。首次使用会自动初始化该 profile。
复核结果
- declares-bundle声明了 dsh.bundle.patch → cordis.patch.yml
- patch-shippedpatch 文件确实打进了 tarball
- patch-parsespatch 解析正常,挂载 1 个插件行
- rows-resolvable每个插件行都能解析到已发布的包
- entry-shipped入口模块已打包:lib/index.js
- prebuilt预构建 —— 安装时无需执行构建脚本
- client-half-shipped浏览器半侧已打包:lib/client.js
它挂载了什么
insertdsh-usage-chartdsh-usage-chart
apiKeybaseUrl
这些是插件的 cordis.patch.yml 往你的配置树里插入的行。装进去之后,dsh --profile <名字> --dump-config 会原样打印它们。
版本兼容
@deepseek-ai/cordis^4.0.1→ 4.0.1版本当前
@deepseek-ai/dsh-client-locale>=0.1.0-rc.6 <0.2.0→ 0.1.0-rc.6版本当前
@deepseek-ai/dsh-client-runtime>=0.1.0-rc.6 <0.2.0→ 0.1.0-rc.6版本当前
@deepseek-ai/dsh-client-ui-slots>=0.1.0-rc.6 <0.2.0→ 0.1.0-rc.6版本当前
@deepseek-ai/dsh-client-ui-conversation>=0.1.0-rc.6 <0.2.0→ 0.1.0-rc.6版本当前
dsh 三天里从 0.0.1-rc.1 走到 0.1.0-rc.6。注意:dsh 库包的当前版本发布在 next 标签上,latest 标签仍停在首日版本。