Gty2408/dsh-plugin-publisher ↗★ 0
dsh-plugin-publisher
Publish a DSH plugin to GitHub as a tool the agent calls, so another machine can install it with dsh plugin add github:<owner>/<repo>. Validates the manifest, initialises the repository, creates the GitHub repo, uploads the tree, and sets the dsh-plugin topic. 适合希望让AI助手自动完成插件验证、建仓和代码推送流程的开发者。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Gty2408/dsh-plugin-publisherドキュメント
README 全文を読む ↗配置 GitHub token
三选一,按顺序尝试:
| 方式 | 说明 |
|---|---|
| 1. 插件配置 | profile 的 cordis.patch.yml 里写 token |
| 2. DSH 凭据服务 | 键名 DSH_GITHUB_TOKEN |
| 3. 环境变量 | DSH_GITHUB_TOKEN 或 GITHUB_TOKEN |
token 需要 repo 权限(建仓库 + 推代码)。
推荐用 2 或 3——配置文件里的密钥更容易泄露。
当前状态:token 已存在 DSH 凭据服务里,键名 DSH_GITHUB_TOKEN,不用再配。