dsh-plugin-tool-management 0.21.9 → 0.22.1

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.
@@ -76,10 +76,6 @@ export function normalizeArchive(raw) {
76
76
  out.toolTablePreset = toolTablePreset;
77
77
  return out;
78
78
  }
79
- /** 档案里有没有写过这一段 —— 「没写过」与「写过但为空」语义不同。 */
80
- export function hasSection(archive, section) {
81
- return archive[section] !== undefined;
82
- }
83
79
  /**
84
80
  * MCP 段应用计划:段已定义 → 对并集里每台服务器产出**精确停用名单(勾选集的补集)**。
85
81
  * 服务器未勾(键缺失)→ ['*'] 整台停用(guard/restrict 原生支持通配,服务器后加载也会被拦);
@@ -104,7 +104,9 @@ export function createCandidates(deps) {
104
104
  const rows = [];
105
105
  try {
106
106
  const r = await skillsService.ops['skill-state']({});
107
- for (const root of ((r && r.data && r.data.roots) || [])) {
107
+ const roots = (r && r.data && r.data.roots) || [];
108
+ for (let rootIndex = 0; rootIndex < roots.length; rootIndex++) {
109
+ const root = roots[rootIndex];
108
110
  const rootKey = String((root && root.key) || '');
109
111
  if (!rootKey)
110
112
  continue;
@@ -122,6 +124,7 @@ export function createCandidates(deps) {
122
124
  rootLabel: String((root && root.label) || rootKey),
123
125
  ...(root && root.localeKey ? { rootLocaleKey: String(root.localeKey) } : {}),
124
126
  ...(root && root.kind ? { rootKind: String(root.kind) } : {}),
127
+ rootIndex,
125
128
  });
126
129
  }
127
130
  }
@@ -326,6 +326,82 @@ export function scanSessionClaims(input) {
326
326
  }
327
327
  return { claims, explicit, traced };
328
328
  }
329
+ /**
330
+ * 认领者名单(徽章浮窗用):键 → 那些对话(标题 + 工作区 + 落在哪几格)。
331
+ *
332
+ * 徽章只说"临时运行 · N 个对话",用户要问的是"是哪几个"—— 这一份就是答案。
333
+ * 与 `claims` 同源:个数与名单永远一致(同一批会话 id)。
334
+ *
335
+ * 清单里没有的会话(孤儿 / 清单读不到时用来占位的作用域键)只留一个短 id:
336
+ * 编不出标题与工作区时如实留空,不猜。
337
+ *
338
+ * @param claims 键 → 认领会话 id(`scanSessionClaims` 的 `claims`)。
339
+ * @param rows 会话 id → 那一行的标题与工作区目录。
340
+ * @param domain 这一格的域(写进 `keys`,界面照着它写会话层的覆盖)。
341
+ */
342
+ export function leaseSessionDetails(domain, claims, rows) {
343
+ const out = {};
344
+ for (const [key, ids] of claims) {
345
+ out[key] = ids.map((id) => ({
346
+ id,
347
+ title: leaseTitleOf(id, rows),
348
+ cwd: leaseCwdOf(id, rows),
349
+ keys: [{ domain, key }],
350
+ }));
351
+ }
352
+ return out;
353
+ }
354
+ /**
355
+ * **来源格**的认领者名单:来源自己 + 它底下那些技能各自认领的对话(**并集**)。
356
+ *
357
+ * 为什么是并集:官方内置 / DSH 技能这类**默认来源没有来源级开关**,租约只落在底下的
358
+ * 技能上;而技能要加载就得让来源开着 —— 所以"这个来源里还有几个对话在临时运行"正是
359
+ * 这个并集。少了它,默认来源的组头永远是干净的(用户 2026-11-05 报障)。
360
+ *
361
+ * `keys` 记下这一条认领**具体落在哪几格**:来源那一格 + 底下那些技能各自的键。界面那颗
362
+ * 「×」照着它写会话层的覆盖,不必自己再猜一遍。
363
+ *
364
+ * @param sourceClaims 来源 → 认领会话 id。
365
+ * @param skillClaims 技能键(`<来源>/<技能名>`)→ 认领会话 id。
366
+ * @param rows 会话 id → 那一行的标题与工作区目录。
367
+ */
368
+ export function leaseSourceDetails(sourceClaims, skillClaims, rows) {
369
+ const out = {};
370
+ for (const [root, ids] of sourceClaims) {
371
+ out[root] = ids.map((id) => ({
372
+ id,
373
+ title: leaseTitleOf(id, rows),
374
+ cwd: leaseCwdOf(id, rows),
375
+ keys: [{ domain: 'skillSources', key: root }],
376
+ }));
377
+ }
378
+ for (const [skillKey, ids] of skillClaims) {
379
+ const slash = skillKey.indexOf('/');
380
+ if (slash <= 0)
381
+ continue;
382
+ const root = skillKey.slice(0, slash);
383
+ const list = out[root] ?? (out[root] = []);
384
+ for (const id of ids) {
385
+ let row = list.find((item) => item.id === id);
386
+ if (row === undefined) {
387
+ row = { id, title: leaseTitleOf(id, rows), cwd: leaseCwdOf(id, rows), keys: [] };
388
+ list.push(row);
389
+ }
390
+ row.keys.push({ domain: 'skills', key: skillKey });
391
+ }
392
+ }
393
+ return out;
394
+ }
395
+ /** 认领者的标题:清单里有就用它,没有就回落到短 id(不编)。 */
396
+ function leaseTitleOf(id, rows) {
397
+ const row = rows.get(id);
398
+ return row !== undefined && typeof row.title === 'string' && row.title !== '' ? row.title : id.slice(0, 8);
399
+ }
400
+ /** 认领者的工作区目录:清单里没有就是空串(它不属于任何工作区)。 */
401
+ function leaseCwdOf(id, rows) {
402
+ const row = rows.get(id);
403
+ return row !== undefined && typeof row.cwd === 'string' ? row.cwd : '';
404
+ }
329
405
  /**
330
406
  * 意图 / 运行态对账(纯函数)。运行态的目标恒为 `intent ∪ 租约`:
331
407
  *
@@ -18,7 +18,6 @@
18
18
  // 会话头里没有它。要拿得走 `ctx.workspaceRegistry` 线性查一遍(每个 step 一次)。
19
19
  // 「工作区隔离」因此以**会话头的 cwd** 为准(与下拉分组、工作区挂回同一口径),
20
20
  // 派生出的作用域键见 `scope/workspace-key.ts`;仍然不需要 workspaceId。
21
- import { nearestProjectRoot } from '../skills/skill-roots.js';
22
21
  import { isWorkspaceScopeKey, workspaceScopeKeyOf } from './workspace-key.js';
23
22
  /**
24
23
  * 见过的会话 cwd(工作区模式用)。
@@ -124,23 +123,6 @@ export function sessionScopeIdOf(agent) {
124
123
  current = up;
125
124
  }
126
125
  }
127
- /**
128
- * 会话的项目根(判据与官方一致:向上找最近的 `.git`,找不到就没有项目根)。
129
- *
130
- * 与 `skills/skill-roots.ts` 的 `nearestProjectRoot` 是**同一个函数**,不另写一份 ——
131
- * 项目技能根与项目 AGENTS.md 必须认同一个目录,否则"技能按 A 项目隔离、指令按 B 项目读"。
132
- */
133
- export async function projectRootOf(cwd) {
134
- if (cwd === undefined)
135
- return null;
136
- try {
137
- const found = await nearestProjectRoot(cwd);
138
- return found && found.root ? found.root : null;
139
- }
140
- catch {
141
- return null;
142
- }
143
- }
144
126
  // ── 工作区模式:把一个会话折叠到工作区作用域键 ──────────────────────
