← 返回列表
D

dsh-webfile

v0.1.0 · 2 天前发布

S3 & FTP file tools for DeepSeek Harness: 8 agent tools (list, stat, mkdir, delete, move, copy, download, upload) — approval-gated mutations, transfer jobs with progress & cancel.

deepseek-harnessdshdsh-plugins3ftpagent-toolsfile-management

README

dsh-webfile

English | 中文

S3 & FTP file tools for DeepSeek Harness: 8 agent tools (list, stat, mkdir, delete, move, copy, download, upload) — approval-gated mutations, transfer jobs with progress & cancel.

让 Agent 在对话中直接浏览与操作 S3(含 MinIO 等兼容对象存储)与 FTP/FTPS 上的文件:

  • 只读直通:webfile_list / webfile_stat 免审批;

  • 变更逐次审批:其余 6 个工具每次调用都经用户确认,拒绝即零副作用;

  • 传输走后台任务:下载/上传在 Jobs 面板流式展示进度,可随时取消;

  • 凭据只存引用:密钥值永不进入配置或会话日志,轮换后下一次调用即生效。
  • 安装

    sh
    dsh plugin --profile <name> add dsh-webfile

    插件声明了 dsh.bundle,安装后自动挂载进该 profile 的 layer 栈(无需手写任何挂载行)。升级:

    sh
    dsh plugin --profile <name> update

    配置

    在 profile 的 cordis.patch.yml($DSH_HOME/profiles/<name>/cordis.patch.yml)中按 id 覆盖配置:

    ```yaml
    -

    查看完整 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-webfile
    Repo
    git+https://github.com/modestoma/dsh-webfile.git
    Engines
    {"node":"^22.19.0 || >=24.0.0"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-conversation"]}}