@shundoo-ai/dsh-cosmic 1.0.20 → 1.0.21

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/cordis.patch.yml CHANGED
@@ -75,6 +75,8 @@
75
75
  # they need no realm. The `fs` service and its policy stay in the host.
76
76
  - id: tool-fs
77
77
  name: '@deepseek-ai/dsh-tool-fs'
78
+ config:
79
+ applyPatch: false
78
80
 
79
81
  - id: tool-fs-search
80
82
  name: '@deepseek-ai/dsh-tool-fs-search'
@@ -201,15 +203,13 @@
201
203
  - id: tool-subagent-control
202
204
  name: '@deepseek-ai/dsh-tool-subagent-control'
203
205
 
204
- - id: tool-subagent-list-agents
205
- name: '@deepseek-ai/dsh-tool-subagent-control/list-agents'
206
-
207
206
  - id: tool-subagent
208
207
  name: '@deepseek-ai/dsh-tool-subagent'
209
208
  config:
210
209
  provider: spawn
211
210
  toolName: subagent
212
- modelSelectionSettings: true
211
+ modelSelection: true
212
+ modelDiscovery: true
213
213
 
214
214
  # Fork omits model selection so provider/model stay equal to the parent and
215
215
  # the inherited history remains eligible for KV Cache reuse. Parent and child
@@ -252,7 +252,7 @@
252
252
 
253
253
  - id: tool-plugin-manager
254
254
  name: '@deepseek-ai/dsh-plugin-manager/tools'
255
- disabled: true
255
+ disabled: !!js "!ctx.get('profileContext')"
256
256
 
257
257
  # Plugin market (official standard row). Off by default, like the row above.
