dsh-desktop-kit 2.23.18 → 2.23.19
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 +7 -0
- package/README.md +24 -22
- package/client.js +1 -1
- package/docs/TEST-2.23.19.md +24 -0
- package/package.json +2 -2
- package/plugins/dsh-agent-extensions/lib/agents.js +21 -4
- package/plugins/dsh-agent-extensions/lib/routing.js +13 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## 2.23.19 (2026-11-13)
|
|
2
|
+
|
|
3
|
+
- **Flash по умолчанию.** Все роли стартуют на `deepseek-flash` с high effort; pro не подставляется автоматически.
|
|
4
|
+
- **Pro только вручную.** `model: deepseek-v4-pro` в роли или `project_agent ... model=deepseek-v4-pro`; если провайдер отклоняет pro, запуск повторяется на flash.
|
|
5
|
+
- **Reason.** DSH-аккаунт с одним flash не мог запускать дочерних агентов с pro-default.
|
|
6
|
+
- **Tests.** default flash, explicit pro, fallback classifier.
|
|
7
|
+
|
|
1
8
|
## 2.23.18 (2026-11-13)
|
|
2
9
|
|
|
3
10
|
- **Russian routing:** чистые regex для research/critical/simple в `swarm.js`; русские задачи снова попадают в auto-swarm и effort routing.
|
package/README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# DSH Desktop Kit 2.23.
|
|
1
|
+
# DSH Desktop Kit 2.23.19
|
|
2
2
|
|
|
3
3
|
**Агенты, рой и MCP для DeepSeek Harness — с доказательствами, а не с обещаниями.**
|
|
4
4
|
|
|
5
5
|
18 плагинов и 30 навыков в одном npm-пакете: проектные роли, read-only рой с общей доской, research-ledger с проверкой источников, MCP с OAuth/sampling/elicitation, локальный marketplace, IDE bridge, guardrails, память, checkpoints, browser QA и русский интерфейс.
|
|
6
6
|
|
|
7
|
-

|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
## Быстрый старт
|
|
12
12
|
|
|
13
13
|
```powershell
|
|
14
|
-
# в DSH: Плагины → Add plugin → dsh-desktop-kit@2.23.
|
|
14
|
+
# в DSH: Плагины → Add plugin → dsh-desktop-kit@2.23.19
|
|
15
15
|
# или из терминала:
|
|
16
|
-
dsh plugin --profile desktop add dsh-desktop-kit@2.23.
|
|
16
|
+
dsh plugin --profile desktop add dsh-desktop-kit@2.23.19
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
После установки перезапустите окно DSH (`Ctrl+R`).
|
|
@@ -34,7 +34,9 @@ node tools/e2e-http.mjs # живой web + API
|
|
|
34
34
|
|
|
35
35
|
| Версия | Изменение |
|
|
36
36
|
|---|---|
|
|
37
|
-
| **2.23.
|
|
37
|
+
| **2.23.19** | Flash по умолчанию; pro только при ручном выборе |
|
|
38
|
+
| **2.23.18** | Русский routing, SSRF-защита, MCP trust default `false` |
|
|
39
|
+
| **2.23.17** | MCP trust UI обновляется оптимистично; `kit.settings.json` синхронизирован с bootstrap |
|
|
38
40
|
| **2.23.16** | `settings.update` RPC — сохранение Kit controls без 404 |
|
|
39
41
|
| **2.23.15** | Worktrees UI объясняет non-git проект вместо красной ошибки |
|
|
40
42
|
| **2.23.14** | Premium **Kit · global controls** в Настройках → Агенты |
|
|
@@ -58,13 +60,13 @@ node tools/e2e-http.mjs # живой web + API
|
|
|
58
60
|
|
|
59
61
|
| Роль | Права | Модель по умолчанию | Задача |
|
|
60
62
|
|---|---|---|---|
|
|
61
|
-
| `coordinator` | read-only |
|
|
62
|
-
| `researcher` | read-only |
|
|
63
|
-
| `reviewer` | read-only |
|
|
64
|
-
| `verifier` | read-only |
|
|
65
|
-
| `synthesizer` | read-only |
|
|
66
|
-
| `security` | read-only |
|
|
67
|
-
| `performance` | read-only |
|
|
63
|
+
| `coordinator` | read-only | flash / high | lead, план, распределение задач |
|
|
64
|
+
| `researcher` | read-only | flash / high | поиск, источники, факты |
|
|
65
|
+
| `reviewer` | read-only | flash / high | дифф, риски, findings |
|
|
66
|
+
| `verifier` | read-only | flash / high | проверка evidence и PASS/FAIL |
|
|
67
|
+
| `synthesizer` | read-only | flash / high | сборка результата |
|
|
68
|
+
| `security` | read-only | flash / high | OWASP, секреты, доступ |
|
|
69
|
+
| `performance` | read-only | flash / high | узкие места, стоимость |
|
|
68
70
|
| `tester` | workspace-write | flash / low | тесты, воспроизведение, проверки |
|
|
69
71
|
|
|
70
72
|
Роль — это Markdown с frontmatter:
|
|
@@ -75,13 +77,13 @@ name: reviewer
|
|
|
75
77
|
description: Ревью диффа и рисков
|
|
76
78
|
tools: read, grep, glob, team_board, team_message
|
|
77
79
|
permission: read-only
|
|
78
|
-
model: deepseek-
|
|
80
|
+
model: deepseek-flash # pro — только вручную
|
|
79
81
|
effort: high
|
|
80
82
|
---
|
|
81
83
|
Ты ревьюер. Возвращай только findings с путями и приоритетом.
|
|
82
84
|
```
|
|
83
85
|
|
|
84
|
-
`tools`, `permission` и `model` **реально ограничивают** дочернего агента.
|
|
86
|
+
`tools`, `permission` и `model` **реально ограничивают** дочернего агента. По умолчанию все роли идут на `deepseek-flash` + high effort; `deepseek-v4-pro` включается только вручную через `model:` или `project_agent ... model=deepseek-v4-pro`.
|
|
85
87
|
|
|
86
88
|
### Команды
|
|
87
89
|
|
|
@@ -187,9 +189,9 @@ research_ledger action=summary
|
|
|
187
189
|
|
|
188
190
|
Кнопка **«Проверить и доверять»** показывает команду/URL и требует подтверждения. После trust сервер получает доступ к tools; это осознанное действие, не «по умолчанию».
|
|
189
191
|
|
|
190
|
-

