mahiro6/dsh-billing
简陋deepseekharness计费插件,可查询显示余额.设置预算,累计汇总。
安装
dsh-billing
├── cordis.patch.yml # bundle 补丁:向 web profile 插入 billing 行
├── package.json # dsh.bundle 补丁声明 + dsh.client 浏览器声明
├── lib/
│ ├── index.js # 宿主插件:llm/stream 计费包裹、costUsage 会话投影、
│ │ # billing 服务(手写 typertRemote 绑定)、余额查询、官方价格同步
│ ├── pricing.js # 官方价格表、官方页面 HTML 解析、峰谷计费数学
│ ├── store.js # 账本持久化与配置管理($DSH_HOME/storages/dsh-billing)
│ ├── typert.host.js # ./typert 导出:Typert 清单(typert-loader 自动注册)
│ └── client.js # ./client 导出:浏览器单文件 bundle(统计行/侧边栏/设置页)
└── test/
├── verify.mjs # 单元验证:定价/配置/账本/投影/真实 cordis 加载/计费包裹
└── demo.mjs # 计费演示:模拟多会话/多模型/峰谷调用,输出账本与汇总
把 mahiro6/dsh-billing 加入你的 DSH 配置(web profile)即可启用。
README
展开完整 README 收起
README 内容为空。
tt-a1i/archify
anywhere-labs/deepseek-harness-desktop
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
GanyuanRan/Aegis
dsh-market/dsh-market
toby-bridges/api-relay-audit