dsh-tool-vision 0.3.7 → 0.3.9
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 +17 -0
- package/README.zh.md +4 -0
- package/client.js +1 -1
- package/cordis.patch.yml +8 -0
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
**GitHub**: [Scorp1o117/dsh-tool-vision](https://github.com/Scorp1o117/dsh-tool-vision) · **npm**: [dsh-tool-vision](https://www.npmjs.com/package/dsh-tool-vision)
|
|
6
6
|
|
|
7
|
+
[](https://github.com/Scorp1o117/dsh-enhancement-suite) [](https://www.npmjs.com/package/dsh-enhancement-suite)
|
|
8
|
+
|
|
9
|
+
Part of the [DeepSeek Harness Enhancement Suite](https://github.com/Scorp1o117/dsh-enhancement-suite) — Vision · Soul/Persona · Long-term Memory · Plugin Marketplace.
|
|
10
|
+
|
|
7
11
|
External vision model for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness).
|
|
8
12
|
|
|
9
13
|
DeepSeek's own models are text-only, and the harness derives every model
|
|
@@ -125,6 +129,19 @@ Example endpoints (`baseURL`):
|
|
|
125
129
|
- **Moonshot (Kimi)**: `https://api.moonshot.cn/v1` — `moonshot-v1-8k-vision-preview`
|
|
126
130
|
- **Ollama local**: `http://localhost:11434/v1` — `llama3.2-vision` (no key)
|
|
127
131
|
|
|
132
|
+
|
|
133
|
+
> **Note for users**
|
|
134
|
+
> - This plugin is a standard **profile bundle** (`dsh.bundle.patch`):
|
|
135
|
+
> `dsh plugin --profile web add dsh-tool-vision` installs and mounts it in
|
|
136
|
+
> one step — no manual `cordis.patch.yml` edits needed.
|
|
137
|
+
> - The settings section needs the `dsh-host-apiproxy` namespace allowlist;
|
|
138
|
+
> the plugin patches it automatically on first start — **restart `dsh web`
|
|
139
|
+
> once more** and the section appears. A dsh update overwrites the patch;
|
|
140
|
+
> the next plugin start re-applies it.
|
|
141
|
+
> - Settings changes hot-apply (no restart needed).
|
|
142
|
+
> - Tested against DSH `0.1.0-rc.6`.
|
|
143
|
+
|
|
144
|
+
|
|
128
145
|
## Limitations
|
|
129
146
|
|
|
130
147
|
- A bridged image enters the conversation as a text hint (a transcript, not
|
package/README.zh.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
**GitHub**: [Scorp1o117/dsh-tool-vision](https://github.com/Scorp1o117/dsh-tool-vision) · **npm**: [dsh-tool-vision](https://www.npmjs.com/package/dsh-tool-vision) · [English](README.md)
|
|
4
4
|
|
|
5
|
+
[](https://github.com/Scorp1o117/dsh-enhancement-suite) [](https://www.npmjs.com/package/dsh-enhancement-suite)
|
|
6
|
+
|
|
7
|
+
属于 [DeepSeek Harness Enhancement Suite](https://github.com/Scorp1o117/dsh-enhancement-suite) —— Vision · Soul/Persona · 长期记忆 · 插件市场。
|
|
8
|
+
|
|
5
9
|
给 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 外接**视觉模型**的插件。
|
|
6
10
|
|
|
7
11
|
DeepSeek 自家模型是纯文本的,而且 harness 的每次模型请求都**严格从会话日志推导**(`llm/stream` 请求必须与持久化推导一致,否则 agent-loop invariant 会报 `log-reconstruction desync`)。本插件用两条路径补上缺口:
|
package/client.js
CHANGED
|
@@ -30,7 +30,7 @@ window.__ModuleLoader__.load({
|
|
|
30
30
|
".__tv_btn{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);color:var(--dsw-alias-label-primary);border-radius:8px;padding:6px 14px;font:inherit;font-size:13px;cursor:pointer}" +
|
|
31
31
|
".__tv_btn:hover:not(:disabled){border-color:var(--dsw-alias-state-business-primary)}" +
|
|
32
32
|
".__tv_btn:disabled{opacity:.5;cursor:default}" +
|
|
33
|
-
".__tv_btnPrimary{border-color:var(--dsw-alias-state-business-primary);background:var(--dsw-alias-state-business-primary);color
|
|
33
|
+
".__tv_btnPrimary{border-color:var(--dsw-alias-state-business-primary, #3964fe);background:var(--dsw-alias-state-business-primary, #3964fe);color:#fff}" +
|
|
34
34
|
".__tv_status{font-size:12px;color:var(--dsw-alias-label-tertiary)}" +
|
|
35
35
|
".__tv_error{font-size:12px;color:var(--dsw-alias-state-error-primary)}" +
|
|
36
36
|
".__tv_unavailable{font-size:13px;color:var(--dsw-alias-label-tertiary)}";
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# dsh-tool-vision — bundle patch layer
|
|
2
|
+
#
|
|
3
|
+
# Declares the plugin as a Cordis loader entry, making the package a standard
|
|
4
|
+
# profile bundle: `dsh plugin --profile <p> add dsh-tool-vision` installs and
|
|
5
|
+
# mounts it without manual cordis.patch.yml edits.
|
|
6
|
+
- insert:
|
|
7
|
+
- id: tool-vision
|
|
8
|
+
name: 'dsh-tool-vision'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-tool-vision",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"description": "DeepSeek Harness 外置视觉模型插件:inspect_image 把本地图片或 http(s) 图片 URL 发给任意 OpenAI 兼容端点,视觉模型看图的文字回答直接带回对话;附 Web UI 设置栏。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
"./package.json": "./package.json"
|
|
11
11
|
},
|
|
12
12
|
"dsh": {
|
|
13
|
+
"bundle": {
|
|
14
|
+
"patch": "./cordis.patch.yml"
|
|
15
|
+
},
|
|
13
16
|
"client": {
|
|
14
17
|
"platform": "web"
|
|
15
18
|
}
|
|
@@ -17,6 +20,7 @@
|
|
|
17
20
|
"files": [
|
|
18
21
|
"index.js",
|
|
19
22
|
"client.js",
|
|
23
|
+
"cordis.patch.yml",
|
|
20
24
|
"README.md",
|
|
21
25
|
"README.zh.md",
|
|
22
26
|
"LICENSE",
|