|
|
191
193
|
|
|
192
|
-

|
|
193
195
|
|
|
194
196
|
---
|
|
195
197
|
|
|
@@ -218,11 +220,11 @@ research_ledger action=summary
|
|
|
218
220
|
- **Настройки → Память проектов** — досье, синхронизация;
|
|
219
221
|
- **Настройки → Перенос и резервные копии** — профиль, навыки, сессии.
|
|
220
222
|
|
|
221
|
-

|
|
222
224
|
|
|
223
|
-

|
|
224
226
|
|
|
225
|
-

|
|
226
228
|
|
|
227
229
|
---
|
|
228
230
|
|
|
@@ -236,7 +238,7 @@ research_ledger action=summary
|
|
|
236
238
|
- **sandbox_run** — Windows Job Objects: memory/process/time limits, kill-on-close. **Process containment, не filesystem/network isolation.**
|
|
237
239
|
- **HTTP API** — `/api/dsh-integrations/*`, проверен живым web-профилем: auth-cookie → `POST status` → 200.
|
|
238
240
|
|
|
239
|
-

|
|
240
242
|
|
|
241
243
|
---
|
|
242
244
|
|
|
@@ -256,7 +258,7 @@ research_ledger action=summary
|
|
|
256
258
|
### Из npm
|
|
257
259
|
|
|
258
260
|
```powershell
|
|
259
|
-
dsh plugin --profile desktop add dsh-desktop-kit@2.23.
|
|
261
|
+
dsh plugin --profile desktop add dsh-desktop-kit@2.23.19
|
|
260
262
|
```
|
|
261
263
|
|
|
262
264
|
### Из локальной папки
|
|
@@ -312,7 +314,7 @@ node tools/e2e-smoke.mjs # профиль
|
|
|
312
314
|
node tools/e2e-http.mjs # живой API
|
|
313
315
|
node tools/sandbox-tests.mjs # Job Objects
|
|
314
316
|
node tools/marketplace-remote-tests.mjs
|
|
315
|
-
npm run verify:release -- 2.23.
|
|
317
|
+
npm run verify:release -- 2.23.19
|
|
316
318
|
```
|
|
317
319
|
|
|
318
320
|
UI: `browser_qa audit` на 390/768/1440, overflow/console/markup.
|
package/client.js
CHANGED
|
@@ -8381,7 +8381,7 @@ var(--dsw-alias-bg-layer-1,#fff);box-shadow:inset 0 1px 0 color-mix(in srgb,#fff
|
|
|
8381
8381
|
if (__kitErrors.length <= 5) console.error("[dsh-desktop-kit] registration failed:", label, message);
|
|
8382
8382
|
};
|
|
8383
8383
|
try {
|
|
8384
|
-
window.__DSH_DESKTOP_KIT__ = { version: "2.23.
|
|
8384
|
+
window.__DSH_DESKTOP_KIT__ = { version: "2.23.19", parts: __partNames, errors: __kitErrors, ready: false };
|
|
8385
8385
|
} catch {}
|
|
8386
8386
|
const __inject = [];
|
|
8387
8387
|
for (const __part of __parts) {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# DSH Desktop Kit 2.23.19 — pro/flash
|
|
2
|
+
|
|
3
|
+
Дата: 2026-11-13.
|
|
4
|
+
|
|
5
|
+
## Проблема
|
|
6
|
+
|
|
7
|
+
В аккаунте доступна только `deepseek-flash`, а routing ставил
|
|
8
|
+
`deepseek-v4-pro` большинству ролей. `startActivation` отклонял модель,
|
|
9
|
+
поэтому агенты и рой не стартовали.
|
|
10
|
+
|
|
11
|
+
## Решение
|
|
12
|
+
|
|
13
|
+
- По умолчанию **`deepseek-flash` + high effort** для quality-ролей.
|
|
14
|
+
- Pro **не подставляется автоматически**.
|
|
15
|
+
- Pro включается вручную: `model: deepseek-v4-pro` в роли или `project_agent ... model=deepseek-v4-pro`.
|
|
16
|
+
- Если провайдер отклоняет явно выбранный pro, запуск повторяется на flash.
|
|
17
|
+
|
|
18
|
+
## Проверки
|
|
19
|
+
|
|
20
|
+
- `agent-extensions-tests` — OK, включая classifier.
|
|
21
|
+
- `swarm-tests` — OK.
|
|
22
|
+
- `npm test` — exit 0.
|
|
23
|
+
- build/check — OK.
|
|
24
|
+
- e2e-http — OK.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-desktop-kit",
|
|
3
|
-
"version": "2.23.
|
|
4
|
-
"description": "DeepSeek Harness desktop kit 2.23.
|
|
3
|
+
"version": "2.23.19",
|
|
4
|
+
"description": "DeepSeek Harness desktop kit 2.23.19: 18 plugins and 30 skills — MCP tools/resources/prompts with OAuth 2.1, sampling and elicitation, project agents, git worktrees, background runs and a read-only/writer swarm with a shared board, plus self-applying skills, token lab, Skills Studio, project memory, guardrails, repo map, checkpoints, plan mode, browser QA, GitHub review, hooks/commands, Russian UI and profile transfer. Includes local marketplace, localhost IDE bridge and an honest sandbox audit.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
7
7
|
"dsh",
|
|
@@ -13,7 +13,12 @@ import { saveTranscript } from "./transcripts.js";
|
|
|
13
13
|
import { findingsPrompt, parseFindings, validateFindings } from "./findings.js";
|
|
14
14
|
import { agentOptionsFor, chooseAgentRoute } from "./routing.js";
|
|
15
15
|
|
|
16
|
-
const
|
|
16
|
+
const MODEL_ERROR = /(?:model|provider).*(?:not found|unknown|unsupported|unavailable|not available|invalid|no such|does not exist)/iu;
|
|
17
|
+
|
|
18
|
+
export function isModelFallback(error) {
|
|
19
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
20
|
+
return /(?:model|provider).*(?:not found|unknown|unsupported|unavailable|not available|invalid|no such|does not exist)|(?:not found|no such|unknown|unsupported|unavailable|invalid).*(?:model|provider)/iu.test(message);
|
|
21
|
+
}
|
|
17
22
|
|
|
18
23
|
function textFromOutput(output) {
|
|
19
24
|
if (!Array.isArray(output)) return "";
|
|
@@ -50,6 +55,7 @@ export async function runProjectAgent(ctx, exec, definition, task, options = {})
|
|
|
50
55
|
const reservedId = crypto.randomUUID();
|
|
51
56
|
let activeId = reservedId;
|
|
52
57
|
const route = chooseAgentRoute(definition, task, options.route);
|
|
58
|
+
let routeUsed = route;
|
|
53
59
|
setChildPolicy(reservedId, definition);
|
|
54
60
|
let activation;
|
|
55
61
|
try {
|
|
@@ -65,7 +71,7 @@ export async function runProjectAgent(ctx, exec, definition, task, options = {})
|
|
|
65
71
|
"Task:",
|
|
66
72
|
String(task ?? ""),
|
|
67
73
|
].filter((line) => line !== "").join("\n");
|
|
68
|
-
|
|
74
|
+
const start = (selectedRoute) => subagents.startActivation({
|
|
69
75
|
provider,
|
|
70
76
|
label: `agent:${definition.name}`,
|
|
71
77
|
childId: reservedId,
|
|
@@ -74,11 +80,22 @@ export async function runProjectAgent(ctx, exec, definition, task, options = {})
|
|
|
74
80
|
parent: exec.agent,
|
|
75
81
|
signal: controller.signal,
|
|
76
82
|
cwd,
|
|
77
|
-
...(
|
|
83
|
+
...(selectedRoute.model || selectedRoute.reasoningEffort ? { agentOptions: agentOptionsFor(selectedRoute) } : {}),
|
|
78
84
|
},
|
|
79
85
|
signal: controller.signal,
|
|
80
86
|
delivery: "caller",
|
|
81
87
|
});
|
|
88
|
+
try {
|
|
89
|
+
activation = await start(route);
|
|
90
|
+
} catch (error) {
|
|
91
|
+
if (route.model === "deepseek-flash" || !isModelFallback(error)) throw error;
|
|
92
|
+
routeUsed = {
|
|
93
|
+
...route,
|
|
94
|
+
model: "deepseek-flash",
|
|
95
|
+
reasons: [...route.reasons, "model unavailable -> deepseek-flash"],
|
|
96
|
+
};
|
|
97
|
+
activation = await start(routeUsed);
|
|
98
|
+
}
|
|
82
99
|
if (activation.childId && activation.childId !== reservedId) {
|
|
83
100
|
activeId = String(activation.childId);
|
|
84
101
|
setChildPolicy(activeId, definition);
|
|
@@ -165,7 +182,7 @@ export async function runProjectAgent(ctx, exec, definition, task, options = {})
|
|
|
165
182
|
stopReason: result?.stopReason ?? "completed",
|
|
166
183
|
worktree: options.worktree ?? null,
|
|
167
184
|
...(definition.output === "findings" ? { findings, findingsValid: Boolean(findings), findingsError } : {}),
|
|
168
|
-
route,
|
|
185
|
+
route: routeUsed,
|
|
169
186
|
};
|
|
170
187
|
} catch (error) {
|
|
171
188
|
clearChildPolicy(activeId);
|
|
@@ -10,14 +10,20 @@ const PRO = "deepseek-v4-pro";
|
|
|
10
10
|
const FLASH = "deepseek-flash";
|
|
11
11
|
const EFFORTS = new Set(["off", "low", "high", "max"]);
|
|
12
12
|
|
|
13
|
+
/*
|
|
14
|
+
* Default is intentionally flash: it exists on every DSH account. Quality is
|
|
15
|
+
* raised with effort, not with an implicit paid model. A manual `model:` in
|
|
16
|
+
* agent frontmatter or `model=deepseek-v4-pro` in project_agent opts into pro.
|
|
17
|
+
* If a manually selected pro is rejected, runProjectAgent retries flash.
|
|
18
|
+
*/
|
|
13
19
|
const ROLE_DEFAULTS = {
|
|
14
|
-
coordinator: { model:
|
|
15
|
-
synthesizer: { model:
|
|
16
|
-
verifier: { model:
|
|
17
|
-
reviewer: { model:
|
|
18
|
-
researcher: { model:
|
|
19
|
-
security: { model:
|
|
20
|
-
performance: { model:
|
|
20
|
+
coordinator: { model: FLASH, effort: "high" },
|
|
21
|
+
synthesizer: { model: FLASH, effort: "high" },
|
|
22
|
+
verifier: { model: FLASH, effort: "high" },
|
|
23
|
+
reviewer: { model: FLASH, effort: "high" },
|
|
24
|
+
researcher: { model: FLASH, effort: "high" },
|
|
25
|
+
security: { model: FLASH, effort: "high" },
|
|
26
|
+
performance: { model: FLASH, effort: "high" },
|
|
21
27
|
tester: { model: FLASH, effort: "low" },
|
|
22
28
|
};
|
|
23
29
|
|
|
@@ -44,7 +50,6 @@ export function chooseAgentRoute(definition = {}, task = "", override = {}) {
|
|
|
44
50
|
if (explicitEffort) reasons.push("agent effort");
|
|
45
51
|
|
|
46
52
|
if (CRITICAL.test(text)) {
|
|
47
|
-
if (!explicitModel && model === FLASH) { model = PRO; reasons.push("critical -> pro"); }
|
|
48
53
|
if (!explicitEffort && effort !== "high" && effort !== "max") { effort = "high"; reasons.push("critical -> high"); }
|
|
49
54
|
}
|
|
50
55
|
if (MAX_QUALITY.test(text)) {
|