treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:jianuoli664/dsh-desktop-shot
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
集成在 DSH 桌面版里的简单截图工具:输入框旁边点一下 → 窗口收起、拖一个框 → 图片自动进草稿框。仅 Windows。
把本仓库放进插件目录(没有 git 就下 ZIP 解压到同一位置):
git clone https://github.com/jianuoli664/dsh-desktop-shot.git "$env:USERPROFILE\.dsh\plugins\dsh-desktop-shot"
在 profile 里登记依赖(--profile 换成你在用的那个,一般是 desktop):
& "<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add "file:C:/Users/<你>/.dsh/plugins/dsh-desktop-shot"
打开 %USERPROFILE%\.dsh\profiles\<profile>\package.json,确认 dsh.profile.bundles
里有 "dsh-desktop-shot"(pnpm add 只写 dependencies,装载清单要自己补)。
重启 DSH 桌面应用,输入框右侧出现截图按钮。
改 lib/client.js 不用重启(宿主按 mtime/size 轮询热换);改 lib/index.mjs 必须重启进程。
Ctrl+V 即可。input[type=file];核心改掉这个控件就只能退回剪贴板粘贴。adjudicating / submitting 时核心会拒收附件,长回合重试也救不了。& "<DSH 安装目录>\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop remove dsh-desktop-shot
或从 profile 的 package.json 里删掉 dependencies 与 dsh.profile.bundles 中的
dsh-desktop-shot 两处,再重启。
技术背景、踩坑记录和验证数据在 docs/notes.md。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 工具。