{"_id":"@a_dove/dsh-plugin-registry","_rev":"2-7ee658764c90d8f17379e69bf21ceef9","name":"@a_dove/dsh-plugin-registry","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@a_dove/dsh-plugin-registry","version":"1.0.0","keywords":["dsh","plugin","registry","cordis"],"author":{"name":"dove-a"},"license":"MIT","_id":"@a_dove/dsh-plugin-registry@1.0.0","maintainers":[{"name":"a_dove","email":"gezi9959@gmail.com"}],"homepage":"https://github.com/dove-a/dsh-plugin-registry","bugs":{"url":"https://github.com/dove-a/dsh-plugin-registry/issues"},"bin":{"registry-cli":"bin/registry-cli.js"},"dsh":{"client":{"inject":["@deepseek-ai/dsh-client-runtime"],"platform":"web"}},"dist":{"shasum":"807f0971afe08ac85747877a2a20bd75bd17da32","tarball":"https://registry.npmjs.org/@a_dove/dsh-plugin-registry/-/dsh-plugin-registry-1.0.0.tgz","fileCount":8,"integrity":"sha512-X+Q5Q7+W3hF1JG5MwUjSwq88+bMPe08dGk7uRiCgSm4BGnwdeKR8PKbZLU1rjRf7TFLegsQH/6BsPMn4gOzuyA==","signatures":[{"sig":"MEUCIQDE9SGPm1FY4MhefC/VrOCPqUHYGM5hZtaToT8SxqhA5AIgV0cydlu3zNHZkLBFPDNuDVd82B+HhvuoI8QX+c1xgZ4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82459},"main":"lib/host/index.mjs","type":"commonjs","engines":{"node":"^22.19.0 || >=24.0.0"},"exports":{".":{"default":"./lib/host/index.mjs"},"./client":{"default":"./lib/client.js"},"./package.json":"./package.json"},"gitHead":"63809ce748d71aa53c4afbe85eaee1fdc79329e0","scripts":{"test":"node --test \"test/*.test.js\"","prepublishOnly":"npm test"},"_npmUser":{"name":"a_dove","email":"gezi9959@gmail.com"},"repository":{"url":"git+https://github.com/dove-a/dsh-plugin-registry.git","type":"git"},"_npmVersion":"11.6.2","description":"DSH 插件路径注册表：盘点所有安装插件的路径位置，自动检查新装/删除/版本变化与 C 盘残留引用，提供 Agent 三件套工具（plugin_registry_list/check/report）与 GUI 面板（插件路径管理）。Hot-pluggable — mounted via profiles cordis.patch.yml + profile node_modules, no dsh source changes.","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@deepseek-ai/dsh-tools":"^0.1.0-rc.6"},"_hasShrinkwrap":false,"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-plugin-registry_1.0.0_1786874589609_0.6667868606245149","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@a_dove/dsh-plugin-registry","version":"1.0.1","description":"Path registry for DSH (DeepSeek Harness) plugins: inventory all installed plugins/presets/skills with real paths & sources, detect new/removed/upgraded changes, scan C-drive residue references, verify dependency integrity. Agent tools (plugin_registry_lis","type":"commonjs","engines":{"node":"^22.19.0 || >=24.0.0"},"main":"lib/host/index.mjs","exports":{".":{"default":"./lib/host/index.mjs"},"./client":{"default":"./lib/client.js"},"./package.json":"./package.json"},"dsh":{"client":{"inject":["@deepseek-ai/dsh-client-runtime"],"platform":"web"}},"bin":{"registry-cli":"bin/registry-cli.js"},"scripts":{"test":"node --test \"test/*.test.js\"","prepublishOnly":"npm test"},"keywords":["dsh","plugin","registry","cordis"],"author":{"name":"dove-a"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dove-a/dsh-plugin-registry.git"},"homepage":"https://github.com/dove-a/dsh-plugin-registry","bugs":{"url":"https://github.com/dove-a/dsh-plugin-registry/issues"},"dependencies":{"@deepseek-ai/dsh-tools":"^0.1.0-rc.6"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0"},"gitHead":"c2019e62ed182cc4b3fdd18bab5b50268dc4054b","_id":"@a_dove/dsh-plugin-registry@1.0.1","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-LiPTj4QU4rvQbtls3GBQppQY8XvivMj2xr8W+rUCkKcyG259IDpKshF4/pPxPt550MfN2B8rWAAYyl4nd18fqg==","shasum":"aa6e78454dacf360ceffd9a5126de6db39b0611f","tarball":"https://registry.npmjs.org/@a_dove/dsh-plugin-registry/-/dsh-plugin-registry-1.0.1.tgz","fileCount":10,"unpackedSize":90470,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCAypllEMfOMhf0mIhlUZfzQymm6cse3Qtd09ec8DnnlAIhAPI7D27yY6skYVvf5bNms/ke6/K7b6gmpSwMl61Ki6Ej"}]},"_npmUser":{"name":"a_dove","email":"gezi9959@gmail.com"},"directories":{},"maintainers":[{"name":"a_dove","email":"gezi9959@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-plugin-registry_1.0.1_1787100620381_0.1575569723792105"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-16T10:03:09.467Z","modified":"2026-08-19T00:50:20.678Z","1.0.0":"2026-08-16T10:03:09.755Z","1.0.1":"2026-08-19T00:50:20.512Z"},"bugs":{"url":"https://github.com/dove-a/dsh-plugin-registry/issues"},"author":{"name":"dove-a"},"license":"MIT","homepage":"https://github.com/dove-a/dsh-plugin-registry","keywords":["dsh","plugin","registry","cordis"],"repository":{"type":"git","url":"git+https://github.com/dove-a/dsh-plugin-registry.git"},"description":"Path registry for DSH (DeepSeek Harness) plugins: inventory all installed plugins/presets/skills with real paths & sources, detect new/removed/upgraded changes, scan C-drive residue references, verify dependency integrity. Agent tools (plugin_registry_lis","maintainers":[{"name":"a_dove","email":"gezi9959@gmail.com"}],"readme":"# @a_dove/dsh-plugin-registry\r\n\r\n[![npm version](https://img.shields.io/npm/v/@a_dove/dsh-plugin-registry)](https://www.npmjs.com/package/@a_dove/dsh-plugin-registry)\r\n[![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE)\r\n\r\n> **语言 / Language：** [中文](README.md) · [English](README.en.md)\r\n\r\nDSH（DeepSeek Harness）**插件路径注册表**：一个因为我自己的DSH装在D盘，而被限制诸多从而想出的企划，功能为盘点 DSH 环境中所有已安装插件、预设与技能的真实路径与来源，自动发现新安装、被删除与版本变化，扫描插件文件中的 C 盘残留引用，并检查依赖完整性。提供 **Agent 自动工具**与 **Web GUI 面板**双入口。\r\n\r\n---\r\n\r\n## 作用\r\n\r\n- **全载体盘点**：统一登记 node_modules / profiles / 预设目录 / 技能目录中的插件、预设、技能条目（名称、版本、路径、载体类型），一次看清\"谁装在哪\"。\r\n- **变化监控（diff）**：以注册表缓存为基线自动对比——新安装 ➕ / 被删除 ➖ / 版本升级 🔄 逐条列出。\r\n- **C 盘残留扫描**：检查插件文件中对 C 盘路径的引用（快速 / 深度两种模式），支持交互式**白名单**压噪（命中 allowlist 的条目标记 suppressed，不消除、仍可见）。\r\n- **依赖完整性**：对包缺失依赖、元数据损坏给出提示。\r\n- **Agent 三件套工具**（会话中直接调用）：\r\n  - `plugin_registry_list` — 读缓存快速列出全部注册记录\r\n  - `plugin_registry_check` — 现场重新扫描 + 四项检查，生成报告（本地保留最近 10 份）\r\n  - `plugin_registry_report` — 读取最近一份检查报告（含 C 盘残留明细）\r\n- **GUI「插件路径管理」面板**：侧边栏一键打开；分组浏览（scope 分组 / 名称树）、按名称或修改时间排序、关键字搜索、在线执行检查并查看报告。\r\n\r\n## 适用范围\r\n\r\n**适合谁用：**\r\n\r\n- **DSH Web GUI 用户**：装了多个插件后想弄清某个插件装在哪个目录、属于哪个载体、什么版本；\r\n- **D盘安装者用户**：将DSH与本地_npx缓存同时迁移到D盘的用户；\r\n- **插件作者**：自研或发布插件安装后，验证安装位置、依赖与路径残留；\r\n- **需要审计的环境**：追踪插件变更历史（什么时候装了什么、哪次升级改了版本）。\r\n\r\n**限制与注意事项：**\r\n\r\n- 仅适用于 **DSH 环境**（扫描依赖 DSH_HOME 目录布局与插件载体结构），非 DSH 环境无意义；\r\n- `plugin_registry_list` 读取的是**缓存快照**（上次检查时生成），新装插件后需先执行一次 `plugin_registry_check` 刷新；\r\n- C 盘残留扫描结果**供人工决策**（哪些残留应当清理本由用户判断），插件本身**只读扫描**，不修改任何插件文件，仅写入自身数据目录（注册表缓存 / 报告 / 备份 / 白名单）。\r\n\r\n## 安装\r\n\r\n```bash\r\ndsh plugin --profile web add @a_dove/dsh-plugin-registry\r\n```\r\n\r\n或使用源码方式（开发者）：克隆本仓库后，将包链接到 web profile 的 `node_modules/@a_dove/` 下并在 `cordis.patch.yml` 挂载即可，详情见仓库代码结构。\r\n\r\n## 验证是否生效\r\n\r\n- **会话侧**：让 Agent 调用 `plugin_registry_list`，应返回注册表条目列表；调用 `plugin_registry_check` 生成一份检查报告。\r\n- **GUI 侧**：侧边栏出现「插件路径管理」入口，打开面板可看到分组条目与检查按钮。\r\n\r\n## 数据与报告\r\n\r\n| 位置（插件数据目录） | 内容 |\r\n|---|---|\r\n| `registry.json` | 注册表缓存（扫描基线） |\r\n| `reports/` | 检查报告（保留最近 10 份，md + json） |\r\n| `backups/` | 升级前自动备份（仅保留 1 份） |\r\n| `allowlist.json` | 交互式白名单（GUI 可编辑） |\r\n\r\n## 许可证\r\n\r\n[MIT](LICENSE) © 2026 鸽子鸽子鸽？","readmeFilename":"README.md"}