dsh-browser-fs
Give agents access to files on the machine where the browser runs: user authorizes a local directory via File System Access, tool calls relay over the plugin's own WebSocket; read-only compat mode for mobile/insecure contexts.
让 agent 读写浏览器所在电脑上的文件:浏览器授权本地目录(File System Access),工具调用经插件自建 WebSocket 中继;移动端/非安全上下文自动降级只读兼容模式。
How to install
dsh plugin add dsh-browser-fs About
dsh-browser-fs **中文** | English 让 dsh 的 agent 读写**浏览器所在机器**的本地文件。dsh 自带的 fs 工具只能摸宿主机; 远程部署时浏览器在别的机器上,agent 够不到你本地的文件。本插件补上这个缺口: 用户在 dsh web 页面里通过 File System Access API(showDirectoryPicker)授权一个本地 目录,句柄存 IndexedDB;agent 通过三个模型工具 list/read/write 该目录下的文件,工具 调用经插件自建的 WebSocket 通道转发到浏览器执行。 原理 双面插件(cordis 插件体系): **host 半**(src/index.ts,跑在 dsh 宿主 Node 进程) ctx.webServer.registerUpgrade 注册精确路径 /browser-fs/ws 的 WS 通道; ctx.tools.register 注册 browser_fs_list / browser_fs_read / browser_fs_write; execute 把 {type:'call', rpcId, op, args} 帧发给「持有授权句柄」的标签页,按 rpcId 配对 result 帧;exec.signal 接到 pending 的 abort(同时给浏…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 3
- mo. downloads
- 534
- Last push
- 2026-08-23
- Created
- 2026-08-15
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- browser-extension, deepseek, deepseek-harness, dsh, dsh-plugin, dsh-plugin-market, dsh-plugins, file-system-access
Related plugins
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
davinci-resolve-mcp
samuelgursky/davinci-resolve-mcp
MCP server integration for DaVinci Resolve Studio
ssh-mcp
tufantunc/ssh-mcp
MCP server exposing SSH control for Linux servers via Model Context Protocol.