dsh-chief 0.0.0-stage → 1.1.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/CHANGELOG.md ADDED
@@ -0,0 +1,55 @@
1
+ # Changelog
2
+
3
+ All notable changes to **`dsh-chief`** (**DSH 参谋长**) will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.1.0] - 2026-11-15
9
+
10
+ ### Added
11
+ - **Tactical Cockpit & Per-Workspace Intervention Gate**:
12
+ - Workspace-isolated tactical controls (`intervention` strong-intervention gate with risk confirmation modal, consecutive turn cap & stalls circuit breaker, `strictVerify` empirical evidence enforcement, `redlineSentinel` boundary interceptor, and `conciseBrief` bulleted reporting).
13
+ - **Pre-Compaction Harvest-Verify-Compact**:
14
+ - Automatic fact harvesting and disk verification prior to session context compaction without touching sealed cold precipitation vaults.
15
+ - **`/goal` Human Approval Gate**:
16
+ - Pending approval cards before agents mutate long-running `/goal` objectives.
17
+ - **Dual-Vault Archive Architecture**:
18
+ - Multi-cabinet switching (`cabinets`) for active engineering archives alongside a zero-token cold historical precipitation vault (`~/.dsh/chief/precipitated/`) with explicit per-entry unseal/seal (`翻牌启用/封存`).
19
+ - **One-Click Chief Deployment & Media Persistence**:
20
+ - Cross-session Chief deployment cloning safe facts, narrative summary, and workspace preferences (forcing `intervention: false` and `flippedPrecipitatedIds: []`), with 4 archive transfer policies (`none`, `active`, `drawer`, `all`), plus `.dsh-chief-media/` image persistence with path fallback.
21
+
22
+ ### Fixed
23
+ - **DSH Host Compatibility & Subagent API Guardrails (Fixes [#1](https://github.com/gluztm/dsh-chief/issues/1), thanks `@edz017`)**:
24
+ - Tightened `package.json` `engines.dsh` constraint from `">=0.2.0"` to `">=0.2.2-rc.2"` so pre-refactor `subagents` hosts (such as `0.2.2-rc.1`) do not silently fail at runtime.
25
+ - Added `probeSubagentSupport(runtime)` runtime capability detection in `index.js` (exposed via `/api/dsh-chief/snapshot` `hostCompat` + startup warning log) and a dismissible amber banner in `client.js`, while `task.dispatch`, `team.steer`, and `team.interrupt` now return clear Chinese upgrade guidance when `subagents.resolveName` is unavailable.
26
+ - Fixed `sidebarRight.openResource` option key from `preferSeparatePane: true` to `preferNewPane: true` in `client.js`.
27
+ - Added a DSH Host Version Compatibility Matrix to both `README.md` and `README.en.md`.
28
+
29
+ ## [1.0.0] - 2026-11-14
30
+
31
+ ### Added
32
+ - **Executive Chief Cockpit (`参谋` Tab)**:
33
+ - Human-paced 3-gear briefing control (`⏸ 按需` default with zero background LLM calls, `⚡ 巡检`, and `🤖 托管`), preventing silent token drain.
34
+ - Full `provider/model` channel alignment so the Chief follows the exact provider channel (e.g. CommandCode vs. Official) of the active root conversation.
35
+ - Natural-language dispatch bar supporting `@主对话`, `@子代理`, `@跨窗会话`, and `@全体` broadcast across `steer` (插话), `followup` (递话), and `silent` (备忘) delivery modes.
36
+ - **Full-Spread Pyramid Task Topology (`任务` Tab)**:
37
+ - Expanded hierarchical DAG layout placing the Root Coordinator at the apex and subagent squads across clean columns without cramped drag-scroll viewports.
38
+ - Direct inline controls on every node for status transitions (`todo` / `doing` / `blocked` / `done`), plain-language explanation, subagent dispatch, and split-pane live stream inspection.
39
+ - **4-Tier Cold Engineering Archive Cabinet (`档案` Tab)**:
40
+ - Dedicated cold-storage vault (`~/.dsh/chief/archives.json`) organized as **Filing Drawers → Paperclipped Dossiers (`璀璨金针` / `标准银针` / `暗古铜针`) → Memory Points → Unfoldable Sub-point Details**.
41
+ - Strict 3-stage lazy loading (`Stage-0` `< 80B` metadata in `/snapshot`, `0` bytes injected into model system prompts while sealed; instant opt-in via `取出备查` or explicit `archive.search`).
42
+ - One-click lossless Chief curation (`请参谋长整理收纳` / `请参谋长重拆此卷`) preserving 100% of raw markdown text.
43
+ - **Dual-Tier `/goal` & Interactive Step Board (`规划` Tab)**:
44
+ - Dedicated top `/goal` long-running objective supervisor paired with a bottom step checklist.
45
+ - Click-to-ask context menu on every step (`这条是什么意思 / 为什么有这步` & `让参谋长当场解读(不打断主对话)`).
46
+ - **Cross-Session SuperAgent Relay (`协同` Tab)**:
47
+ - Undirected peer-session linking across independent DSH windows with unified directory discovery and shared collaboration mailbox.
48
+ - **Global Thumbtack Redline Governance & Self-Contained Handoff (`边界` Tab)**:
49
+ - `📌` thumbtack toggle promoting rules to cross-session global boundaries vs. task-scoped rules, plus human-in-the-loop approval for agent-proposed rules and rule consolidation (`零散总结成一条`).
50
+ - One-click self-contained markdown session handoff (`新建会话并交接`) with automatic frontend session navigation and `idle-guard` premature-stop protection.
51
+ - **Model Tool Suite & Local Security Hardening**:
52
+ - Registered 4 structured model tools: `chief_board`, `chief_memory`, `chief_boundaries`, and `chief_handoff`.
53
+ - Loopback + same-origin HTTP route protection across all `/api/dsh-chief/*` endpoints and regex secret blocking against accidental API key / private key persistence.
54
+ - Zero external npm runtime dependencies; licensed under `AGPL-3.0-only`.
55
+