uaapple/dsh-ui-cost
uaapple★ 0TypeScript最后同步: 2026-08-20
DeepSeek Harness Web UI plugin for live token usage and estimated cost
README 摘要
dsh-ui-cost English 中文 Self-contained stats strip with an estimated cost, contributed as a pure DSH browser plugin — no modification to the ui-conversation core , so a DSH/DSH Desktop upgrade that restores the stock core cannot break it. This is a community plugin and is not affiliated with DeepSeek AI. The plugin registers on the same conversation.composer.dock cell as the core stats entry ( id: 'stats' ) with a lower shadowing priority, taking over the whole line: turn/step counts, LLM and tool wall times, TTFT/decode throughput, cache-hit share, billed tokens, and the cost. If the plugin ever crashes, the cell's shadowing retires it and the stock core strip renders instead. Composing this plugin out of cordis.yml removes the whole replacement and the stock strip returns. The cost prices the durable tokenUsage projection (uncached input + cache writes at the cache-miss input rate, cache reads at the hit rate, output at the output rate) at the session's CURRENT model selection, read live from the ui-model-selection model directory — so a model switch re-prices immediately. Rates come from the official Models & Pricing page (CNY per 1M tokens, deepseek-v4-flash / deepseek-v4-pro ) …
在 GitHub 查看完整 README →分类
Enhancement suite for Gemini, AI Studio, Claude & ChatGPT — plus a prompt manager for any web UI, DeepSeek Harness included. / 面向 Gemini、AI Studio、Claude 与 ChatGPT 的增强套件;提示词管理器可用于任意 Web UI,含 DeepSeek Harness。
★ 19,772
zhu1090093659/dsh-web-uiPlugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
★ 5,470
omdsh-dev/DSH-better-sidebar开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git, and sub-agent pages.
★ 2,596