dsh-plugins

by yihong89

开发与运行时github收录于 08-23

pnpm workspace:packages/ 下一包一插件

A pnpm workspace: one package per plugin under packages/ .

安装

dsh plugin --profile web add github:yihong89/dsh-plugins

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

Plugins for DeepSeek Harness (DSH).

A pnpm workspace: one package per plugin under packages/.

Package What it does
dsh-usage-plugin Per-session token usage and estimated cost report (/usage command + usage_report tool), priced from the DeepSeek pricing table.

Install a plugin

# install the package into your profile (each plugin is a workspace package)
dsh plugin --profile web add -w 'github:Yihong89/dsh-usage-plugin#main&path:packages/usage-report'

# activate by inserting the plugin row into the profile's patch layer
# (~/.dsh/profiles/web/cordis.patch.yml):
#
#   - insert:
#       - id: usage-report
#         name: 'dsh-usage-plugin'

The loader hot-reloads config changes, so no process restart is needed.

Development

pnpm install
pnpm run build   # tsc for every package
pnpm run test    # node --test for every package

License

MIT

原始 README: https://github.com/Yihong89/dsh-usage-plugin/blob/main/README.md ↗