@netcatty/dsh-guard 0.2.3 → 0.2.5
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/CHANGELOG.md +12 -0
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/lib/client.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.en.md
CHANGED
package/README.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -351,7 +351,7 @@ window.__ModuleLoader__.load({
|
|
|
351
351
|
|
|
352
352
|
if (state === null) {
|
|
353
353
|
return e('div', { style: styles.wrap }, [
|
|
354
|
-
e('div', { key: 't', style: styles.title }, '
|
|
354
|
+
e('div', { key: 't', style: styles.title }, '权限策略'),
|
|
355
355
|
e('div', { key: 'h', style: styles.note }, error === '' ? '读取中…' : `读取失败:${error}`),
|
|
356
356
|
]);
|
|
357
357
|
}
|
|
@@ -371,7 +371,7 @@ window.__ModuleLoader__.load({
|
|
|
371
371
|
e('div', { key: 'head', style: styles.head }, [
|
|
372
372
|
e('div', { key: 'l' }, [
|
|
373
373
|
e('div', { key: 't', style: styles.titleRow }, [
|
|
374
|
-
e('span', { key: 'n', style: styles.title }, '
|
|
374
|
+
e('span', { key: 'n', style: styles.title }, '权限策略'),
|
|
375
375
|
e('span', { key: 'c', style: styles.titleCode }, 'dsh-guard'),
|
|
376
376
|
e('span', { key: 'p', style: styles.pill(enforcing ? 'ok' : 'warn') }, enforcing ? '拦截生效' : '仅审计'),
|
|
377
377
|
e('span', { key: 'r', style: styles.pill(config.repeatLimit > 0 ? 'ok' : 'muted') },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netcatty/dsh-guard",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "allow/ask/deny permission gates for DeepSeek Harness tools: path/params/agents surfaces, argv decomposition, network rules, redaction, grants, dry-run, fail-closed config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|