dsh-draw 0.2.9 → 0.2.10
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 +11 -0
- package/README.es.md +1 -1
- package/README.hi.md +1 -1
- package/README.md +1 -1
- package/README.pt.md +1 -1
- package/README.zh.md +1 -1
- package/lib/index.js +1 -1
- package/lib/types/session-events.d.ts +4 -1
- package/lib/types/session-events.d.ts.map +1 -1
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.d.ts.map +1 -1
- package/lib/types/version.js +1 -1
- package/package.json +31 -33
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ 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
|
+
## [0.2.10] - 2026-09-09
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Align the `@deepseek-ai/dsh-*` peer ranges to `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0` and pin the dev/test dependencies to the published `0.1.5-alpha.1` line: adaptation to DeepSeek Harness `dsh-v0.1.5-alpha.1` (session format V3, `ctx.agent` removal, `Inbox` type-only interface); runtime behavior is unchanged for every supported host line.
|
|
13
|
+
- Record `0.1.5-alpha.1` in `dshWorkshop.compatibility.dshVersions`.
|
|
14
|
+
|
|
15
|
+
### Docs
|
|
16
|
+
|
|
17
|
+
- Refresh the five-language README compatibility baseline to `dsh-v0.1.5-alpha.1` (verified 2026-09-09).
|
|
18
|
+
|
|
8
19
|
## [0.2.9] - 2026-09-07
|
|
9
20
|
|
|
10
21
|
### Docs
|
package/README.es.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
| Superficie | Estado |
|
|
27
27
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `dsh-v0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-alpha.1` (compatibilidad declarada para `0.1.2-rc.1`) |
|
|
29
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
30
30
|
| Motores | Cualquier endpoint de imágenes compatible con OpenAI; presets para OpenAI Images (`gpt-image-1`) y Zhipu CogView (`cogview-3-flash`) |
|
|
31
31
|
| Superficies | Herramienta host `image_generate` + tarjeta de resultado web + pestaña de ajustes de Plugins |
|
package/README.hi.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
| सतह | स्थिति |
|
|
27
27
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `dsh-v0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-alpha.1` (`0.1.2-rc.1` के लिए घोषित संगतता) |
|
|
29
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
30
30
|
| इंजन | कोई भी OpenAI-संगत images एंडपॉइंट; OpenAI Images (`gpt-image-1`) और Zhipu CogView (`cogview-3-flash`) प्रीसेट |
|
|
31
31
|
| सतहें | Host `image_generate` टूल + वेब परिणाम कार्ड + Plugins सेटिंग टैब |
|
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| Surface | Status |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-alpha.1` (compat declared for `0.1.2-rc.1`) |
|
|
30
30
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
31
31
|
| Engines | Any OpenAI-compatible images endpoint; presets for OpenAI Images (`gpt-image-1`) and Zhipu CogView (`cogview-3-flash`) |
|
|
32
32
|
| Surfaces | Host `image_generate` tool + web result card + Plugins settings tab |
|
package/README.pt.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
| Superfície | Status |
|
|
27
27
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `dsh-v0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-alpha.1` (compatibilidade declarada para `0.1.2-rc.1`) |
|
|
29
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
30
30
|
| Motores | Qualquer endpoint de imagens compatível com OpenAI; presets para OpenAI Images (`gpt-image-1`) e Zhipu CogView (`cogview-3-flash`) |
|
|
31
31
|
| Superfícies | Ferramenta host `image_generate` + cartão de resultado web + aba de ajustes de Plugins |
|
package/README.zh.md
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
| 方面 | 状态 |
|
|
27
27
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `dsh-v0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-alpha.1`(声明兼容 `0.1.2-rc.1`) |
|
|
29
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
30
30
|
| 引擎 | 任意 OpenAI 兼容图像端点;内置 OpenAI Images(`gpt-image-1`)与智谱 CogView(`cogview-3-flash`)预设 |
|
|
31
31
|
| 界面 | Host `image_generate` 工具 + Web 结果卡片 + Plugins 设置页签 |
|
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.10";
|
|
1363
1363
|
//#endregion
|
|
1364
1364
|
//#region src/service.ts
|
|
1365
1365
|
/**
|
|
@@ -66,7 +66,10 @@ export declare function appendDrawGenerated(session: Session, event: DrawGenerat
|
|
|
66
66
|
time: number;
|
|
67
67
|
data: DrawGeneratedEvent;
|
|
68
68
|
ignorable?: true;
|
|
69
|
-
} &
|
|
69
|
+
} & {
|
|
70
|
+
surfaceOp?: never;
|
|
71
|
+
sourceEventSeqs?: never;
|
|
72
|
+
};
|
|
70
73
|
/**
|
|
71
74
|
* Commit one completed generation: append the `draw/generated` event when the
|
|
72
75
|
* gate allows (with the ignorable envelope when required), otherwise record
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-events.d.ts","sourceRoot":"","sources":["../../src/session-events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAEhD,OAAO,QAAQ,gCAAgC,CAAC;IAC9C,UAAU,eAAe;QACvB;;;WAGG;QACH,gBAAgB,EAAE,kBAAkB,CAAA;KACrC;CACF;AAED,qDAAqD;AACrD,MAAM,WAAW,kBAAkB;IACjC,0CAA0C;IAC1C,MAAM,EAAE,MAAM,CAAA;IACd,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,yEAAyE;IACzE,MAAM,EAAE,MAAM,GAAG,YAAY,CAAA;IAC7B,gEAAgE;IAChE,MAAM,EAAE,MAAM,CAAA;IACd,qDAAqD;IACrD,IAAI,EAAE,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAA;IAClD,6CAA6C;IAC7C,OAAO,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAA;IAC3C,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,8CAA8C;IAC9C,aAAa,EAAE,SAAS,MAAM,EAAE,CAAA;IAChC,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAA;CAClB;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,kBAAkB
|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ED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,kBAAkB,EAAE,CAE3F;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,OAAO,0BAA0B,EAAE,YAAY,CAAC,gBAAgB,CAAC,EAAE,CAOlI"}
|
package/lib/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,wEAAwE;AACxE,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,wEAAwE;AACxE,eAAO,MAAM,cAAc,WAAW,CAAA"}
|
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.10",
|
|
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",
|
|
@@ -88,9 +88,7 @@
|
|
|
88
88
|
"attachments:write"
|
|
89
89
|
],
|
|
90
90
|
"compatibility": {
|
|
91
|
-
"dshVersions": [
|
|
92
|
-
"0.1.2-rc.1"
|
|
93
|
-
]
|
|
91
|
+
"dshVersions": ["0.1.2-rc.1","0.1.5-alpha.1"]
|
|
94
92
|
},
|
|
95
93
|
"capability": {
|
|
96
94
|
"id": "image-generate-tool",
|
|
@@ -123,19 +121,19 @@
|
|
|
123
121
|
"packageManager": "pnpm@11.7.0",
|
|
124
122
|
"peerDependencies": {
|
|
125
123
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
126
|
-
"@deepseek-ai/dsh-attachment": ">=0.1.2-rc.1 <0.2.0",
|
|
127
|
-
"@deepseek-ai/dsh-brand": ">=0.1.2-rc.1 <0.2.0",
|
|
128
|
-
"@deepseek-ai/dsh-credentials": ">=0.1.2-rc.1 <0.2.0",
|
|
129
|
-
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0",
|
|
130
|
-
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0",
|
|
131
|
-
"@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0",
|
|
132
|
-
"@deepseek-ai/dsh-typert-protocol": ">=0.1.2-rc.1 <0.2.0",
|
|
124
|
+
"@deepseek-ai/dsh-attachment": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
125
|
+
"@deepseek-ai/dsh-brand": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
126
|
+
"@deepseek-ai/dsh-credentials": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
127
|
+
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
128
|
+
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
129
|
+
"@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
130
|
+
"@deepseek-ai/dsh-typert-protocol": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
133
131
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
134
|
-
"@deepseek-ai/dsh-client-connection": ">=0.1.2-rc.1 <0.2.0",
|
|
135
|
-
"@deepseek-ai/dsh-client-locale": ">=0.1.2-rc.1 <0.2.0",
|
|
136
|
-
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.2-rc.1 <0.2.0",
|
|
137
|
-
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.2-rc.1 <0.2.0",
|
|
138
|
-
"@deepseek-ai/dsh-client-ui-tool": ">=0.1.2-rc.1 <0.2.0"
|
|
132
|
+
"@deepseek-ai/dsh-client-connection": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
133
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
134
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
135
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
136
|
+
"@deepseek-ai/dsh-client-ui-tool": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0"
|
|
139
137
|
},
|
|
140
138
|
"peerDependenciesMeta": {
|
|
141
139
|
"@deepseek-ai/dsh-client-connection": {
|
|
@@ -160,26 +158,26 @@
|
|
|
160
158
|
"zod": "^4.4.3"
|
|
161
159
|
},
|
|
162
160
|
"devDependencies": {
|
|
163
|
-
"@deepseek-ai/dsh-util-values": "0.1.
|
|
161
|
+
"@deepseek-ai/dsh-util-values": "0.1.5-alpha.1",
|
|
164
162
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
165
163
|
"@deepseek-ai/cordis-plugin-include": "^1.0.7",
|
|
166
164
|
"@deepseek-ai/cordis-plugin-loader": "^1.0.3",
|
|
167
|
-
"@deepseek-ai/dsh-agent": "0.1.
|
|
168
|
-
"@deepseek-ai/dsh-api-remotes": "0.1.
|
|
169
|
-
"@deepseek-ai/dsh-attachment": "0.1.
|
|
170
|
-
"@deepseek-ai/dsh-attachment-local": "0.1.
|
|
171
|
-
"@deepseek-ai/dsh-brand": "0.1.
|
|
172
|
-
"@deepseek-ai/dsh-client-connection": "0.1.
|
|
173
|
-
"@deepseek-ai/dsh-client-locale": "0.1.
|
|
174
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.
|
|
175
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.1.
|
|
176
|
-
"@deepseek-ai/dsh-client-ui-tool": "0.1.
|
|
177
|
-
"@deepseek-ai/dsh-credentials": "0.1.
|
|
178
|
-
"@deepseek-ai/dsh-credentials-local": "0.1.
|
|
179
|
-
"@deepseek-ai/dsh-llm": "0.1.
|
|
180
|
-
"@deepseek-ai/dsh-session": "0.1.
|
|
181
|
-
"@deepseek-ai/dsh-tools": "0.1.
|
|
182
|
-
"@deepseek-ai/dsh-typert-protocol": "0.1.
|
|
165
|
+
"@deepseek-ai/dsh-agent": "0.1.5-alpha.1",
|
|
166
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.5-alpha.1",
|
|
167
|
+
"@deepseek-ai/dsh-attachment": "0.1.5-alpha.1",
|
|
168
|
+
"@deepseek-ai/dsh-attachment-local": "0.1.5-alpha.1",
|
|
169
|
+
"@deepseek-ai/dsh-brand": "0.1.5-alpha.1",
|
|
170
|
+
"@deepseek-ai/dsh-client-connection": "0.1.5-alpha.1",
|
|
171
|
+
"@deepseek-ai/dsh-client-locale": "0.1.5-alpha.1",
|
|
172
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-alpha.1",
|
|
173
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-alpha.1",
|
|
174
|
+
"@deepseek-ai/dsh-client-ui-tool": "0.1.5-alpha.1",
|
|
175
|
+
"@deepseek-ai/dsh-credentials": "0.1.5-alpha.1",
|
|
176
|
+
"@deepseek-ai/dsh-credentials-local": "0.1.5-alpha.1",
|
|
177
|
+
"@deepseek-ai/dsh-llm": "0.1.5-alpha.1",
|
|
178
|
+
"@deepseek-ai/dsh-session": "0.1.5-alpha.1",
|
|
179
|
+
"@deepseek-ai/dsh-tools": "0.1.5-alpha.1",
|
|
180
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.5-alpha.1",
|
|
183
181
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
184
182
|
"@types/node": "^22.19.0",
|
|
185
183
|
"@types/react": "18.3.31",
|
package/src/version.ts
CHANGED