@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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.5
4
+
5
+ ### 样式
6
+
7
+ - 设置页 tab 内的标题改为「权限策略」,与 tab 名「权限守卫」不再重复
8
+
9
+ ## 0.2.4
10
+
11
+ ### 文档
12
+
13
+ - README 标题改为 dsh-guard,与 dsh-mcp / dsh-session 保持一致(包名仍为 @netcatty/dsh-guard)
14
+
3
15
  ## 0.2.3
4
16
 
5
17
  ### 文档
package/README.en.md CHANGED
@@ -1,4 +1,4 @@
1
- # @netcatty/dsh-guard
1
+ # dsh-guard
2
2
 
3
3
  Allow / ask / deny gates for DeepSeek Harness tool calls.
4
4
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @netcatty/dsh-guard
1
+ # dsh-guard
2
2
 
3
3
  给 DeepSeek Harness 的工具调用加 allow / ask / deny 权限门。
4
4
 
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",
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",