DSH Web GUI paperclip button: a 📎 button in the composer opens a file picker (drag & drop supported) and inserts file contents into the textarea.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-paperclip
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:zmm863-commits/dsh-paperclip
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 GUI 回形针按钮插件:在输入框右侧添加一个 📎 按钮,点击选择文件(支持拖拽),文件内容自动插入到输入框,方便把代码/文本直接发给 agent。
A single 📎 paperclip button in the DSH web GUI composer: click to pick files (or drag & drop), file contents are inserted into the textarea so you can hand code/text to the agent directly.
功能 Features
- 📎 输入框右侧回形针按钮,一键选择文件
- 🖱️ 支持拖拽文件到输入框
- 📄 支持常见文本/代码格式(HTML、JS、TS、CSS、JSON、MD、Python 等 30+ 扩展名)
- 🔤 多文件批量上传(最多 10 个,单个 ≤ 5MB)
- 🌐 中英文双语(zh / en)
- 🧩 零服务端依赖,纯浏览器端实现
安装 Install
dsh plugin --profile web add dsh-paperclip
或者手动安装(本仓库):
dsh plugin --profile web add ./dsh-paperclip
使用 Usage
- 刷新 Web GUI 页面
- 点击输入框右侧的 📎 按钮选择文件,或直接把文件拖进输入框
- 文件内容会以代码块格式插入输入框:
📄 index.html (1.2 KB)
```html
<!DOCTYPE html>
...
4. 发送消息,agent 即可读取文件内容
## 开发 Development
```bash
npm install
npm run build # 构建 lib/(tsdown)
npm run watch # 监听模式
反馈 / Feedback
有问题、建议或想新增文件格式?欢迎提 issue:
- 🐛 Bug 反馈:描述问题 + 复现步骤
- 💡 功能建议:告诉我们你想加什么功能或格式支持
- 💬 一般讨论:任何关于回形针插件的反馈都欢迎
👉 提交 Issue
📧 联系邮箱:25894126@qq.com
许可证 License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8370
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★ 8370
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★ 4036
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 4004
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★ 3992
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1418
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.