onchainyaotoshi/dsh-plugins--packages-file-explorer0

dsh-file-explorer

File explorer panel for the DeepSeek Harness Web UI: browse the active workspace tree and view file contents.

AI 분석

在右侧详情栏提供直观的活动工作区文件树,支持代码高亮和图片预览。适合需要快速浏览和查看项目文件内容的网页端用户。

패키지
dsh-file-explorer
버전
0.1.0
최근 업데이트
2026. 8. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:onchainyaotoshi/dsh-plugins#7d40617985107fe5f6ac7ab877820ac014a72030&path:packages/file-explorer

dsh-file-explorer

Plugin DeepSeek Harness untuk Web UI: panel tree file workspace aktif + viewer isi file (teks dan preview gambar kecil), di kolom kanan (seat details).

Fitur

  • Tree direktori workspace aktif — auto-select mengikuti sesi; override manual bertahan sampai sesi berganti.
  • Viewer source code dengan theme tokens --dsw-* (ikut light/dark).
  • Preview gambar kecil lewat route raw (Content-Type dari ekstensi).

Instalasi

dsh plugin --profile web add dsh-file-explorer

lalu restart dsh sekali. Instalasi lokal dari checkout monorepo (sebelum publish): dsh plugin --profile web add ./packages/file-explorer.

Keamanan

Semua route API panel dibatasi containment workspace di host half (ctx.fs.contains) — akses di luar root workspace terdaftar ditolak 403. Route ini tidak ikut pagar /api (method PRIVILEGED), jadi pastikan UI ini tetap di balik autentikasi deployment (mis. Cloudflare Access). Boundary ini wajib dipertahankan di plugin apa pun yang menyentuh filesystem.

Develop

pnpm install   # sekali, dari root monorepo
pnpm build     # host half + client bundle
pnpm watch     # iterasi UI (refresh browser; bundle di-serve no-cache)