dsh-design-studio 0.19.0 → 0.19.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.
Files changed (2) hide show
  1. package/cordis.patch.yml +14 -1
  2. package/package.json +1 -1
package/cordis.patch.yml CHANGED
@@ -52,6 +52,9 @@
52
52
  disabled: !!js process.platform !== 'win32'
53
53
  - id: tool-fs
54
54
  name: '@deepseek-ai/dsh-tool-fs'
55
+ config:
56
+ # 和 0.2.2 标准模式一样:不要 edit 旁边的 apply_patch(旧版不认这个键,会忽略)
57
+ applyPatch: false
55
58
  - id: tool-fs-search
56
59
  name: '@deepseek-ai/dsh-tool-fs-search'
57
60
  config:
@@ -62,6 +65,9 @@
62
65
  name: '@deepseek-ai/dsh-tool-schedule'
63
66
  - id: skill-filesystem
64
67
  name: '@deepseek-ai/dsh-skill-filesystem'
68
+ config:
69
+ # 0.2.2-rc.2 起标准模式带 DSH 自带的技能(dsh-doc 等)。找不到那个目录(旧版)就不加,出错也不让这行起不来
70
+ customSkillDirs: !!js "(() => { try { const p = process.getBuiltinModule('node:path'); const d = p.join(p.dirname(process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@deepseek-ai/dsh-agent-preset/package.json')), 'skills'); return process.getBuiltinModule('node:fs').existsSync(d) ? [d] : [] } catch { return [] } })()"
65
71
  - id: tool-skill
66
72
  name: '@deepseek-ai/dsh-tool-skill'
67
73
  - id: command-goal
@@ -114,6 +120,8 @@
114
120
  config:
115
121
  - id: tool-subagent-control
116
122
  name: '@deepseek-ai/dsh-tool-subagent-control'
123
+ config:
124
+ interrupt: false
117
125
  - id: tool-subagent
118
126
  name: '@deepseek-ai/dsh-tool-subagent'
119
127
  config:
@@ -147,9 +155,14 @@
147
155
  searchTimeoutMs: 60000
148
156
  - id: present
149
157
  name: '@deepseek-ai/dsh-tool-present'
158
+ # 0.2.2-rc.2 起才有。旧版没这个包,写死会让整个设计模式起不来:找得到这个包才开(和上面找自带技能目录同一个办法)。
159
+ # 不看 officeKit 服务在不在——预设一注册子插件就挂上,那时服务可能还没起来,之后也不会补开
160
+ - id: tool-office
161
+ name: '@deepseek-ai/dsh-tool-office'
162
+ disabled: !!js "(() => { try { process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@deepseek-ai/dsh-tool-office/package.json'); return false } catch { return true } })()"
150
163
  - id: tool-plugin-manager
151
164
  name: '@deepseek-ai/dsh-plugin-manager/tools'
152
- disabled: true
165
+ disabled: !!js "!ctx.get('profileContext')"
153
166
  - id: tool-plugin-market
154
167
  name: '@deepseek-ai/dsh-plugin-market/tools'
155
168
  disabled: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-design-studio",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test --test-concurrency=1 test/*.mjs"