Skip to content

Releases: KunIsMe/dsh-filescope

FileScope · 文件视界 v0.1.3

Choose a tag to compare

@KunIsMe KunIsMe released this 16 Aug 13:52

FileScope · 文件视界 v0.1.3

关键修复:工作区列表恒为空。插件在 apply() 时一次性快照 ctx.get('workspaceRegistry'),而工作区服务的激活是异步的(打开存储域、读取会话历史后才就绪),快照时拿到 undefined,此后 /filescope/workspaces 永远返回空。本版改为每次请求时惰性读取服务,fsworkspaceRegistry 均在请求处理时解析。

  • 🔧 /filescope/* 处理函数改为按请求惰性解析 fs / workspaceRegistry,修复工作区列表为空
  • 📝 同步更新 src/index.ts 源码参考

FileScope · 文件视界 v0.1.2

Choose a tag to compare

@KunIsMe KunIsMe released this 16 Aug 13:51

FileScope · 文件视界 v0.1.2

关键修复:npm 包内预构建的 client bundle 仍注册着 monorepo 内的 scoped 模块 id(@deepseek-ai/dsh-filescope),与包名 dsh-filescope 不一致,导致浏览器加载插件时 __ModuleLoader__.load 注册名不匹配,页面报 loaded without registering "dsh-filescope" 且无法打开。本版将 bundle 注册 id 与包名对齐,dsh plugin --profile web add dsh-filescope 安装即用。

  • 🔧 修正 lib/client.js 的模块注册 id(dsh-filescope),与加载器期望一致
  • 🧹 同步修正 lib/index.js 与类型声明中的包名引用

dsh-filescope v0.1.1

Choose a tag to compare

@KunIsMe KunIsMe released this 16 Aug 12:35

v0.1.1

npm 发布准备版本:

  • 包名改为非 scope 的 dsh-filescopedsh plugin --profile web add dsh-filescope 一键安装)
  • README 新增效果图与 npm/本地/手动三种安装说明
  • 新增 docs/screenshot.png(playwright 渲染的抽屉效果图)与源文件
  • package.json 补充 keywords、repository、publishConfig

npm-ready release:

  • renamed to unscoped dsh-filescope (dsh plugin --profile web add dsh-filescope)
  • README gains the preview screenshot and npm/local/manual install paths
  • docs/screenshot.png added (playwright-rendered drawer preview)
  • package.json enriched with keywords, repository, publishConfig

FileScope · 文件视界 v0.1.0

Choose a tag to compare

@KunIsMe KunIsMe released this 16 Aug 12:21

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.