跳过主要内容
A

undohaven (log-gate)

antipas/undohaven/packages/log-gate

向内置会话日志插件注册排除规则,让选定会话跳过会话日志上传:可以拦住全部实时会话,也可以只拦 cwd 匹配项目名、目录或 glob 的会话;附带本机状态接口和 audit 体检命令。不改 dsh,不拦网络。第三方插件。

安装

dsh plugin --profile web add github:antipas/undohaven

该插件位于仓库的 packages/log-gate 子路径下。

README

UndoHaven

Unofficial third-party, compatible with dsh, not affiliated with DeepSeek.

Encrypted snapshots, rollback, and machine migration for dsh.

Install

dsh plugin --profile web add dsh-undohaven
dsh plugin --profile web add dsh-log-gate
npm i -g undohaven

dsh.bundle lives in packages/plugin (dsh-undohaven) and packages/log-gate (dsh-log-gate). The repository root also declares dsh.bundle, pointing at the main plugin in packages/plugin, so directory scanners and dsh plugin --profile web add github:Antipas/undohaven resolve to UndoHaven. Prefer the npm package names above. This monorepo cannot expose two root bundles; install dsh-log-gate from npm.

Packages

Published npm versions in this tree:

  • packages/core — undohaven-core 0.1.6
  • packages/cli — undohaven 0.1.6 (npx undohaven also works)
  • packages/plugin — dsh-undohaven 0.1.5
  • packages/log-gate — dsh-log-gate 0.1.3

npx undohaven init creates a local key and the first encrypted snapshot. Local snapshots need no account; keys stay on the machine. Compatibility declared in the plugin packages: dsh >=0.2.1-rc.5 <0.3.0, Node.js >=24.9.

Homepage: https://undohaven.com
log-gate: https://undohaven.com/log-gate

License

MIT

相关插件