dsh-desktop-kit 2.23.1 → 2.23.2
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 +5 -0
- package/README.md +28 -28
- package/client.js +12 -7
- package/docs/TEST-2.23.2.md +23 -0
- package/package.json +2 -2
- package/plugins/dsh-agent-extensions/client.js +11 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.23.2 (2026-11-12)
|
|
4
|
+
|
|
5
|
+
- **Agents dashboard hardening.** Защита от `null` в workspaces и не-массивов в `board.messages/tasks/agents/runs/worktrees`; id секции `dsh-project-agents`.
|
|
6
|
+
- **Tests.** build/check, npm test.
|
|
7
|
+
|
|
3
8
|
## 2.23.1 (2026-11-12)
|
|
4
9
|
|
|
5
10
|
- **README приведён к 2.23.** Убраны «локальный marketplace без URL», «sandbox только аудит», «расширение — отдельный проект», PostgreSQL preset; добавлены trust-flow, remote `.tgz`, VS Code extension, Job Objects и команды проверок.
|
package/README.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
# DSH Desktop Kit 2.23.
|
|
1
|
+
# DSH Desktop Kit 2.23.2
|
|
2
2
|
|
|
3
3
|
**MCP с OAuth, sampling и elicitation. Агенты, worktrees и рой с общей доской. Интерфейс, который не мешает.**
|
|
4
4
|
|
|
5
5
|
Набор из **17 плагинов и 30 навыков** для DeepSeek Harness 0.2.x: MCP tools/resources/prompts + OAuth 2.1, sampling, elicitation; проектные агенты, worktrees, фон и read-only рой с общей доской; русский интерфейс, автопилот навыков, токен-лаборатория, студия навыков, память проектов, guardrails, карта репозитория, чекпоинты, plan mode, browser QA, GitHub review, hooks/commands и резервные копии профиля.
|
|
6
6
|
|
|
7
|
-

|
|
8
8
|
|
|
9
9
|
## MCP: подключения без JSON
|
|
10
10
|
|
|
11
11
|
Настройки → **MCP**: пресеты **GitHub (official remote)** и **Filesystem**, живые статусы, health, список tools и безопасное хранение токенов в `~/.dsh/mcp.secrets.json`. Пресеты больше не доверены по умолчанию: кнопка **«Проверить и доверять»** показывает команду/URL и требует подтверждения. Промпты сервера открываются кнопкой **Prompts**: аргументы, запуск и копирование результата. HTTP-серверы подключаются через **OAuth 2.1 + PKCE**, **sampling** идёт через approval-карточку DSH, а **elicitation** — через глобальную форму с Accept/Decline.
|
|
12
12
|
|
|
13
|
-

|
|
14
14
|
|
|
15
|
-

|
|
16
16
|
|
|
17
|
-

|
|
18
18
|
|
|
19
19
|
## Агенты, worktrees и рой
|
|
20
20
|
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
- **Живые сообщения** — `team_message` отправляет текст лиду (`to="parent"`) или участнику по run id; копия каждого сообщения остаётся в board.
|
|
27
27
|
- **Инструкции проекта** — `AGENTS.md`/`CLAUDE.md` иерархически (root → вложенные папки → `.dsh`) с `@import`; MCP roots сообщает корень проекта.
|
|
28
28
|
|
|
29
|
-

|
|
30
30
|
|
|
31
|
-

|
|
32
32
|
|
|
33
|
-

|
|
34
34
|
|
|
35
|
-
Транскрипт сохраняется в `.dsh/agents/transcripts/<run>.json` (0600) и доступен после restart.\n\n и доступен после restart.\n\n
|
|
36
36
|
|
|
37
|
-

|
|
38
38
|
|
|
39
|
-

|
|
40
40
|
|
|
41
41
|
## Интеграции
|
|
42
42
|
|
|
@@ -47,9 +47,9 @@ Marketplace, IDE bridge и sandbox — в одном экране **Настро
|
|
|
47
47
|
- **Sandbox** — `sandbox_run` на Windows Job Objects: лимиты памяти, процессов и времени, kill-on-close. Это process containment, **не** filesystem/network isolation.
|
|
48
48
|
- **HTTP API** — `/api/dsh-integrations/*` проверен живым DSH web-профилем: auth-cookie → `POST status` → 200.
|
|
49
49
|
|
|
50
|
-

|
|
51
51
|
|
|
52
|
-

