dsh-chief 1.2.1 → 1.4.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/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "dsh-chief",
3
- "version": "1.2.1",
3
+ "version": "1.4.0",
4
4
  "icon": "icon.svg",
5
5
  "type": "module",
6
- "description": "AI manager for your agent crews. Let AI manage AI — it watches the flow, stops a runaway loop before it burns budget, and asks before touching your workspace. Less babysitting, fewer blow-ups.",
6
+ "description": "Right-sidebar supervisor for DeepSeek Harness (DSH): prevents context-compaction amnesia, monitors subagent DAGs, gates file edits and shell commands behind per-action approvals, breaks runaway loops, and hands off long sessions without bloating prompt tokens.",
7
7
  "author": "gluztm",
8
8
  "license": "AGPL-3.0-only",
9
9
  "repository": {
@@ -19,27 +19,37 @@
19
19
  "deepseek-harness",
20
20
  "dsh",
21
21
  "dsh-plugin",
22
- "ai-manager",
23
- "ai管家",
24
- "ai-orchestrator",
25
- "ai-supervisor",
26
- "no-babysitting",
27
- "免监工",
28
- "autonomous-agents",
29
- "agent-orchestration",
30
- "multi-agent",
31
- "subagent",
32
- "dag",
33
- "session-management",
34
- "long-session",
35
- "workflow-automation",
36
22
  "context-compaction",
23
+ "compaction-amnesia",
24
+ "context-loss",
25
+ "context-window",
26
+ "token-saving",
27
+ "agent-loop",
28
+ "infinite-loop",
29
+ "unattended-agent",
30
+ "overnight-coding",
31
+ "auto-continue",
32
+ "stop-babysitting",
33
+ "session-handoff",
34
+ "chat-too-long",
37
35
  "cross-session-memory",
38
- "cost-control",
39
- "runaway-loop",
40
- "read-only-guardrails",
41
- "handoff",
42
- "archive-vault",
36
+ "subagent-monitor",
37
+ "multi-agent",
38
+ "task-dag",
39
+ "approval-gate",
40
+ "human-in-the-loop",
41
+ "read-only-mode",
42
+ "command-guardrails",
43
+ "workspace-safety",
44
+ "guard-walls",
45
+ "pre-execute-guard",
46
+ "事前拦截",
47
+ "压缩失忆",
48
+ "挂机跑任务",
49
+ "跨窗口交接",
50
+ "防死循环",
51
+ "只读护栏",
52
+ "ai-manager",
43
53
  "superagent"
44
54
  ],
45
55
  "engines": {
@@ -47,6 +57,13 @@
47
57
  "dsh": ">=0.2.2-rc.2"
48
58
  },
49
59
  "main": "./index.js",
60
+ "scripts": {
61
+ "build:client": "node ./scripts/build-client.mjs",
62
+ "check:client": "node ./scripts/build-client.mjs --check",
63
+ "check:syntax": "node -e \"const fs=require('fs'),path=require('path'),cp=require('child_process');const walk=d=>{for(const e of fs.readdirSync(d,{withFileTypes:true})){const p=path.join(d,e.name);if(e.isDirectory()&&(e.name==='safety'||e.name==='src'||e.name==='client'))walk(p);else if(e.isFile()&&e.name.endsWith('.js'))cp.execFileSync(process.execPath,['--check',p]);}};walk('.');\"",
64
+ "test:ci": "npm run check:client && npm run check:syntax && node ./tests/verify-v130-release-gate.mjs && node ./tests/verify-v140-safety-gate.mjs && node ./tests/verify-v140-collab-gate.mjs",
65
+ "test": "node ./tests/verify-v130-release-gate.mjs && node ./tests/verify-v140-safety-gate.mjs && node ./tests/verify-v140-collab-gate.mjs && node -e \"const fs=require('fs'),path=require('path'),cp=require('child_process');if(fs.existsSync('../tools')){for(const s of ['verify-chief-facade-split.mjs','verify-index-modular-split.mjs','verify-archives-modular-split.mjs','verify-client-modular-build.mjs','verify-v121-permissions-and-ui.mjs','verify-compaction-and-blank-chat.mjs','check-action-surface.mjs','verify-v130-four-chains.mjs']){cp.execFileSync(process.execPath,[path.resolve('..','tools',s)],{stdio:'inherit'});}}\""
66
+ },
50
67
  "exports": {
51
68
  ".": "./index.js",
52
69
  "./client": "./client.js",
@@ -57,11 +74,32 @@
57
74
  },
58
75
  "files": [
59
76
  "index.js",
77
+ "board-schema.js",
78
+ "board-store.js",
79
+ "board-actions.js",
80
+ "subagent-runtime.js",
81
+ "api-routes.js",
82
+ "model-tools.js",
83
+ "runtime-hooks.js",
60
84
  "client.js",
61
85
  "chief.js",
86
+ "chief-state.js",
87
+ "chief-models.js",
88
+ "chief-network.js",
89
+ "chief-view.js",
90
+ "chief-archives.js",
91
+ "chief-compaction.js",
92
+ "chief-commands.js",
93
+ "chief-review.js",
94
+ "chief-approvals.js",
62
95
  "chief-executor.js",
96
+ "safety/*.js",
63
97
  "auto-continue.js",
64
98
  "archives.js",
99
+ "archive-core.js",
100
+ "archive-cabinets.js",
101
+ "archive-precipitated.js",
102
+ "archive-dossiers.js",
65
103
  "idle-guard.js",
66
104
  "memory.js",
67
105
  "digest.js",