dsh-npm
v0.1.0 · 2 天前发布
NPM registry management for DeepSeek Harness: query package info, list versions, search packages, and publish/deprecate packages — registry info via HTTP API, publish via the npm CLI with optional token injection, plus a web settings panel
README
dsh-npm
DeepSeek Harness 的 NPM 包管理插件:查包信息、列版本、搜索 registry、发布包、标记弃用,全部可由 agent 直接完成。
npm CLI,复用你自己 ~/.npmrc 的登录凭据——也可以在插件里配置一个 token。工具
| 工具 | 用途 |
|---|---|
| npm_status | 插件状态:生效 registry、token 是否配置、本机 npm CLI 是否可用、配置路径 |
| npm_config | 配置 registry 基础地址和/或 auth token(存 ~/.dsh/dsh-npm.json,权限 0600);reset: true 清除 |
| npm_info | 包元数据:最新版本、dist-tags、描述、作者、license、主页、仓库、创建/更新时间、依赖摘要 |
| npm_versions | 全部已发布版本及发布时间(dist-tags.latest 置顶)——发布前先查 |
| npm_search | 按关键词搜索 registry(名称、描述、作者、相关度) |
| npm_publish | 真实执行 npm publish:支持 dir、tag、access、otp、registry、dryRun、force |
| npm_deprecate | 标记包/版本弃用(真实写入 registry,请谨慎) |
安装
```bash
本地
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-npm
- Repo
- git+https://github.com/zhengjy01/dsh-npm.git
- Engines
{"node":"^22.19.0 || >=24.0.0"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-ui-settings"],"platform":"web"}}