dsh-plugins

by kestiny18

2 工具与能力github收录于 08-23

DeepSeek Harness 社区插件

Community plugins for DeepSeek Harness

安装

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

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

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

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

README

目录

Monorepo for independently published DeepSeek Harness plugins. The repository uses one Git history, one pnpm lockfile, and shared CI/release automation; every dsh-* directory remains its own npm package.

Packages

Package Description
dsh-redact Fail-closed canonical tool-output tokenization before model and Session persistence
dsh-usage Replay-aware token usage and estimated model cost for the Harness Web UI

Applications

Application Description
dsh-community Cloudflare Worker + D1 public usage leaderboard and GitHub-linked profiles

Development

pnpm install --frozen-lockfile
pnpm run check
pnpm run pack:check

Run a command for one plugin with a pnpm filter:

pnpm --filter dsh-usage run check

New plugins should be direct child directories named dsh-*. Give each package its own package.json, README.md, CHANGELOG.md, LICENSE, source, tests, and release:check script. Do not create a nested .git directory or package lockfile.

Releases

Packages are published independently from GitHub Releases through npm Trusted Publishing, without a long-lived npm token.

After adding the GitHub repository as origin, run pnpm repo:sync and commit the package metadata. Configure a GitHub environment named npm, then configure each npm package's trusted publisher with this repository, workflow publish.yml, environment npm, and allowed action npm publish.

Release tags are package-specific: <package>-v<version>, for example dsh-usage-v0.1.1. The workflow validates the tag against the selected package, runs that package's release checks, and publishes only that package. Normal releases use the npm latest tag; GitHub prereleases use next.

See CONTRIBUTING.md and SECURITY.md for project policy.

原始 README: https://github.com/kestiny18/dsh-plugins/blob/main/README.md ↗