dsh-perm-gate 5.0.0 → 5.0.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.
Files changed (2) hide show
  1. package/dsh.plugin.json +2 -2
  2. package/package.json +7 -7
package/dsh.plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "dsh-perm-gate",
3
3
  "name": "dsh-perm-gate",
4
- "version": "4.2.0-beta.7",
4
+ "version": "5.0.2",
5
5
  "description": {
6
6
  "en": "Deterministic-first, fail-closed permission gate for DeepSeek Harness 0.1.2+: a P0 hard-deny -> P1 precise session grant -> P2 static allow/deny rule chain -> P3 optional LLM classifier -> P4 ask pipeline over the tools/pre-execute waterfall, with a standalone CLI dry-run evaluator and an auditable decision log. It only vetoes with deny/ask and always delegates otherwise, and unknown or malformed rules fail loud instead of silently standing the gate down.",
7
7
  "zh": "面向 DeepSeek Harness 0.1.2+ 的确定性优先、失败即拒的权限闸门:在 tools/pre-execute 瀑布上串起 P0 硬拒绝 → P1 精确会话授权 → P2 静态 allow/deny 规则链 → P3 可选 LLM 语义分类 → P4 ask,并附带独立 CLI 干跑评估器与可审计的决策日志。只以 deny/ask 否决、其余一律放行,规则未知或非法时直接报错,绝不静默失效。"
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "engines": {
16
- "dsh": ">=0.1.7-rc.1 <0.1.8-0"
16
+ "dsh": ">=0.2.0-rc.1 <0.2.1-0"
17
17
  },
18
18
  "components": {
19
19
  "host": "lib/index.js",
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "dsh-perm-gate",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "publishConfig": {
5
- "tag": "dsh-0.1.7"
5
+ "tag": "dsh-0.2.0"
6
6
  },
7
7
  "description": "DSH permission-gate for the DeepSeek Harness 0.1.5 line: a single self-sufficient, deterministic-first, fail-closed gate covering P0 hard-deny -> P1 session grant -> P2 static rule (allow/deny) chain -> P3 optional LLM semantic classifier -> P4 ask, with command whitelist/blacklist.",
8
8
  "type": "module",
@@ -80,10 +80,10 @@
80
80
  },
81
81
  "devDependencies": {
82
82
  "@deepseek-ai/cordis": "^4.0.1",
83
- "@deepseek-ai/dsh-client-locale": "^0.1.7-rc.1",
84
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.7-rc.1",
85
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.7-rc.1",
86
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.7-rc.1",
83
+ "@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
84
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.1",
85
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.1",
86
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
87
87
  "@eslint/js": "^10.0.1",
88
88
  "@types/node": "^22.0.0",
89
89
  "@types/react": "~18.3.1",
@@ -102,7 +102,7 @@
102
102
  "test": "vitest run",
103
103
  "patch:glyph": "node scripts/patch-permission-glyph.mjs",
104
104
  "patch:glyph:check": "node scripts/patch-permission-glyph.mjs --check",
105
- "verify:line": "node scripts/verify-line.mjs new",
105
+ "verify:line": "node scripts/verify-line.mjs next",
106
106
  "verify:lines": "node scripts/verify-line.mjs both",
107
107
  "check:line": "node scripts/sync-0.1.5-line.mjs check",
108
108
  "release:latest": "npm publish --tag latest",