dsh-tool-vision 0.10.0 → 0.10.2
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 +14 -0
- package/README.zh.md +373 -361
- package/client.js +163 -71
- 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 +15 -11
package/README.md
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
# dsh-tool-vision
|
|
2
|
+
|
|
3
|
+
## DSH 0.2.1-rc.1
|
|
4
|
+
|
|
5
|
+
Supports DSH 0.2.1-rc.1. Compatibility is declared through `engines.dsh` and matching peer ranges, including this exact prerelease. The existing 0.2.0-rc.2 support is retained.
|
|
2
6
|
|
|
7
|
+
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.
|
|
8
|
+
|
|
3
9
|
## Configuration page (DSH 0.2.0-rc.2 and later)
|
|
4
10
|
|
|
5
11
|
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.
|
|
6
12
|
|
|
13
|
+
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.
|
|
14
|
+
|
|
7
15
|
[](README.zh.md)
|
|
8
16
|
|
|
9
17
|
**GitHub**: [Scorp1o117/dsh-tool-vision](https://github.com/Scorp1o117/dsh-tool-vision) · **npm**: [dsh-tool-vision](https://www.npmjs.com/package/dsh-tool-vision)
|
|
@@ -346,6 +354,12 @@ looked completely dead. Nothing below the DOM can catch that class of bug.
|
|
|
346
354
|
|
|
347
355
|
## Capability probe: `vision_probe_model` (v0.9.0)
|
|
348
356
|
|
|
357
|
+
Each request defaults to a 60-second deadline and 2048 output tokens. Response
|
|
358
|
+
bodies are limited to 1 MiB while streaming; an oversized body stops the read
|
|
359
|
+
and yields `unknown`. Authentication, rate-limit and server errors remain
|
|
360
|
+
`unknown` even if their messages mention image input. Only HTTP 400, 415 or
|
|
361
|
+
422 image-rejection errors yield a negative verdict from an error response.
|
|
362
|
+
|
|
349
363
|
Every other signal here rests on what a model **says** about itself. This tool
|
|
350
364
|
sends a real image to the route and reports what it **does** — the only
|
|
351
365
|
ground truth in the plugin.
|