@dsh-cc/preset-cc 0.7.1 → 0.8.0-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.
Files changed (2) hide show
  1. package/agent.cordis.yml +60 -0
  2. package/package.json +54 -49
package/agent.cordis.yml CHANGED
@@ -339,7 +339,17 @@
339
339
  hookBridgeStatus: true
340
340
  mcp: true
341
341
  hooks: true
342
+ # The plugin rules seam (cursor-plugin plan PR-B S5): provided by
343
+ # cc-shell-glue (inside this group) via the awaited child-plugin provide
344
+ # idiom, like mcp/hooks; the loader's mountRules consults it, and the
345
+ # consolidated `cc:plugin-rules` prompt section renders its entries.
346
+ rules: true
342
347
  contextCrusher: true
348
+ compactionCostGate: true
349
+ # The actor-contract model gate (docs/plans/2026-09-21-subagent-actor-contract-prompts.md):
350
+ # published by cc-subagent-task inside this group; an un-isolated provide
351
+ # trips the preset mount guard (process-global service from a preset row).
352
+ ccActorContractGate: true
343
353
  config:
344
354
  # ToolSearch: model-called search that activates deferred tools per scope.
345
355
  - id: tool-search
@@ -349,6 +359,16 @@
349
359
  - id: compaction-micro
350
360
  name: '@dsh-cc/compaction-micro'
351
361
 
362
+ # Cost-gated plan-step compaction (plan docs/plans/2026-09-20-cost-gated-plan-step-compaction.md):
363
+ # arms on completed todo_write transitions, and at the agent/status idle
364
+ # seam calls compactNow on the latched root session only when projected
365
+ # input-token savings beat the cache rewrite plus unamortized debt.
366
+ # Ships dark: settings namespace `cc-compaction-cost-gate` (enabled:
367
+ # false, mode: 'dry-run'). The compaction service is NOT injected (cordis
368
+ # strict-read); it is read through the guarded optional accessor.
369
+ - id: compaction-cost-gate
370
+ name: '@dsh-cc/compaction-cost-gate'
371
+
352
372
  # CCR tool-output compression (plan docs/plans/2026-09-10-ccr-tool-output-compression.md):
353
373
  # a `tools/post-execute` listener registered with `prepend: true`, composed
354
374
  # post-`next()`, plus the agent-visible `context_retrieve` tool (listener +
@@ -473,6 +493,46 @@
473
493
  - id: reasoning-fold
474
494
  name: '@dsh-cc/reasoning-fold'
475
495
 
496
+ # Tool Use Summary pipeline (plan docs/plans/2026-09-15-side-queries.md §5):
497
+ # a fire-and-forget cheap-lane digest of every large tool result, keyed by
498
+ # callId in $DSH_HOME/tool-use-summary/<sessionId>.jsonl and consumed at
499
+ # compaction time (compaction-micro placeholder upgrade; §5.4). Publishes
500
+ # no Service (plain plugin, handoff-store pattern), so it needs no isolate
501
+ # key of its own; the `tools/post-execute` listener is registered WITHOUT
502
+ # prepend so the context-crusher stays the outermost listener (§5.6), and
503
+ # every fault degrades to a ledger row — never into the waterfall.
504
+ - id: tool-use-summary
505
+ name: '@dsh-cc/tool-use-summary'
506
+
507
+ # Post-edit auto-verify (plan docs/plans/2026-09-20-post-edit-auto-verify.md):
508
+ # after an accepted edit/write result, runs a user-declared fast verification
509
+ # command (user-layer setting only) and appends its `[auto-verify]` outcome to
510
+ # the SAME tool result, saving a model round-trip on failure. Publishes no
511
+ # Service (plain plugin), so it needs no isolate key of its own; the
512
+ # `tools/post-execute` listener is registered WITHOUT prepend so it composes
513
+ # inside context-crusher's outermost post-execute listener.
514
+ - id: post-edit-verify
515
+ name: '@dsh-cc/post-edit-verify'
516
+
517
+ # Edit recovery hint (plan docs/plans/2026-09-21-edit-fuzzy-matching-and-read-state.md,
518
+ # Track B): when the edit tool fails not-found on a multi-line `old_string`,
519
+ # appends a FIXED static recovery-advice message to the accept decision as
520
+ # an `additionalContexts` entry (model-visible sideband; the tool result
521
+ # content is never rewritten). User-layer-only setting, ship-dark by
522
+ # default. Publishes no Service (plain plugin), so it needs no isolate key.
523
+ - id: edit-recovery-hint
524
+ name: '@dsh-cc/edit-recovery-hint'
525
+
526
+ # Next-prompt suggestion (plan docs/plans/2026-09-15-side-queries.md §7): an
527
+ # agent/turn-stopping fire-and-forget cheap-lane prediction of the user's
528
+ # next message, stored in a module-level registry the TUI autocomplete
529
+ # provider reads in-process (same-process assumption). Publishes no Service
530
+ # (plain plugin, reasoning-fold pattern) so it needs no isolate key of its
531
+ # own; DEFAULT OFF (cc-prompt-suggest.enabled) — disabled sessions make
532
+ # zero adapter calls and the TUI surfaces zero suggestion items.
533
+ - id: prompt-suggest
534
+ name: '@dsh-cc/prompt-suggest'
535
+
476
536
  # ── parallel rows ──────────────────────────────────────────────────────────
