
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-api-balance
Advanced tools
DeepSeek Harness web widget: API balance badge with today/month token usage, cache-hit donut chart and cost estimate. Hosts GET /api-balance and injects a bottom-right badge into the dsh web UI.
DeepSeek Harness 网页界面右下角的 API 余额角标:余额 + 当日/当月 token 用量与花费 + 缓存命中环形图。
dsh plugin --profile web add dsh-api-balance
# 重启 dsh web 后 Ctrl+F5 强刷页面
要求:dsh >= 0.1.0-rc.3(node >= 22);DEEPSEEK_API_KEY 可被 dsh 凭据服务解析。
dsh plugin --profile web remove dsh-api-balance
价格内置 DeepSeek 官方 deepseek-v4-flash 定价(USD/百万 tokens),并按 2026-08-16 16:00 UTC 起的分时计价自动切换(peak: 01-04/06-10 UTC):
| 时段 | 缓存命中 | 未命中输入 | 输出 |
|---|---|---|---|
| 2026-08-16 前(V4-Flash-0731) | $0.0028 | $0.14 | $0.28 |
| 之后 off-peak | $0.007 | $0.22 | $0.66 |
| 之后 peak | $0.014 | $0.44 | $1.32 |
花费 = token 量 × 单价(USD→CNY 按 FX=7.2 换算,可改),每次查询动态计算——调价后历史数据自动用新价重算。
host 半端注册 GET /api-balance(余额+统计)、监听 session/event 提取 usage(含缓存命中)、 tapIndex 注入角标脚本到首页 HTML。纯 host 插件 + 注入式前端,不依赖 client-plugin 打包链。
MIT
FAQs
DeepSeek Harness web widget: API balance badge with today/month token usage, cache-hit donut chart and cost estimate. Hosts GET /api-balance and injects a bottom-right badge into the dsh web UI.
The npm package dsh-api-balance receives a total of 95 weekly downloads. As such, dsh-api-balance popularity was classified as not popular.
We found that dsh-api-balance demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.