@duke-dsh-plugins/dsh-agent-approval 1.7.0 → 1.7.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/README.md +2 -2
  2. package/package.json +10 -1
package/README.md CHANGED
@@ -61,8 +61,8 @@
61
61
  # 本地开发:pnpm 软链到本仓库,改代码即生效(无需重新复制)
62
62
  dsh plugin --profile web add /path/to/dsh-agent-approval
63
63
 
64
- # 正式发布:从 GitHub Release tarball 安装
65
- dsh plugin --profile web add https://github.com/MoonlitDropOfBlood/dsh-agent-approval/releases/download/v1.7.0/dsh-agent-approval-1.7.0.tgz
64
+ # 正式发布:从 GitHub Release tarball 安装(资产名为 npm pack 的 scope 形式)
65
+ dsh plugin --profile web add https://github.com/MoonlitDropOfBlood/dsh-agent-approval/releases/download/v1.7.1/duke-dsh-plugins-dsh-agent-approval-1.7.1.tgz
66
66
  ```
67
67
 
68
68
  重启 DSH 后:设置面板出现 **Agent 审批** 页;`/permission` 菜单出现第四项 **Agent 审批**。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duke-dsh-plugins/dsh-agent-approval",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Agent-decided approvals for DeepSeek Harness: a workspace-write base permission mode where an independent approval judge (an isolated subagent, or the TypeSafe Jev decision model via direct API) evaluates every sandbox escalation (risky operations are rejected), with a configurable approval model and a per-session audit trail in the conversation window's 审批 tab.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,12 +32,21 @@
32
32
  },
33
33
  "client": {
34
34
  "platform": "web"
35
+ },
36
+ "engines": {
37
+ "dsh": "^0.1.5-rc.3"
35
38
  }
36
39
  },
37
40
  "peerDependencies": {
38
41
  "@deepseek-ai/cordis": "^4.0.1",
42
+ "@deepseek-ai/dsh": "^0.1.5-rc.3",
39
43
  "@deepseek-ai/dsh-typert-protocol": "^0.1.0-rc.7 || ^0.1.7-rc.1"
40
44
  },
45
+ "peerDependenciesMeta": {
46
+ "@deepseek-ai/dsh": {
47
+ "optional": true
48
+ }
49
+ },
41
50
  "dependencies": {
42
51
  "zod": "^4.4.3"
43
52
  },