dsh-approval-review 0.2.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/LICENSE +15 -0
- package/README-zh.md +240 -0
- package/README.md +333 -0
- package/cordis.patch.yml +127 -0
- package/lib/client.js +1014 -0
- package/lib/client.js.map +1 -0
- package/lib/index.d.ts +321 -0
- package/lib/index.js +2214 -0
- package/package.json +103 -0
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-approval-review",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Codex-style agent auto-approval for DeepSeek Harness: an independent reviewer model decides allow/deny on the approval answerer chain, fail-closed, with a per-decision rationale — refusals and allows alike — in a dedicated Approvals tab. · DSH 插件:Codex 风格的 Agent 自动审批,独立 reviewer 模型裁决、fail-closed、每次审批(放行与否决)都留下详细理由,并在独立的「审批」页签中展示。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./lib/index.js",
|
|
7
|
+
"types": "./lib/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./lib/index.d.ts",
|
|
11
|
+
"default": "./lib/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./client": {
|
|
14
|
+
"default": "./lib/client.js"
|
|
15
|
+
},
|
|
16
|
+
"./package.json": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"lib",
|
|
20
|
+
"cordis.patch.yml",
|
|
21
|
+
"README.md",
|
|
22
|
+
"README-zh.md",
|
|
23
|
+
"LICENSE"
|
|
24
|
+
],
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsdown",
|
|
28
|
+
"dev": "tsdown --watch",
|
|
29
|
+
"typecheck": "tsc --noEmit",
|
|
30
|
+
"test": "vitest run",
|
|
31
|
+
"check": "npm run typecheck && npm run test && npm run build",
|
|
32
|
+
"prepack": "tsdown"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"deepseek-harness",
|
|
36
|
+
"dsh",
|
|
37
|
+
"dsh-plugin",
|
|
38
|
+
"cordis",
|
|
39
|
+
"approval",
|
|
40
|
+
"auto-approval",
|
|
41
|
+
"auto-review",
|
|
42
|
+
"codex",
|
|
43
|
+
"agent",
|
|
44
|
+
"safety"
|
|
45
|
+
],
|
|
46
|
+
"dsh": {
|
|
47
|
+
"bundle": {
|
|
48
|
+
"patch": "./cordis.patch.yml"
|
|
49
|
+
},
|
|
50
|
+
"client": {
|
|
51
|
+
"platform": "web",
|
|
52
|
+
"inject": [
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
60
|
+
"@deepseek-ai/dsh-agent": ">=0.1.5-rc.2 <0.2.0",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.5-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.5-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-commands": ">=0.1.5-rc.2 <0.2.0",
|
|
65
|
+
"@deepseek-ai/dsh-llm": ">=0.1.5-rc.2 <0.2.0",
|
|
66
|
+
"@deepseek-ai/dsh-session": ">=0.1.5-rc.2 <0.2.0",
|
|
67
|
+
"@deepseek-ai/dsh-session-projection": ">=0.1.5-rc.2 <0.2.0",
|
|
68
|
+
"@deepseek-ai/dsh-tools": ">=0.1.5-rc.2 <0.2.0",
|
|
69
|
+
"@deepseek-ai/dsh-user-approval": ">=0.1.5-rc.2 <0.2.0",
|
|
70
|
+
"@deepseek-ai/schemastery": "^3.18.2",
|
|
71
|
+
"@types/node": "^22.20.1",
|
|
72
|
+
"@types/react": "^19.3.0",
|
|
73
|
+
"react": "^19.3.0",
|
|
74
|
+
"tsdown": "^0.22.14",
|
|
75
|
+
"typescript": "^5.9.3",
|
|
76
|
+
"vitest": "^3.2.7",
|
|
77
|
+
"zod": "^4.4.3"
|
|
78
|
+
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
81
|
+
"@deepseek-ai/dsh-agent": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
82
|
+
"@deepseek-ai/dsh-commands": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
83
|
+
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
84
|
+
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
85
|
+
"@deepseek-ai/dsh-session-projection": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
86
|
+
"@deepseek-ai/dsh-tools": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
87
|
+
"@deepseek-ai/dsh-user-approval": ">=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0",
|
|
88
|
+
"@deepseek-ai/schemastery": "^3.18.2"
|
|
89
|
+
},
|
|
90
|
+
"engines": {
|
|
91
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
92
|
+
},
|
|
93
|
+
"license": "Apache-2.0",
|
|
94
|
+
"repository": {
|
|
95
|
+
"type": "git",
|
|
96
|
+
"url": "git+https://github.com/LAwLi3tCoding/dsh-approval-review.git"
|
|
97
|
+
},
|
|
98
|
+
"bugs": {
|
|
99
|
+
"url": "https://github.com/LAwLi3tCoding/dsh-approval-review/issues"
|
|
100
|
+
},
|
|
101
|
+
"homepage": "https://github.com/LAwLi3tCoding/dsh-approval-review#readme",
|
|
102
|
+
"author": "LAwLi3tCoding"
|
|
103
|
+
}
|