rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:xusuyang030218/dsh-preview-ui
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness(DSH)文件在线预览与修改插件:在浏览器内直接浏览工作区文件树、预览常见文件格式、在线编辑文本文件,并保留本地版本历史。
A DSH plugin for DeepSeek Harness Web. Browse the active workspace as a file tree, preview common file formats directly in the browser, edit text files online, search file content, and restore local version snapshots — no external tools required.
Ctrl+S 保存,保存前自动创建版本快照.dsh-preview-ui/versions/,支持回滚,单文件最多保留 50 个版本list_files 与 preview_file 工具,Agent 可主动触发预览面板# 本地链接安装(实时同步)
pnpm dsh plugin --profile web add "dsh-preview-ui@link:d:/dsh-preview-ui"
# 或从 GitHub 安装
pnpm dsh plugin --profile web add "github:xusuyang030218/dsh-preview-ui"
构建:
cd d:\dsh-preview-ui
pnpm install
pnpm run build
重启 DSH Web 服务后,访问 http://127.0.0.1:3080,输入框左侧会出现「预览」按钮。客户端 bundle 由 /plugins/dsh-preview-ui/client.js 提供。
dsh-preview-ui/
├── src/
│ ├── host/
│ │ ├── index.ts # Host 半:list_files / preview_file 工具
│ │ ├── web.ts # Web 半:/dsh-preview-ui/api/* 路由
│ │ ├── fs.ts # 文件系统封装(树/读/写/搜索/路径校验)
│ │ ├── version.ts # 版本快照管理
│ │ └── parse.ts # 二进制嗅探 + 语言检测 + Office 解析
│ └── client/
│ └── index.tsx # Client 半:文件树 + 预览面板 + 编辑器
├── lib/ # 构建产物(esbuild / tsdown)
├── cordis.patch.yml # DSH bundle patch
├── tsdown.config.ts
└── package.json
X-Content-Type-Options: nosniffMIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。