@dsh-cc/preset-cc 0.8.2 → 0.8.3

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/agent.cordis.yml +23 -22
  2. package/package.json +61 -62
package/agent.cordis.yml CHANGED
@@ -159,10 +159,24 @@
159
159
  isolate:
160
160
  compaction: true
161
161
  toolResultPruner: true
162
+ compactionCostGate: true
162
163
  config:
163
164
  - id: compaction-basic
164
165
  name: '@dsh-cc/compaction-basic'
165
166
 
167
+ # Cost-gated plan-step compaction (plan docs/plans/2026-09-20-cost-gated-plan-step-compaction.md):
168
+ # arms on completed todo_write transitions, and at the agent/status idle
169
+ # seam calls compactNow on the latched root session only when projected
170
+ # input-token savings beat the cache rewrite plus unamortized debt.
171
+ # Ships dark: settings namespace `cc-compaction-cost-gate` (enabled:
172
+ # false, mode: 'dry-run'). The compaction service is NOT injected (cordis
173
+ # strict-read); it is read through the guarded optional accessor, so a
174
+ # failed engine mount degrades to ledger+warn instead of killing the gate.
175
+ # Because a scoped get() cannot cross an isolate boundary, the gate MUST
176
+ # share this realm — the same rule as toolResultPrune above.
177
+ - id: compaction-cost-gate
178
+ name: '@dsh-cc/compaction-cost-gate'
179
+
166
180
  - id: command-compact
167
181
  name: '@dsh-cc/command-compact'
168
182
 
@@ -365,7 +379,6 @@
365
379
  # consolidated `cc:plugin-rules` prompt section renders its entries.
366
380
  rules: true
367
381
  contextCrusher: true
368
- compactionCostGate: true
369
382
  # The actor-contract model gate (docs/plans/2026-09-21-subagent-actor-contract-prompts.md):
370
383
  # published by cc-subagent-task inside this group; an un-isolated provide
371
384
  # trips the preset mount guard (process-global service from a preset row).
@@ -379,16 +392,6 @@
379
392
  - id: compaction-micro
380
393
  name: '@dsh-cc/compaction-micro'
381
394
 
382
- # Cost-gated plan-step compaction (plan docs/plans/2026-09-20-cost-gated-plan-step-compaction.md):
383
- # arms on completed todo_write transitions, and at the agent/status idle
384
- # seam calls compactNow on the latched root session only when projected
385
- # input-token savings beat the cache rewrite plus unamortized debt.
386
- # Ships dark: settings namespace `cc-compaction-cost-gate` (enabled:
387
- # false, mode: 'dry-run'). The compaction service is NOT injected (cordis
388
- # strict-read); it is read through the guarded optional accessor.
389
- - id: compaction-cost-gate
390
- name: '@dsh-cc/compaction-cost-gate'
391
-
392
395
  # CCR tool-output compression (plan docs/plans/2026-09-10-ccr-tool-output-compression.md):
393
396
  # a `tools/post-execute` listener registered with `prepend: true`, composed
394
397
  # post-`next()`, plus the agent-visible `context_retrieve` tool (listener +
@@ -535,22 +538,20 @@
535
538
  # Post-edit auto-verify (plan docs/plans/2026-09-20-post-edit-auto-verify.md):
536
539
  # after an accepted edit/write result, runs a user-declared fast verification
537
540
  # command (user-layer setting only) and appends its `[auto-verify]` outcome to
538
- # the SAME tool result, saving a model round-trip on failure. Publishes no
541
+ # the SAME tool result, saving a model round-trip on failure. Also hosts
542
+ # the merged edit-recovery-hint feature (plan
543
+ # docs/plans/2026-09-21-edit-fuzzy-matching-and-read-state.md, Track B):
544
+ # on an edit-tool not-found failure of a multi-line `old_string`, it
545
+ # appends a FIXED static recovery-advice message to the accept decision as
546
+ # an `additionalContexts` entry (model-visible sideband; the tool result
547
+ # content is never rewritten). User-layer-only setting, ship-dark by
548
+ # default (cc-edit-recovery-hint). Publishes no
539
549
  # Service (plain plugin), so it needs no isolate key of its own; the
540
550
  # `tools/post-execute` listener is registered WITHOUT prepend so it composes
541
551
  # inside context-crusher's outermost post-execute listener.
542
552
  - id: post-edit-verify
543
553
  name: '@dsh-cc/post-edit-verify'
544
554
 
545
- # Edit recovery hint (plan docs/plans/2026-09-21-edit-fuzzy-matching-and-read-state.md,
546
- # Track B): when the edit tool fails not-found on a multi-line `old_string`,
547
- # appends a FIXED static recovery-advice message to the accept decision as
548
- # an `additionalContexts` entry (model-visible sideband; the tool result
549
- # content is never rewritten). User-layer-only setting, ship-dark by
550
- # default. Publishes no Service (plain plugin), so it needs no isolate key.
551
- - id: edit-recovery-hint
552
- name: '@dsh-cc/edit-recovery-hint'
553
-
554
555
  # LSP diagnostics-on-write (plan docs/plans/2026-09-23-lsp-diagnostics-on-write.md):
