dsh-perm-gate 4.2.0-beta.6 → 4.2.0-beta.8
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/dsh.plugin.json +1 -1
- package/lib/client.js +3 -3
- package/lib/client.js.map +1 -1
- package/lib/rule.js +2 -1
- package/package.json +1 -1
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.
|
|
4
|
+
"version": "4.2.0-beta.7",
|
|
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 否决、其余一律放行,规则未知或非法时直接报错,绝不静默失效。"
|
package/lib/client.js
CHANGED
|
@@ -621,11 +621,11 @@ window.__ModuleLoader__.load({
|
|
|
621
621
|
};
|
|
622
622
|
/**
|
|
623
623
|
* The card body, wrapped in a disclosure shell like every peer settings card:
|
|
624
|
-
* a header (name + description + chevron) toggling the body,
|
|
625
|
-
* default so the
|
|
624
|
+
* a header (name + description + chevron) toggling the body, expanded by
|
|
625
|
+
* default so the section reads as an open page of drawers.
|
|
626
626
|
*/
|
|
627
627
|
function PermissiveCard({ t, scope }) {
|
|
628
|
-
const [open, setOpen] = (0, react.useState)(
|
|
628
|
+
const [open, setOpen] = (0, react.useState)(true);
|
|
629
629
|
const [apiKeyDraft, setApiKeyDraft] = (0, react.useState)("");
|
|
630
630
|
const [allowText, setAllowText] = (0, react.useState)("");
|
|
631
631
|
const [allowDirty, setAllowDirty] = (0, react.useState)(false);
|