@max10240/opencode-plugin-sensitive-protection 1.0.14 → 1.0.15

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/README.md CHANGED
@@ -10,7 +10,8 @@
10
10
  - `read` 精确路径命中保护文件时抛出 `Tool.Error`;
11
11
  - 所有 tool 输出命中保护内容时,将敏感片段替换为 `[REDACTED:PROTECTED]`;
12
12
  - 模型请求上下文和 HTTP 请求体做最终脱敏;
13
- - 按 `kid`/路径持久化登记表。
13
+ - 按 `kid`/路径持久化登记表;
14
+ - 加密插件存在时,自动登记其解密私钥。
14
15
 
15
16
  不拦截 `grep`、`shell`、`edit`、`write` 的输入;它们在输出阶段脱敏。
16
17
 
package/dist/src/tui.js CHANGED
@@ -52,6 +52,6 @@ function setupSensitiveProtectionTui(context) {
52
52
  }));
53
53
  }
54
54
  export {
55
- tui_default as default,
56
- setupSensitiveProtectionTui
55
+ setupSensitiveProtectionTui,
56
+ tui_default as default
57
57
  };
package/dist/tui.js CHANGED
@@ -2,6 +2,6 @@
2
2
  // tui.tsx
3
3
  import { default as default2, setupSensitiveProtectionTui } from "./src/tui.js";
4
4
  export {
5
- default2 as default,
6
- setupSensitiveProtectionTui
5
+ setupSensitiveProtectionTui,
6
+ default2 as default
7
7
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@max10240/opencode-plugin-sensitive-protection",
4
- "version": "1.0.14",
4
+ "version": "1.0.15",
5
5
  "description": "Register protected files and redact their contents before they enter model context",
6
6
  "type": "module",
7
7
  "exports": {