← 返回列表
D

dsh-host-files

v0.1.0 · 0 天前发布

Host-side file API for the DSH Web UI: ~19 /vscode-files/* endpoints (list/read/write/search/highlight/docx preview/git status/persona/skills/mcp management). Fork of @anoslide/dsh-host-files with heavy second development.

dshdsh-plugindeepseek-harnessfile-apidocxshiki

README

dsh-host-files

宿主文件系统接口(服务端插件),约 19 个 /vscode-files/* 端点:

list / read / image / raw / doc(docx/xlsx/pptx→HTML 预览)/ legacy(WPS COM)/
open / reveal / search / highlight(服务端 shiki)/ git / write / mkdir / mkfile /
rename / delete(送回收站)/ persona(全局人设)/ skills / mcp(管理接口)

fork 自 anoslide/dsh-vscode-layout
(MIT)并二次开发。

环境变量(非默认路径时)

| 变量 | 默认 |
|---|---|
| DSH_PYTHON | ~/python/python.exe(找不到用 python) |
| DSH_DOC_CONVERT | ~/.dsh/vscode-doc-convert.py |
| DSH_WPS_CONVERT | ~/.dsh/vscode-wps-convert.ps1 |

docx 预览依赖:pip install python-docx openpyxl python-pptx(脚本见仓库 tools/)。

安装

powershell
dsh plugin --profile web add dsh-host-files

MIT。

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-host-files
Repo
git+https://github.com/trees163/dsh-customizations.git
Engines
{}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}