rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:nipheryang/dsh-folderead
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness(DSH)的右侧栏文件管理插件:在工作区里浏览、预览、编辑、整理文件,也可以把工作区之外的目录附加进来,让模型与你都能直接读写原文件。
这是 DSH 插件,不是独立的 npm 库。 它通过 DSH 的插件装载机制运行,需要宿主提供
webServer、workspaceRegistry、fs、sandboxPolicy、systemPrompt五项服务,脱离 DSH 无法启动。
需要 DSH 0.2.0-rc.2 或更新,Node.js 20+。
# 从 npm
dsh plugin add dsh-folderead
# 或直接从 GitHub
dsh plugin add github:nipheryang/dsh-folderead
DSH Desktop 也可以从应用内的 Settings → Plugins 安装(该 profile 归应用的插件管理器所有,CLI 在应用运行时不会改动它)。装完重启 dsh web 或应用。
pdfjs-dist 渲染,不依赖宿主的内置阅读器。open -R。这个插件能写文件,边界值得读完再装。
tools/execute 上的 write / edit / bash / pwsh)。realpath 解析最近的已存在祖先,确保软链接不能被用来逃出所在位置。Host 头、同源标记三重校验,只接受本机回环请求。confirmOutside: true。trash-unsupported,同样不退回 rm。osascript 驱动访达,首次使用可能弹 macOS 自动化授权;在访达中显示依赖 open -R。trash-unsupported)。源码是纯 JavaScript,无构建步骤,运行时只依赖 Node 内置模块;浏览器半由宿主注入 React。
git clone https://github.com/nipheryang/dsh-folderead.git
cd dsh-folderead
node selftest-client.mjs # 浏览器半离线自测(React/DOM 桩,无需 DSH)
node selftest-secondary-dirs.mjs # 存储层自测
node selftest.mjs # Host 半自测
node selftest-intercept.mjs # 拦截层自测
Host 半与拦截层自测会在主工作区里建夹具目录(故意不放临时区,否则沙箱围栏会无条件放行,"忘了换根"就测不出来)。它们默认取插件目录上三级作为工作区根;克隆到别处时,用环境变量指定:
FOLDEREAD_SELFTEST_ROOT=/path/to/workspace node selftest.mjs
DFM_TEST_PARENT=/path/to/workspace node selftest-intercept.mjs
vendor/pdfjs/ 是 pdfjs-dist 6.3.289 的逐字节原样副本(Apache-2.0),来源、版本与文件哈希见 vendor/pdfjs/VENDOR.md。dsh-multi-folder@0.3.3(MIT,Copyright (c) 2025 Yutong Zou),完整许可证见 LICENSE.dsh-multi-folder.txt。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。