{"_id":"@anionex/dsh-tool-pruner","_rev":"3-9104eafee444dc5e14e9c320338a8fd5","name":"@anionex/dsh-tool-pruner","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@anionex/dsh-tool-pruner","version":"0.1.0","keywords":["deepseek","deepseek-harness","tool-policy","prompt"],"license":"MIT","_id":"@anionex/dsh-tool-pruner@0.1.0","maintainers":[{"name":"anionex","email":"davidyang042@gmail.com"}],"homepage":"https://github.com/Anionex/dsh-tool-pruner#readme","bugs":{"url":"https://github.com/Anionex/dsh-tool-pruner/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"5f67669a1c39d71e0e671ff1cfefc318a89759b3","tarball":"https://registry.npmjs.org/@anionex/dsh-tool-pruner/-/dsh-tool-pruner-0.1.0.tgz","fileCount":11,"integrity":"sha512-mPLoKhfRpTbRxy+Wq1JX+RYRqXyMWcVk5wlPPsSqzP4cCLiM21vzob5FERi812+yaQ/naBpDMhhhaXl+zJzGQw==","signatures":[{"sig":"MEUCIQD4OAtZlfCiccY6OWgHY/QWjETQf1cJ6fcEtjnJQ+nVWgIgZ85jJlriL7q++8yh4hq7VmB6zyarU8QKoVl6p5a9luY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17850},"main":"lib/index.js","type":"module","types":"lib/types/index.d.ts","engines":{"node":"^22.19.0 || >=24.0.0"},"exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"gitHead":"41ddeeef83744fbc3f0fce43a3ba4fd6bff05116","scripts":{"test":"pnpm run build && vitest run tests","build":"tsc -p tsconfig.json","prepack":"pnpm run build","prepublishOnly":"pnpm test"},"_npmUser":{"name":"anionex","email":"davidyang042@gmail.com"},"repository":{"url":"git+https://github.com/Anionex/dsh-tool-pruner.git","type":"git"},"_npmVersion":"11.19.0","description":"Hide DSH read, grep, and glob tools and their prompt guidance so agents use bash instead","directories":{},"_nodeVersion":"26.8.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@11.8.0","devDependencies":{"vitest":"^4.1.8","typescript":"^6.0.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-agent":"0.1.2-rc.1","@deepseek-ai/dsh-scope":"0.1.2-rc.1","@deepseek-ai/dsh-tools":"0.1.2-rc.1","@deepseek-ai/dsh-system-prompt":"0.1.2-rc.1"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-agent":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-tools":">=0.1.0-rc.6 <0.2.0","@deepseek-ai/dsh-system-prompt":">=0.1.0-rc.6 <0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-tool-pruner_0.1.0_1788540635715_0.5630775799348402","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Dynamic tool registrations can re-expose hidden schemas. Use 0.1.1 or later."},"0.1.1":{"name":"@anionex/dsh-tool-pruner","version":"0.1.1","keywords":["deepseek","deepseek-harness","tool-policy","prompt"],"license":"MIT","_id":"@anionex/dsh-tool-pruner@0.1.1","maintainers":[{"name":"anionex","email":"davidyang042@gmail.com"}],"homepage":"https://github.com/Anionex/dsh-tool-pruner#readme","bugs":{"url":"https://github.com/Anionex/dsh-tool-pruner/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"e48d431a3fc6229ed543868d6c1de297fe52c322","tarball":"https://registry.npmjs.org/@anionex/dsh-tool-pruner/-/dsh-tool-pruner-0.1.1.tgz","fileCount":11,"integrity":"sha512-uCFQSyuGb8GoEgllQM4jJTjJRISVf0oZzdONUr2cx9AggwbjGoMjMbAJebb7imc8Sq8lEMlB1vTg9KE1SomYdA==","signatures":[{"sig":"MEUCIQDIxXr3z/s+Slkvf13lyRttFu/UcxPypW8fEnFXZItBPAIge5Zdh71/ksbcbhOa3UFUbmJ6DJUammGbTGd36VW/Sis=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21078},"main":"lib/index.js","type":"module","types":"lib/types/index.d.ts","engines":{"node":"^22.19.0 || >=24.0.0"},"exports":{".":{"types":"./lib/types/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json","./cordis.patch.yml":"./cordis.patch.yml"},"gitHead":"fcbffa6c14fa2730ccc6f79dd758eb3d507e6af5","scripts":{"test":"pnpm run build && vitest run tests","build":"tsc -p tsconfig.json","prepack":"pnpm run build","prepublishOnly":"pnpm test"},"_npmUser":{"name":"anionex","email":"davidyang042@gmail.com"},"repository":{"url":"git+https://github.com/Anionex/dsh-tool-pruner.git","type":"git"},"_npmVersion":"11.19.0","description":"Hide DSH read, grep, and glob tools and their prompt guidance so agents use bash instead","directories":{},"_nodeVersion":"26.8.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@11.8.0","devDependencies":{"vitest":"^4.1.8","typescript":"^6.0.3","@types/node":"^22.20.0","@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-agent":"0.1.2-rc.1","@deepseek-ai/dsh-scope":"0.1.2-rc.1","@deepseek-ai/dsh-tools":"0.1.2-rc.1","@deepseek-ai/dsh-system-prompt":"0.1.2-rc.1"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-agent":">=0.1.2-alpha.1 <0.2.0","@deepseek-ai/dsh-tools":">=0.1.2-alpha.1 <0.2.0","@deepseek-ai/dsh-system-prompt":">=0.1.2-alpha.1 <0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/dsh-tool-pruner_0.1.1_1788541379036_0.7032652728034556","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-09-04T16:50:35.515Z","modified":"2026-09-04T17:03:35.652Z","0.1.0":"2026-09-04T16:50:35.859Z","0.1.1":"2026-09-04T17:02:59.178Z"},"bugs":{"url":"https://github.com/Anionex/dsh-tool-pruner/issues"},"license":"MIT","homepage":"https://github.com/Anionex/dsh-tool-pruner#readme","keywords":["deepseek","deepseek-harness","tool-policy","prompt"],"repository":{"url":"git+https://github.com/Anionex/dsh-tool-pruner.git","type":"git"},"description":"Hide DSH read, grep, and glob tools and their prompt guidance so agents use bash instead","maintainers":[{"name":"anionex","email":"davidyang042@gmail.com"}],"readme":"# @anionex/dsh-tool-pruner\n\n这是一个精简的 DeepSeek Harness Bundle。它从模型可见工具面移除\n`read`、`grep` 和 `glob`，让 Agent 改用 `bash` 检查和搜索文本文件。\n\n[English](./README.md)\n\n插件本身不会新增任何模型工具。它会为每个运行中的 Agent：\n\n1. 添加 Agent 作用域的工具限制，隐藏 `read`、`grep` 和 `glob`；\n2. 在每次最终提示词组装时移除这些 schema，以及对应的\n   `tool:read`、`tool:grep` 和 `tool:glob` 专用提示词段；\n3. 在插件卸载时恢复这些工具和提示词。\n\n这是提示词和工具面的精简措施，不是文件系统安全边界。拥有 `bash`\n的 Agent 仍然可以读取和搜索文件。\n\n## 安装\n\n```sh\ndsh plugin --profile desktop add @anionex/dsh-tool-pruner\n```\n\n重启对应 Profile，然后新建或恢复会话。下一次模型请求仍会包含 `bash`，\n但不再包含 `read`、`grep`、`glob` 的 schema 和专用指导。\n\n## 卸载\n\n```sh\ndsh plugin --profile desktop remove @anionex/dsh-tool-pruner\n```\n\n卸载后重启对应 Profile。\n\n本地开发时，将安装命令中的包名替换为仓库路径。\n\n## 开发\n\n```sh\npnpm install\npnpm test\npnpm pack --dry-run\n```\n","readmeFilename":"README.zh.md"}