deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
需要 DSH(DeepSeek Harness)与 web profile(dsh web):
# 1. 安装插件(pnpm git 依赖)
dsh plugin --profile web add github:lzxcs/paste-file-path-pro
# 2. 在 ~/.dsh/profiles/web/cordis.patch.yml 末尾追加注入块:
- insert:
- id: paste-file-path-pro
name: 'paste-file-path-pro'
# 3. 重启 DSH Web(托盘菜单 → DSH Web 重启),浏览器 Ctrl+F5 刷新页面
卸载:dsh plugin --profile web remove paste-file-path-pro,并删掉 cordis.patch.yml 中的注入块。
把粘贴到输入框的非图片文件自动转换为文件路径引用(@path),让模型可以直接读取文件内容。
image/png|jpeg|webp|gif)粘贴行为不变:仍作为图片附件进入图片轨道。clipboardData.items):/__paste-file-path-pro/clipboard(Node half 读 Windows 系统剪贴板的 FileDropList);@path 文本注入输入框(含空格路径用 @"path" 引号语法;多文件一行一个);[data-composer-card] 内),其它输入框不受影响。paste-file-path-pro/
├── package.json # dsh.client: platform=web; exports["./client"] 为浏览器半区
├── lib/index.js # Node half: ctx.inject(['webServer']) 注册回环路由,spawn
│ # powershell.exe(STA) + WinForms Clipboard.GetFileDropList()
└── lib/client.js # Browser half: document capture-phase paste 监听 + 合成粘贴重放
安装方式与 dsh-enter-swap / edit-diff-pro 相同:目录放入 ~/.dsh/profiles/web/,
profile package.json dependencies 加 "paste-file-path-pro": "file:./paste-file-path-pro",
cordis.patch.yml insert 插件行,profile 目录 pnpm install,重启 dsh web。
GetFileDropList()(CF_HDROP);macOS/Linux 宿主返回
supported: false,行为与未安装一致。@path / @"path";路径含引号或控制字符时跳过该文件。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。