
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-plugin-duwg
Advanced tools
每日用量统计:在输入框下方显示当天 Token 用量(万/亿简化)与缓存命中率。Daily token usage & cache-hit stats for DeepSeek Harness.
每日用量统计插件 for DeepSeek Harness。
在输入框下方显示当天 Token 用量(万/亿简化显示,悬停看精确值)与缓存命中率,含余额血条和预计消耗。
Daily token usage & cache-hit stats for DeepSeek Harness. Shows today's token usage (simplified to 万/亿 with exact values on hover), cache hit rate, account balance bar, and estimated cost right below the composer.
$DSH_HOME/sessions 下的 .jsonl.zstd 会话日志(zstd 帧自动识别),校准当天用量,进程重启/崩溃后数据也不丢1.23万 / 4.56亿,悬停显示精确值usage.cost)$DSH_HOME/storages/duwg/usage.json,跨进程保留、跨天自动重置# 从源码安装(推荐先审查)
dsh plugin --profile web add <本仓库路径或 git URL>
# 或从 npm(发布后)
dsh plugin --profile web add dsh-plugin-duwg
安装后重启 dsh web,小部件会出现在输入框下方。
$DSH_HOME/storages/duwg/usage.json
($DSH_HOME 默认 ~/.dsh)
lib/index.js):拦截 llm/stream 瀑布流聚合 usage 块(同一流只计一次);提供 GET /duwg/usage-stats HTTP 路由;余额走官方 api.deepseek.com/user/balance(60s 缓存,仅 host 端持有 API key);启动时扫描会话日志校准lib/client.js):DOM 挂载的小部件,2s 轮询刷新,数字原地更新不重建 DOMctx.credentials 解析,绝不进入浏览器$DSH_HOME/sessions 下的 .jsonl.zstd 文件,用于校准用量,不对外发送MIT
FAQs
每日用量统计:在输入框下方显示当天 Token 用量(万/亿简化)与缓存命中率。Daily token usage & cache-hit stats for DeepSeek Harness.
The npm package dsh-plugin-duwg receives a total of 4 weekly downloads. As such, dsh-plugin-duwg popularity was classified as not popular.
We found that dsh-plugin-duwg 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.