@dsh-cc/preset-cc 0.8.1 → 0.8.2-rc.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.
- package/README.i18n.yaml +2 -2
- package/README.md +10 -10
- package/README.zh.md +5 -10
- package/agent.cordis.yml +13 -6
- package/package.json +62 -62
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm check:readme --write
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 2b05eebd47a643ff6a80af08c149ce6ca0519ab4
|
|
6
|
+
README.zh.md: 8f145bd19da9df722f902feaed4a0d95ae706e98
|
package/README.md
CHANGED
|
@@ -16,26 +16,26 @@ These rows previously lived in the global `cc-shell` patch (`packages/bundle/cc-
|
|
|
16
16
|
|
|
17
17
|
## Install
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
No install step: the `tui` profile's bundle patch (`packages/bundle/cc-tui/cordis.patch.yml`)
|
|
20
|
+
mounts the harness agent-preset registry (`default: cc`) and declares this
|
|
21
|
+
preset with a file-backed include row pointing at `agent.cordis.yml` inside
|
|
22
|
+
this package, which the bundles install into the profile's `node_modules`.
|
|
23
|
+
Plugin code and preset files are read at boot, so **restart dsh** after
|
|
24
|
+
updating packages.
|
|
25
25
|
|
|
26
26
|
## Select
|
|
27
27
|
|
|
28
28
|
- **Web UI**: pick "CC mode" from the agent-preset selector; or
|
|
29
|
-
- **settings**: `~/.dsh/settings.json` → `"agent-
|
|
29
|
+
- **settings**: `~/.dsh/settings.json` → `"agent-preset-registry": { "selectedDefault": "cc" }`.
|
|
30
30
|
- **TUI**: `dsh --profile tui` (or `dsh-cc`) boots the terminal surface with this preset as the default.
|
|
31
31
|
|
|
32
32
|
## Known limits
|
|
33
33
|
|
|
34
34
|
1. **Standing mount, host-plane singletons.** A preset is mounted once per process under a standing scope. MCP connections, the on-disk CC plugin directories loaded by the glue, the subagent-provider roster, and CC-plugin `settings.json` writes resolve to process-shared host-plane singletons (the same criterion upstream `subagents`/`goals` already follow), so those are not per-session across simultaneously mounted presets.
|
|
35
|
-
2. **Vendored baseline, drift gate.** The standard baseline is vendored. After upgrading dsh, run the drift gate (`pnpm vitest run packages/preset/cc`, or the binary directly) to re-diff it against the new standard preset and fold in upstream changes.
|
|
36
|
-
3. **Uninstall
|
|
35
|
+
2. **Vendored baseline, drift gate.** The standard baseline is vendored. After upgrading dsh, run the drift gate (`pnpm vitest run packages/preset/cc`, or the binary directly) to re-diff it against the new standard preset and fold in upstream changes. A missing upstream anchor (`packages/bundle/web-app/presets/standard.patch.yml`, or an installed `@deepseek-ai/dsh-web-app`) fails the gate — it never skips.
|
|
36
|
+
3. **Uninstall.** Remove the `preset-cc` declaration row from the bundle patch (or the bundle itself); the built-in modes are unaffected.
|
|
37
37
|
4. **`DSH_COORDINATOR_MODE=1` breaks this preset's mount.** The coordinator needs an agent `ctx`, and a standing mount has none; that failure is now scoped to this preset's session creation. In the old global-patch era the whole app failed to boot — the blast radius is narrower, but the mode is still unsupported here.
|
|
38
|
-
5. **A settings default to a missing preset errors.** If the default names a preset that does not exist, session creation reports `agent-preset
|
|
38
|
+
5. **A settings default to a missing preset errors.** If the default names a preset that does not exist, session creation reports `agent-preset/not-found` (the `details.available` list names the valid ids). Reset by pointing `~/.dsh/settings.json` → `agent-preset-registry.selectedDefault` back to `standard`.
|
|
39
39
|
|
|
40
40
|
## Links
|
|
41
41
|
|
package/README.zh.md
CHANGED
|
@@ -16,25 +16,20 @@ DeepSeek Harness(dsh)的 **CC 模式** agent preset:除内置 `standard`、`mi
|
|
|
16
16
|
|
|
17
17
|
## 安装
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
bash scripts/sync-local-profile.sh web # 把 @dsh-cc/* 包镜像到 profile
|
|
21
|
-
bash scripts/sync-cc-preset.sh # 把 cc preset 装进 ~/.dsh/.agent-presets/
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
两个脚本都是拷贝而非软链;插件代码与 preset 文件在启动时读取,因此首次安装后需**重启 dsh**(之后的文件改动也在下次重启生效)。
|
|
19
|
+
无需安装步骤:`tui` profile 的 bundle patch(`packages/bundle/cc-tui/cordis.patch.yml`)会挂载 harness 的 agent-preset registry(`default: cc`),并以一条 file-backed include 行声明本 preset、指向本包内的 `agent.cordis.yml`;该包随 bundle 一起装入 profile 的 `node_modules`。插件代码与 preset 文件在启动时读取,因此更新包后需**重启 dsh**。
|
|
25
20
|
|
|
26
21
|
## 选用
|
|
27
22
|
|
|
28
23
|
- **Web UI**:预设选择器里选「CC mode」;或
|
|
29
|
-
- **settings**:`~/.dsh/settings.json` → `"agent-
|
|
24
|
+
- **settings**:`~/.dsh/settings.json` → `"agent-preset-registry": { "selectedDefault": "cc" }`。
|
|
30
25
|
|
|
31
26
|
## Known limits(已知限制)
|
|
32
27
|
|
|
33
28
|
1. **standing 挂载 + host-plane 单例**。preset 在每个进程挂载一次并处于 standing scope。MCP 连接、glue 装载的磁盘 CC 插件目录、subagent provider 名册、CC 插件对 `settings.json` 的写入都落到进程共享的 host-plane 单例(与上游 `subagents`/`goals` 相同的判据),因此不会因同时挂载的多个 preset 而按会话隔离。
|
|
34
|
-
2. **基座 vendored,靠漂移闸**。标准基座是 vendored 的。升级 dsh 后运行漂移闸(`pnpm vitest run packages/preset/cc`,或直跑二进制)重新 diff 新标准 preset
|
|
35
|
-
3.
|
|
29
|
+
2. **基座 vendored,靠漂移闸**。标准基座是 vendored 的。升级 dsh 后运行漂移闸(`pnpm vitest run packages/preset/cc`,或直跑二进制)重新 diff 新标准 preset 并合入上游改动。找不到上游锚点(`packages/bundle/web-app/presets/standard.patch.yml` 或已安装的 `@deepseek-ai/dsh-web-app`)时闸直接失败,绝不跳过。
|
|
30
|
+
3. **卸载**。从 bundle patch 中移除 `preset-cc` 声明行(或整个 bundle);内置模式不受影响。
|
|
36
31
|
4. **`DSH_COORDINATOR_MODE=1` 使本 preset 挂载失败**。coordinator 需要 agent `ctx`,而 standing 挂载点没有;该失败现在只影响本 preset 的会话创建。在旧全局 patch 时代整个 app 起不来——影响面已收窄,但此模式在此处仍不受支持。
|
|
37
|
-
5. **settings 指向不存在的 preset 会报错**。若默认指向不存在的 preset,建会话报 `agent-preset
|
|
32
|
+
5. **settings 指向不存在的 preset 会报错**。若默认指向不存在的 preset,建会话报 `agent-preset/not-found`(`details.available` 列出可用 id)。把 `~/.dsh/settings.json` 的 `agent-preset-registry.selectedDefault` 改回 `standard` 即复位。
|
|
38
33
|
|
|
39
34
|
## 链接
|
|
40
35
|
|
package/agent.cordis.yml
CHANGED
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
# A service row here MUST sit inside a group carrying an `isolate` realm.
|
|
26
26
|
# Without one it publishes into the root realm, where it is process-global —
|
|
27
27
|
# another preset publishing the same name collides, and a host reader would
|
|
28
|
-
# resolve one preset's instance for every session;
|
|
29
|
-
# that
|
|
28
|
+
# resolve one preset's instance for every session; the preset mount rejects
|
|
29
|
+
# that. `true` means an entry-local realm: this standing mount's own
|
|
30
30
|
# private instance, apart from every other preset's. (A shared label does NOT
|
|
31
31
|
# pool instances — `provide()` throws on the second registration under the
|
|
32
32
|
# same realm symbol; labels join REALMS, and are not what this file needs.)
|
|
@@ -261,8 +261,13 @@
|
|
|
261
261
|
- id: subagent-workflow-journal
|
|
262
262
|
name: '@dsh-cc/workflow-journal'
|
|
263
263
|
|
|
264
|
-
-
|
|
265
|
-
|
|
264
|
+
# 0.1.7-rc.2: the worker-thread engine package was deleted upstream and
|
|
265
|
+
# replaced by the sandboxed Node PTC executor (workflow-ptc). The
|
|
266
|
+
# cc-workflow-journal provider wrap is unchanged — only the engine row
|
|
267
|
+
# moved. Prerequisites (ptc-runtime + fs/subprocess/sandbox) mount in the
|
|
268
|
+
# host base bundle.
|
|
269
|
+
- id: workflow-ptc
|
|
270
|
+
name: '@deepseek-ai/dsh-workflow-ptc'
|
|
266
271
|
config:
|
|
267
272
|
provider: cc-workflow-journal
|
|
268
273
|
|
|
@@ -612,8 +617,10 @@
|
|
|
612
617
|
- id: coordinator
|
|
613
618
|
name: '@dsh-cc/coordinator'
|
|
614
619
|
|
|
615
|
-
|
|
616
|
-
|
|
620
|
+
# `schedule` moved to the HOST plane at harness 0.1.7 (see
|
|
621
|
+
# cc-shell/cordis.patch.yml): the rc.2 service class injects
|
|
622
|
+
# sessionController, absent from tui profiles — a preset-scope row parks the
|
|
623
|
+
# agent mount forever.
|
|
617
624
|
|
|
618
625
|
- id: session-cwd
|
|
619
626
|
name: '@dsh-cc/session-cwd'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-cc/preset-cc",
|
|
3
3
|
"description": "dsh CC mode agent preset: composition-only package mounting the Claude Code surface",
|
|
4
|
-
"version": "0.8.1",
|
|
4
|
+
"version": "0.8.2-rc.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -19,67 +19,67 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@dsh-cc/
|
|
23
|
-
"@dsh-cc/
|
|
24
|
-
"@dsh-cc/command-branch": "^0.8.1",
|
|
25
|
-
"@dsh-cc/command-
|
|
26
|
-
"@dsh-cc/command-
|
|
27
|
-
"@dsh-cc/command-
|
|
28
|
-
"@dsh-cc/command-
|
|
29
|
-
"@dsh-cc/cache-health": "^0.8.1",
|
|
30
|
-
"@dsh-cc/command-
|
|
31
|
-
"@dsh-cc/command-
|
|
32
|
-
"@dsh-cc/command-
|
|
33
|
-
"@dsh-cc/command-
|
|
34
|
-
"@dsh-cc/command-
|
|
35
|
-
"@dsh-cc/command-
|
|
36
|
-
"@dsh-cc/command-
|
|
37
|
-
"@dsh-cc/command-
|
|
38
|
-
"@dsh-cc/command-
|
|
39
|
-
"@dsh-cc/command-
|
|
40
|
-
"@dsh-cc/command-
|
|
41
|
-
"@dsh-cc/command-resume": "^0.8.1",
|
|
42
|
-
"@dsh-cc/command-
|
|
43
|
-
"@dsh-cc/command-skills": "^0.8.1",
|
|
44
|
-
"@dsh-cc/command-rename": "^0.8.1",
|
|
45
|
-
"@dsh-cc/command-status": "^0.8.1",
|
|
46
|
-
"@dsh-cc/command-tasks": "^0.8.1",
|
|
47
|
-
"@dsh-cc/compaction-basic": "^0.8.1",
|
|
48
|
-
"@dsh-cc/command-version": "^0.8.1",
|
|
49
|
-
"@dsh-cc/compaction-
|
|
50
|
-
"@dsh-cc/compaction-
|
|
51
|
-
"@dsh-cc/
|
|
52
|
-
"@dsh-cc/
|
|
53
|
-
"@dsh-cc/
|
|
54
|
-
"@dsh-cc/
|
|
55
|
-
"@dsh-cc/
|
|
56
|
-
"@dsh-cc/
|
|
57
|
-
"@dsh-cc/model-aliases": "^0.8.1",
|
|
58
|
-
"@dsh-cc/
|
|
59
|
-
"@dsh-cc/
|
|
60
|
-
"@dsh-cc/
|
|
61
|
-
"@dsh-cc/
|
|
62
|
-
"@dsh-cc/
|
|
63
|
-
"@dsh-cc/
|
|
64
|
-
"@dsh-cc/tool-
|
|
65
|
-
"@dsh-cc/
|
|
66
|
-
"@dsh-cc/tool-
|
|
67
|
-
"@dsh-cc/
|
|
68
|
-
"@dsh-cc/tool-
|
|
69
|
-
"@dsh-cc/tool-sleep": "^0.8.1",
|
|
70
|
-
"@dsh-cc/tool-structured-output": "^0.8.1",
|
|
71
|
-
"@dsh-cc/tool-web-fetch": "^0.8.1",
|
|
72
|
-
"@dsh-cc/
|
|
73
|
-
"@dsh-cc/
|
|
74
|
-
"@dsh-cc/
|
|
75
|
-
"@dsh-cc/tool-
|
|
76
|
-
"@dsh-cc/
|
|
77
|
-
"@dsh-cc/turn-rules": "^0.8.1",
|
|
78
|
-
"@dsh-cc/
|
|
79
|
-
"@dsh-cc/prompt-suggest": "^0.8.1",
|
|
80
|
-
"@dsh-cc/
|
|
81
|
-
"@dsh-cc/
|
|
82
|
-
"@dsh-cc/
|
|
22
|
+
"@dsh-cc/bundle-shell": "^0.8.2-rc.1",
|
|
23
|
+
"@dsh-cc/command-agents": "^0.8.2-rc.1",
|
|
24
|
+
"@dsh-cc/command-branch": "^0.8.2-rc.1",
|
|
25
|
+
"@dsh-cc/command-compact": "^0.8.2-rc.1",
|
|
26
|
+
"@dsh-cc/command-commit-split": "^0.8.2-rc.1",
|
|
27
|
+
"@dsh-cc/command-config": "^0.8.2-rc.1",
|
|
28
|
+
"@dsh-cc/command-auto-mode": "^0.8.2-rc.1",
|
|
29
|
+
"@dsh-cc/cache-health": "^0.8.2-rc.1",
|
|
30
|
+
"@dsh-cc/command-export": "^0.8.2-rc.1",
|
|
31
|
+
"@dsh-cc/command-help": "^0.8.2-rc.1",
|
|
32
|
+
"@dsh-cc/command-init": "^0.8.2-rc.1",
|
|
33
|
+
"@dsh-cc/command-cost": "^0.8.2-rc.1",
|
|
34
|
+
"@dsh-cc/command-mcp": "^0.8.2-rc.1",
|
|
35
|
+
"@dsh-cc/command-memory": "^0.8.2-rc.1",
|
|
36
|
+
"@dsh-cc/command-diff": "^0.8.2-rc.1",
|
|
37
|
+
"@dsh-cc/command-permissions": "^0.8.2-rc.1",
|
|
38
|
+
"@dsh-cc/command-release-notes": "^0.8.2-rc.1",
|
|
39
|
+
"@dsh-cc/command-doctor": "^0.8.2-rc.1",
|
|
40
|
+
"@dsh-cc/command-learn": "^0.8.2-rc.1",
|
|
41
|
+
"@dsh-cc/command-resume": "^0.8.2-rc.1",
|
|
42
|
+
"@dsh-cc/command-plugin": "^0.8.2-rc.1",
|
|
43
|
+
"@dsh-cc/command-skills": "^0.8.2-rc.1",
|
|
44
|
+
"@dsh-cc/command-rename": "^0.8.2-rc.1",
|
|
45
|
+
"@dsh-cc/command-status": "^0.8.2-rc.1",
|
|
46
|
+
"@dsh-cc/command-tasks": "^0.8.2-rc.1",
|
|
47
|
+
"@dsh-cc/compaction-basic": "^0.8.2-rc.1",
|
|
48
|
+
"@dsh-cc/command-version": "^0.8.2-rc.1",
|
|
49
|
+
"@dsh-cc/compaction-cost-gate": "^0.8.2-rc.1",
|
|
50
|
+
"@dsh-cc/compaction-micro": "^0.8.2-rc.1",
|
|
51
|
+
"@dsh-cc/coordinator": "^0.8.2-rc.1",
|
|
52
|
+
"@dsh-cc/context-crusher": "^0.8.2-rc.1",
|
|
53
|
+
"@dsh-cc/hooks-claude-code": "^0.8.2-rc.1",
|
|
54
|
+
"@dsh-cc/memory": "^0.8.2-rc.1",
|
|
55
|
+
"@dsh-cc/memory-consolidation": "^0.8.2-rc.1",
|
|
56
|
+
"@dsh-cc/command-stats": "^0.8.2-rc.1",
|
|
57
|
+
"@dsh-cc/model-aliases": "^0.8.2-rc.1",
|
|
58
|
+
"@dsh-cc/output-styles": "^0.8.2-rc.1",
|
|
59
|
+
"@dsh-cc/subagent-task": "^0.8.2-rc.1",
|
|
60
|
+
"@dsh-cc/serena-first": "^0.8.2-rc.1",
|
|
61
|
+
"@dsh-cc/tool-append-order": "^0.8.2-rc.1",
|
|
62
|
+
"@dsh-cc/session-cwd": "^0.8.2-rc.1",
|
|
63
|
+
"@dsh-cc/tool-manage-skill": "^0.8.2-rc.1",
|
|
64
|
+
"@dsh-cc/tool-notebook-edit": "^0.8.2-rc.1",
|
|
65
|
+
"@dsh-cc/skill-loader": "^0.8.2-rc.1",
|
|
66
|
+
"@dsh-cc/tool-git-worktree": "^0.8.2-rc.1",
|
|
67
|
+
"@dsh-cc/subagent-resume-pins": "^0.8.2-rc.1",
|
|
68
|
+
"@dsh-cc/tool-search": "^0.8.2-rc.1",
|
|
69
|
+
"@dsh-cc/tool-sleep": "^0.8.2-rc.1",
|
|
70
|
+
"@dsh-cc/tool-structured-output": "^0.8.2-rc.1",
|
|
71
|
+
"@dsh-cc/tool-web-fetch": "^0.8.2-rc.1",
|
|
72
|
+
"@dsh-cc/tool-workflow": "^0.8.2-rc.1",
|
|
73
|
+
"@dsh-cc/workflow-journal": "^0.8.2-rc.1",
|
|
74
|
+
"@dsh-cc/handoff-store": "^0.8.2-rc.1",
|
|
75
|
+
"@dsh-cc/tool-use-summary": "^0.8.2-rc.1",
|
|
76
|
+
"@dsh-cc/edit-recovery-hint": "^0.8.2-rc.1",
|
|
77
|
+
"@dsh-cc/turn-rules": "^0.8.2-rc.1",
|
|
78
|
+
"@dsh-cc/lsp-on-write": "^0.8.2-rc.1",
|
|
79
|
+
"@dsh-cc/prompt-suggest": "^0.8.2-rc.1",
|
|
80
|
+
"@dsh-cc/post-edit-verify": "^0.8.2-rc.1",
|
|
81
|
+
"@dsh-cc/reasoning-fold": "^0.8.2-rc.1",
|
|
82
|
+
"@dsh-cc/advisor-watchdog": "^0.8.2-rc.1"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@deepseek-ai/cordis-plugin-include": "link:../../../../deepseek-harness/vendor/include",
|