dsh-draw 0.2.12 → 0.2.14
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/CHANGELOG.md +17 -0
- package/{README.es.md → README-es.md} +3 -3
- package/{README.hi.md → README-hi.md} +3 -3
- package/{README.pt.md → README-pt.md} +3 -3
- package/{README.zh.md → README-zh.md} +3 -3
- package/README.md +3 -3
- package/lib/index.js +1 -1
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.js +1 -1
- package/package.json +23 -23
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
|
|
9
|
+
## [0.2.14] - 2026-09-12
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- Read the plugin version from `src/version.ts` in the assembly spec instead of hardcoding it, so a release commit no longer turns CI red. Re-releases 0.2.13, whose tag CI failed on the stale literal.
|
|
14
|
+
|
|
15
|
+
## [0.2.13] - 2026-09-12
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Rename the four translated READMEs to `README-<lang>.md`. npm selects the package-page readme as the first markdown file matching its `{README,README.*}` glob (`@npmcli/package-json`, publish path), and that glob order puts `README.<lang>.md` ahead of `README.md` — so npm was serving the Simplified-Chinese file for this package too (measured on 15/15 sampled packages of the family). The new names sit outside the glob, so the English source is served again. No content changed apart from the language-switcher link each translation holds to its siblings, and the repo readme gate still passes. Takes effect with the next release; an already-published version cannot gain a corrected readme retroactively.
|
|
20
|
+
- Pin the `@deepseek-ai/dsh-*` dev/test dependencies to the published `0.1.5-rc.2` line and record `0.1.5-rc.2` in `dshWorkshop.compatibility.dshVersions`; the monthly Compat workflow now runs against `0.1.5-rc.2`. The peer range `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0` is unchanged, so no supported host line is dropped.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- The release workflow claimed provenance but never passed the flag: it runs `npm publish --access public`, and npm only attests a token-based publish when `--provenance` is given explicitly. The publish step is now `npm publish --access public --provenance`, matching `dsh-github` and `dsh-plugin-guide`. Takes effect from the next release; an already-published version cannot gain attestations retroactively.
|
|
8
25
|
## [0.2.12] - 2026-09-10
|
|
9
26
|
|
|
10
27
|
### Fixed
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
18
18
|
|
|
19
|
-
[English](README.md) · [简体中文](README
|
|
19
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| Superficie | Estado |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2` (compatibilidad declarada para `0.1.5-rc.2`) |
|
|
30
30
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
31
31
|
| Motores | Cualquier endpoint de imágenes compatible con OpenAI; presets para OpenAI Images (`gpt-image-1`) y Zhipu CogView (`cogview-3-flash`) |
|
|
32
32
|
| Superficies | Herramienta host `image_generate` + tarjeta de resultado web + pestaña de ajustes de Plugins |
|
|
@@ -143,7 +143,7 @@ Ejemplo de sobrescritura en el parche de tu perfil:
|
|
|
143
143
|
```sh
|
|
144
144
|
pnpm install # node ^22.19 || >=24
|
|
145
145
|
pnpm run typecheck # tsc: src + tests contra el checkout local del harness
|
|
146
|
-
pnpm run typecheck:ci # tsc contra las caras publicadas 0.1.5-rc.
|
|
146
|
+
pnpm run typecheck:ci # tsc contra las caras publicadas 0.1.5-rc.2 (sin paths)
|
|
147
147
|
pnpm test # vitest: 107 tests, 16 archivos de prueba (transporte guionado, Context/Session/ToolRuntime reales)
|
|
148
148
|
pnpm run build # declaraciones tsc + bundles tsdown (lib/)
|
|
149
149
|
pnpm run verify:self-contained # las especificaciones de dependencias resuelven desde el registry
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
18
18
|
|
|
19
|
-
[English](README.md) · [简体中文](README
|
|
19
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| सतह | स्थिति |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2` (`0.1.5-rc.2` के लिए घोषित संगतता) |
|
|
30
30
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
31
31
|
| इंजन | कोई भी OpenAI-संगत images एंडपॉइंट; OpenAI Images (`gpt-image-1`) और Zhipu CogView (`cogview-3-flash`) प्रीसेट |
|
|
32
32
|
| सतहें | Host `image_generate` टूल + वेब परिणाम कार्ड + Plugins सेटिंग टैब |
|
|
@@ -143,7 +143,7 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-draw'
|
|
|
143
143
|
```sh
|
|
144
144
|
pnpm install # node ^22.19 || >=24
|
|
145
145
|
pnpm run typecheck # tsc: src + tests स्थानीय हार्नेस चेकआउट के विरुद्ध
|
|
146
|
-
pnpm run typecheck:ci # tsc प्रकाशित 0.1.5-rc.
|
|
146
|
+
pnpm run typecheck:ci # tsc प्रकाशित 0.1.5-rc.2 फ़ेस के विरुद्ध (बिना paths)
|
|
147
147
|
pnpm test # vitest: 107 टेस्ट, 16 टेस्ट फ़ाइलें (स्क्रिप्टेड ट्रांसपोर्ट, वास्तविक Context/Session/ToolRuntime)
|
|
148
148
|
pnpm run build # tsc घोषणाएँ + tsdown बंडल (lib/)
|
|
149
149
|
pnpm run verify:self-contained # निर्भरता स्पेक registry से हल होती हैं
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
18
18
|
|
|
19
|
-
[English](README.md) · [简体中文](README
|
|
19
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| Superfície | Status |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2` (compatibilidade declarada para `0.1.5-rc.2`) |
|
|
30
30
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
31
31
|
| Motores | Qualquer endpoint de imagens compatível com OpenAI; presets para OpenAI Images (`gpt-image-1`) e Zhipu CogView (`cogview-3-flash`) |
|
|
32
32
|
| Superfícies | Ferramenta host `image_generate` + cartão de resultado web + aba de ajustes de Plugins |
|
|
@@ -143,7 +143,7 @@ Exemplo de sobrescrita no patch do seu perfil:
|
|
|
143
143
|
```sh
|
|
144
144
|
pnpm install # node ^22.19 || >=24
|
|
145
145
|
pnpm run typecheck # tsc: src + tests contra o checkout local do harness
|
|
146
|
-
pnpm run typecheck:ci # tsc contra as faces publicadas 0.1.5-rc.
|
|
146
|
+
pnpm run typecheck:ci # tsc contra as faces publicadas 0.1.5-rc.2 (sem paths)
|
|
147
147
|
pnpm test # vitest: 107 testes, 16 arquivos de teste (transporte roteirizado, Context/Session/ToolRuntime reais)
|
|
148
148
|
pnpm run build # declarações tsc + bundles tsdown (lib/)
|
|
149
149
|
pnpm run verify:self-contained # as especificações de dependências resolvem pelo registry
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
18
18
|
|
|
19
|
-
[English](README.md) · [简体中文](README
|
|
19
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| 方面 | 状态 |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2`(声明兼容 `0.1.5-rc.2`) |
|
|
30
30
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
31
31
|
| 引擎 | 任意 OpenAI 兼容图像端点;内置 OpenAI Images(`gpt-image-1`)与智谱 CogView(`cogview-3-flash`)预设 |
|
|
32
32
|
| 界面 | Host `image_generate` 工具 + Web 结果卡片 + Plugins 设置页签 |
|
|
@@ -143,7 +143,7 @@ profile patch 中的覆盖示例:
|
|
|
143
143
|
```sh
|
|
144
144
|
pnpm install # node ^22.19 || >=24
|
|
145
145
|
pnpm run typecheck # tsc:src + tests,对照本地 harness checkout
|
|
146
|
-
pnpm run typecheck:ci # tsc:对照已发布的 0.1.5-rc.
|
|
146
|
+
pnpm run typecheck:ci # tsc:对照已发布的 0.1.5-rc.2 类型(无 paths)
|
|
147
147
|
pnpm test # vitest:107 个测试、16 个测试文件(scripted 传输、真实 Context/Session/ToolRuntime)
|
|
148
148
|
pnpm run build # tsc 声明 + tsdown 打包(lib/)
|
|
149
149
|
pnpm run verify:self-contained # 依赖声明全部来自 registry
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
18
18
|
[](https://www.npmjs.com/package/dsh-draw)
|
|
19
19
|
|
|
20
|
-
[English](README.md) · [简体中文](README
|
|
20
|
+
[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)
|
|
21
21
|
|
|
22
22
|
</div>
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
| Surface | Status |
|
|
29
29
|
|---|---|
|
|
30
|
-
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.
|
|
30
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-rc.2` (compat declared for `0.1.5-rc.2`) |
|
|
31
31
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
32
32
|
| Engines | Any OpenAI-compatible images endpoint; presets for OpenAI Images (`gpt-image-1`) and Zhipu CogView (`cogview-3-flash`) |
|
|
33
33
|
| Surfaces | Host `image_generate` tool + web result card + Plugins settings tab |
|
|
@@ -144,7 +144,7 @@ Example override in your profile patch:
|
|
|
144
144
|
```sh
|
|
145
145
|
pnpm install # node ^22.19 || >=24
|
|
146
146
|
pnpm run typecheck # tsc: src + tests against the local harness checkout
|
|
147
|
-
pnpm run typecheck:ci # tsc against the published 0.1.5-rc.
|
|
147
|
+
pnpm run typecheck:ci # tsc against the published 0.1.5-rc.2 faces (no paths)
|
|
148
148
|
pnpm test # vitest: 107 tests, 16 test files (scripted transport, real Context/Session/ToolRuntime)
|
|
149
149
|
pnpm run build # tsc declarations + tsdown bundles (lib/)
|
|
150
150
|
pnpm run verify:self-contained # dependency specs resolve from the registry
|
package/lib/index.js
CHANGED
|
@@ -1359,7 +1359,7 @@ var EngineRouter = class {
|
|
|
1359
1359
|
* @module dsh-draw/version
|
|
1360
1360
|
*/
|
|
1361
1361
|
/** Plugin version; must equal the `version` field in `package.json`. */
|
|
1362
|
-
const PLUGIN_VERSION = "0.2.
|
|
1362
|
+
const PLUGIN_VERSION = "0.2.14";
|
|
1363
1363
|
//#endregion
|
|
1364
1364
|
//#region src/service.ts
|
|
1365
1365
|
/**
|
package/lib/types/version.d.ts
CHANGED
package/lib/types/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-draw",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"description": "Unified static-image generation router for DeepSeek Harness: one image_generate tool with standard parameters, config-driven OpenAI-compatible engine routing (OpenAI Images, Zhipu CogView, and any compatible endpoint) with health-aware fallback, durable workspace attachment results, per-session quota accounting, an in-conversation result card, and a Plugins settings panel that stores API keys as credential references.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"SECURITY.md",
|
|
44
44
|
"THIRD_PARTY_NOTICES.md",
|
|
45
45
|
"README.md",
|
|
46
|
-
"README
|
|
47
|
-
"README
|
|
48
|
-
"README
|
|
49
|
-
"README
|
|
46
|
+
"README-zh.md",
|
|
47
|
+
"README-es.md",
|
|
48
|
+
"README-pt.md",
|
|
49
|
+
"README-hi.md",
|
|
50
50
|
"LICENSE"
|
|
51
51
|
],
|
|
52
52
|
"dsh": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"attachments:write"
|
|
89
89
|
],
|
|
90
90
|
"compatibility": {
|
|
91
|
-
"dshVersions": ["0.1.2-rc.1","0.1.5-rc.
|
|
91
|
+
"dshVersions": ["0.1.2-rc.1","0.1.5-rc.2"]
|
|
92
92
|
},
|
|
93
93
|
"capability": {
|
|
94
94
|
"id": "image-generate-tool",
|
|
@@ -158,26 +158,26 @@
|
|
|
158
158
|
"zod": "^4.4.3"
|
|
159
159
|
},
|
|
160
160
|
"devDependencies": {
|
|
161
|
-
"@deepseek-ai/dsh-util-values": "0.1.5-rc.
|
|
161
|
+
"@deepseek-ai/dsh-util-values": "0.1.5-rc.2",
|
|
162
162
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
163
163
|
"@deepseek-ai/cordis-plugin-include": "^1.0.7",
|
|
164
164
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
165
|
-
"@deepseek-ai/dsh-agent": "0.1.5-rc.
|
|
166
|
-
"@deepseek-ai/dsh-api-remotes": "0.1.5-rc.
|
|
167
|
-
"@deepseek-ai/dsh-attachment": "0.1.5-rc.
|
|
168
|
-
"@deepseek-ai/dsh-attachment-local": "0.1.5-rc.
|
|
169
|
-
"@deepseek-ai/dsh-brand": "0.1.5-rc.
|
|
170
|
-
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.
|
|
171
|
-
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.
|
|
172
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.
|
|
173
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.
|
|
174
|
-
"@deepseek-ai/dsh-client-ui-tool": "0.1.5-rc.
|
|
175
|
-
"@deepseek-ai/dsh-credentials": "0.1.5-rc.
|
|
176
|
-
"@deepseek-ai/dsh-credentials-local": "0.1.5-rc.
|
|
177
|
-
"@deepseek-ai/dsh-llm": "0.1.5-rc.
|
|
178
|
-
"@deepseek-ai/dsh-session": "0.1.5-rc.
|
|
179
|
-
"@deepseek-ai/dsh-tools": "0.1.5-rc.
|
|
180
|
-
"@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.
|
|
165
|
+
"@deepseek-ai/dsh-agent": "0.1.5-rc.2",
|
|
166
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.5-rc.2",
|
|
167
|
+
"@deepseek-ai/dsh-attachment": "0.1.5-rc.2",
|
|
168
|
+
"@deepseek-ai/dsh-attachment-local": "0.1.5-rc.2",
|
|
169
|
+
"@deepseek-ai/dsh-brand": "0.1.5-rc.2",
|
|
170
|
+
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.2",
|
|
171
|
+
"@deepseek-ai/dsh-client-locale": "0.1.5-rc.2",
|
|
172
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.2",
|
|
173
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.2",
|
|
174
|
+
"@deepseek-ai/dsh-client-ui-tool": "0.1.5-rc.2",
|
|
175
|
+
"@deepseek-ai/dsh-credentials": "0.1.5-rc.2",
|
|
176
|
+
"@deepseek-ai/dsh-credentials-local": "0.1.5-rc.2",
|
|
177
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.2",
|
|
178
|
+
"@deepseek-ai/dsh-session": "0.1.5-rc.2",
|
|
179
|
+
"@deepseek-ai/dsh-tools": "0.1.5-rc.2",
|
|
180
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.2",
|
|
181
181
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
182
182
|
"@types/node": "^22.19.0",
|
|
183
183
|
"@types/react": "18.3.31",
|
package/src/version.ts
CHANGED