{"_id":"@aetheri-ai/dsh-show-image","_rev":"2-8a0358adb300ba50f981d10769e3e603","name":"@aetheri-ai/dsh-show-image","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@aetheri-ai/dsh-show-image","version":"0.1.0","keywords":["dsh","dsh-plugin","deepseek-harness","cordis"],"license":"MIT","_id":"@aetheri-ai/dsh-show-image@0.1.0","maintainers":[{"name":"aetheriai","email":"2840269475@qq.com"}],"homepage":"https://github.com/Aetheri-AI/dsh-plugins#readme","bugs":{"url":"https://github.com/Aetheri-AI/dsh-plugins/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dist":{"shasum":"102b1931430c0250b7c196d7f852644e66a9b885","tarball":"https://registry.npmjs.org/@aetheri-ai/dsh-show-image/-/dsh-show-image-0.1.0.tgz","fileCount":6,"integrity":"sha512-dhsAxM8PiCHw8yaDvczP+ff+b4Z4u/9OjZmLJFoCAXDm5BSQIdEsnU2lTXT1JMdh/iAyWVK2oIMw7rQDu9/IbA==","signatures":[{"sig":"MEUCIQDsygiqTl5VbSKdMz9abxRKU/PNbrvIo4P5AswatFwgtQIgMFuL4DLqIcKqSXiJInvN5GhcUpGdjEhDVnjGIdJs0jg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14423},"main":"lib/index.mjs","type":"module","_from":"file:/Users/mac/沃橙科技/dsh-plugins/dist/aetheri-ai-dsh-show-image-0.1.0.tgz","types":"lib/index.d.mts","exports":{".":{"types":"./lib/index.d.mts","default":"./lib/index.mjs"},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"aetheriai","email":"2840269475@qq.com"},"_resolved":"/Users/mac/沃橙科技/dsh-plugins/dist/aetheri-ai-dsh-show-image-0.1.0.tgz","_integrity":"sha512-dhsAxM8PiCHw8yaDvczP+ff+b4Z4u/9OjZmLJFoCAXDm5BSQIdEsnU2lTXT1JMdh/iAyWVK2oIMw7rQDu9/IbA==","repository":{"url":"git+https://github.com/Aetheri-AI/dsh-plugins.git","type":"git","directory":"packages/show-image"},"_npmVersion":"10.9.4","description":"DeepSeek Harness plugin: a model-facing show_image tool that presents a local image to the human viewer in the conversation.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.2","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-fs":"^0.1.1-rc.2","@deepseek-ai/dsh-llm":"^0.1.1-rc.2","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/dsh-sandbox":"^0.1.1-rc.2","@deepseek-ai/dsh-fs-local":"^0.1.1-rc.2","@deepseek-ai/dsh-attachment":"^0.1.1-rc.2","@deepseek-ai/dsh-system-prompt":"^0.1.1-rc.2","@deepseek-ai/cordis-plugin-loader":"^1.0.2","@deepseek-ai/dsh-attachment-local":"^0.1.1-rc.2","@deepseek-ai/cordis-plugin-include":"^1.0.6"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-fs":"^0.1.1-rc.2","@deepseek-ai/dsh-llm":"^0.1.1-rc.2","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","@deepseek-ai/dsh-sandbox":"^0.1.1-rc.2","@deepseek-ai/dsh-attachment":"^0.1.1-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/dsh-show-image_0.1.0_1787975851290_0.7995656578197834","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aetheri-ai/dsh-show-image","description":"DeepSeek Harness plugin: a model-facing show_image tool that presents a local image to the human viewer in the conversation.","version":"0.1.1","license":"MIT","type":"module","repository":{"type":"git","url":"git+https://github.com/Aetheri-AI/dsh-plugins.git","directory":"packages/show-image"},"main":"lib/index.mjs","types":"lib/index.d.mts","exports":{".":{"types":"./lib/index.d.mts","default":"./lib/index.mjs"},"./package.json":"./package.json"},"scripts":{"build":"tsdown","typecheck":"tsc --noEmit","test":"vitest run"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"keywords":["dsh","dsh-plugin","deepseek-harness","cordis"],"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-attachment":"^0.1.1-rc.2","@deepseek-ai/dsh-fs":"^0.1.1-rc.2","@deepseek-ai/dsh-llm":"^0.1.1-rc.2","@deepseek-ai/dsh-sandbox":"^0.1.1-rc.2","@deepseek-ai/dsh-tools":"^0.1.1-rc.2"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/cordis-plugin-include":"^1.0.6","@deepseek-ai/cordis-plugin-loader":"^1.0.2","@deepseek-ai/dsh-attachment":"^0.1.1-rc.2","@deepseek-ai/dsh-attachment-local":"^0.1.1-rc.2","@deepseek-ai/dsh-fs":"^0.1.1-rc.2","@deepseek-ai/dsh-fs-local":"^0.1.1-rc.2","@deepseek-ai/dsh-llm":"^0.1.1-rc.2","@deepseek-ai/dsh-sandbox":"^0.1.1-rc.2","@deepseek-ai/dsh-system-prompt":"^0.1.1-rc.2","@deepseek-ai/dsh-tools":"^0.1.1-rc.2","tsdown":"^0.22.2"},"_id":"@aetheri-ai/dsh-show-image@0.1.1","bugs":{"url":"https://github.com/Aetheri-AI/dsh-plugins/issues"},"homepage":"https://github.com/Aetheri-AI/dsh-plugins#readme","_integrity":"sha512-OK6odM+gAMTov4Q0mpYCvf3jlh6PZDm4LckRd/+Y/hm6WKDIyb0jMk/D7RCKapcj+w1U8++Pz0UOgnJHFPcKbg==","_resolved":"/Users/mac/沃橙科技/dsh-plugins/dist/aetheri-ai-dsh-show-image-0.1.1.tgz","_from":"file:/Users/mac/沃橙科技/dsh-plugins/dist/aetheri-ai-dsh-show-image-0.1.1.tgz","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-OK6odM+gAMTov4Q0mpYCvf3jlh6PZDm4LckRd/+Y/hm6WKDIyb0jMk/D7RCKapcj+w1U8++Pz0UOgnJHFPcKbg==","shasum":"79213d35f067237e13d0e2afaed860e702158583","tarball":"https://registry.npmjs.org/@aetheri-ai/dsh-show-image/-/dsh-show-image-0.1.1.tgz","fileCount":6,"unpackedSize":16293,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDKc2ZTODWop4hR0bHPN3eaSKRElBgmkiPIK6WEsmrCAQIhAMva/gTCkbwTQEuRllV7gPwVubQDH20ZlvfiQGdTjXDQ"}]},"_npmUser":{"name":"aetheriai","email":"2840269475@qq.com"},"directories":{},"maintainers":[{"name":"aetheriai","email":"2840269475@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-show-image_0.1.1_1787976271406_0.2852493241986964"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-29T03:57:31.090Z","modified":"2026-08-29T04:04:31.707Z","0.1.0":"2026-08-29T03:57:31.427Z","0.1.1":"2026-08-29T04:04:31.550Z"},"bugs":{"url":"https://github.com/Aetheri-AI/dsh-plugins/issues"},"license":"MIT","homepage":"https://github.com/Aetheri-AI/dsh-plugins#readme","keywords":["dsh","dsh-plugin","deepseek-harness","cordis"],"repository":{"type":"git","url":"git+https://github.com/Aetheri-AI/dsh-plugins.git","directory":"packages/show-image"},"description":"DeepSeek Harness plugin: a model-facing show_image tool that presents a local image to the human viewer in the conversation.","maintainers":[{"name":"aetheriai","email":"2840269475@qq.com"}],"readme":"# @aetheri-ai/dsh-show-image\n\nEnglish | [README.md](README.md)\n\n一个 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 插件，添加 `show_image` 工具：模型可以把本地现有的 PNG、JPEG、WebP 或 GIF 文件展示给人类观众，在 Web 会话记录中内联渲染。\n\n## 安装\n\n在提供文件系统、工具运行时与持久附件的基础 profile（`dsh-base` 三者齐备）上安装。按 dsh 的安装方式选择对应命令：\n\n```sh\n# 已全局安装 dsh\ndsh plugin --profile web add @aetheri-ai/dsh-show-image\n\n# 直接从 npm 运行 dsh\nnpx @deepseek-ai/dsh plugin --profile web add @aetheri-ai/dsh-show-image\n\n# deepseek-harness 源码 checkout\npnpm dsh plugin --profile web add @aetheri-ai/dsh-show-image\n```\n\n重启 Web profile 后新建会话。新发布版本可能尚未同步到配置的镜像源；需要时在安装命令末尾追加 `--registry=https://registry.npmjs.org`。\n\n用以下命令确认 bundle 已进入组合树：\n\n```sh\ndsh --profile web --dump-config\n```\n\n输出中会有 `@aetheri-ai/dsh-show-image` 段和 `show-image` 行。卸载命令：\n\n```sh\ndsh plugin --profile web remove @aetheri-ai/dsh-show-image\n```\n\n## 使用\n\n在新会话中让模型展示一张已有的受支持图片，例如“在会话中展示 `docs/architecture.png`”。模型会调用：\n\n```json\n{ \"file_path\": \"docs/architecture.png\" }\n```\n\n相对路径按会话工作区解析。工具把图片提交到持久附件存储，返回 image block，Web 客户端内联渲染（复用既有的加载、重试与放大查看行为）。实际发起工具调用的模型路由仍需具备正常的 dsh provider/API key 配置。\n\n## 设计\n\n- **纯展示**：工具面向人类观众，不要求模型具备视觉路由——模型需要检查像素时用 `read_image`。\n- **尊重策略**：路径经文件系统提供方解析，沙箱限制与文件策略原样生效。\n- **持久化**：图片以内容寻址附件存储，日志中不出现临时路径或内联 base64。\n- **条件注册**：仅在持久附件存储挂载时注册。\n\n## 兼容性\n\npeer 依赖跟随 dsh 的 npm 发版线（`^0.1.1-rc.2`，cordis `^4.0.1`）。dsh 处于 developer preview，破坏性发版时本插件同步更新。\n\n## 开发\n\n```sh\npnpm install\npnpm run test        # 单元 + 真实 Loader 组合测试\npnpm run build       # tsdown 产出到 lib/\npnpm run typecheck\n```\n\n## 许可\n\n[MIT](../../LICENSE)\n","readmeFilename":"README.zh.md"}