dsh-tool-vision 0.9.7 → 0.10.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 +15 -1
- package/README.zh.md +369 -357
- package/client.js +166 -76
- package/cordis.patch.yml +8 -8
- package/index.js +8 -8
- package/lib/model-probe.js +42 -11
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +100 -98
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# dsh-tool-vision
|
|
2
2
|
|
|
3
|
+
The plugin follows the DSH language setting (Chinese and English in DSH 0.2.0-rc.2), including configuration, status messages and plugin-list metadata. Language-pack locales use the host fallback chain. Switching languages preserves unsaved settings; there is no separate plugin language selector.
|
|
4
|
+
|
|
5
|
+
## Configuration page (DSH 0.2.0-rc.2 and later)
|
|
6
|
+
|
|
7
|
+
Open **Plugins → Installed → dsh-tool-vision** from the homepage sidebar to configure and save this plugin. The page uses the official `plugins.bundle.config` interface, without a duplicate entry in global Settings. Web and Desktop share the page. This version requires DSH 0.2.0-rc.2 or a later 0.2.x host; existing configuration is retained.
|
|
8
|
+
|
|
9
|
+
Choose **Automatic images and previews** to enable image bridging, automatic admission and thumbnails together, or **Vision tools only** for explicit tool calls. Enter the endpoint, key and model on the main page; model overrides and request tuning live under **Advanced**. Existing mixed switch values appear as **Custom combination** and are retained until you change them. Selecting a mode edits a draft; click Save to apply it. Only edited fields are written, blank keys are preserved, and rejected writes keep the draft.
|
|
10
|
+
|
|
3
11
|
[](README.zh.md)
|
|
4
12
|
|
|
5
13
|
**GitHub**: [Scorp1o117/dsh-tool-vision](https://github.com/Scorp1o117/dsh-tool-vision) · **npm**: [dsh-tool-vision](https://www.npmjs.com/package/dsh-tool-vision)
|
|
@@ -274,7 +282,7 @@ did nothing on a route spelled `xiaomi/mimo-v2.5` — fixed here, and the fix on
|
|
|
274
282
|
ever *adds* models to the direct set (no entry that used to force a model direct
|
|
275
283
|
stops doing so).
|
|
276
284
|
|
|
277
|
-
**In the panel** (
|
|
285
|
+
**In the panel** (Plugins → dsh-tool-vision Model):
|
|
278
286
|
|
|
279
287
|
- the list field is followed by a **clickable list of the models dsh actually has
|
|
280
288
|
configured** (`llm.listProviders()` + `llm.listModels()`), grouped by provider
|
|
@@ -342,6 +350,12 @@ looked completely dead. Nothing below the DOM can catch that class of bug.
|
|
|
342
350
|
|
|
343
351
|
## Capability probe: `vision_probe_model` (v0.9.0)
|
|
344
352
|
|
|
353
|
+
Each request defaults to a 60-second deadline and 2048 output tokens. Response
|
|
354
|
+
bodies are limited to 1 MiB while streaming; an oversized body stops the read
|
|
355
|
+
and yields `unknown`. Authentication, rate-limit and server errors remain
|
|
356
|
+
`unknown` even if their messages mention image input. Only HTTP 400, 415 or
|
|
357
|
+
422 image-rejection errors yield a negative verdict from an error response.
|
|
358
|
+
|
|
345
359
|
Every other signal here rests on what a model **says** about itself. This tool
|
|
346
360
|
sends a real image to the route and reports what it **does** — the only
|
|
347
361
|
ground truth in the plugin.
|