477
537
 
478
538
  # 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.7.1",
4
+ "version": "0.8.0-rc.1",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -19,54 +19,59 @@
19
19
  "access": "public"
20
20
  },
21
21
  "dependencies": {
22
- "@dsh-cc/bundle-shell": "^0.7.1",
23
- "@dsh-cc/command-branch": "^0.7.1",
24
- "@dsh-cc/cache-health": "^0.7.1",
25
- "@dsh-cc/command-config": "^0.7.1",
26
- "@dsh-cc/command-agents": "^0.7.1",
27
- "@dsh-cc/command-cost": "^0.7.1",
28
- "@dsh-cc/command-diff": "^0.7.1",
29
- "@dsh-cc/command-doctor": "^0.7.1",
30
- "@dsh-cc/command-compact": "^0.7.1",
31
- "@dsh-cc/command-export": "^0.7.1",
32
- "@dsh-cc/command-help": "^0.7.1",
33
- "@dsh-cc/command-learn": "^0.7.1",
34
- "@dsh-cc/command-init": "^0.7.1",
35
- "@dsh-cc/command-mcp": "^0.7.1",
36
- "@dsh-cc/command-plugin": "^0.7.1",
37
- "@dsh-cc/command-resume": "^0.7.1",
38
- "@dsh-cc/command-release-notes": "^0.7.1",
39
- "@dsh-cc/command-rename": "^0.7.1",
40
- "@dsh-cc/command-skills": "^0.7.1",
41
- "@dsh-cc/command-stats": "^0.7.1",
42
- "@dsh-cc/command-status": "^0.7.1",
43
- "@dsh-cc/command-tasks": "^0.7.1",
44
- "@dsh-cc/command-memory": "^0.7.1",
45
- "@dsh-cc/command-permissions": "^0.7.1",
46
- "@dsh-cc/compaction-basic": "^0.7.1",
47
- "@dsh-cc/compaction-micro": "^0.7.1",
48
- "@dsh-cc/context-crusher": "^0.7.1",
49
- "@dsh-cc/coordinator": "^0.7.1",
50
- "@dsh-cc/hooks-claude-code": "^0.7.1",
51
- "@dsh-cc/memory": "^0.7.1",
52
- "@dsh-cc/memory-consolidation": "^0.7.1",
53
- "@dsh-cc/model-aliases": "^0.7.1",
54
- "@dsh-cc/output-styles": "^0.7.1",
55
- "@dsh-cc/skill-loader": "^0.7.1",
56
- "@dsh-cc/session-cwd": "^0.7.1",
57
- "@dsh-cc/serena-first": "^0.7.1",
58
- "@dsh-cc/subagent-task": "^0.7.1",
59
- "@dsh-cc/tool-append-order": "^0.7.1",
60
- "@dsh-cc/subagent-resume-pins": "^0.7.1",
61
- "@dsh-cc/tool-git-worktree": "^0.7.1",
62
- "@dsh-cc/command-version": "^0.7.1",
63
- "@dsh-cc/tool-search": "^0.7.1",
64
- "@dsh-cc/tool-sleep": "^0.7.1",
65
- "@dsh-cc/tool-structured-output": "^0.7.1",
66
- "@dsh-cc/tool-web-fetch": "^0.7.1",
67
- "@dsh-cc/handoff-store": "^0.7.1",
68
- "@dsh-cc/tool-notebook-edit": "^0.7.1",
69
- "@dsh-cc/reasoning-fold": "^0.7.1"
22
+ "@dsh-cc/bundle-shell": "^0.8.0-rc.1",
23
+ "@dsh-cc/command-agents": "^0.8.0-rc.1",
24
+ "@dsh-cc/command-config": "^0.8.0-rc.1",
25
+ "@dsh-cc/command-branch": "^0.8.0-rc.1",
26
+ "@dsh-cc/command-compact": "^0.8.0-rc.1",
27
+ "@dsh-cc/command-export": "^0.8.0-rc.1",
28
+ "@dsh-cc/command-help": "^0.8.0-rc.1",
29
+ "@dsh-cc/command-learn": "^0.8.0-rc.1",
30
+ "@dsh-cc/command-doctor": "^0.8.0-rc.1",
31
+ "@dsh-cc/cache-health": "^0.8.0-rc.1",
32
+ "@dsh-cc/command-init": "^0.8.0-rc.1",
33
+ "@dsh-cc/command-permissions": "^0.8.0-rc.1",
34
+ "@dsh-cc/command-memory": "^0.8.0-rc.1",
35
+ "@dsh-cc/command-plugin": "^0.8.0-rc.1",
36
+ "@dsh-cc/command-cost": "^0.8.0-rc.1",
37
+ "@dsh-cc/command-release-notes": "^0.8.0-rc.1",
38
+ "@dsh-cc/command-diff": "^0.8.0-rc.1",
39
+ "@dsh-cc/command-resume": "^0.8.0-rc.1",
40
+ "@dsh-cc/command-mcp": "^0.8.0-rc.1",
41
+ "@dsh-cc/command-skills": "^0.8.0-rc.1",
42
+ "@dsh-cc/command-stats": "^0.8.0-rc.1",
43
+ "@dsh-cc/command-status": "^0.8.0-rc.1",
44
+ "@dsh-cc/command-tasks": "^0.8.0-rc.1",
45
+ "@dsh-cc/command-version": "^0.8.0-rc.1",
46
+ "@dsh-cc/command-rename": "^0.8.0-rc.1",
47
+ "@dsh-cc/compaction-basic": "^0.8.0-rc.1",
48
+ "@dsh-cc/compaction-cost-gate": "^0.8.0-rc.1",
49
+ "@dsh-cc/compaction-micro": "^0.8.0-rc.1",
50
+ "@dsh-cc/coordinator": "^0.8.0-rc.1",
51
+ "@dsh-cc/memory": "^0.8.0-rc.1",
52
+ "@dsh-cc/hooks-claude-code": "^0.8.0-rc.1",
53
+ "@dsh-cc/memory-consolidation": "^0.8.0-rc.1",
54
+ "@dsh-cc/model-aliases": "^0.8.0-rc.1",
55
+ "@dsh-cc/context-crusher": "^0.8.0-rc.1",
56
+ "@dsh-cc/output-styles": "^0.8.0-rc.1",
57
+ "@dsh-cc/skill-loader": "^0.8.0-rc.1",
58
+ "@dsh-cc/session-cwd": "^0.8.0-rc.1",
59
+ "@dsh-cc/serena-first": "^0.8.0-rc.1",
60
+ "@dsh-cc/subagent-resume-pins": "^0.8.0-rc.1",
61
+ "@dsh-cc/subagent-task": "^0.8.0-rc.1",
62
+ "@dsh-cc/tool-append-order": "^0.8.0-rc.1",
63
+ "@dsh-cc/tool-git-worktree": "^0.8.0-rc.1",
64
+ "@dsh-cc/tool-notebook-edit": "^0.8.0-rc.1",
65
+ "@dsh-cc/tool-sleep": "^0.8.0-rc.1",
66
+ "@dsh-cc/tool-structured-output": "^0.8.0-rc.1",
67
+ "@dsh-cc/handoff-store": "^0.8.0-rc.1",
68
+ "@dsh-cc/prompt-suggest": "^0.8.0-rc.1",
69
+ "@dsh-cc/tool-web-fetch": "^0.8.0-rc.1",
70
+ "@dsh-cc/edit-recovery-hint": "^0.8.0-rc.1",
71
+ "@dsh-cc/post-edit-verify": "^0.8.0-rc.1",
72
+ "@dsh-cc/reasoning-fold": "^0.8.0-rc.1",
73
+ "@dsh-cc/tool-search": "^0.8.0-rc.1",
74
+ "@dsh-cc/tool-use-summary": "^0.8.0-rc.1"
70
75
  },
71
76
  "devDependencies": {
72
77
  "@deepseek-ai/cordis-plugin-include": "link:../../../../deepseek-harness/vendor/include",