DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-tokenrhythm

D

dsh-tokenrhythm

Identified★ 1

No project description is available for this repository yet.

dsh-tokenrhythm:在 DSH 里查看基元律动的余额、限时额度、用量与价格的单渠道插件

基元律动(tokenrhythm.studio)费用中心的 DSH 插件,单渠道版。上游那份装了五家平台;这里把另外四家的代码删掉,只留基元律动一家。

一眼看完

余额页:账户余额与限时额度、今日调用输入输出缓存命中花费五项、近 7 天花费柱状图

账户余额与限时额度(到期失效),今日的调用 / 输入 / 输出 / 缓存命中 / 花费,近 7 天花费柱状与最近调用明细,每 60 秒自己刷新。

模型页:按文本、图像、视频筛选的模型价格卡网格

22 个模型的上下文、输入、输出、缓存、最大输出五项价格;折扣和峰谷分时直接标在卡上,顶部可按文本 / 图像 / 视频筛选。

密钥页:账号管理、当前会话状态、备用凭证粘贴

账号管理在同一个面板里:加账号、看当前会话登录状态、备用时手动粘贴凭证。

装上

dsh plugin --profile desktop remove dsh-tokenrhythm-bill
dsh plugin --profile desktop add github:DongHua3/dsh-tokenrhythm

装完必须重启 DSH。装在本地目录时,把 github:... 换成目录路径即可。

功能一览

功能说明
密钥管理列表掩码、复制完整值、新建 / 删除
账号管理多账号、密码登录、Cookie 粘贴、自动续期
连通检测真实 1-token 探测,默认关闭,手动开启才会计费
余额角标侧栏入口右侧直接显示在用密钥的账户余额

侧栏入口「基元律动-费用中心」右侧的余额角标

更新

「检查更新」的版本源就是本仓库 main 分支的 package.json:push 一个更高的 version 即生效,不用发 release。检查结果本地缓存 24 小时,拉取失败时降级显示上次结果。

dsh plugin --profile desktop add github:DongHua3/dsh-tokenrhythm

凭据与出网

凭据只落在 host 进程:~/.dsh/tokenrhythm-bill-state.json,首次写入即 mode 0o600。Cookie / 密码 / 密钥不经浏览器,也不上传任何第三方。

出网域名只有四条:

https://tokenrhythm.studio                    # 基元平台 API
https://raw.githubusercontent.com             # 版本检查(读本仓库 main 的 package.json)
https://cdn.jsdelivr.net/gh                   # 同上,raw 连不上时兜底
https://api.github.com                        # 同上,最后兜底(tags 列表)

platform.stepfun.com / account.stepfun.com / api.stepfun.com / tierflow.cn / opencsg.com / zcode.z.ai / open.bigmodel.cn / ~/.zcode/v2 都不再触碰。

自检

node scripts/smoke.mjs

语法 / 加载 / 路由注册 / 跨站拦截四项,CI 在每次 push 时跑同一支脚本。

已知问题

npm run lint 当前是 0 error / 96 warning,没有一条 no-undef。96 条全是 no-unused-vars,集中在 lib/client.js:tf*、step*、oc*、zc* 这些是删掉四家渠道后没跟着扫掉的孤儿函数与 hook,剩下来不影响运行,只是死代码。

CI 用的是 --quiet,只报 error,所以这些警告不会让流水线变红——也正因为这样,删完之后没人再数一遍。

与上游的关系

fork 自 162568316/dsh-tokenrhythm-bill v0.7.5(MIT),版本号从 0.1.x 起与上游脱钩。包名仍为 dsh-tokenrhythm-bill——它必须和 cordis.patch.yml 里的 name 一致;仓库名才是本项目自己的。

许可

沿用上游 MIT。原始版权归 162568316 与贡献者所有。

Comments

Loading…

From the same category

awesome-dsh-plugin

by awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表

Development & Infrastructure

★ 21.5k

CC0-1.0

Python

Oct 29, 2026

Index only — not installable

by 0xsline

DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.

Development & Infrastructure

★ 1.3k

CC0-1.0

Python

Oct 16, 2026

Index only — not installable

by Yuuyuko-uu

DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间

Development & InfrastructureMemory & ContextSessions & MessagesManifest valid

★ 394

MIT

JavaScript

Oct 29, 2026

dsh plugin --profile web add dsh-fish-memory

by pax-beehive

Open-source CLI, schemas, resolver, and DSH agent tools for DSH Plugin Hub

Development & Infrastructure

★ 276

MIT

TypeScript

Oct 20, 2026

Index only — not installable

by xiajiajun516

DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.

Development & InfrastructureManifest valid

★ 274

MIT

TypeScript

Oct 29, 2026

dsh plugin --profile web add dsh-config-manager

by ECNU

DBLP and arXiv literature search, BibTeX retrieval and full-text acquisition with session-owned background jobs; an EduWork-maintained fork of SihanLv/dsh-literature.

Tools & CapabilitiesUI & ExperienceDevelopment & InfrastructureMemory & Context

★ 259

MIT

JavaScript

Oct 30, 2026

Index only — not installable