Adds host file management and an interactive Bash terminal to the DSH WebUI.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:CarrotFish/dsh-file-and-terminal
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
为 DSH Web 配置添加“文件管理”和“终端”面板。若安装了 dsh-better-sidebar,两个面板也会注册为侧栏标签;侧栏和主面板共享文件浏览状态与 Bash 终端,不会为同一个视图重复启动进程。
界面预览
文件管理

Bash 终端

安装
从本地项目目录安装:
dsh plugin --profile web add .
也可以从 GitHub 安装:
dsh plugin --profile web add github:CarrotFish/dsh-file-and-terminal
安装后启动或重启 Web profile:
dsh web
文件管理
文件管理器从配置的 root 目录开始浏览,默认值为用户主目录 ~。支持:
- 浏览目录、进入子目录和返回上一级。
- 上传多个文件,或上传整个目录并保留目录结构;不会覆盖已有文件。
- 下载单个文件,或将目录打包为 ZIP 下载。
- 仅跟随目标仍位于配置根目录内的符号链接。
每次目录列表最多显示 maxEntries 项。单文件下载大小受 maxDownloadBytes 限制;目录 ZIP 按未压缩总大小计算。上传总大小受 maxUploadBytes 限制。上传目录最多包含 10,000 个文件或目录项。
终端
终端面板提供宿主上的交互式 Bash PTY,并以 xterm.js 显示终端内容。它独立于对话和 Session;切换面板时会保留终端会话和屏幕内容。关闭 Web 页面或卸载插件时,终端进程会被终止。终端从配置的 root 目录启动。
配置
在 profile 的 cordis.patch.yml 中配置插件:
- insert:
- id: file-and-terminal
name: dsh-plugin-file-and-terminal
config:
root: "~"
maxEntries: 1000
maxDownloadBytes: 67108864
maxUploadBytes: 67108864
maxDownloadBytes 和 maxUploadBytes 默认均为 64 MiB。插件还提供 terminalBufferBytes、terminalGraceMs 和 maxTerminals 配置项,用于限制终端输出缓冲区、进程宽限时间和同时打开的终端数。
安全提示
此插件可访问宿主文件系统中配置根目录内的内容,并提供宿主 Bash 终端。只应在可信的 DSH Web 部署中启用,并妥善设置 root 与上传、下载大小限制。
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10696
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10696
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8484
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7509
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5395
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1082
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.