|
|
53
53
|
|
|
54
54
|
## Ноль настройки
|
|
55
55
|
|
|
@@ -71,11 +71,11 @@ MCP-предложения — это только **ссылки на подд
|
|
|
71
71
|
- **Worktrees и фоновые агенты.** `project_worktree` создаёт ветку `dsh/<slug>` и отдельную папку `.dsh/worktrees/<slug>`; `project_agent ... worktree=auto background=true` запускает агента в изоляции, а страница **Агенты** показывает worktrees и очередь запусков с кнопкой «Остановить».
|
|
72
72
|
- **Инструкции проекта.** `AGENTS.md` и `CLAUDE.md` читаются иерархически (root → вложенные папки → `.dsh`) с `@import`; MCP roots сообщает серверу корень проекта.
|
|
73
73
|
|
|
74
|
-

|
|
75
75
|
|
|
76
|
-

|
|
77
77
|
|
|
78
|
-
**v2.23.
|
|
78
|
+
**v2.23.2** · MIT · проверено на DSH `0.2.1-rc.5` и `0.2.2-rc.1` (Windows 11) · без внешних зависимостей и телеметрии
|
|
79
79
|
|
|
80
80
|
**План развития:** [docs/ROADMAP-3.0.md](docs/ROADMAP-3.0.md) — Memory Fabric, семантическое
|
|
81
81
|
слияние, локальный индекс памяти, шифрованные переносы, Memory Hub и npm trusted publishing.
|
|
@@ -170,27 +170,27 @@ MCP-предложения — это только **ссылки на подд
|
|
|
170
170
|
- перед каждой синхронизацией проверяется, что репозиторий всё ещё приватный;
|
|
171
171
|
- секреты и PII вычищаются, домашние пути заменяются токеном `%DSH_HOME%`; LLM не вызывается — **0 токенов**.
|
|
172
172
|
|
|
173
|
-

|
|
174
174
|
|
|
175
|
-

|
|
176
176
|
|
|
177
177
|
## Скриншоты
|
|
178
178
|
|
|
179
179
|
### Skills Studio: каталог, стоимость и редактор
|
|
180
180
|
|
|
181
|
-

|
|
182
182
|
|
|
183
|
-

|
|
184
184
|
|
|
185
185
|
### Token Lab: куда уходит контекст
|
|
186
186
|
|
|
187
|
-

|
|
188
188
|
|
|
189
189
|
### Тёмная тема и мобильный
|
|
190
190
|
|
|
191
|
-

|
|
192
192
|
|
|
193
|
-

