0-v-0/dsh-grantwrite-patch ↗★ 0

dsh-grantwrite-patch

修复Windows沙箱ACL写入失败并自动重试 解决Windows沙箱中SetNamedSecurityInfoW权限修复失败的问题,适合Win系统用户。

套件
dsh-grantwrite-patch
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年10月11日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:0-v-0/dsh-grantwrite-patch

Configuration

- insert:
    id: grantwrite-patch
    name: dsh-grantwrite-patch
    config:
      enable: true
      mode: auto            # auto | patch | repair
      objectThreshold: 20000    # object count at/above which a workspace counts as large -> persistent repair
      probeTimeoutMs: 10000     # size-probe timeout; a timed-out probe counts as large
      probeCooldownMs: 3600000  # per-workspace probe/decision cache duration
      repairTimeoutMs: 120000
      maxRetries: 1
      cooldownMs: 60000
      appendDiagnostics: true
      grantFallback: true      # fall back to a bare icacls grant when the diagnose script is unavailable (0.1.7) or fails; drive roots refused
      # scriptPath:    # default: resolved from @deepseek-ai/dsh-sandbox-windows-acl package assets (DSH >= 0.2.x)
      # outDir:        # default: $DSH_HOME/grantwrite-patch (~/.dsh/grantwrite-patch without DSH_HOME)