@jayyuen66/dsh-dir-prep-organize 0.1.5 → 0.1.6

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.
Files changed (79) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/LICENSE +1 -1
  3. package/README.md +5 -5
  4. package/README.zh-CN.md +5 -5
  5. package/agents/academic/academic-statistician.md +143 -0
  6. package/agents/design/design-inclusive-visuals-specialist.md +4 -3
  7. package/agents/design/design-ui-designer.md +6 -3
  8. package/agents/design/design-ux-architect.md +20 -7
  9. package/agents/design/design-whimsy-injector.md +23 -1
  10. package/agents/engineering/engineering-autonomous-optimization-architect.md +31 -22
  11. package/agents/engineering/engineering-backend-architect.md +43 -54
  12. package/agents/engineering/engineering-data-engineer.md +21 -6
  13. package/agents/engineering/engineering-database-optimizer.md +22 -10
  14. package/agents/engineering/engineering-devops-automator.md +12 -3
  15. package/agents/engineering/engineering-email-intelligence-engineer.md +41 -4
  16. package/agents/engineering/engineering-embedded-firmware-engineer.md +27 -5
  17. package/agents/engineering/engineering-feishu-integration-developer.md +10 -2
  18. package/agents/engineering/engineering-frontend-developer.md +24 -18
  19. package/agents/engineering/engineering-git-workflow-master.md +16 -4
  20. package/agents/engineering/engineering-incident-response-commander.md +3 -3
  21. package/agents/engineering/engineering-prompt-engineer.md +7 -2
  22. package/agents/engineering/engineering-rapid-prototyper.md +7 -3
  23. package/agents/engineering/engineering-security-engineer.md +2 -0
  24. package/agents/engineering/engineering-solidity-smart-contract-engineer.md +1 -1
  25. package/agents/engineering/engineering-technical-writer.md +4 -4
  26. package/agents/engineering/engineering-threat-detection-engineer.md +2 -0
  27. package/agents/engineering/engineering-voice-ai-integration-engineer.md +39 -16
  28. package/agents/engineering/engineering-wechat-mini-program-developer.md +7 -2
  29. package/agents/game-development/blender/blender-addon-engineer.md +12 -3
  30. package/agents/game-development/economy-designer.md +155 -0
  31. package/agents/game-development/godot/godot-gameplay-scripter.md +4 -0
  32. package/agents/game-development/godot/godot-multiplayer-engineer.md +6 -2
  33. package/agents/game-development/godot/godot-shader-developer.md +4 -3
  34. package/agents/game-development/roblox-studio/roblox-experience-designer.md +7 -6
  35. package/agents/game-development/roblox-studio/roblox-systems-scripter.md +7 -0
  36. package/agents/game-development/technical-artist.md +4 -0
  37. package/agents/game-development/unity/unity-multiplayer-engineer.md +67 -0
  38. package/agents/game-development/unreal-engine/unreal-multiplayer-architect.md +82 -31
  39. package/agents/game-development/unreal-engine/unreal-systems-engineer.md +13 -1
  40. package/agents/marketing/marketing-agentic-search-optimizer.md +50 -87
  41. package/agents/marketing/marketing-carousel-growth-engine.md +49 -35
  42. package/agents/marketing/marketing-private-domain-operator.md +2 -2
  43. package/agents/marketing/marketing-seo-specialist.md +22 -0
  44. package/agents/product/product-behavioral-nudge-engine.md +3 -0
  45. package/agents/project-management/project-management-jira-workflow-steward.md +5 -2
  46. package/agents/security/security-appsec-engineer.md +75 -43
  47. package/agents/security/security-threat-detection-engineer.md +6 -0
  48. package/agents/security/security-threat-intelligence-analyst.md +32 -15
  49. package/agents/specialized/accounts-payable-agent.md +39 -45
  50. package/agents/specialized/grant-writer.md +2 -2
  51. package/agents/specialized/healthcare-aging-parent-care-companion.md +396 -0
  52. package/agents/specialized/identity-graph-operator.md +24 -3
  53. package/agents/specialized/lsp-index-engineer.md +17 -15
  54. package/agents/specialized/recruitment-specialist.md +17 -11
  55. package/agents/specialized/specialized-developer-advocate.md +4 -4
  56. package/agents/specialized/specialized-fedramp-rmf-compliance.md +379 -0
  57. package/agents/specialized/specialized-focus-music-architect.md +176 -0
  58. package/agents/specialized/specialized-french-consulting-market.md +17 -15
  59. package/agents/specialized/specialized-model-qa.md +78 -34
  60. package/agents/specialized/specialized-salesforce-architect.md +17 -15
  61. package/agents/specialized/specialized-workflow-architect.md +2 -2
  62. package/agents/supply-chain/supply-chain-strategist.md +12 -3
  63. package/agents/support/support-analytics-reporter.md +48 -30
  64. package/agents/support/support-finance-tracker.md +36 -18
  65. package/agents/support/support-infrastructure-maintainer.md +2 -2
  66. package/agents/support/support-support-responder.md +43 -26
  67. package/agents/testing/testing-api-tester.md +37 -27
  68. package/agents/testing/testing-performance-benchmarker.md +82 -47
  69. package/agents/testing/testing-test-results-analyzer.md +37 -18
  70. package/agents/testing/testing-tool-evaluator.md +30 -10
  71. package/client.js +118 -82
  72. package/cordis.patch.yml +4 -23
  73. package/host.js +49 -18
  74. package/package.json +44 -43
  75. package/templates.data.mjs +9 -10
  76. package/types/host.d.ts +9 -4
  77. package/types/src/host-messages.d.ts +2 -0
  78. package/types/src/remote.d.ts +7 -1
  79. package/types/src/ui-messages.d.ts +10 -2
