LI-Huaa/dsh-workspace-upload

LI-Huaa★ 1JavaScript最后同步: 2026-08-14

在 GitHub 打开

A simple plugin to address the pain point of inconvenient file management when deploying DeepSeek Harness in the cloud. 一个简单的插件,用于在云端部署deepseek harness时管理文件。

README 摘要

dsh-workspace-upload English 中文 A workspace file-manager plugin for the dsh Web profile — browse, upload, download, rename, create and delete files in the session's workspace, right from the chat UI. Features A 文件 (Files) button in the composer's left controls opens a file-manager dialog over the app: browse the workspace and its subdirectories (breadcrumb navigation, up / refresh); upload — multi-file, chunked, any size (640 KiB chunks, adaptive shrink under proxy body limits); download files; rename files and folders; create folders ; delete files and folders (two-step confirm). Every operation is scoped to the workspace root: host-side path containment rejects any .. or absolute-path escape. The workspace resolves to the session's workspace (session → cwd → first registered workspace). Directory structure Architecture One package, one profile row, two halves: Half File Role Host lib/index.js Registers GET/POST /api/workspace-upload on the dsh web server: list / rename / mkdir / delete / download / chunked upload, all with workspace containment. Client lib/client.js Browser bundle ( window. ModuleLoader .load ): the trigger button in conversation.input.left ; the dialog renders f…

在 GitHub 查看完整 README →
工具/开发dsh-plugindsh-plugins

分类