Skip to content

FileScope · 文件视界 v0.1.0

Choose a tag to compare

@KunIsMe KunIsMe released this 16 Aug 12:21
· 3 commits to main since this release

FileScope · 文件视界 v0.1.0

首个公开发布版本:把工作区完整目录树搬进 DeepSeek Harness Web 页面的右侧抽屉。

功能

  • 📁 右侧抽屉式文件浏览器,三个入口(侧边栏底部 / 会话顶部操作栏 / 抽屉滑入动画)
  • 🔗 切换会话自动跟随对应工作区(读当前会话 cwd 匹配已注册工作区)
  • 🌲 任意层级目录树:展开/折叠、「全部展开」递归加载(上限 3000 节点)、目录优先、文件大小标注、「隐藏点文件」
  • ⚡ 实时渲染文件内容:文本带行号(前 2000 行)、二进制 hex 摘要、超大文件提示
  • 🔄 实时刷新:当前打开文件每 2s 检测版本变化自动重读,已展开目录每 5s 刷新
  • ↔️ 拖拽调整:抽屉宽度(320px–85vw)、目录树与预览区之间的高度
  • 🖥️ 路径自由切换:工作区下拉选择 + 绝对路径输入
  • 🔒 只读:GET-only JSON API,不修改任何文件

安装

dsh plugin --profile web add file:/绝对路径/dsh-filescope-plugin
# 然后重启 dsh web 进程

详见 README.md

构成

  • Host 半:/filescope/* 只读 JSON API(webServer 路由注册,零运行时依赖)
  • 浏览器半:预构建 client bundle(仅依赖 shell 模块表中的 react 平台模块)
  • 发布形态:dsh.bundle 组合补丁 + dsh.client 浏览器声明,一个包即插即用

FileScope · 文件视界 v0.1.0

First public release: bring the complete workspace directory tree into a right-side drawer inside the DeepSeek Harness web UI.

Features

  • 📁 Drawer-style file explorer with three entry points and slide-in animation
  • 🔗 Session-following: switching sessions re-roots the tree to that session's workspace
  • 🌲 Arbitrary-depth tree: expand/collapse, recursive "expand all" (3000-node cap), dotfile filter
  • ⚡ Live preview: text with line numbers, binary hex digest, oversized-file notice
  • 🔄 Auto-refresh: open file re-reads on version change (2s), expanded dirs refresh (5s)
  • ↔️ Draggable drawer width and tree/preview split
  • 🔒 Read-only GET-only API — never modifies your files

Install

dsh plugin --profile web add file:/absolute/path/to/dsh-filescope-plugin
# then restart the dsh web process

See README.md for details.