justarook1e/dsh-file-edit
justarook1e★ 0JavaScriptLast synced: 2026-08-15
DSH WebUI workspace file browser: agent-change review (accept/reject + undo), inline editing, diff view and rendered markdown
README excerpt
dsh-file-edit 本项目全部代码由 DeepSeek-V4-Pro 与 DeepSeek-V4-Flash 生成。 DSH WebUI 工作区文件插件,核心功能有两块: 1. 工作区文件浏览与编辑 :文件树浏览、多标签打开、语法高亮、Markdown 渲染,并可在浏览器里直接编辑文件内容; 2. Diff 视图 :对发生变化的文件展示行级 diff,可逐块或整文件接受/拒绝,拒绝后可撤销。 功能 - 工作区侧边栏 (替换原生浏览器):项目文件夹两层展开——会话历史(点开会话 / 新建会话)与项目文件树(双击/单击打开、手动 ⟳ 刷新、文件集合变化自动刷新)。 - 顶栏「文件」标签 :与「对话/轨迹」并排;内容区是浏览器式标签条(切换 / ✕ 关闭 / ✕ 全部 / 拖拽排序 / ● 修改标记)。 - 修改文件列表 (输入框上方):会话中经 agent 工具通道(write/edit/shell/pwsh)产生的修改/新增/删除,带 +/− 统计、逐文件接受/拒绝、全部接受/拒绝、撤销上次拒绝。 - 内联 Diff :红/绿行级 diff、24 语言语法高亮、块级/文件级接受与拒绝、跳转控件、大文件只读预览、二进制还原。 - 基线制审阅 :接受 = 当前内容成为新基线;拒绝 = 把基线写回磁盘(新增文件拒绝 = 删除文件);拒绝可撤销(单层)。 - 文件内编辑 :文件视图中直接编辑(contentEditable),用户编辑折入基线、不打扰 agent 的待审 hunks;空文件可直接输入首行。 - Markdown 渲染视图 : .md / .markdown 无待审修改时直接渲染(GFM 表格、围栏代码高亮、无行数上限)。 - 即时更新 :agent 改/增/删文件后约 1.5s 内主动出现在界面(会话运行中自适应快轮询 + 长轮询唤醒双通道),无需手动刷新。 一条命令安装(推荐) 需要本机已装 DSH( /.dsh/profiles/web 存在)且能访问 GitHub。PowerShell 中执行: 完成后: 重启 DSH (加载宿主插件与挂载项),然后 Ctrl+F5 刷新页面 (加载客户端 bundle)。 备选(clone 方式,凭据走 Git Credential Manager): git clone https://github.com/justarook1e/dsh-file-edit.git "$env:TEMP\dsh-file-edit"; & "$env:TEMP\dsh-file-edit\install.ps1" 手动安装 1. 把本仓库的 package.json 、 host/ 、 client/ 复制到 /.dsh/profiles/web/node modules/dsh-file-edit/ ; 2. 在 …
View full README on GitHub →Category
🎨 The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode / Hermes & 20+ CLIs via BYOK.
★ 86,705
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,317
tt-a1i/archifyAgent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 12,834