kaijia323/dsh-sidebar1

@kaijia/dsh-sidebar

VSCode-style file explorer for the DeepSeek Harness web client: a body-mounted, draggable right sidebar with virtualized lazy file tree and text / Markdown / image preview. Does not depend on the native details slot, so it works on blank sessions.

包名
@kaijia/dsh-sidebar
版本
0.1.2
许可证
MIT
最近更新
2026年8月26日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kaijia323/dsh-sidebar

配置

- insert:
    - id: dsh-sidebar
      name: '@kaijia/dsh-sidebar'
      config:
        maxTextBytes: 2097152
        maxImageBytes: 8388608
        maxEntriesPerDirectory: 2000
        maxTreeRows: 100000
        watchEnabled: true
        watchDebounceMs: 200
        watchIgnored:
          - '**/node_modules/**'
          - '**/.git/**'
配置默认值说明
maxTextBytes2097152单次文本预览上限(UTF-8 字节)
maxImageBytes8388608单张图片预览上限(字节,经 base64 返回)
maxEntriesPerDirectory2000单目录最多返回的条目数;超出时截断并在树上提示
maxTreeRows100000客户端展开后可扁平化的最大树行数,防止超大目录打爆内存
watchEnabledtrue是否开启文件监听实时刷新(文件树与当前激活预览);关闭后侧栏不再自动刷新(当前不提供内置手动刷新按钮)
watchDebounceMs200chokidar 写入稳定后触发通知的等待时间(同时是客户端批量刷新窗口)
watchIgnored['**/node_modules/**', '**/.git/**']文件监听忽略的 glob 列表;仅影响自动刷新通知,不影响文件树展示