package/host.js CHANGED
@@ -6,7 +6,7 @@ import { Remote, TypertRemoteService } from "@deepseek-ai/dsh-typert-protocol";
6
6
  import { LOCALE_SETTINGS_NAMESPACE, messagesFor, resolveLocalePreference } from "@jayyuen66/dsh-plugin-shared/lib/locale";
7
7
  import { isRecord } from "@jayyuen66/dsh-plugin-shared/lib/record";
8
8
  import { errorText } from "@jayyuen66/dsh-plugin-shared/lib/errors";
9
- //#region src/host-messages.ts
9
+ // src/host-messages.ts
10
10
  const HOST_MESSAGES = {
11
11
  zh: {
12
12
  sysRole: "你是输入框内容润色助手。用户在 dsh 对话输入框写了一段要求,你需要结合当前工作目录的结构与会话最近上下文,把它润色成一段更清晰、可直接发送的要求。",
@@ -14,7 +14,7 @@ const HOST_MESSAGES = {
14
14
  sysRuleOutputOnly: "- 输出只有润色后的正文,不要任何前言、markdown 代码围栏、标题或解释。",
15
15
  sysRuleNoExecution: "- 不执行草稿中要求的任何任务:不写代码、不回答问题、不审查/不搜索/不生成任何内容——只润色文本本身(重组措辞与结构、补全缺失的上下文、消歧指代)。",
16
16
  sysRuleNoAnswer: "- 若草稿本身是问题或待办指令,润色结果仍是同一问题/指令的清晰完整版本,不要把解答、方案或示例写进润色结果。",
17
- sysRuleKeepIntent: "- 保留用户原意与语言(中文保持中文);缺失的关键信息(如目标文件/模块)若能从目录结构或最近对话推断就补上,推断不了不要编造。",
17
+ sysRuleKeepIntent: "- 保留用户原意与语言(用草稿本身的文字写,不换语言);缺失的关键信息(如目标文件/模块)若能从目录结构或最近对话推断就补上,推断不了不要编造。",
18
18
  sysRuleResolveRefs: "- 最近对话可能含相关指代(\"上面说的\"\"刚才那个文件\"),润色时把指代解析成明确表述。",
19
19
  sysRuleNoListing: "- 目录结构与对话历史仅是参考,不要罗列它们本身。",
20
20
  sysRuleRoleView: "- 若提供了参考角色,只借用其专业术语与措辞风格来润色草稿,不得以角色身份实际执行任务(如审查、修复、生成内容)。",
@@ -48,6 +48,7 @@ const HOST_MESSAGES = {
48
48
  emptyPrompt: "用户要求为空,无法润色",
49
49
  noModelSelected: "当前无可用模型选择",
50
50
  emptyOrganizeResult: "模型润色结果为空",
51
+ organizeTimeout: "润色超时:{seconds} 秒内模型未返回完整结果(可在设置里调大超时)",
51
52
  fsUnavailable: "fs 服务不可用",
52
53
  cwdUnknown: "无法确定会话 cwd(sessionId 缺失或会话不存在)",
53
54
  modelServiceUnavailable: "agentDefaultModel 服务不可用",
@@ -80,7 +81,7 @@ const HOST_MESSAGES = {
80
81
  rootLabelCwd: "session cwd",
81
82
  rootLabelBuiltin: "built-in role library",
82
83
  rootLabelAllowed: "importAllowRoots allowed directory",
83
- outsideRoots: "Import path out of bounds: absolute paths are refused by default, only inside {zones} are allowed; received: {absolute}",
84
+ outsideRoots: "Import path out of bounds: absolute paths are refused by default; allowed only inside \"{zones}\"; received: {absolute}",
84
85
  zoneSeparator: ", ",
85
86
  emptyImportPath: "The import path cannot be empty (give a role .md or a directory path; an empty path only means the built-in role library when you press \"Import roles\" on the settings card)",
86
87
  relativeNeedsCwd: "A relative path needs the session cwd (use an absolute path instead)",
@@ -95,6 +96,7 @@ const HOST_MESSAGES = {
95
96
  emptyPrompt: "The request is empty: nothing to polish",
96
97
  noModelSelected: "No model selection is available",
97
98
  emptyOrganizeResult: "The model returned an empty result",
99
+ organizeTimeout: "Polishing timed out: the model did not finish within {seconds} seconds (the timeout is configurable in settings)",
98
100
  fsUnavailable: "fs service unavailable",
99
101
  cwdUnknown: "Cannot determine the session cwd (sessionId missing or session unknown)",
100
102
  modelServiceUnavailable: "agentDefaultModel service unavailable",
@@ -103,8 +105,7 @@ const HOST_MESSAGES = {
103
105
  organizeFailed: "Polishing failed: {reason}"
104
106
  }
105
107
  };
106
- //#endregion
107
- //#region src/group-labels.generated.ts
108
+ // src/group-labels.generated.ts
108
109
  /** 仓库目录名 → 下拉分组标签;未收录的目录回落目录名本身(见 templates.ts groupLabelOf)。 */
109
110
  const AGENT_DIR_GROUP_LABELS = {
110
111
  academic: "学术",
@@ -132,8 +133,7 @@ const AGENT_DIR_GROUP_LABELS = {
132
133
  support: "客户支持",
133
134
  testing: "测试"
134
135
  };
135
- //#endregion
136
- //#region src/templates.ts
136
+ // src/templates.ts
137
137
  /** 角色正文提炼/「按角色风格润色」上下文:不设字符上限(用户拍板,
138
138
  * 上下文完整性优先;模型 context 超限由模型报错提示用户自行处理)。 */
139
139
  /** 仓库目录名 → 下拉分组标签的**唯一**导出点在 `./group-labels.generated.ts`(表源 =
@@ -248,12 +248,15 @@ function condenseRoleBody(body) {
248
248
  const lines = body.split(/\r?\n/u);
249
249
  const out = [];
250
250
  let inFence = false;
251
- for (const raw of lines) if (raw.trim().startsWith("```")) inFence = !inFence;
252
- else if (inFence) {} else out.push(raw.replaceAll("`", ""));
251
+ let fenceStart = 0;
252
+ for (const [index, raw] of lines.entries()) if (raw.trim().startsWith("```")) {
253
+ fenceStart = inFence ? 0 : index + 1;
254
+ inFence = !inFence;
255
+ } else if (inFence) {} else out.push(raw.replaceAll("`", ""));
256
+ if (inFence) throw new Error(`正文第 ${String(fenceStart)} 行的代码围栏没有结束标记(\`\`\`)`);
253
257
  return out.join("\n").trim();
254
258
  }
255
- //#endregion
256
- //#region host.ts
259
+ // host.ts
257
260
  /** 本包送进 `llm.stream({ messages })` 的润色请求帧是 **request-only 输入**:它从不落
258
261
  * 任何持久消息位(`runOrganize` 只回 `{ content }`,读面也不把帧身份回投给卡片),所以
259
262
  * 它既不需要 `id` 也不带 `source`——证据三条:
@@ -417,7 +420,7 @@ function hasFnMember(value, member) {
417
420
  return typeof value[member] === "function";
418
421
  }
419
422
  function isSettingsService(value) {
420
- return hasFnMember(value, "describe");
423
+ return hasFnMember(value, "describe") && hasFnMember(value, "configure");
421
424
  }
422
425
  function isSessionsService(value) {
423
426
  return hasFnMember(value, "get");
@@ -437,6 +440,16 @@ function isServiceGetter(value) {
437
440
  /** 字典里的 `{name}` 占位填充(与卡片侧官方 Translate 同语义,host 侧没有官方 translator
438
441
  * 故自带)。用 split/join 而不是 replace:路径与模型回文里可能带 `$`,而字符串版
439
442
  * replace 会把 `$&` / `$1` 当替换模式解释。 */
443
+ /** 换行与控制字符(`Cc` 含 \r\n\t,`Zl`/`Zp` 是 Unicode 行分隔与段分隔)。 */
444
+ const LINE_BREAKERS = /[\p{Cc}\p{Zl}\p{Zp}]+/gu;
445
+ /** 把一段宿主文本压成单行。
446
+ *
447
+ * system 槽里每条内容独占一行,模型按行读它——任何能从外部带的换行都能在 system 里凭空
448
+ * 造出下一行,而那正是最高信任位。cwd 取自会话工作目录,是文件名,POSIX 允许目录名带换行。
449
+ * 这里不改成转义序列:读的人只需要知道「这一行就是那个路径」,多出来的字节不必还原。 */
450
+ function singleLine(text) {
451
+ return text.replaceAll(LINE_BREAKERS, " ");
452
+ }
440
453
  function fillTemplate(template, tokens) {
441
454
  let text = template;
442
455
  for (const [token, value] of tokens) text = text.split(token).join(value);
@@ -715,7 +728,16 @@ function outsideRootsError(absolute, roots, messages) {
715
728
  * 包含关系),而不是再写第二条字符串规则:符号链接让「路径长得合法」与「读的是哪个
716
729
  * 对象」分叉,只有后端能收这个叉。一个根命中即放行;全落空即为逃逸。 */
717
730
  async function escapesAllRoots(fs, target, roots) {
718
- return !(await Promise.all(roots.map((root) => fs.resolve(root.absolute)))).some((root) => fs.contains(root, target));
731
+ const resolved = await Promise.all(roots.map(async (root) => {
732
+ try {
733
+ return await fs.resolve(root.absolute);
734
+ } catch {
735
+ return null;
736
+ }
737
+ }));
738
+ let anyHit = false;
739
+ for (const root of resolved) if (root !== null && fs.contains(root, target)) anyHit = true;
740
+ return !anyHit;
719
741
  }
720
742
  function importPathError(requested, cwd, allowRoots, messages) {
721
743
  const trimmed = requested.trim();
@@ -836,7 +858,7 @@ async function importFromFile(args, absolute) {
836
858
  };
837
859
  }
838
860
  if (info === void 0) {
839
- skipped.unnamed = 1;
861
+ skipped.unnamed += 1;
840
862
  return {
841
863
  entries: [],
842
864
  truncated: false,
@@ -903,7 +925,8 @@ function pushReadResult(read, entries, collided, skipped) {
903
925
  }
904
926
  /** 目录路径扫描(顶层 + 一层子目录的 .md,第三层只清点)→ 条目列表。
905
927
  * 跳过计数**就地累加进调用方持有的 `skipped`**(而不是返回一份新表):中途抛错时
906
- * 上层 catch 仍要报出已经数到的那部分。 */
928
+ * 上层 catch 仍要报出已经数到的那部分。这里的两层形状被 src/ui-messages.ts 的
929
+ * skipDeeper / importHint(中英四键)写给用户,改扫描深度要同步那四处文案。 */
907
930
  async function importFromDirectory(fs, absolute, target, limits, skipped) {
908
931
  const rootChildren = await fs.listDir(target);
909
932
  const rootFiles = mdCandidates(fs, target, rootChildren, path.basename(absolute), skipped);
@@ -968,7 +991,7 @@ async function collectAgentTemplates(fs, requested, cwd, messages, opts) {
968
991
  }, absolute);
969
992
  return {
970
993
  entries: await importFromDirectory(fs, absolute, target, limits, skipped),
971
- truncated: skipped.tooLarge + skipped.unreadable + skipped.deeper + skipped.escaped > 0,
994
+ truncated: skipped.tooLarge + skipped.unreadable + skipped.deeper + skipped.escaped + skipped.unnamed > 0,
972
995
  skipped
973
996
  };
974
997
  } catch (error) {
@@ -995,7 +1018,7 @@ function buildOrganizeSystem(input, messages) {
995
1018
  messages.sysRuleNoListing,
996
1019
  messages.sysRuleRoleView,
997
1020
  messages.sysRuleDataNotInstruction,
998
- fillTemplate(messages.sysCwdLine, [["{cwd}", input.cwd || messages.sysCwdMissing]])
1021
+ fillTemplate(messages.sysCwdLine, [["{cwd}", singleLine(input.cwd) || messages.sysCwdMissing]])
999
1022
  ].filter((part) => part.length > 0).join("\n");
1000
1023
  }
1001
1024
  /**
@@ -1107,7 +1130,10 @@ async function runOrganize(llm, input, messages, timeoutMs = ORGANIZE_TIMEOUT_MS
1107
1130
  }]
1108
1131
  }];
1109
1132
  const controller = new AbortController();
1133
+ let timedOut = false;
1134
+ const hasTimedOut = () => timedOut;
1110
1135
  const timer = setTimeout(() => {
1136
+ timedOut = true;
1111
1137
  controller.abort();
1112
1138
  }, timeoutMs);
1113
1139
  const onCallerAbort = () => {
@@ -1128,6 +1154,12 @@ async function runOrganize(llm, input, messages, timeoutMs = ORGANIZE_TIMEOUT_MS
1128
1154
  }), messages);
1129
1155
  if (content.length === 0) throw new Error(messages.emptyOrganizeResult);
1130
1156
  return { content };
1157
+ } catch (error) {
1158
+ if (hasTimedOut()) {
1159
+ const seconds = String(Math.round(timeoutMs / 1e3));
1160
+ throw new Error(fillTemplate(messages.organizeTimeout, [["{seconds}", seconds]]), { cause: error });
1161
+ }
1162
+ throw error;
1131
1163
  } finally {
1132
1164
  clearTimeout(timer);
1133
1165
  callerSignal?.removeEventListener("abort", onCallerAbort);
@@ -1575,5 +1607,4 @@ function apply(ctx, config) {
1575
1607
  installDirPrepRemote(child, scope);
1576
1608
  });
1577
1609
  }
1578
- //#endregion
1579
1610
  export { configSchema as Config, DIR_PREP_REMOTE_NAMESPACE, DirPrepRemoteService, apply, buildOrganizeSystem, buildOrganizeUser, clampInt, collectAgentTemplates, collectDirContext, createRemotePayloads, defaultTemplatesFrom, drainStreamToText, extractRecentTurns, importAllowRootsOf, importPathError, inject, installDirPrepRemote, loadDefaultTemplates, runOrganize, sanitizeLimits };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jayyuen66/dsh-dir-prep-organize",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "dsh 插件:对话输入框「润色」按钮(主键直接润色/▾ 以角色风格润色,结合当前目录 + session 模型润色草稿)+「模板」下拉(内置精选角色集生成自插件 agents/ 角色库,可按部门分组;设置卡可增删改/一键导入内置全部/导入本地角色 .md)",
5
5
  "keywords": [
6
6
  "cordis",
@@ -29,6 +29,7 @@
29
29
  "cordis.patch.yml",
30
30
  "agents",
31
31
  "README.zh-CN.md",
32
+ "CHANGELOG.md",
32
33
  "THIRD_PARTY_NOTICES.md"
33
34
  ],
34
35
  "type": "module",
@@ -53,65 +54,65 @@
53
54
  "registry": "https://registry.npmjs.org"
54
55
  },
55
56
  "dependencies": {
56
- "@jayyuen66/dsh-plugin-shared": "^0.1.6"
57
+ "@jayyuen66/dsh-plugin-shared": "0.1.9"
57
58
  },
58
59
  "devDependencies": {
59
60
  "@deepseek-ai/cordis": "4.0.5",
60
61
  "@deepseek-ai/cordis-plugin-group": "1.0.5",
61
62
  "@deepseek-ai/cordis-plugin-include": "1.0.10",
62
63
  "@deepseek-ai/cosmokit": "1.8.6",
63
- "@deepseek-ai/dsh-agent-default-model": "0.2.1-rc.2",
64
- "@deepseek-ai/dsh-app-boot": "0.2.1-rc.2",
65
- "@deepseek-ai/dsh-brand": "0.2.1-rc.2",
66
- "@deepseek-ai/dsh-client-locale": "0.2.1-rc.2",
67
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.2",
68
- "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-rc.2",
69
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.2",
70
- "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.2",
71
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.2",
72
- "@deepseek-ai/dsh-config-editor": "0.2.1-rc.2",
73
- "@deepseek-ai/dsh-fs": "0.2.1-rc.2",
74
- "@deepseek-ai/dsh-home-paths": "0.2.1-rc.2",
75
- "@deepseek-ai/dsh-host-webserver": "0.2.1-rc.2",
76
- "@deepseek-ai/dsh-launch-environment": "0.2.1-rc.2",
77
- "@deepseek-ai/dsh-llm": "0.2.1-rc.2",
78
- "@deepseek-ai/dsh-sandbox": "0.2.1-rc.2",
79
- "@deepseek-ai/dsh-scope": "0.2.1-rc.2",
80
- "@deepseek-ai/dsh-session": "0.2.1-rc.2",
81
- "@deepseek-ai/dsh-settings": "0.2.1-rc.2",
82
- "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.2",
64
+ "@deepseek-ai/dsh-agent-default-model": "0.2.1-rc.3",
65
+ "@deepseek-ai/dsh-app-boot": "0.2.1-rc.3",
66
+ "@deepseek-ai/dsh-brand": "0.2.1-rc.3",
67
+ "@deepseek-ai/dsh-client-locale": "0.2.1-rc.3",
68
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.3",
69
+ "@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.1-rc.3",
70
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.3",
71
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.3",
72
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.3",
73
+ "@deepseek-ai/dsh-config-editor": "0.2.1-rc.3",
74
+ "@deepseek-ai/dsh-fs": "0.2.1-rc.3",
75
+ "@deepseek-ai/dsh-home-paths": "0.2.1-rc.3",
76
+ "@deepseek-ai/dsh-host-webserver": "0.2.1-rc.3",
77
+ "@deepseek-ai/dsh-launch-environment": "0.2.1-rc.3",
78
+ "@deepseek-ai/dsh-llm": "0.2.1-rc.3",
79
+ "@deepseek-ai/dsh-sandbox": "0.2.1-rc.3",
80
+ "@deepseek-ai/dsh-scope": "0.2.1-rc.3",
81
+ "@deepseek-ai/dsh-session": "0.2.1-rc.3",
82
+ "@deepseek-ai/dsh-settings": "0.2.1-rc.3",
83
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.3",
83
84
  "@deepseek-ai/schemastery": "3.18.5",
84
85
  "@types/node": "26.6.5",
85
86
  "@types/react": "19.3.0",
86
87
  "@types/react-dom": "19.3.0",
87
88
  "@vitest/coverage-v8": "5.0.5",
88
89
  "eslint-plugin-sonarjs": "4.2.2",
89
- "happy-dom": "21.0.3",
90
- "oxfmt": "0.73.0",
91
- "oxlint": "1.88.0",
92
- "oxlint-tsgolint": "7.0.2004",
90
+ "happy-dom": "21.0.4",
91
+ "oxfmt": "0.74.0",
92
+ "oxlint": "1.89.0",
93
+ "oxlint-tsgolint": "7.0.2005",
93
94
  "react": "^19.3.0",
94
95
  "react-dom": "^19.3.0",
95
- "rolldown": "1.2.14",
96
+ "rolldown": "1.2.15",
96
97
  "typescript": "7.0.2",
97
- "vite": "8.3.4",
98
+ "vite": "8.3.5",
98
99
  "vitest": "5.0.5"
99
100
  },
100
101
  "peerDependencies": {
101
102
  "@deepseek-ai/cordis": "4.0.5",
102
103
  "@deepseek-ai/cosmokit": "1.8.6",
103
- "@deepseek-ai/dsh": "^0.2.1-rc.2",
104
- "@deepseek-ai/dsh-agent-default-model": "0.2.1-rc.2",
105
- "@deepseek-ai/dsh-brand": "0.2.1-rc.2",
106
- "@deepseek-ai/dsh-client-locale": "0.2.1-rc.2",
107
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.2",
108
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.2",
109
- "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.2",
110
- "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.2",
111
- "@deepseek-ai/dsh-fs": "0.2.1-rc.2",
112
- "@deepseek-ai/dsh-llm": "0.2.1-rc.2",
113
- "@deepseek-ai/dsh-session": "0.2.1-rc.2",
114
- "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.2",
104
+ "@deepseek-ai/dsh": "^0.2.1-rc.3",
105
+ "@deepseek-ai/dsh-agent-default-model": "0.2.1-rc.3",
106
+ "@deepseek-ai/dsh-brand": "0.2.1-rc.3",
107
+ "@deepseek-ai/dsh-client-locale": "0.2.1-rc.3",
108
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.3",
109
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.3",
110
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.3",
111
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.3",
112
+ "@deepseek-ai/dsh-fs": "0.2.1-rc.3",
113
+ "@deepseek-ai/dsh-llm": "0.2.1-rc.3",
114
+ "@deepseek-ai/dsh-session": "0.2.1-rc.3",
115
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.3",
115
116
  "@deepseek-ai/schemastery": "3.18.5"
116
117
  },
117
118
  "peerDependenciesMeta": {
@@ -157,7 +158,7 @@
157
158
  },
158
159
  "icon": "icon.svg",
159
160
  "engines": {
160
- "dsh": "^0.2.1-rc.2",
161
+ "dsh": "^0.2.1-rc.3",
161
162
  "node": ">=22.12.0"
162
163
  },
163
164
  "dsh": {
@@ -171,7 +172,7 @@
171
172
  }
172
173
  },
173
174
  "scripts": {
174
- "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.client.json",
175
+ "typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.client.json && tsc --noEmit -p src/tsconfig.json && tsc --noEmit -p tsconfig.build-scripts.json",
175
176
  "lint": "oxlint .",
176
177
  "test": "vitest run --coverage",
177
178
  "gen:defaults": "node scripts/gen-defaults.mjs",
@@ -179,6 +180,6 @@
179
180
  "build:client": "node build-client.mjs",
180
181
  "build": "node build-host.mjs",
181
182
  "build:types": "node build-types.mjs",
182
- "fmt:check": "oxfmt --check ."
183
+ "fmt:check": "oxfmt --check . --ignore-path .gitignore --ignore-path .prettierignore"
183
184
  }
184
185
  }