dsh-plugins
其他 活跃维护

dsh-plugins

kestiny18/dsh-plugins

轻量级可挂载的社区插件合集,可直接接入主流大模型开发平台使用,覆盖数据处理、模型调用等常见开发需求,开箱即用无需额外配置,可按需选用拓展平台能力。

2
Stars 标星
0
Forks 分支
2
Watchers 关注
2
Open Issues
TypeScript
主要语言
MIT
开源协议
102 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:kestiny18/dsh-plugins
git clone https://github.com/kestiny18/dsh-plugins.git
git clone git@github.com:kestiny18/dsh-plugins.git
README.md main

dsh-plugins

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

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.