@gavinc-cn/dsh-plugins-runtime 0.1.2 → 0.1.3

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/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -49,7 +49,7 @@ dsh plugin --profile web add @gavinc-cn/dsh-plugins-runtime
49
49
  | `dsh-autocommit` | `@gavinc-cn/dsh-autocommit` | 回合收尾时若本会话还有未提交改动,挡下并提示模型先提交 |
50
50
  | `dsh-git-guard` | `@gavinc-cn/dsh-git-guard` | git 操作归属守卫(按提交前缀/分支命名判定,拦下越权 git 写操作) |
51
51
  | `dsh-file-guard` | `@gavinc-cn/dsh-file-guard` | 回合收尾比对「本会话写下的文件」与磁盘漂移,只报告不自动改回 |
52
- | `dsh-path-rules` | `@gavinc-cn/dsh-path-rules` | 第五权限模式「路径规则」的逐调用闸门:项目内可读写 / 项目外读允许·写审批 / 白名单直通 / 黑名单读写都审批 / bash·pwsh 只读放行。**只在预设身份为 `path-rules` 时介入**,其余四档完全空转(2026-10-17 起,承接退役的 `sandbox-path-allowlist` 白名单能力) |
52
+ | `dsh-path-rules` | `@gavinc-cn/dsh-path-rules` | 第五权限模式「路径规则」的逐调用闸门:项目内可读写 / 项目外读允许·写审批 / 白名单直通 / 黑名单读写都审批 / bash·pwsh 只读放行。**只在预设身份为 `path-rules` 时介入**,其余四档完全空转(2026-10-17 起,承接退役的 `sandbox-path-allowlist` 白名单能力;2026-10-18 起 `autoWhitelist` 可把用户批准的升权写入目录自动记入白名单) |
53
53
  | `dsh-readonly-guard` | `@gavinc-cn/dsh-readonly-guard` | bash 只读闸门:只读命令放行,可能改系统的转 DSH 原生审批。包内默认 `disabled: true` |
54
54
 
55
55
  行 id 的约定是**包名去掉 scope**(`@gavinc-cn/dsh-memory` → `dsh-memory`):profile 覆盖行按它命中,
@@ -73,7 +73,7 @@ dsh plugin --profile web add @gavinc-cn/dsh-plugins-runtime
73
73
  |---|---|---|
74
74
  | `dsh-superpowers-priming` | `skillPath`(或 env `SUPERPOWERS_SKILL_PATH`) | `~/superpowers/skills/using-superpowers/SKILL.md`(文件不存在只记日志、不注入) |
75
75
  | `dsh-file-guard` | `stateRoot`(或 env `FILE_GUARD_ROOT`) | `~/.orca/file-guard` |
76
- | `dsh-path-rules` | `whitelist` / `blacklist`(绝对路径数组)、`activationPreset`、`unanalyzable`、`failMode`、`dryRun`、`logPath` | 白/黑名单默认 `[]`(只按项目内/外判定);`activationPreset: path-rules`、`unanalyzable: deny`、`failMode: closed`、`allowTempRoots: true` |
76
+ | `dsh-path-rules` | `whitelist` / `blacklist`(绝对路径数组)、`activationPreset`、`unanalyzable`、`failMode`、`dryRun`、`autoWhitelist` / `autoWhitelistFile`、`logPath` | 白/黑名单默认 `[]`(只按项目内/外判定);`activationPreset: path-rules`、`unanalyzable: deny`、`failMode: closed`、`allowTempRoots: true`、`autoWhitelist: false`(状态文件缺省 `<dsh home>/path-rules/auto-whitelist.json`) |
77
77
  | `dsh-readonly-guard` | `enabled` / `dryRun` / `askMode` / `whitelistPath` / `pendingPath` / `logPath` | 行默认 `disabled: true`;`whitelistPath`/`pendingPath` 缺省与 kimi 共用 `~/.kimi-code/readonly_whitelist.json` / `readonly_pending.jsonl` |
78
78
  | 各组件 | `logPath` / `enabled` / `dryRun` | 日志在 `~/.kimi-code/hooks/logs/`,默认启用 |
79
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gavinc-cn/dsh-plugins-runtime",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "DSH 插件组合包(runtime bundle):7 个宿主(node)侧组件(记忆、git/文件守卫、只读闸门、路径规则闸门、重开会话再注入等),每个是一行独立开关;面向 Web GUI 的组件见 @gavinc-cn/dsh-plugins-ui。",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -48,6 +48,6 @@
48
48
  "@gavinc-cn/dsh-git-guard": "^0.1.0",
49
49
  "@gavinc-cn/dsh-file-guard": "^0.1.0",
50
50
  "@gavinc-cn/dsh-readonly-guard": "^0.1.0",
51
- "@gavinc-cn/dsh-path-rules": "^0.1.0"
51
+ "@gavinc-cn/dsh-path-rules": "^0.1.1"
52
52
  }
53
53
  }