@dsh-cc/tui 0.6.0 → 0.6.2
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 +6 -0
- package/README.md +2 -0
- package/README.zh.md +125 -0
- package/lib/components/overlays.d.ts +1 -1
- package/lib/components/overlays.js +1 -1
- package/lib/harness/boot-banner.js +1 -1
- package/lib/harness/driver-agent.d.ts.map +1 -1
- package/lib/harness/driver-agent.js +1 -0
- package/lib/harness/driver-agent.js.map +1 -1
- package/lib/harness/driver-agents.d.ts.map +1 -1
- package/lib/harness/driver-agents.js +18 -2
- package/lib/harness/driver-agents.js.map +1 -1
- package/lib/harness/driver-catalog.d.ts.map +1 -1
- package/lib/harness/driver-catalog.js +16 -2
- package/lib/harness/driver-catalog.js.map +1 -1
- package/lib/harness/driver-ctx.d.ts +11 -0
- package/lib/harness/driver-ctx.d.ts.map +1 -1
- package/lib/harness/driver-run-local.d.ts +3 -0
- package/lib/harness/driver-run-local.d.ts.map +1 -1
- package/lib/harness/driver-run-local.js +21 -8
- package/lib/harness/driver-run-local.js.map +1 -1
- package/lib/harness/driver.d.ts +0 -1
- package/lib/harness/driver.d.ts.map +1 -1
- package/lib/harness/driver.js +11 -11
- package/lib/harness/driver.js.map +1 -1
- package/lib/harness/onboarding.d.ts +60 -0
- package/lib/harness/onboarding.d.ts.map +1 -0
- package/lib/harness/onboarding.js +114 -0
- package/lib/harness/onboarding.js.map +1 -0
- package/lib/harness/usage-view.d.ts +0 -8
- package/lib/harness/usage-view.d.ts.map +1 -1
- package/lib/harness/usage-view.js +0 -30
- package/lib/harness/usage-view.js.map +1 -1
- package/lib/slash-help.d.ts.map +1 -1
- package/lib/slash-help.js +5 -1
- package/lib/slash-help.js.map +1 -1
- package/lib/slash.d.ts +1 -1
- package/lib/slash.d.ts.map +1 -1
- package/lib/slash.js +2 -2
- package/lib/slash.js.map +1 -1
- package/package.json +7 -7
- package/presets/cc/agent.cordis.yml +116 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-cc/tui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Claude Code-style terminal surface for the dsh tui profile (CC agent preset)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"highlight.js": "11.12.0",
|
|
46
|
-
"@dsh-cc/command-agents": "^0.6.
|
|
47
|
-
"@dsh-cc/
|
|
48
|
-
"@dsh-cc/
|
|
49
|
-
"@dsh-cc/
|
|
50
|
-
"@dsh-cc/
|
|
51
|
-
"@dsh-cc/
|
|
46
|
+
"@dsh-cc/command-agents": "^0.6.2",
|
|
47
|
+
"@dsh-cc/permission-rules": "^0.6.2",
|
|
48
|
+
"@dsh-cc/pi-tui": "^0.6.2",
|
|
49
|
+
"@dsh-cc/subagent-task": "^0.6.2",
|
|
50
|
+
"@dsh-cc/command-usage": "^0.6.2",
|
|
51
|
+
"@dsh-cc/command-permissions": "^0.6.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@deepseek-ai/cordis": "link:../../../../deepseek-harness/vendor/cordis",
|
|
@@ -331,6 +331,7 @@
|
|
|
331
331
|
hookBridgeStatus: true
|
|
332
332
|
mcp: true
|
|
333
333
|
hooks: true
|
|
334
|
+
contextCrusher: true
|
|
334
335
|
config:
|
|
335
336
|
# ToolSearch: model-called search that activates deferred tools per scope.
|
|
336
337
|
- id: tool-search
|
|
@@ -340,6 +341,20 @@
|
|
|
340
341
|
- id: compaction-micro
|
|
341
342
|
name: '@dsh-cc/compaction-micro'
|
|
342
343
|
|
|
344
|
+
# CCR tool-output compression (plan docs/plans/2026-09-10-ccr-tool-output-compression.md):
|
|
345
|
+
# a `tools/post-execute` listener registered with `prepend: true`, composed
|
|
346
|
+
# post-`next()`, plus the agent-visible `context_retrieve` tool (listener +
|
|
347
|
+
# tool host, no consumed service of its own — but it mounts a Service, so it
|
|
348
|
+
# shares this realm via the `contextCrusher` isolate key above). MUST sit
|
|
349
|
+
# BEFORE the hooks-claude-code row: waterfall listeners dispatch
|
|
350
|
+
# outermost-first in registration order, and the crusher must be outermost
|
|
351
|
+
# so its post-`next()` compression wraps the bridge's PostToolUse fold (the
|
|
352
|
+
# bridge sees the original bytes; the committed result carries the
|
|
353
|
+
# compressed form). The order tripwire is pinned by
|
|
354
|
+
# packages/context/context-crusher/tests/composition.spec.ts.
|
|
355
|
+
- id: context-crusher
|
|
356
|
+
name: '@dsh-cc/context-crusher'
|
|
357
|
+
|
|
343
358
|
# The hook bridge: runs the Claude Code hooks.json / settings hook config
|
|
344
359
|
# on the harness interception seams and provides the `hooks` seam plugin
|
|
345
360
|
# hooks merge through. Must mount BEFORE cc-shell-glue: the glue's
|
|
@@ -433,6 +448,23 @@
|
|
|
433
448
|
- id: tool-web-fetch
|
|
434
449
|
name: '@dsh-cc/tool-web-fetch'
|
|
435
450
|
|
|
451
|
+
# Subagent handoff store (plan docs/plans/2026-09-10-subagent-handoff-store.md):
|
|
452
|
+
# the handoff_put / handoff_get tool pair over a content-addressed store
|
|
453
|
+
# under $DSH_HOME/handoff/<projectKey>/. Publishes no Service (plain plugin,
|
|
454
|
+
# memory pattern), so it needs no isolate key of its own; state is entirely
|
|
455
|
+
# on disk (TTL 24h + 500-entry disk-based LRU swept on put), so spawned
|
|
456
|
+
# children in separate processes see the same store.
|
|
457
|
+
- id: handoff-store
|
|
458
|
+
name: '@dsh-cc/handoff-store'
|
|
459
|
+
|
|
460
|
+
# Stage-0 reasoning-fold probe (plan docs/plans/2026-09-10-reasoning-fold-deepseek.md):
|
|
461
|
+
# a READ-ONLY `llm/stream` listener byte-counting reasoning vs text deltas
|
|
462
|
+
# into $DSH_HOME/reasoning-fold/<sessionId>.jsonl. Publishes no Service
|
|
463
|
+
# (plain plugin, handoff-store pattern), so it needs no isolate key of its
|
|
464
|
+
# own; the listener never rewrites the chunk stream (LEDGER-ONLY).
|
|
465
|
+
- id: reasoning-fold
|
|
466
|
+
name: '@dsh-cc/reasoning-fold'
|
|
467
|
+
|
|
436
468
|
# ── parallel rows ──────────────────────────────────────────────────────────
|
|
437
469
|
|
|
438
470
|
# Claude Code skills from user/project/additional roots.
|
|
@@ -474,12 +506,90 @@
|
|
|
474
506
|
|
|
475
507
|
# ── CC parity slash commands ───────────────────────────────────────────────
|
|
476
508
|
|
|
509
|
+
# CacheHealth: passive prompt-cache prefix-stability observer; /cache-health
|
|
510
|
+
# joins its own llm/stream observation ledger with provider-metered cache
|
|
511
|
+
# usage from session events (detector-only, no request rewriting).
|
|
512
|
+
- id: cache-health
|
|
513
|
+
name: '@dsh-cc/cache-health'
|
|
514
|
+
|
|
477
515
|
- id: command-cost
|
|
478
516
|
name: '@dsh-cc/command-cost'
|
|
479
517
|
config:
|
|
480
|
-
# Composition decides pricing → the package schema stays strict
|
|
481
|
-
#
|
|
482
|
-
|
|
518
|
+
# Composition decides pricing → the package schema stays strict. The preset
|
|
519
|
+
# ships a starter table of official published list prices (USD per 1M
|
|
520
|
+
# tokens), collected 2026-09-10 from the vendor pricing pages; deployments
|
|
521
|
+
# whose billing differs should override the whole modelTable. No '*'
|
|
522
|
+
# wildcard column on purpose: unmatched models report "no price
|
|
523
|
+
# configured" instead of a misleading zero cost. A runtime id with a route
|
|
524
|
+
# prefix (e.g. `llmbox_ant/glm-5.3`) matches the bare model row via suffix
|
|
525
|
+
# matching.
|
|
526
|
+
modelTable:
|
|
527
|
+
# DeepSeek (api-docs.deepseek.com/quick_start/pricing); cache write is
|
|
528
|
+
# not billed separately → cacheWrite 0.
|
|
529
|
+
- model: deepseek-v4-flash-0731
|
|
530
|
+
inputPerMTok: 0.28
|
|
531
|
+
outputPerMTok: 0.42
|
|
532
|
+
cacheReadPerMTok: 0.04
|
|
533
|
+
cacheWritePerMTok: 0
|
|
534
|
+
- model: deepseek-v4-flash
|
|
535
|
+
inputPerMTok: 0.28
|
|
536
|
+
outputPerMTok: 0.42
|
|
537
|
+
cacheReadPerMTok: 0.04
|
|
538
|
+
cacheWritePerMTok: 0
|
|
539
|
+
- model: deepseek-v4-pro
|
|
540
|
+
inputPerMTok: 0.56
|
|
541
|
+
outputPerMTok: 1.68
|
|
542
|
+
cacheReadPerMTok: 0.08
|
|
543
|
+
cacheWritePerMTok: 0
|
|
544
|
+
# GLM (docs.z.ai/guides/overview/pricing); cached-input storage is
|
|
545
|
+
# limited-time free → cacheWrite 0. glm-5.3-flash uses list prices, not
|
|
546
|
+
# the 50%-off promo.
|
|
547
|
+
- model: glm-5.3
|
|
548
|
+
inputPerMTok: 1.4
|
|
549
|
+
outputPerMTok: 4.4
|
|
550
|
+
cacheReadPerMTok: 0.26
|
|
551
|
+
cacheWritePerMTok: 0
|
|
552
|
+
- model: glm-5.2
|
|
553
|
+
inputPerMTok: 1.4
|
|
554
|
+
outputPerMTok: 4.4
|
|
555
|
+
cacheReadPerMTok: 0.26
|
|
556
|
+
cacheWritePerMTok: 0
|
|
557
|
+
- model: glm-5.1
|
|
558
|
+
inputPerMTok: 1.4
|
|
559
|
+
outputPerMTok: 4.4
|
|
560
|
+
cacheReadPerMTok: 0.26
|
|
561
|
+
cacheWritePerMTok: 0
|
|
562
|
+
- model: glm-5
|
|
563
|
+
inputPerMTok: 1.0
|
|
564
|
+
outputPerMTok: 3.2
|
|
565
|
+
cacheReadPerMTok: 0.2
|
|
566
|
+
cacheWritePerMTok: 0
|
|
567
|
+
- model: glm-4.7
|
|
568
|
+
inputPerMTok: 0.6
|
|
569
|
+
outputPerMTok: 2.2
|
|
570
|
+
cacheReadPerMTok: 0.11
|
|
571
|
+
cacheWritePerMTok: 0
|
|
572
|
+
- model: glm-4.6
|
|
573
|
+
inputPerMTok: 0.6
|
|
574
|
+
outputPerMTok: 2.2
|
|
575
|
+
cacheReadPerMTok: 0.11
|
|
576
|
+
cacheWritePerMTok: 0
|
|
577
|
+
- model: glm-4.5
|
|
578
|
+
inputPerMTok: 0.6
|
|
579
|
+
outputPerMTok: 2.2
|
|
580
|
+
cacheReadPerMTok: 0.11
|
|
581
|
+
cacheWritePerMTok: 0
|
|
582
|
+
- model: glm-5.3-flash
|
|
583
|
+
inputPerMTok: 0.15
|
|
584
|
+
outputPerMTok: 0.50
|
|
585
|
+
cacheReadPerMTok: 0.03
|
|
586
|
+
cacheWritePerMTok: 0
|
|
587
|
+
# Kimi (kimi.ai kimi-k3 pricing page).
|
|
588
|
+
- model: kimi-k3
|
|
589
|
+
inputPerMTok: 3.00
|
|
590
|
+
outputPerMTok: 15.00
|
|
591
|
+
cacheReadPerMTok: 0.30
|
|
592
|
+
cacheWritePerMTok: 0
|
|
483
593
|
|
|
484
594
|
- id: command-export
|
|
485
595
|
name: '@dsh-cc/command-export'
|
|
@@ -517,6 +627,9 @@
|
|
|
517
627
|
- id: command-init
|
|
518
628
|
name: '@dsh-cc/command-init'
|
|
519
629
|
|
|
630
|
+
- id: command-learn
|
|
631
|
+
name: '@dsh-cc/command-learn'
|
|
632
|
+
|
|
520
633
|
- id: command-tasks
|
|
521
634
|
name: '@dsh-cc/command-tasks'
|
|
522
635
|
|