onchainyaotoshi/dsh-plugins--packages-file-explorer ↗★ 0
dsh-file-explorer
DeepSeek Harness 网页 UI 的文件浏览器面板:浏览活动工作区树并查看文件内容。
AI 分析
在右侧详情栏提供直观的活动工作区文件树,支持代码高亮和图片预览。适合需要快速浏览和查看项目文件内容的网页端用户。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:onchainyaotoshi/dsh-plugins#7d40617985107fe5f6ac7ab877820ac014a72030&path:packages/file-explorer说明文档
阅读完整 README ↗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)