|
|
194
194
|
|
|
195
195
|
## Окно-напоминание: пиковый тариф
|
|
196
196
|
|
|
@@ -200,11 +200,11 @@ DeepSeek включает двойной тариф в пиковые часы (
|
|
|
200
200
|
- **в окне** — красная карточка: причина, границы окна в местном времени и UTC, живой отсчёт до конца и рекомендация, когда вернуться;
|
|
201
201
|
- **после окна** — карточка исчезает; состояние всегда доступно через `window.__DSH_PEAK_GUARD__.state()`.
|
|
202
202
|
|
|
203
|
-

|
|
204
204
|
|
|
205
|
-

|
|
206
206
|
|
|
207
|
-

|
|
208
208
|
|
|
209
209
|
Подробности и настройки — [plugins/dsh-peak-guard/README.md](plugins/dsh-peak-guard/README.md).
|
|
210
210
|
|
|
@@ -252,7 +252,7 @@ DeepSeek включает двойной тариф в пиковые часы (
|
|
|
252
252
|
|
|
253
253
|
### Через интерфейс «Плагины» (рекомендуется)
|
|
254
254
|
|
|
255
|
-
В DSH: **Плагины → Add plugin** → вставьте `dsh-desktop-kit@2.23.
|
|
255
|
+
В DSH: **Плагины → Add plugin** → вставьте `dsh-desktop-kit@2.23.2` → перезапустите окно (`Ctrl+R`).
|
|
256
256
|
|
|
257
257
|
### Локальная папка
|
|
258
258
|
|
|
@@ -311,7 +311,7 @@ powershell -ExecutionPolicy Bypass -File "$env:USERPROFILE\dsh-desktop-kit\insta
|
|
|
311
311
|
- `node tools/e2e-smoke.mjs` — реальный профиль собирается с kit.
|
|
312
312
|
- `node tools/marketplace-remote-tests.mjs` — HTTPS/SHA-256 установка.
|
|
313
313
|
- `node tools/sandbox-tests.mjs` — Job Object лимиты.
|
|
314
|
-
- `npm run verify:release -- 2.23.
|
|
314
|
+
- `npm run verify:release -- 2.23.2` — version/latest/README.
|
|
315
315
|
|
|
316
316
|
## Документация
|
|
317
317
|
|
package/client.js
CHANGED
|
@@ -7690,7 +7690,8 @@ var(--dsw-alias-bg-layer-1,#fff);box-shadow:inset 0 1px 0 color-mix(in srgb,#fff
|
|
|
7690
7690
|
const useWorkspaces = props && props.useWorkspaces;
|
|
7691
7691
|
const sessionId = useSessions ? useSessions(currentSessionSelector) : undefined;
|
|
7692
7692
|
const workspaceSnapshot = useWorkspaces ? useWorkspaces((snapshot) => snapshot) : undefined;
|
|
7693
|
-
const workspaces = Array.isArray(workspaceSnapshot?.items) ? workspaceSnapshot.items : []
|
|
7693
|
+
const workspaces = (Array.isArray(workspaceSnapshot?.items) ? workspaceSnapshot.items : [])
|
|
7694
|
+
.filter((item) => item && typeof item === "object");
|
|
7694
7695
|
const workspace = workspaces.find((item) => Array.isArray(item.sessionIds) && item.sessionIds.includes(sessionId))
|
|
7695
7696
|
?? workspaces.find((item) => Array.isArray(item.sessionIds) && item.sessionIds.length > 0)
|
|
7696
7697
|
?? workspaces[0];
|
|
@@ -7740,10 +7741,14 @@ var(--dsw-alias-bg-layer-1,#fff);box-shadow:inset 0 1px 0 color-mix(in srgb,#fff
|
|
|
7740
7741
|
}
|
|
7741
7742
|
};
|
|
7742
7743
|
|
|
7743
|
-
const agents = state.data?.agents
|
|
7744
|
-
const worktrees = state.data?.worktrees
|
|
7745
|
-
const runs = state.data?.runs
|
|
7746
|
-
const
|
|
7744
|
+
const agents = Array.isArray(state.data?.agents) ? state.data.agents : [];
|
|
7745
|
+
const worktrees = Array.isArray(state.data?.worktrees) ? state.data.worktrees : [];
|
|
7746
|
+
const runs = Array.isArray(state.data?.runs) ? state.data.runs : [];
|
|
7747
|
+
const rawBoard = state.data?.board ?? {};
|
|
7748
|
+
const board = {
|
|
7749
|
+
messages: Array.isArray(rawBoard.messages) ? rawBoard.messages : [],
|
|
7750
|
+
tasks: Array.isArray(rawBoard.tasks) ? rawBoard.tasks : [],
|
|
7751
|
+
};
|
|
7747
7752
|
const readOnly = agents.filter((agent) => agent.permission === "read-only").length;
|
|
7748
7753
|
const models = new Set(agents.map((agent) => agent.model).filter(Boolean)).size;
|
|
7749
7754
|
return h("section", { className: "ag-root", "aria-label": "Агенты проекта" },
|
|
@@ -7860,7 +7865,7 @@ var(--dsw-alias-bg-layer-1,#fff);box-shadow:inset 0 1px 0 color-mix(in srgb,#fff
|
|
|
7860
7865
|
}, "agent-extensions: styles");
|
|
7861
7866
|
ctx.effect(() => ctx.slots.inject("settings.section", () => ctx.slots.register({
|
|
7862
7867
|
name: "settings.section",
|
|
7863
|
-
id: "
|
|
7868
|
+
id: "dsh-project-agents",
|
|
7864
7869
|
order: 34,
|
|
7865
7870
|
label: () => "Агенты",
|
|
7866
7871
|
}, AgentsSection)), "agent-extensions: settings");
|
|
@@ -8259,7 +8264,7 @@ var(--dsw-alias-bg-layer-1,#fff);box-shadow:inset 0 1px 0 color-mix(in srgb,#fff
|
|
|
8259
8264
|
if (__kitErrors.length <= 5) console.error("[dsh-desktop-kit] registration failed:", label, message);
|
|
8260
8265
|
};
|
|
8261
8266
|
try {
|
|
8262
|
-
window.__DSH_DESKTOP_KIT__ = { version: "2.23.
|
|
8267
|
+
window.__DSH_DESKTOP_KIT__ = { version: "2.23.2", parts: __partNames, errors: __kitErrors, ready: false };
|
|
8263
8268
|
} catch {}
|
|
8264
8269
|
const __inject = [];
|
|
8265
8270
|
for (const __part of __parts) {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# DSH Desktop Kit 2.23.2 — агенты
|
|
2
|
+
|
|
3
|
+
Дата: 2026-11-12.
|
|
4
|
+
|
|
5
|
+
## Причина
|
|
6
|
+
|
|
7
|
+
В установленном `client.js` 2.23.1 секция «Агенты» и её регистрация присутствуют. Значит, панель могла исчезать из-за render-исключения:
|
|
8
|
+
- `workspaces.find` по `null`;
|
|
9
|
+
- `board.messages.slice` / `tasks.slice`, если API вернул не массив.
|
|
10
|
+
|
|
11
|
+
## Исправление
|
|
12
|
+
|
|
13
|
+
- Нормализация `agents`, `worktrees`, `runs`, `messages`, `tasks`.
|
|
14
|
+
- `workspaces.filter(Boolean)`.
|
|
15
|
+
- id секции `dsh-project-agents`.
|
|
16
|
+
|
|
17
|
+
Примечание: React error boundary не добавлен — в DSH client `React.Component` недоступен (`undefined`), это ломает bundle.
|
|
18
|
+
|
|
19
|
+
## Проверки
|
|
20
|
+
|
|
21
|
+
- build/check — OK.
|
|
22
|
+
- npm test — exit 0.
|
|
23
|
+
- client bundle содержит `AgentsGuard`, `dsh-project-agents`.
|
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.2",
|
|
4
|
+
"description": "DeepSeek Harness desktop kit 2.23.2: 16 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",
|
|
@@ -128,7 +128,8 @@ window.__ModuleLoader__.load({
|
|
|
128
128
|
const useWorkspaces = props && props.useWorkspaces;
|
|
129
129
|
const sessionId = useSessions ? useSessions(currentSessionSelector) : undefined;
|
|
130
130
|
const workspaceSnapshot = useWorkspaces ? useWorkspaces((snapshot) => snapshot) : undefined;
|
|
131
|
-
const workspaces = Array.isArray(workspaceSnapshot?.items) ? workspaceSnapshot.items : []
|
|
131
|
+
const workspaces = (Array.isArray(workspaceSnapshot?.items) ? workspaceSnapshot.items : [])
|
|
132
|
+
.filter((item) => item && typeof item === "object");
|
|
132
133
|
const workspace = workspaces.find((item) => Array.isArray(item.sessionIds) && item.sessionIds.includes(sessionId))
|
|
133
134
|
?? workspaces.find((item) => Array.isArray(item.sessionIds) && item.sessionIds.length > 0)
|
|
134
135
|
?? workspaces[0];
|
|
@@ -178,10 +179,14 @@ window.__ModuleLoader__.load({
|
|
|
178
179
|
}
|
|
179
180
|
};
|
|
180
181
|
|
|
181
|
-
const agents = state.data?.agents
|
|
182
|
-
const worktrees = state.data?.worktrees
|
|
183
|
-
const runs = state.data?.runs
|
|
184
|
-
const
|
|
182
|
+
const agents = Array.isArray(state.data?.agents) ? state.data.agents : [];
|
|
183
|
+
const worktrees = Array.isArray(state.data?.worktrees) ? state.data.worktrees : [];
|
|
184
|
+
const runs = Array.isArray(state.data?.runs) ? state.data.runs : [];
|
|
185
|
+
const rawBoard = state.data?.board ?? {};
|
|
186
|
+
const board = {
|
|
187
|
+
messages: Array.isArray(rawBoard.messages) ? rawBoard.messages : [],
|
|
188
|
+
tasks: Array.isArray(rawBoard.tasks) ? rawBoard.tasks : [],
|
|
189
|
+
};
|
|
185
190
|
const readOnly = agents.filter((agent) => agent.permission === "read-only").length;
|
|
186
191
|
const models = new Set(agents.map((agent) => agent.model).filter(Boolean)).size;
|
|
187
192
|
return h("section", { className: "ag-root", "aria-label": "Агенты проекта" },
|
|
@@ -298,7 +303,7 @@ window.__ModuleLoader__.load({
|
|
|
298
303
|
}, "agent-extensions: styles");
|
|
299
304
|
ctx.effect(() => ctx.slots.inject("settings.section", () => ctx.slots.register({
|
|
300
305
|
name: "settings.section",
|
|
301
|
-
id: "
|
|
306
|
+
id: "dsh-project-agents",
|
|
302
307
|
order: 34,
|
|
303
308
|
label: () => "Агенты",
|
|
304
309
|
}, AgentsSection)), "agent-extensions: settings");
|