dsh-tool-vision 0.8.0 → 0.8.1

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.
package/README.md CHANGED
@@ -247,6 +247,13 @@ effect" plus a reload of the form. Hosts without `mutate()` fall back to
247
247
  **sequential** writes (each waits for its predecessor, keeping the revision chain
248
248
  intact) — never parallel.
249
249
 
250
+ Also removes three `if (typeof scope.load === "function") scope.load()` guards.
251
+ The `SettingsScope` seam has never had `load()` — it is `getSnapshot` /
252
+ `subscribe` / `mutate` / `set` / `unset`, and reads ride the shared describe
253
+ mirror driven by the Host's `settings/document-updated`. Those guards were dead
254
+ code that read like a refresh which never happened, and they made the missing
255
+ write verification look intentional.
256
+
250
257
  ## Limitations
251
258
 
252
259
  - A bridged image enters the conversation as a text hint (a transcript, not
package/README.zh.md CHANGED
@@ -176,6 +176,11 @@ fiber,15 个工具一并从模型侧消失。设置栏留在父 fiber 上,
176
176
  重新载入表单。没有 `mutate()` 的旧宿主回退为**串行**写入(每个等前一个完成,revision
177
177
  链条依然正确),绝不并行。
178
178
 
179
+ 另外删掉了 3 处 `if (typeof scope.load === "function") scope.load()`:`SettingsScope` 接口
180
+ 从来没有 `load()`(完整 seam 只有 getSnapshot / subscribe / mutate / set / unset,读走的是
181
+ 共享 describe 镜像,由宿主 `settings/document-updated` 驱动刷新)。这些守卫是照臆测 API 写的
182
+ 死代码,读起来像"已经刷新过了",反而掩盖了缺失的写入校验。
183
+
179
184
  ## 限制
180
185
 
181
186
  - 从 `0.6.3` 起最低支持 DSH `0.1.0-rc.7`,已针对 `0.1.0-rc.7`、
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-tool-vision",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "DeepSeek Harness 外置视觉模型插件:inspect_image 把本地图片或 http(s) 图片 URL 发给任意 OpenAI 兼容端点,视觉模型看图的文字回答直接带回对话;附 Web UI 设置栏。",
5
5
  "type": "module",
6
6
  "main": "index.js",