145
127
  /**
146
128
  * 一个**已知 cwd 的会话 id** → 当前模式下的作用域键(同步)。
@@ -69,8 +69,6 @@ export function clampPromptBaseline(text) {
69
69
  end -= 1;
70
70
  return bytes.subarray(0, end).toString('utf8');
71
71
  }
72
- /** 三种隔离粒度(界面与校验共用,顺序即界面顺序:从最粗到最细)。 */
73
- export const SCOPE_MODES = Object.freeze(['global', 'session', 'workspace']);
74
72
  /** 夹一个模式;不认识的按会话粒度。 */
75
73
  export function normalizeScopeMode(raw) {
76
74
  if (raw === 'global' || raw === 'workspace')
@@ -90,10 +88,6 @@ const MAX_RECORD_KEY_LENGTH = 1024;
90
88
  export function isFlagDomain(domain) {
91
89
  return typeof domain === 'string' && SCOPE_FLAG_DOMAINS.includes(domain);
92
90
  }
93
- /** 是不是覆盖域(含 `scene`)。 */
94
- export function isScopeDomain(domain) {
95
- return domain === 'scene' || isFlagDomain(domain);
96
- }
97
91
  /** 一个键能不能进覆盖表:非空、不超长、不含控制字符(键最终会进 JSON,不参与路径拼接)。 */
98
92
  function validKey(key) {
99
93
  // `__proto__` 会在普通对象上改原型而不是落一个自有属性 —— 侧车里出现它时按非法键丢弃。
@@ -9,6 +9,7 @@
9
9
  // 运行侧不碰人设清单的那份缓存(`cache` / `enabledCache` 都在 service.ts 那一层),
10
10
  // 所以它只需要 ctx / req / message 三件。
11
11
  import { randomUUID } from 'node:crypto';
12
+ import { EXPECTED_MIN_HOST_VERSION } from '../compat/probe.js';
12
13
  import { emptyResultNote, renderPersonaPrompt, RESULT_MAX, textOfBlocks, } from './persona-parse.js';
13
14
  import { childPresetDefinition } from './child-preset.js';
14
15
  // 拆出四层后 subagents/service.js 的公开面照旧(index.ts、ops/sessions.ts、scenes/candidates.ts、
@@ -37,7 +38,8 @@ export function createRunProvider(deps) {
37
38
  async function ensureProvider(kind) {
38
39
  const runtime = deps.ctx.get?.('subagents');
39
40
  if (!runtime || typeof runtime.startActivation !== 'function') {
40
- throw new Error('the subagent service is not mounted or lacks startActivation (ctx.subagents is missing; check that DSH is >= 0.2.1-rc.2)');
41
+ throw new Error('the subagent service is not mounted or lacks startActivation '
42
+ + `(ctx.subagents is missing; check that DSH is >= ${EXPECTED_MIN_HOST_VERSION})`);
41
43
  }
42
44
  if (hasProvider(runtime, kind))
43
45
  return runtime;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * 官方 `tools.restrict()` 的**保留名**:名单里出现它时,官方不是"当它不存在",而是**直接抛错**
3
- * (`dsh-tools/lib/index.js:2800`:cannot name reserved PTC mode presentation transport),
3
+ * (`dsh-tools/lib/index.js:463`:cannot name reserved PTC mode presentation transport),
4
4
  * 子代理当场起不来。
5
5
  *
6
6
  * 为什么必须在这里显式剔除:`run_code` 在宿主面上是**合法可见**的工具名(非 native 模式下
@@ -21,7 +21,7 @@ export function stripReserved(names) {
21
21
  *
22
22
  * 为什么必须按预设分:子代理跑在父会话的预设里(官方 `composeFrom(childCtx, parent.ctx)`),
23
23
  * 而各预设的工具集合差别极大(极简模式只有持久 shell)。官方 `tools.restrict()` 实有
24
- * **四个**抛错点(`dsh-tools/lib/index.js:2790-2803`),抛了子代理就起不来:
24
+ * **四个**抛错点(`dsh-tools/lib/index.js:455-466`),抛了子代理就起不来:
25
25
  *
26
26
  * ① 非 scoped context 调用(宿主 `childCtx` 已满足,无风险);
27
27
  * ② `allow` 与 `deny` 同时缺省 ⇒ `restrict({})` 抛 —— 本函数用 `filter: null`(不下发)
@@ -24,8 +24,6 @@ export const UPDATE_CHECK_FILE = 'update-check.json';
24
24
  export const PACKAGE_NAME = 'dsh-plugin-tool-management';
25
25
  /** npm 官方 registry:没有宿主登记时的唯一来源,也是单源回退的默认值。 */
26
26
  const DEFAULT_REGISTRY = 'https://registry.npmjs.org/';
27
- /** npm registry 的元数据地址(单源回退时使用)。 */
28
- export const REGISTRY_URL = DEFAULT_REGISTRY + PACKAGE_NAME;
29
27
  /** 公网源集合:宿主测速只覆盖这两个,只有它们能被测速结果提到最前。 */
30
28
  const PUBLIC_REGISTRIES = new Set([DEFAULT_REGISTRY, 'https://registry.npmmirror.com/']);
31
29
  /**
package/package.json CHANGED
@@ -1,152 +1,152 @@
1
- {
2
- "name": "dsh-plugin-tool-management",
3
- "version": "0.21.9",
4
- "description": "一个设置面板,统一管理 MCP、技能、记忆、子智能体、提示词和归档会话;可自定义搭配场景,一个场景即可切换整个环境;Agent也能帮你操作这个插件。",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/ouli-1242/dsh-plugin-tool-management"
8
- },
9
- "type": "module",
10
- "main": "lib/index.js",
11
- "exports": {
12
- ".": "./lib/index.js",
13
- "./client": "./lib/client.js",
14
- "./workspace": "./lib/sessions/workspace.js",
15
- "./locale/*.json": "./locale/*.json",
16
- "./package.json": "./package.json"
17
- },
18
- "files": [
19
- "lib",
20
- "locale",
21
- "cordis.patch.yml",
22
- "README.md",
23
- "README_EN.md",
24
- "CHANGELOG.md",
25
- "LICENSE",
26
- "screenshots.json",
27
- "docs/images",
28
- "docs/UPDATE.md"
29
- ],
30
- "engines": {
31
- "dsh": ">=0.2.1-rc.5 <0.2.2",
32
- "node": ">=18"
33
- },
34
- "publishConfig": {
35
- "registry": "https://registry.npmjs.org",
36
- "access": "public"
37
- },
38
- "scripts": {
39
- "build": "tsc -p tsconfig.json && node scripts/sync-client.mjs && node scripts/sync-profile.mjs",
40
- "prepublishOnly": "npm run build && npm run lint && npm run typecheck:client && node --test test/client-exports.test.mjs",
41
- "lint": "node --check lib/client.js && node --check lib/index.js",
42
- "typecheck:client": "node scripts/sync-client.mjs && tsc -p tsconfig.client.json",
43
- "check:i18n": "node scripts/check-i18n.mjs lib/client.js",
44
- "check:host": "node scripts/host-deps.mjs && node scripts/doctor.mjs",
45
- "check:strict": "node scripts/check-strict.mjs",
46
- "host-deps": "node scripts/host-deps.mjs --fix",
47
- "doctor": "node scripts/doctor.mjs",
48
- "test": "npm run build && npm run check:i18n && npm run typecheck:client && node --test test/contracts.test.mjs test/client-exports.test.mjs",
49
- "sync:profile": "node scripts/sync-profile.mjs"
50
- },
51
- "keywords": [
52
- "dsh",
53
- "deepseek-harness",
54
- "skill",
55
- "skills",
56
- "mcp",
57
- "mcp-server",
58
- "plugin",
59
- "cordis"
60
- ],
61
- "dsh": {
62
- "bundle": {
63
- "patch": "./cordis.patch.yml"
64
- },
65
- "client": {
66
- "platform": "web",
67
- "inject": [
68
- "@deepseek-ai/dsh-client-locale",
69
- "@deepseek-ai/dsh-client-ui-input-trigger"
70
- ]
71
- }
72
- },
73
- "icon": "./docs/images/logo.png",
74
- "peerDependencies": {
75
- "@deepseek-ai/cordis": "^4.0.2",
76
- "@deepseek-ai/dsh-agent-preset-registry": ">=0.2.1-rc.5 <0.2.2",
77
- "@deepseek-ai/dsh-llm": ">=0.2.1-rc.5 <0.2.2",
78
- "@deepseek-ai/dsh-session": ">=0.2.1-rc.5 <0.2.2",
79
- "@deepseek-ai/dsh-session-projection-cache": ">=0.2.1-rc.5 <0.2.2",
80
- "@deepseek-ai/dsh-settings": ">=0.2.1-rc.5 <0.2.2",
81
- "@deepseek-ai/dsh-spill-local": ">=0.2.1-rc.5 <0.2.2",
82
- "@deepseek-ai/dsh-storage-domain": ">=0.2.1-rc.5 <0.2.2",
83
- "@deepseek-ai/dsh-subagent-fork-in-process": ">=0.2.1-rc.5 <0.2.2",
84
- "@deepseek-ai/dsh-subagent-spawn-in-process": ">=0.2.1-rc.5 <0.2.2",
85
- "@deepseek-ai/dsh-tools": ">=0.2.1-rc.5 <0.2.2",
86
- "@deepseek-ai/dsh-workspace": ">=0.2.1-rc.5 <0.2.2",
87
- "react": "^18.2.0"
88
- },
89
- "peerDependenciesMeta": {
90
- "@deepseek-ai/cordis": {
91
- "optional": true
92
- },
93
- "@deepseek-ai/dsh-agent-preset-registry": {
94
- "optional": true
95
- },
96
- "@deepseek-ai/dsh-llm": {
97
- "optional": true
98
- },
99
- "@deepseek-ai/dsh-session": {
100
- "optional": true
101
- },
102
- "@deepseek-ai/dsh-session-projection-cache": {
103
- "optional": true
104
- },
105
- "@deepseek-ai/dsh-settings": {
106
- "optional": true
107
- },
108
- "@deepseek-ai/dsh-spill-local": {
109
- "optional": true
110
- },
111
- "@deepseek-ai/dsh-storage-domain": {
112
- "optional": true
113
- },
114
- "@deepseek-ai/dsh-subagent-fork-in-process": {
115
- "optional": true
116
- },
117
- "@deepseek-ai/dsh-subagent-spawn-in-process": {
118
- "optional": true
119
- },
120
- "@deepseek-ai/dsh-tools": {
121
- "optional": true
122
- },
123
- "@deepseek-ai/dsh-workspace": {
124
- "optional": true
125
- }
126
- },
127
- "devDependencies": {
128
- "@deepseek-ai/cordis": "^4.0.5",
129
- "@deepseek-ai/dsh-agent-preset-registry": "^0.2.1-rc.3",
130
- "@deepseek-ai/dsh-llm": "^0.2.1-rc.3",
131
- "@deepseek-ai/dsh-session": "^0.2.1-rc.3",
132
- "@deepseek-ai/dsh-session-projection-cache": "^0.2.1-rc.3",
133
- "@deepseek-ai/dsh-settings": "^0.2.1-rc.3",
134
- "@deepseek-ai/dsh-spill-local": "^0.2.1-rc.3",
135
- "@deepseek-ai/dsh-storage-domain": "^0.2.1-rc.3",
136
- "@deepseek-ai/dsh-subagent-fork-in-process": "^0.2.1-rc.3",
137
- "@deepseek-ai/dsh-subagent-spawn-in-process": "^0.2.1-rc.3",
138
- "@deepseek-ai/dsh-tools": "^0.2.1-rc.3",
139
- "@deepseek-ai/dsh-workspace": "^0.2.1-rc.3",
140
- "@types/js-yaml": "^4.0.9",
141
- "@types/node": "^24.0.0",
142
- "@types/semver": "^7.7.0",
143
- "react": "^18.2.0",
144
- "typescript": "^6.0.0"
145
- },
146
- "license": "MIT",
147
- "dependencies": {
148
- "fflate": "^0.8.3",
149
- "js-yaml": "^4.3.2",
150
- "semver": "^7.7.2"
151
- }
152
- }
1
+ {
2
+ "name": "dsh-plugin-tool-management",
3
+ "version": "0.22.1",
4
+ "description": "一个设置面板,统一管理 MCP、技能、记忆、子智能体、提示词和归档会话;可自定义搭配场景,一个场景即可切换整个环境;Agent也能帮你操作这个插件。",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/ouli-1242/dsh-plugin-tool-management"
8
+ },
9
+ "type": "module",
10
+ "main": "lib/index.js",
11
+ "exports": {
12
+ ".": "./lib/index.js",
13
+ "./client": "./lib/client.js",
14
+ "./workspace": "./lib/sessions/workspace.js",
15
+ "./locale/*.json": "./locale/*.json",
16
+ "./package.json": "./package.json"
17
+ },
18
+ "files": [
19
+ "lib",
20
+ "locale",
21
+ "cordis.patch.yml",
22
+ "README.md",
23
+ "README_EN.md",
24
+ "CHANGELOG.md",
25
+ "LICENSE",
26
+ "screenshots.json",
27
+ "docs/images",
28
+ "docs/UPDATE.md"
29
+ ],
30
+ "engines": {
31
+ "dsh": ">=0.2.2-rc.1 <0.2.3",
32
+ "node": ">=24.9"
33
+ },
34
+ "publishConfig": {
35
+ "registry": "https://registry.npmjs.org",
36
+ "access": "public"
37
+ },
38
+ "scripts": {
39
+ "build": "tsc -p tsconfig.json && node scripts/sync-client.mjs && node scripts/sync-profile.mjs",
40
+ "prepublishOnly": "npm run build && npm run lint && npm run typecheck:client && node --test test/client-exports.test.mjs",
41
+ "lint": "node --check lib/client.js && node --check lib/index.js",
42
+ "typecheck:client": "node scripts/sync-client.mjs && tsc -p tsconfig.client.json",
43
+ "check:i18n": "node scripts/check-i18n.mjs lib/client.js",
44
+ "check:host": "node scripts/host-deps.mjs && node scripts/doctor.mjs",
45
+ "check:strict": "node scripts/check-strict.mjs",
46
+ "host-deps": "node scripts/host-deps.mjs --fix",
47
+ "doctor": "node scripts/doctor.mjs",
48
+ "test": "npm run build && npm run check:i18n && npm run typecheck:client && node --test test/contracts.test.mjs test/client-exports.test.mjs",
49
+ "sync:profile": "node scripts/sync-profile.mjs"
50
+ },
51
+ "keywords": [
52
+ "dsh",
53
+ "deepseek-harness",
54
+ "skill",
55
+ "skills",
56
+ "mcp",
57
+ "mcp-server",
58
+ "plugin",
59
+ "cordis"
60
+ ],
61
+ "dsh": {
62
+ "bundle": {
63
+ "patch": "./cordis.patch.yml"
64
+ },
65
+ "client": {
66
+ "platform": "web",
67
+ "inject": [
68
+ "@deepseek-ai/dsh-client-locale",
69
+ "@deepseek-ai/dsh-client-ui-input-trigger"
70
+ ]
71
+ }
72
+ },
73
+ "icon": "./docs/images/logo.png",
74
+ "peerDependencies": {
75
+ "@deepseek-ai/cordis": "^4.0.2",
76
+ "@deepseek-ai/dsh-agent-preset-registry": ">=0.2.2-rc.1 <0.2.3",
77
+ "@deepseek-ai/dsh-llm": ">=0.2.2-rc.1 <0.2.3",
78
+ "@deepseek-ai/dsh-session": ">=0.2.2-rc.1 <0.2.3",
79
+ "@deepseek-ai/dsh-session-projection-cache": ">=0.2.2-rc.1 <0.2.3",
80
+ "@deepseek-ai/dsh-settings": ">=0.2.2-rc.1 <0.2.3",
81
+ "@deepseek-ai/dsh-spill-local": ">=0.2.2-rc.1 <0.2.3",
82
+ "@deepseek-ai/dsh-storage-domain": ">=0.2.2-rc.1 <0.2.3",
83
+ "@deepseek-ai/dsh-subagent-fork-in-process": ">=0.2.2-rc.1 <0.2.3",
84
+ "@deepseek-ai/dsh-subagent-spawn-in-process": ">=0.2.2-rc.1 <0.2.3",
85
+ "@deepseek-ai/dsh-tools": ">=0.2.2-rc.1 <0.2.3",
86
+ "@deepseek-ai/dsh-workspace": ">=0.2.2-rc.1 <0.2.3",
87
+ "react": "^18.2.0"
88
+ },
89
+ "peerDependenciesMeta": {
90
+ "@deepseek-ai/cordis": {
91
+ "optional": true
92
+ },
93
+ "@deepseek-ai/dsh-agent-preset-registry": {
94
+ "optional": true
95
+ },
96
+ "@deepseek-ai/dsh-llm": {
97
+ "optional": true
98
+ },
99
+ "@deepseek-ai/dsh-session": {
100
+ "optional": true
101
+ },
102
+ "@deepseek-ai/dsh-session-projection-cache": {
103
+ "optional": true
104
+ },
105
+ "@deepseek-ai/dsh-settings": {
106
+ "optional": true
107
+ },
108
+ "@deepseek-ai/dsh-spill-local": {
109
+ "optional": true
110
+ },
111
+ "@deepseek-ai/dsh-storage-domain": {
112
+ "optional": true
113
+ },
114
+ "@deepseek-ai/dsh-subagent-fork-in-process": {
115
+ "optional": true
116
+ },
117
+ "@deepseek-ai/dsh-subagent-spawn-in-process": {
118
+ "optional": true
119
+ },
120
+ "@deepseek-ai/dsh-tools": {
121
+ "optional": true
122
+ },
123
+ "@deepseek-ai/dsh-workspace": {
124
+ "optional": true
125
+ }
126
+ },
127
+ "devDependencies": {
128
+ "@deepseek-ai/cordis": "^4.1.0",
129
+ "@deepseek-ai/dsh-agent-preset-registry": "^0.2.2-rc.1",
130
+ "@deepseek-ai/dsh-llm": "^0.2.2-rc.1",
131
+ "@deepseek-ai/dsh-session": "^0.2.2-rc.1",
132
+ "@deepseek-ai/dsh-session-projection-cache": "^0.2.2-rc.1",
133
+ "@deepseek-ai/dsh-settings": "^0.2.2-rc.1",
134
+ "@deepseek-ai/dsh-spill-local": "^0.2.2-rc.1",
135
+ "@deepseek-ai/dsh-storage-domain": "^0.2.2-rc.1",
136
+ "@deepseek-ai/dsh-subagent-fork-in-process": "^0.2.2-rc.1",
137
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "^0.2.2-rc.1",
138
+ "@deepseek-ai/dsh-tools": "^0.2.2-rc.1",
139
+ "@deepseek-ai/dsh-workspace": "^0.2.2-rc.1",
140
+ "@types/js-yaml": "^4.0.9",
141
+ "@types/node": "^24.0.0",
142
+ "@types/semver": "^7.7.0",
143
+ "react": "^18.2.0",
144
+ "typescript": "^6.0.0"
145
+ },
146
+ "license": "MIT",
147
+ "dependencies": {
148
+ "fflate": "^0.8.3",
149
+ "js-yaml": "^4.3.2",
150
+ "semver": "^7.7.2"
151
+ }
152
+ }