PathChan/CodeReader
Project Overview项目介绍
CodeReader is a native web plugin built exclusively for DeepSeek Harness (DSH). It adds an in-interface workspace file tree navigation and multi-tab code editing panel directly into the DSH conversation screen. You do not need to switch to an external editor when an AI agent modifies your code, you can browse, review, edit the code and write changes back to disk all within the same DSH window. To install the plugin, you must first have a working DSH installation configured for web use, then run a simple npx command to add it from this GitHub repository.
The core workflow starts after you install and launch DSH web. Click the "Open File" entry on the workspace folder row in the DSH sidebar to toggle the file tree open or closed. Navigate the tree by expanding directories one level at a time, click a file to open it in the right-side editing panel, and click a folder to just expand or collapse it, matching the familiar VS Code file tree workflow. When you are done editing, save the file with Ctrl+S or Cmd+S, and the changes are written back to your local disk and verified automatically.
All user preference settings for CodeReader are stored locally in your browser, and are never sent to any remote server. The plugin can only read and write files within your current DSH workspace, it will never access paths outside the active workspace for improved security. CodeReader is released under the permissive MIT open source license. To uninstall the plugin, you can run a single npx dsh plugin remove command that cleans up all plugin files from your DSH profile.
CodeReader是一款原生DeepSeek Harness(DSH)网页插件,可在DSH对话界面中为当前工作区添加文件树导航和多标签编辑面板。当智能体修改代码时,用户无需切换至外部编辑器,就可以直接在同一窗口浏览、核对、编辑代码,并将修改写回磁盘,优化了和AI智能体协作编辑代码的流程。
点击侧边栏工作区文件夹行的「打开文件」即可调出文件树,再次点击可以收起。文件树支持逐级展开目录,点击文件就能在右侧编辑面板打开,点击文件夹仅执行展开或折叠操作,操作逻辑和VS Code的文件树保持一致,符合大部分开发者的日常使用习惯。
本插件仅可在已安装DSH并配置好网页端环境后使用,可通过npx命令一键从GitHub仓库安装,也可拉取源码本地构建后安装。插件读写范围仅限当前工作区目录,不会访问工作区外路径,采用MIT许可协议,所有用户偏好设置都保存在本地浏览器中。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:CodeReader(PathChan/CodeReader)
仓库:https://github.com/PathChan/CodeReader
本站详情页:https://www.yhbd.top/plugins/pathchan-codereader/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-15 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
npx @deepseek-ai/dsh plugin --profile web add github:PathChan/CodeReader
把 PathChan/CodeReader 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
CodeReader
DeepSeek Harness(DSH)Web 插件:在对话界面中提供工作区文件树与多标签编辑画板。
智能体修改代码时,可在同一窗口中浏览、核对、编辑并写回磁盘,无需切换至外部编辑器。
功能
文件树
- 工作区文件夹行、「新会话」按钮左侧提供「打开文件」入口;再次点击可收起。
- 目录可逐级展开;文件图标采用 Seti 风格(与 VS Code 文件树同类)。
- 单击文件在右侧画板中打开;单击文件夹仅展开或折叠。
画板编辑
- 支持以多标签打开源文件与产物,当前文件可直接编辑。
- 提供语法高亮与行号;未保存标签以圆点标识,关闭前将提示确认。
- 通过
Ctrl+S/Cmd+S或工具栏保存,内容写回当前工作区磁盘,并在写入后校验。 - 可将当前文件交由系统默认程序打开(如本机 IDE、图片查看器)。
- 画板可折叠,需要时再展开;DSH 侧栏收起时,文件树同步让出空间。
与智能体协同
- 智能体生成过程中,画板自动切换为只读,避免与模型同时改写同一文件。
- 对话中的产物路径被点击时,可按设置选择「系统默认软件」或「在工作区画板中打开」。
设置
偏好保存在本机浏览器,不经过服务端。
- 默认打开方式:系统默认软件 / 工作区画板。
- 编辑器主题:跟随 Harness、深色、浅色。
- 入口:文件树工具栏齿轮,或 DSH「设置」中的「文件树设置」。
使用方法
- 安装插件并启动 DSH Web(见下文)。
- 在侧栏工作区文件夹行点击「打开文件」。
- 在文件树中打开目标文件,于右侧画板编辑;保存后即写入磁盘。
- 如需使用本机程序打开,请使用画板工具栏中的「在系统默认软件中打开」。
安装
需已安装 DSH,并使用 Web 配置:
npx @deepseek-ai/dsh plugin --profile web add github:PathChan/CodeReader
npx @deepseek-ai/dsh web
从本仓库源码安装时,请先构建再加入配置:
npm install
npm run build
npx @deepseek-ai/dsh plugin --profile web add .
npx @deepseek-ai/dsh web
卸载:
npx @deepseek-ai/dsh plugin --profile web remove codereader
说明
- 读写范围限于当前工作区目录,不会访问工作区以外的路径。
- 许可证:MIT
更多 DSH 插件见 Topic:dsh-plugin
yogsoth-ai/de-anthropocentric-research-engine
ZSeven-W/dsh-openpencil
HanaAyane/dsh-reasoning-effort
HuanLinOTO/dsh-plugin-better-sidebar-plugin-office
joeseesun/qiaomu-rss-dsh