@dsh-cc/preset-cc 0.9.0-rc.3 → 0.9.0
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 +1 -1
- package/README.zh.md +1 -0
- package/agent.cordis.yml +70 -0
- package/package.json +67 -61
package/README.i18n.yaml
CHANGED
package/README.zh.md
CHANGED
|
@@ -22,6 +22,7 @@ DeepSeek Harness(dsh)的 **CC 模式** agent preset:除内置 `standard`、`mi
|
|
|
22
22
|
|
|
23
23
|
- **Web UI**:预设选择器里选「CC mode」;或
|
|
24
24
|
- **settings**:`~/.dsh/settings.json` → `"agent-preset-registry": { "selectedDefault": "cc" }`。
|
|
25
|
+
- **TUI**:`dsh --profile tui`(或 `dsh-cc`)启动终端界面,并以本 preset 为默认。
|
|
25
26
|
|
|
26
27
|
## Known limits(已知限制)
|
|
27
28
|
|
package/agent.cordis.yml
CHANGED
|
@@ -406,6 +406,16 @@
|
|
|
406
406
|
- id: context-crusher
|
|
407
407
|
name: '@dsh-cc/context-crusher'
|
|
408
408
|
|
|
409
|
+
# The verify-before-retry attendant (plan docs/plans/2026-10-09-verify-before-retry.md):
|
|
410
|
+
# plain plugin, no Service, no new isolate key. Its pre-execute listener is
|
|
411
|
+
# prepend:true, and cordis prepend unshifts — the later-registered prepend
|
|
412
|
+
# listener is OUTERMOST — so this row MUST sit BEFORE the hooks-claude-code
|
|
413
|
+
# row: hooks' later prepend must land outside retry-attendant so a user
|
|
414
|
+
# PreToolUse hook allow/ask can override the attendant's ask (§3.4 of the
|
|
415
|
+
# plan). The order tripwire is pinned by packages/preset/cc/tests/composition.spec.ts.
|
|
416
|
+
- id: retry-attendant
|
|
417
|
+
name: '@dsh-cc/retry-attendant'
|
|
418
|
+
|
|
409
419
|
# The hook bridge: runs the Claude Code hooks.json / settings hook config
|
|
410
420
|
# on the harness interception seams and provides the `hooks` seam plugin
|
|
411
421
|
# hooks merge through. Must mount BEFORE cc-shell-glue: the glue's
|
|
@@ -601,6 +611,66 @@
|
|
|
601
611
|
- id: advisor-watchdog
|
|
602
612
|
name: '@dsh-cc/advisor-watchdog'
|
|
603
613
|
|
|
614
|
+
# Completion gate (plan docs/plans/2026-10-09-runtime-verified-completion.md):
|
|
615
|
+
# an opt-in verified-completion gate that withholds turn-stopping
|
|
616
|
+
# completion while required evidence is missing (evidence nudge instead),
|
|
617
|
+
# keeping a per-session receipts ledger with lineage lift. Publishes no
|
|
618
|
+
# Service (plain plugin, turn-rules pattern), so it needs no isolate key.
|
|
619
|
+
# DEFAULT OFF (cc-completion-gate.enabled=false). ORDER: after
|
|
620
|
+
# advisor-watchdog (cc-services tail).
|
|
621
|
+
- id: completion-gate
|
|
622
|
+
name: '@dsh-cc/completion-gate'
|
|
623
|
+
|
|
624
|
+
# Session config snapshot (plan docs/plans/2026-10-09-session-config-snapshot-event.md):
|
|
625
|
+
# one JSONL row per Session construction into
|
|
626
|
+
# $DSH_HOME/config-snapshot/<encodedId>.jsonl — the attribution substrate
|
|
627
|
+
# (dsh-cc/harness/plugin versions per construction). Publishes no Service
|
|
628
|
+
# (plain plugin, handoff-store pattern), so it needs no isolate key of its
|
|
629
|
+
# own; the session/created listener is global and sync-safe, and the async
|
|
630
|
+
# writer never blocks creation.
|
|
631
|
+
- id: config-snapshot
|
|
632
|
+
name: '@dsh-cc/config-snapshot'
|
|
633
|
+
|
|
634
|
+
# Progress rebuild (design docs/plans/2026-10-09-structured-progress-and-
|
|
635
|
+
# post-compact-rebuild.md): derives a typed per-session progress brief
|
|
636
|
+
# from session events (goal fold, todo snapshot, verified bash receipts,
|
|
637
|
+
# last user message) and re-injects it into the first model request after
|
|
638
|
+
# a successful compaction/end. Publishes no Service (plain plugin), so it
|
|
639
|
+
# needs no isolate key. DEFAULT OFF (progress-rebuild.enabled). ORDER:
|
|
640
|
+
# after advisor-watchdog, at the cc-services tail — read-only observer +
|
|
641
|
+
# one bounded injection, no composition dependency on any earlier row.
|
|
642
|
+
- id: progress-rebuild
|
|
643
|
+
name: '@dsh-cc/progress-rebuild'
|
|
644
|
+
# Skill-usage telemetry (plan docs/plans/2026-10-09-skill-lifecycle-usage-gates.md):
|
|
645
|
+
# an observe-only listener set counting committed skill loads (tool form
|
|
646
|
+
# at the `tools/result` emit seam, slash form at persisted
|
|
647
|
+
# skill-invocation user messages) into a per-workspace sidecar ledger
|
|
648
|
+
# under $DSH_HOME/skill-usage/, plus a `session/created` utility rollup
|
|
649
|
+
# and a `skills/learned-changed` invalidator. Publishes no Service (plain
|
|
650
|
+
# plugin, handoff-store pattern), so it needs no isolate key of its own;
|
|
651
|
+
# it consumes the root-realm `skills` service and appends NOTHING to
|
|
652
|
+
# session transcripts (§3.6). DEFAULT ON (cc-skill-usage.enabled). ORDER:
|
|
653
|
+
# at the cc-services tail, after progress-rebuild — physical row order
|
|
654
|
+
# keeps the emit-seam composition reviewable.
|
|
655
|
+
- id: skill-usage
|
|
656
|
+
name: '@dsh-cc/skill-usage'
|
|
657
|
+
|
|
658
|
+
# Moa tiered cascade routing (plan
|
|
659
|
+
# docs/plans/2026-10-09-moa-tiered-cascade-routing.md): an opt-in pipeline
|
|
660
|
+
# that classifies genuine user turns to sketch/draft/blueprint/masterplan,
|
|
661
|
+
# with an optional acceptance judge and effect-free escalation retry at
|
|
662
|
+
# +1 tier. Publishes no Service (plain plugin, turn-rules/advisor-watchdog
|
|
663
|
+
# pattern), so it needs no isolate key. DEFAULT OFF (moa.enabled), with a
|
|
664
|
+
# moa-private System One budget/breaker and side-car JSONL ledgers under
|
|
665
|
+
# <dshHome>/moa/. ORDER TRIPWIRE: last of the interaction overlays — no
|
|
666
|
+
# functional coupling with advisor-watchdog/completion-gate (advisor
|
|
667
|
+
# reviews llm/stream windows; moa classifies user text pre-LLM and judges
|
|
668
|
+
# post-turn), the physical row order keeps the listeners' composition
|
|
669
|
+
# reviewable and puts moa's status rows after advisor verdicts in the
|
|
670
|
+
# same turn-stopping window.
|
|
671
|
+
- id: moa
|
|
672
|
+
name: '@dsh-cc/moa'
|
|
673
|
+
|
|
604
674
|
# ── parallel rows ──────────────────────────────────────────────────────────
|
|
605
675
|
|
|
606
676
|
# Claude Code skills from user/project/additional roots.
|
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.9.0
|
|
4
|
+
"version": "0.9.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -19,66 +19,72 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@dsh-cc/command-agents": "^0.9.0
|
|
23
|
-
"@dsh-cc/command-auto-mode": "^0.9.0
|
|
24
|
-
"@dsh-cc/command-branch": "^0.9.0
|
|
25
|
-
"@dsh-cc/command-
|
|
26
|
-
"@dsh-cc/command-
|
|
27
|
-
"@dsh-cc/command-
|
|
28
|
-
"@dsh-cc/cache-health": "^0.9.0
|
|
29
|
-
"@dsh-cc/command-
|
|
30
|
-
"@dsh-cc/command-
|
|
31
|
-
"@dsh-cc/command-
|
|
32
|
-
"@dsh-cc/
|
|
33
|
-
"@dsh-cc/command-cost": "^0.9.0
|
|
34
|
-
"@dsh-cc/command-
|
|
35
|
-
"@dsh-cc/command-
|
|
36
|
-
"@dsh-cc/
|
|
37
|
-
"@dsh-cc/command-
|
|
38
|
-
"@dsh-cc/command-
|
|
39
|
-
"@dsh-cc/command-permissions": "^0.9.0
|
|
40
|
-
"@dsh-cc/command-
|
|
41
|
-
"@dsh-cc/command-
|
|
42
|
-
"@dsh-cc/command-
|
|
43
|
-
"@dsh-cc/command-
|
|
44
|
-
"@dsh-cc/command-
|
|
45
|
-
"@dsh-cc/command-
|
|
46
|
-
"@dsh-cc/
|
|
47
|
-
"@dsh-cc/command-
|
|
48
|
-
"@dsh-cc/
|
|
49
|
-
"@dsh-cc/compaction-
|
|
50
|
-
"@dsh-cc/
|
|
51
|
-
"@dsh-cc/context-crusher": "^0.9.0
|
|
52
|
-
"@dsh-cc/
|
|
53
|
-
"@dsh-cc/
|
|
54
|
-
"@dsh-cc/
|
|
55
|
-
"@dsh-cc/
|
|
56
|
-
"@dsh-cc/model-aliases": "^0.9.0
|
|
57
|
-
"@dsh-cc/
|
|
58
|
-
"@dsh-cc/
|
|
59
|
-
"@dsh-cc/
|
|
60
|
-
"@dsh-cc/
|
|
61
|
-
"@dsh-cc/
|
|
62
|
-
"@dsh-cc/
|
|
63
|
-
"@dsh-cc/
|
|
64
|
-
"@dsh-cc/tool-append-order": "^0.9.0
|
|
65
|
-
"@dsh-cc/tool-
|
|
66
|
-
"@dsh-cc/tool-
|
|
67
|
-
"@dsh-cc/tool-
|
|
68
|
-
"@dsh-cc/tool-
|
|
69
|
-
"@dsh-cc/tool-
|
|
70
|
-
"@dsh-cc/
|
|
71
|
-
"@dsh-cc/
|
|
72
|
-
"@dsh-cc/
|
|
73
|
-
"@dsh-cc/tool-
|
|
74
|
-
"@dsh-cc/
|
|
75
|
-
"@dsh-cc/
|
|
76
|
-
"@dsh-cc/
|
|
77
|
-
"@dsh-cc/
|
|
78
|
-
"@dsh-cc/
|
|
79
|
-
"@dsh-cc/
|
|
80
|
-
"@dsh-cc/
|
|
81
|
-
"@dsh-cc/
|
|
22
|
+
"@dsh-cc/command-agents": "^0.9.0",
|
|
23
|
+
"@dsh-cc/command-auto-mode": "^0.9.0",
|
|
24
|
+
"@dsh-cc/command-branch": "^0.9.0",
|
|
25
|
+
"@dsh-cc/command-config": "^0.9.0",
|
|
26
|
+
"@dsh-cc/command-compact": "^0.9.0",
|
|
27
|
+
"@dsh-cc/command-commit-split": "^0.9.0",
|
|
28
|
+
"@dsh-cc/cache-health": "^0.9.0",
|
|
29
|
+
"@dsh-cc/command-diff": "^0.9.0",
|
|
30
|
+
"@dsh-cc/command-doctor": "^0.9.0",
|
|
31
|
+
"@dsh-cc/command-export": "^0.9.0",
|
|
32
|
+
"@dsh-cc/command-help": "^0.9.0",
|
|
33
|
+
"@dsh-cc/command-cost": "^0.9.0",
|
|
34
|
+
"@dsh-cc/command-init": "^0.9.0",
|
|
35
|
+
"@dsh-cc/command-learn": "^0.9.0",
|
|
36
|
+
"@dsh-cc/bundle-shell": "^0.9.0",
|
|
37
|
+
"@dsh-cc/command-mcp": "^0.9.0",
|
|
38
|
+
"@dsh-cc/command-memory": "^0.9.0",
|
|
39
|
+
"@dsh-cc/command-permissions": "^0.9.0",
|
|
40
|
+
"@dsh-cc/command-plugin": "^0.9.0",
|
|
41
|
+
"@dsh-cc/command-release-notes": "^0.9.0",
|
|
42
|
+
"@dsh-cc/command-resume": "^0.9.0",
|
|
43
|
+
"@dsh-cc/command-rename": "^0.9.0",
|
|
44
|
+
"@dsh-cc/command-skills": "^0.9.0",
|
|
45
|
+
"@dsh-cc/command-status": "^0.9.0",
|
|
46
|
+
"@dsh-cc/command-tasks": "^0.9.0",
|
|
47
|
+
"@dsh-cc/command-version": "^0.9.0",
|
|
48
|
+
"@dsh-cc/command-stats": "^0.9.0",
|
|
49
|
+
"@dsh-cc/compaction-basic": "^0.9.0",
|
|
50
|
+
"@dsh-cc/compaction-cost-gate": "^0.9.0",
|
|
51
|
+
"@dsh-cc/context-crusher": "^0.9.0",
|
|
52
|
+
"@dsh-cc/compaction-micro": "^0.9.0",
|
|
53
|
+
"@dsh-cc/coordinator": "^0.9.0",
|
|
54
|
+
"@dsh-cc/config-snapshot": "^0.9.0",
|
|
55
|
+
"@dsh-cc/memory-consolidation": "^0.9.0",
|
|
56
|
+
"@dsh-cc/model-aliases": "^0.9.0",
|
|
57
|
+
"@dsh-cc/memory": "^0.9.0",
|
|
58
|
+
"@dsh-cc/hooks-claude-code": "^0.9.0",
|
|
59
|
+
"@dsh-cc/output-styles": "^0.9.0",
|
|
60
|
+
"@dsh-cc/skill-loader": "^0.9.0",
|
|
61
|
+
"@dsh-cc/session-cwd": "^0.9.0",
|
|
62
|
+
"@dsh-cc/subagent-task": "^0.9.0",
|
|
63
|
+
"@dsh-cc/subagent-resume-pins": "^0.9.0",
|
|
64
|
+
"@dsh-cc/tool-append-order": "^0.9.0",
|
|
65
|
+
"@dsh-cc/tool-git-worktree": "^0.9.0",
|
|
66
|
+
"@dsh-cc/tool-manage-skill": "^0.9.0",
|
|
67
|
+
"@dsh-cc/tool-search": "^0.9.0",
|
|
68
|
+
"@dsh-cc/tool-sleep": "^0.9.0",
|
|
69
|
+
"@dsh-cc/tool-notebook-edit": "^0.9.0",
|
|
70
|
+
"@dsh-cc/tool-structured-output": "^0.9.0",
|
|
71
|
+
"@dsh-cc/tool-workflow": "^0.9.0",
|
|
72
|
+
"@dsh-cc/serena-first": "^0.9.0",
|
|
73
|
+
"@dsh-cc/tool-web-fetch": "^0.9.0",
|
|
74
|
+
"@dsh-cc/workflow-journal": "^0.9.0",
|
|
75
|
+
"@dsh-cc/tool-use-summary": "^0.9.0",
|
|
76
|
+
"@dsh-cc/prompt-suggest": "^0.9.0",
|
|
77
|
+
"@dsh-cc/lsp-on-write": "^0.9.0",
|
|
78
|
+
"@dsh-cc/turn-rules": "^0.9.0",
|
|
79
|
+
"@dsh-cc/advisor-watchdog": "^0.9.0",
|
|
80
|
+
"@dsh-cc/handoff-store": "^0.9.0",
|
|
81
|
+
"@dsh-cc/skill-usage": "^0.9.0",
|
|
82
|
+
"@dsh-cc/moa": "^0.9.0",
|
|
83
|
+
"@dsh-cc/post-edit-verify": "^0.9.0",
|
|
84
|
+
"@dsh-cc/completion-gate": "^0.9.0",
|
|
85
|
+
"@dsh-cc/reasoning-fold": "^0.9.0",
|
|
86
|
+
"@dsh-cc/progress-rebuild": "^0.9.0",
|
|
87
|
+
"@dsh-cc/retry-attendant": "^0.9.0"
|
|
82
88
|
},
|
|
83
89
|
"devDependencies": {
|
|
84
90
|
"@deepseek-ai/cordis-plugin-include": "link:../../../../deepseek-harness/vendor/include",
|