dsh-plugin-read-image-preview 1.4.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +129 -33
  3. package/client.js +2594 -718
  4. package/index.js +584 -119
  5. package/package.json +11 -2
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "dsh-plugin-read-image-preview",
3
- "version": "1.4.1",
3
+ "version": "1.6.0",
4
4
  "license": "MIT",
5
5
  "keywords": ["dsh-plugin", "deepseek-harness", "dsh", "image", "preview", "screenshot", "tool-card", "ui"],
6
6
  "publishConfig": { "registry": "https://registry.npmjs.org" },
7
7
  "repository": { "type": "git", "url": "git+https://github.com/tofu-zyc/dsh-plugin-tofu-box.git", "directory": "dsh-plugin-read-image-preview" },
8
8
  "bugs": { "url": "https://github.com/tofu-zyc/dsh-plugin-tofu-box/issues" },
9
9
  "homepage": "https://github.com/tofu-zyc/dsh-plugin-tofu-box/tree/main/dsh-plugin-read-image-preview",
10
- "description": "通用工具图像卡片:read_image 走宿主文件预览;任何结果携带 image 附件的工具(如 computer-use 截图)自动渲染同款缩略图。常驻缩略图、像素尺寸与格式、Ctrl+滚轮缩放与拖动平移、复制路径。接入新图像工具只需加一行 key。",
10
+ "description": "会话图片的全屏查看与标注:接管官方图库位置(read_image 行、消息图片)与 computer-use 等工具卡片;查看器工具常驻,标记可选中/移动/改尺寸,滚轮缩放、触控板捏合与双指平移;回车把图片(含标注、按裁剪)直接放进输入框,也可复制或存进 ~/.dsh/screenshots;输入框旁一键抓屏后直接框选;设置页管理与按期清理截图。",
11
11
  "type": "module",
12
12
  "main": "index.js",
13
13
  "exports": {
@@ -15,6 +15,15 @@
15
15
  "./client": "./client.js",
16
16
  "./package.json": "./package.json"
17
17
  },
18
+ "peerDependencies": {
19
+ "@deepseek-ai/schemastery": "^3.18.2"
20
+ },
21
+ "peerDependenciesMeta": {
22
+ "@deepseek-ai/schemastery": { "optional": true }
23
+ },
24
+ "scripts": {
25
+ "test": "node --test tests/*.test.mjs"
26
+ },
18
27
  "dsh": {
19
28
  "bundle": {
20
29
  "patch": "./cordis.patch.yml"