rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:rxdage/dsh-plugin-question-attachments
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
中文 | English
Attach images and files while answering an ask_user_question card in DeepSeek Harness.
Status: alpha / minimal viable build. Tested against DSH
0.2.2-rc.1(Desktop, Windows).
ask_user_question takes over the composer position with an answer card, and the answer payload is text only:
{ selected: string[], custom?: string }
Attachments in DSH are prompt credentials — they are stored by ctx.fileUpload and consumed when a user message is admitted. A tool answer has no channel for them, so while the card is up there is no way to drop a screenshot into the answer.
While the current Session has a pending interaction (the question card owns the composer):
Ctrl+V), or drop a file onto it;ctx.fileUpload.uploadImage() / upload(), producing a receipt;session.prompt([{ type: 'file', receiptId }, { type: 'text', text }], 'steer');+N).During a blocking question the Session is still running, so the steer is accepted by the Inbox and queued. The host admits queued steers only after the current tool wait ends — i.e. the model sees the answer and the attachment at the same step boundary.
No protocol change, no patched installation, fully removable.
The plugin is a normal DSH bundle package with a web client half.
Sidebar → Plugins → Add plugin, paste the repository URL:
https://github.com/rxdage/dsh-plugin-question-attachments
then Install → Enable now → restart DeepSeek Harness. The dialog also accepts
github:rxdage/dsh-plugin-question-attachments, a tarball URL, or a local absolute path.
dsh plugin --profile desktop add github:rxdage/dsh-plugin-question-attachments
git clone https://github.com/rxdage/dsh-plugin-question-attachments "$env:LOCALAPPDATA\dsh-plugin-question-attachments"
$profile = "$env:USERPROFILE\.dsh\profiles\desktop"
New-Item -ItemType Junction -Path "$profile\node_modules\dsh-plugin-question-attachments" `
-Target "$env:LOCALAPPDATA\dsh-plugin-question-attachments"
Then add it to profiles/desktop/package.json:
{
"dependencies": {
"dsh-plugin-question-attachments": "link:C:/Users/<you>/AppData/Local/dsh-plugin-question-attachments"
},
"dsh": { "profile": { "bundles": [ /* ..., */ "dsh-plugin-question-attachments" ] } }
}
and restart DeepSeek Harness. To uninstall, remove the junction and those two entries (or use Plugins → the package → Uninstall).
Ask the agent something that triggers an ask_user_question, and while the card is shown:
The chip reports upload progress and failures in place. The attachment arrives as a queued user message; answer the question and the agent receives both in its next step.
pendingInteraction clears and the chip disappears.@path chips, images join the draft, and nothing is sent until you press Send.fileUpload + sessions client services works.Built and verified against DSH 0.2.2-rc.1. It only uses documented client services (slots, sessions, uiSession, fileUpload, session.prompt) and no private APIs, so it should survive minor releases — but the client bundle format is pre-1.0, so check the CHANGELOG after upgrades.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。