555
556
  # after a successful edit/write/NotebookEdit, pulls the touched file's
556
557
  # diagnostics from the running serena language servers via the
@@ -560,7 +561,7 @@
560
561
  # Publishes no Service (plain plugin), so it needs no isolate key; the
561
562
  # `tools/post-execute` listener is registered WITHOUT prepend so it
562
563
  # composes inside context-crusher's outermost post-execute listener.
563
- # ORDER: after edit-recovery-hint, same post-execute composition family.
564
+ # ORDER: after post-edit-verify, same post-execute composition family.
564
565
  - id: lsp-on-write
565
566
  name: '@dsh-cc/lsp-on-write'
566
567
 
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.2",
4
+ "version": "0.8.3",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -19,67 +19,66 @@
19
19
  "access": "public"
20
20
  },
21
21
  "dependencies": {
22
- "@dsh-cc/bundle-shell": "^0.8.2",
23
- "@dsh-cc/command-agents": "^0.8.2",
24
- "@dsh-cc/command-auto-mode": "^0.8.2",
25
- "@dsh-cc/command-branch": "^0.8.2",
26
- "@dsh-cc/command-compact": "^0.8.2",
27
- "@dsh-cc/command-config": "^0.8.2",
28
- "@dsh-cc/command-cost": "^0.8.2",
29
- "@dsh-cc/command-diff": "^0.8.2",
30
- "@dsh-cc/cache-health": "^0.8.2",
31
- "@dsh-cc/command-doctor": "^0.8.2",
32
- "@dsh-cc/command-export": "^0.8.2",
33
- "@dsh-cc/command-init": "^0.8.2",
34
- "@dsh-cc/command-learn": "^0.8.2",
35
- "@dsh-cc/command-mcp": "^0.8.2",
36
- "@dsh-cc/command-help": "^0.8.2",
37
- "@dsh-cc/command-commit-split": "^0.8.2",
38
- "@dsh-cc/command-plugin": "^0.8.2",
39
- "@dsh-cc/command-memory": "^0.8.2",
40
- "@dsh-cc/command-release-notes": "^0.8.2",
41
- "@dsh-cc/command-resume": "^0.8.2",
42
- "@dsh-cc/command-rename": "^0.8.2",
43
- "@dsh-cc/command-skills": "^0.8.2",
44
- "@dsh-cc/command-stats": "^0.8.2",
45
- "@dsh-cc/command-permissions": "^0.8.2",
46
- "@dsh-cc/command-tasks": "^0.8.2",
47
- "@dsh-cc/command-status": "^0.8.2",
48
- "@dsh-cc/command-version": "^0.8.2",
49
- "@dsh-cc/compaction-basic": "^0.8.2",
50
- "@dsh-cc/compaction-cost-gate": "^0.8.2",
51
- "@dsh-cc/compaction-micro": "^0.8.2",
52
- "@dsh-cc/context-crusher": "^0.8.2",
53
- "@dsh-cc/coordinator": "^0.8.2",
54
- "@dsh-cc/memory-consolidation": "^0.8.2",
55
- "@dsh-cc/model-aliases": "^0.8.2",
56
- "@dsh-cc/output-styles": "^0.8.2",
57
- "@dsh-cc/memory": "^0.8.2",
58
- "@dsh-cc/serena-first": "^0.8.2",
59
- "@dsh-cc/session-cwd": "^0.8.2",
60
- "@dsh-cc/hooks-claude-code": "^0.8.2",
61
- "@dsh-cc/subagent-resume-pins": "^0.8.2",
62
- "@dsh-cc/subagent-task": "^0.8.2",
63
- "@dsh-cc/skill-loader": "^0.8.2",
64
- "@dsh-cc/tool-append-order": "^0.8.2",
65
- "@dsh-cc/tool-git-worktree": "^0.8.2",
66
- "@dsh-cc/tool-manage-skill": "^0.8.2",
67
- "@dsh-cc/tool-notebook-edit": "^0.8.2",
68
- "@dsh-cc/tool-search": "^0.8.2",
69
- "@dsh-cc/tool-structured-output": "^0.8.2",
70
- "@dsh-cc/tool-workflow": "^0.8.2",
71
- "@dsh-cc/tool-sleep": "^0.8.2",
72
- "@dsh-cc/workflow-journal": "^0.8.2",
73
- "@dsh-cc/tool-use-summary": "^0.8.2",
74
- "@dsh-cc/handoff-store": "^0.8.2",
75
- "@dsh-cc/edit-recovery-hint": "^0.8.2",
76
- "@dsh-cc/prompt-suggest": "^0.8.2",
77
- "@dsh-cc/lsp-on-write": "^0.8.2",
78
- "@dsh-cc/tool-web-fetch": "^0.8.2",
79
- "@dsh-cc/turn-rules": "^0.8.2",
80
- "@dsh-cc/advisor-watchdog": "^0.8.2",
81
- "@dsh-cc/post-edit-verify": "^0.8.2",
82
- "@dsh-cc/reasoning-fold": "^0.8.2"
22
+ "@dsh-cc/command-agents": "^0.8.3",
23
+ "@dsh-cc/command-auto-mode": "^0.8.3",
24
+ "@dsh-cc/bundle-shell": "^0.8.3",
25
+ "@dsh-cc/command-branch": "^0.8.3",
26
+ "@dsh-cc/command-commit-split": "^0.8.3",
27
+ "@dsh-cc/cache-health": "^0.8.3",
28
+ "@dsh-cc/command-cost": "^0.8.3",
29
+ "@dsh-cc/command-doctor": "^0.8.3",
30
+ "@dsh-cc/command-diff": "^0.8.3",
31
+ "@dsh-cc/command-config": "^0.8.3",
32
+ "@dsh-cc/command-compact": "^0.8.3",
33
+ "@dsh-cc/command-export": "^0.8.3",
34
+ "@dsh-cc/command-init": "^0.8.3",
35
+ "@dsh-cc/command-learn": "^0.8.3",
36
+ "@dsh-cc/command-mcp": "^0.8.3",
37
+ "@dsh-cc/command-permissions": "^0.8.3",
38
+ "@dsh-cc/command-memory": "^0.8.3",
39
+ "@dsh-cc/command-plugin": "^0.8.3",
40
+ "@dsh-cc/command-release-notes": "^0.8.3",
41
+ "@dsh-cc/command-resume": "^0.8.3",
42
+ "@dsh-cc/command-help": "^0.8.3",
43
+ "@dsh-cc/command-skills": "^0.8.3",
44
+ "@dsh-cc/command-status": "^0.8.3",
45
+ "@dsh-cc/command-rename": "^0.8.3",
46
+ "@dsh-cc/command-tasks": "^0.8.3",
47
+ "@dsh-cc/command-stats": "^0.8.3",
48
+ "@dsh-cc/command-version": "^0.8.3",
49
+ "@dsh-cc/compaction-basic": "^0.8.3",
50
+ "@dsh-cc/compaction-cost-gate": "^0.8.3",
51
+ "@dsh-cc/compaction-micro": "^0.8.3",
52
+ "@dsh-cc/context-crusher": "^0.8.3",
53
+ "@dsh-cc/hooks-claude-code": "^0.8.3",
54
+ "@dsh-cc/coordinator": "^0.8.3",
55
+ "@dsh-cc/memory": "^0.8.3",
56
+ "@dsh-cc/model-aliases": "^0.8.3",
57
+ "@dsh-cc/output-styles": "^0.8.3",
58
+ "@dsh-cc/skill-loader": "^0.8.3",
59
+ "@dsh-cc/serena-first": "^0.8.3",
60
+ "@dsh-cc/memory-consolidation": "^0.8.3",
61
+ "@dsh-cc/subagent-task": "^0.8.3",
62
+ "@dsh-cc/subagent-resume-pins": "^0.8.3",
63
+ "@dsh-cc/tool-git-worktree": "^0.8.3",
64
+ "@dsh-cc/session-cwd": "^0.8.3",
65
+ "@dsh-cc/tool-manage-skill": "^0.8.3",
66
+ "@dsh-cc/tool-append-order": "^0.8.3",
67
+ "@dsh-cc/tool-search": "^0.8.3",
68
+ "@dsh-cc/tool-sleep": "^0.8.3",
69
+ "@dsh-cc/tool-structured-output": "^0.8.3",
70
+ "@dsh-cc/tool-web-fetch": "^0.8.3",
71
+ "@dsh-cc/tool-notebook-edit": "^0.8.3",
72
+ "@dsh-cc/tool-workflow": "^0.8.3",
73
+ "@dsh-cc/handoff-store": "^0.8.3",
74
+ "@dsh-cc/prompt-suggest": "^0.8.3",
75
+ "@dsh-cc/tool-use-summary": "^0.8.3",
76
+ "@dsh-cc/lsp-on-write": "^0.8.3",
77
+ "@dsh-cc/turn-rules": "^0.8.3",
78
+ "@dsh-cc/workflow-journal": "^0.8.3",
79
+ "@dsh-cc/reasoning-fold": "^0.8.3",
80
+ "@dsh-cc/advisor-watchdog": "^0.8.3",
81
+ "@dsh-cc/post-edit-verify": "^0.8.3"
83
82
  },
84
83
  "devDependencies": {
85
84
  "@deepseek-ai/cordis-plugin-include": "link:../../../../deepseek-harness/vendor/include",