CarrotFish/dsh-file-and-terminal ↗★ 1

dsh-plugin-file-and-terminal

为网页配置文件提供终端和文件管理器面板 适合需要在Web端直接管理宿主机文件和运行终端命令的用户。

包名
dsh-plugin-file-and-terminal
兼容性
待验证
Harness 依赖范围
*
Cordis 依赖范围
*
版本
0.1.1
许可证
MIT
最近更新
2026年10月8日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CarrotFish/dsh-file-and-terminal

配置

在 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 配置项,用于限制终端输出缓冲区、进程宽限时间和同时打开的终端数。