dsh-desktop-kit 2.23.18 → 2.23.20
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 +13 -0
- package/README.md +25 -22
- package/client.js +1 -8
- package/docs/TEST-2.23.19.md +24 -0
- package/docs/TEST-2.23.20.md +9 -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/plugins/dsh-peak-guard/client.js +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## 2.23.20 (2026-11-13)
|
|
2
|
+
|
|
3
|
+
- **Peak Guard:** убран дублирующий `shell.overlay` toast; остаётся один премиальный composer-card с schedule/dismiss. Header badge остаётся компактным статусом.
|
|
4
|
+
- **Причина:** PeakCard и PeakToast регистрировались одновременно, поэтому появлялись два окна.
|
|
5
|
+
- **Quality config:** в рабочем проекте threshold 2, maxAgents 6; flash по умолчанию, pro вручную.
|
|
6
|
+
|
|
7
|
+
## 2.23.19 (2026-11-13)
|
|
8
|
+
|
|
9
|
+
- **Flash по умолчанию.** Все роли стартуют на `deepseek-flash` с high effort; pro не подставляется автоматически.
|
|
10
|
+
- **Pro только вручную.** `model: deepseek-v4-pro` в роли или `project_agent ... model=deepseek-v4-pro`; если провайдер отклоняет pro, запуск повторяется на flash.
|
|
11
|
+
- **Reason.** DSH-аккаунт с одним flash не мог запускать дочерних агентов с pro-default.
|
|
12
|
+
- **Tests.** default flash, explicit pro, fallback classifier.
|
|
13
|
+
|
|
1
14
|
## 2.23.18 (2026-11-13)
|
|
2
15
|
|
|
3
16
|
- **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.20
|
|
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.20
|
|
15
15
|
# или из терминала:
|
|
16
|
-
dsh plugin --profile desktop add dsh-desktop-kit@2.23.
|
|
16
|
+
dsh plugin --profile desktop add dsh-desktop-kit@2.23.20
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
После установки перезапустите окно DSH (`Ctrl+R`).
|
|
@@ -34,7 +34,10 @@ node tools/e2e-http.mjs # живой web + API
|
|
|
34
34
|
|
|
35
35
|
| Версия | Изменение |
|
|
36
36
|
|---|---|
|
|
37
|
-
| **2.23.
|
|
37
|
+
| **2.23.20** | Один peak-warning surface: composer card, без дублирующего toast |
|
|
38
|
+
| **2.23.19** | Flash по умолчанию; pro только при ручном выборе |
|
|
39
|
+
| **2.23.18** | Русский routing, SSRF-защита, MCP trust default `false` |
|
|
40
|
+
| **2.23.17** | MCP trust UI обновляется оптимистично; `kit.settings.json` синхронизирован с bootstrap |
|
|
38
41
|
| **2.23.16** | `settings.update` RPC — сохранение Kit controls без 404 |
|
|
39
42
|
| **2.23.15** | Worktrees UI объясняет non-git проект вместо красной ошибки |
|
|
40
43
|
| **2.23.14** | Premium **Kit · global controls** в Настройках → Агенты |
|
|
@@ -58,13 +61,13 @@ node tools/e2e-http.mjs # живой web + API
|
|
|
58
61
|
|
|
59
62
|
| Роль | Права | Модель по умолчанию | Задача |
|
|
60
63
|
|---|---|---|---|
|
|
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 |
|
|
64
|
+
| `coordinator` | read-only | flash / high | lead, план, распределение задач |
|
|
65
|
+
| `researcher` | read-only | flash / high | поиск, источники, факты |
|
|
66
|
+
| `reviewer` | read-only | flash / high | дифф, риски, findings |
|
|
67
|
+
| `verifier` | read-only | flash / high | проверка evidence и PASS/FAIL |
|
|
68
|
+
| `synthesizer` | read-only | flash / high | сборка результата |
|
|
69
|
+
| `security` | read-only | flash / high | OWASP, секреты, доступ |
|
|
70
|
+
| `performance` | read-only | flash / high | узкие места, стоимость |
|
|
68
71
|
| `tester` | workspace-write | flash / low | тесты, воспроизведение, проверки |
|
|
69
72
|
|
|
70
73
|
Роль — это Markdown с frontmatter:
|
|
@@ -75,13 +78,13 @@ name: reviewer
|
|
|
75
78
|
description: Ревью диффа и рисков
|
|
76
79
|
tools: read, grep, glob, team_board, team_message
|
|
77
80
|
permission: read-only
|
|
78
|
-
model: deepseek-
|
|
81
|
+
model: deepseek-flash # pro — только вручную
|
|
79
82
|
effort: high
|
|
80
83
|
---
|
|
81
84
|
Ты ревьюер. Возвращай только findings с путями и приоритетом.
|
|
82
85
|
```
|
|
83
86
|
|
|
84
|
-
`tools`, `permission` и `model` **реально ограничивают** дочернего агента.
|
|
87
|
+
`tools`, `permission` и `model` **реально ограничивают** дочернего агента. По умолчанию все роли идут на `deepseek-flash` + high effort; `deepseek-v4-pro` включается только вручную через `model:` или `project_agent ... model=deepseek-v4-pro`.
|
|
85
88
|
|
|
86
89
|
### Команды
|
|
87
90
|
|
|
@@ -187,9 +190,9 @@ research_ledger action=summary
|
|
|
187
190
|
|
|
188
191
|
Кнопка **«Проверить и доверять»** показывает команду/URL и требует подтверждения. После trust сервер получает доступ к tools; это осознанное действие, не «по умолчанию».
|
|
189
192
|
|
|
190
|
-

|
|
191
194
|
|
|
192
|
-

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

|
|
222
225
|
|
|
223
|
-

|
|
224
227
|
|
|
225
|
-

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

|
|
240
243
|
|
|
241
244
|
---
|
|
242
245
|
|
|
@@ -256,7 +259,7 @@ research_ledger action=summary
|
|
|
256
259
|
### Из npm
|
|
257
260
|
|
|
258
261
|
```powershell
|
|
259
|
-
dsh plugin --profile desktop add dsh-desktop-kit@2.23.
|
|
262
|
+
dsh plugin --profile desktop add dsh-desktop-kit@2.23.20
|
|
260
263
|
```
|
|
261
264
|
|
|
262
265
|
### Из локальной папки
|
|
@@ -312,7 +315,7 @@ node tools/e2e-smoke.mjs # профиль
|
|
|
312
315
|
node tools/e2e-http.mjs # живой API
|
|
313
316
|
node tools/sandbox-tests.mjs # Job Objects
|
|
314
317
|
node tools/marketplace-remote-tests.mjs
|
|
315
|
-
npm run verify:release -- 2.23.
|
|
318
|
+
npm run verify:release -- 2.23.20
|
|
316
319
|
```
|
|
317
320
|
|
|
318
321
|
UI: `browser_qa audit` на 390/768/1440, overflow/console/markup.
|
package/client.js
CHANGED
|
@@ -2805,13 +2805,6 @@ var(--dsw-alias-bg-layer-1,#fff);box-shadow:inset 0 1px 0 color-mix(in srgb,#fff
|
|
|
2805
2805
|
locale: NS,
|
|
2806
2806
|
}, PeakCard)), "peak-guard: composer dock card");
|
|
2807
2807
|
|
|
2808
|
-
ctx.effect(() => ctx.slots.inject("shell.overlay", () => ctx.slots.register({
|
|
2809
|
-
name: "shell.overlay",
|
|
2810
|
-
id: "peak-guard-toast",
|
|
2811
|
-
order: 70,
|
|
2812
|
-
locale: NS,
|
|
2813
|
-
}, PeakToast)), "peak-guard: corner toast");
|
|
2814
|
-
|
|
2815
2808
|
ctx.effect(() => ctx.slots.inject("conversation.session.header.utilities", () => ctx.slots.register({
|
|
2816
2809
|
name: "conversation.session.header.utilities",
|
|
2817
2810
|
id: "peak-guard",
|
|
@@ -8381,7 +8374,7 @@ var(--dsw-alias-bg-layer-1,#fff);box-shadow:inset 0 1px 0 color-mix(in srgb,#fff
|
|
|
8381
8374
|
if (__kitErrors.length <= 5) console.error("[dsh-desktop-kit] registration failed:", label, message);
|
|
8382
8375
|
};
|
|
8383
8376
|
try {
|
|
8384
|
-
window.__DSH_DESKTOP_KIT__ = { version: "2.23.
|
|
8377
|
+
window.__DSH_DESKTOP_KIT__ = { version: "2.23.20", parts: __partNames, errors: __kitErrors, ready: false };
|
|
8385
8378
|
} catch {}
|
|
8386
8379
|
const __inject = [];
|
|
8387
8380
|
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.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# DSH Desktop Kit 2.23.20 — peak guard
|
|
2
|
+
|
|
3
|
+
Дата: 2026-11-13.
|
|
4
|
+
|
|
5
|
+
- Удалена регистрация `shell.overlay` / PeakToast; остаётся один `conversation.composer.dock` PeakCard.
|
|
6
|
+
- Header badge — только компактный статус, не окно.
|
|
7
|
+
- Проект: 8 ролей, 4 team-presets, `swarm.json` threshold 2 / maxAgents 6.
|
|
8
|
+
- Модели: flash по умолчанию; pro только вручную.
|
|
9
|
+
- `npm test`, build/check, 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.20",
|
|
4
|
+
"description": "DeepSeek Harness desktop kit 2.23.20: 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)) {
|
|
@@ -905,13 +905,6 @@ var(--dsw-alias-bg-layer-1,#fff);box-shadow:inset 0 1px 0 color-mix(in srgb,#fff
|
|
|
905
905
|
locale: NS,
|
|
906
906
|
}, PeakCard)), "peak-guard: composer dock card");
|
|
907
907
|
|
|
908
|
-
ctx.effect(() => ctx.slots.inject("shell.overlay", () => ctx.slots.register({
|
|
909
|
-
name: "shell.overlay",
|
|
910
|
-
id: "peak-guard-toast",
|
|
911
|
-
order: 70,
|
|
912
|
-
locale: NS,
|
|
913
|
-
}, PeakToast)), "peak-guard: corner toast");
|
|
914
|
-
|
|
915
908
|
ctx.effect(() => ctx.slots.inject("conversation.session.header.utilities", () => ctx.slots.register({
|
|
916
909
|
name: "conversation.session.header.utilities",
|
|
917
910
|
id: "peak-guard",
|