258
258
  - id: tool-plugin-market
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shundoo-ai/dsh-cosmic",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "苍穹助手:金蝶云苍穹ERP的开发与数据分析,涵盖表单元数据建模、插件开发与热部署、数据可视化报告。",
5
5
  "keywords": [
6
6
  "dsh",
@@ -16,6 +16,21 @@
16
16
  | 上游目录布局 | `app-build/`(英文 canonical)+ `app-build/.locales/zh/`(中文覆盖层) |
17
17
  | 本 preset 布局 | 单树:`skills/cosmic-build/`(= 上游 zh 覆盖层拍平,无 `.locales/`) |
18
18
 
19
+ ### 0.1 ⏸ 待同步:上游 0.0.338(**已调研完毕,暂缓执行**)
20
+
21
+ > 2026-10-30 用户决定:「过几天,等灵基更新稳定了再同步」。以下为已完成的前置调研,**下次直接照此执行,无需重新考古**。
22
+
23
+ | 项 | 结论 |
24
+ |---|---|
25
+ | 上游版本 | **0.0.338**(金蝶灵基 app **1.8.4**,build 2610261914,2026-10-26 安装;技能 2026-10-29 解压) |
26
+ | 相对 0.0.326 的改动 | **0 个新文件**;**78 个文件改动** = `.md` 33 + `.py` 45(其中 **19 个是测试**,26 个功能文件) |
27
+ | 改动分布 | `scripts/` 21 · `cosmic-meta-api` 20 · `cosmic-meta-modifier` 14 · `references/` 10 · 其余零散 |
28
+ | 是否含新功能 | **否** —— CHANGELOG 条目与 0.0.326 完全相同(最新仍 2026-10-13);命令数仍 **197**(+我们 7 = 204);**无新端点** |
29
+ | 我们的 11 项补丁上游做了吗 | **全部未做**(`#1/#2/#3/#4/#5/#6/#7/#8/#10/#16/#17` 均仍缺;`kd_auth` 仍 `usertype/Mobile`,`kd_env_loader` 仍 `default="ierp"` 且无 password) |
30
+ | 补丁重贴风险 | **高** —— 10 个补丁落点文件**全部被上游改过**(`run.py`/`_http_client.py`/`appconfig_load.py`/`kd_env_loader.py`/`kd_auth.py`/`kd_token_cache.py`/`config.py`/`cosmic_api.py`/`field_decorator.py`/`pdm_client.py`) |
31
+ | token 改名 | **仍需** —— 新 zh 中 `{APP_BUILD_ROOT}` 74 处 / `{ROOT_DIR}` 61 处混用 |
32
+ | 恢复时起点 | 备份基线:当前树 = 0.0.326(git 干净);旧备份 `/tmp/cosmic-build.bak-2026-10-19` 仅供参考,**同步前重新备份** |
33
+
19
34
  上游会把旧的 R/D/E 管线、`capabilities/`、`cosmic-{requirements,design,executor,testing,code-review}`、
20
35
  `nano-coding-impl` 整批删除——那些**不是**本 preset 的本地内容,跟随上游删除即可。
21
36
 
@@ -4,7 +4,7 @@
4
4
  > SKILL.md《交付清单》、`html-report-guide.md` §三、`markdown-report-guide.md` 一律**引用本文**,
5
5
  > 不再各自描述交付机制(历史上同一件事写在 3 处,正是它各自漂移、集体过时的原因)。
6
6
  >
7
- > **版本锚点**:`@deepseek-ai/dsh-desktop-runtime 0.2.1-rc.2`(2026-10-19 复核)
7
+ > **版本锚点**:`@deepseek-ai/dsh-desktop-runtime 0.2.1-rc.3`(2026-10-29 复核)
8
8
 
9
9
  ## 一. 契约(做什么)
10
10
 
@@ -64,7 +64,7 @@ present(files=[{path, description}])
64
64
 
65
65
  ## 四. 版本锚点与复验
66
66
 
67
- - **依据版本**:`@deepseek-ai/dsh-desktop-runtime 0.2.1-rc.2`(2026-10-19 复核)
67
+ - **依据版本**:`@deepseek-ai/dsh-desktop-runtime 0.2.1-rc.3`(2026-10-29 复核)
68
68
  - **复验触发**:DSH / preset 升级后
69
69
  - **复验方法**:确认 `present` 工具仍在工具清单中、且调用后回复下方出现交付卡片。
70
70
  两者任一不成立 → 按实际情况改版本文(判断依据见文末附录)。
@@ -75,6 +75,7 @@ present(files=[{path, description}])
75
75
  |---|---|---|
76
76
  | 2026-09-25 | 0.1.7-rc.2 | 新建。交付手段定为 `present`;移除了旧版「靠文件操作换取可点入口」的整套描述 |
77
77
  | 2026-10-19 | 0.2.1-rc.2 | 复验:`present` 仍在官方 standard 组合中(29 行中的第 27 行)→ **契约内容不变**,仅前移版本锚点 |
78
+ | 2026-10-29 | 0.2.1-rc.3 | 复验:`@deepseek-ai/dsh-tool-present` 包仍在;`dsh-web-app/presets/standard.patch.yml` 仍挂载 `present`,**且 cosmic preset 自身另有一份显式声明**(`agent.cordis.yml` / `cordis.patch.yml`)→ 双保险,DSH 与 preset 任一侧改动都不会单独让它消失;本会话工具清单实测可用 → **契约内容不变**,仅前移版本锚点 |
78
79
 
79
80
  ---
80
81
 
@@ -57,7 +57,7 @@
57
57
  - 完整契约(降级链、判断依据、版本锚点):
58
58
  `{PRESET}/skills/erp-analysis/references/delivery-contract.md`
59
59
 
60
- > 版本锚点:`@deepseek-ai/dsh-desktop-runtime 0.2.1-rc.2`(2026-10-19 复核)。
60
+ > 版本锚点:`@deepseek-ai/dsh-desktop-runtime 0.2.1-rc.3`(2026-10-29 复核)。
61
61
  > DSH / preset 升级后若 `present` 消失或交付卡片不再出现,回到该契约文件复验。
62
62
 
63
63
  <!-- 后续按需补充:元数据建模等约定 -->