SouthernSibyl/dsh-gotofile ↗★ 0
dsh-gotofile
Turn-tail text report of the files this turn produced or modified, each with its full path; double-click a path to reveal it in the OS file manager
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SouthernSibyl/dsh-gotofile配置:外置盘 / 网络盘白名单
设置 → GotoFile,每行一个根目录(支持 ~/ 与 ~\),保存立即生效,不用重启、不用改 YAML。
- 默认留空 = 只放行会话工作目录与家目录内的路径;其他位置的路径双击会被拒绝,报告里仍会列出但打开请求返回 404。
- 盘根可以直接填:
D:\、F:\都行(也接受只写D:,会补成盘根;带不带尾斜杠、盘符大小写都不影响)。 - 家目录里有一批凭据类目录默认不放行(
AppData、Library、.ssh、.aws、.gnupg、.kube、.docker、.npmrc、.netrc、.git-credentials)——这些位置的文件一旦被系统默认程序打开,等于把本机账号交出去。确实需要时把它们写进白名单即可(写进去 = 显式授权)。 - 系统盘特征目录(
C:\之类,即根下存在Windows/System/etc)会被自动拒绝,避免一条白名单把整台机器敞开口。 - 白名单根还会做
realpath逃逸检查(symlink 不能溜出根)。