kestiny18/dsh-plugins

插件Plugin ⭐ 2 MIT

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.

catalog 简介 / catalog descriptioncatalog description:Community plugins for DeepSeek Harness

项目介绍Project Overview

dsh-plugins 是 DeepSeek Harness 插件的 monorepo,含 dsh-redact 与 dsh-usage 等独立 npm 包,分别提供工具输出令牌化脱敏、重放感知的 token 用量与成本估算;另有社区排行榜应用。需要在模型或会话持久化前脱敏,或在 Web UI 查看用量成本时使用。注意各包独立发布,新增插件须遵循 dsh-* 目录与发布配置规范。

dsh-plugins is a monorepo of independently published DeepSeek Harness plugins. Its packages include dsh-redact, which fail-closed tokenizes tool output before model use and Session persistence, and dsh-usage, which provides replay-aware token usage and estimated model cost for the Harness Web UI; a community leaderboard app is also included. Use it for output redaction or usage/cost tracking. Note that each package publishes separately and follows strict directory and release conventions.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

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

kestiny18/dsh-plugins 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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

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.

上一个 Prev dsh-holdem 下一个 Next dsh-manager