packages/dsh-task-board
zhu1090093659/dsh-web侧边栏多列任务看板:卡片交给真实 DSH 智能体会话执行,支持 cron 定时(Host 侧到点执行,关浏览器也生效)。
DSH Web 输入框工具栏图片按钮:点击调用系统文件选择器直接多选取图,进入与拖拽/粘贴相同的草稿图片栏,并内联校验宿主的图片格式、单条张数与单张大小限制。
Adds a picture button to the DeepSeek Harness Web composer toolbar. Click it to open the system file dialog and pick one or more images — no drag-and-drop or paste needed. The chosen images land in the same draft-image rail that drag-and-drop and paste fill, and send with the message like any other attachment.
中文说明见 README.zh.md
conversation.input.left)imageLimits: supported formats, max images per message, max bytes per image — with inline error toasts (e.g. 单张图片不能超过 X MB)conversation.createDrafts(sessionId, files) then inputActions.addAttachments(ids) — so no special handling anywhere elseFrom npm (recommended, prebuilt):
dsh plugin --profile web add dsh-attach-picker
From GitHub:
dsh plugin --profile web add github:qwerty-k-de/dsh-attach-picker
Restart dsh web (or just refresh the page — hot reload usually applies it).
The button is disabled while a request is in flight.
package.json → dsh.client (platform: "web", exports["./client"]).conversation.input.left with order: -50.imageLimits (mediaTypes, maxImagesPerMessage, maxImageBytes) and are checked locally first; admitted files then go through the host's own intake path:
dsh 0.2.x, the published contract): conversation.createDrafts(sessionId, files) yields draft descriptors, then inputActions.addAttachments(ids) fills the rail. When addAttachments answers false (adjudicating/submitting), conversation.releaseDraftAttachments(drafts) releases the drafts so nothing leaks.addFiles(files, directories) — a host-internal channel, used only when that verb pair is absent.conversation.createDraftImages(files) + inputActions.addImages(...).data-dsh-attach-picker="<build>:<pipeline>" so the active path is identifiable from the DOM.lib/index.js) is intentionally empty — all logic is browser-side.Storefronts (e.g. dsh-market) show App-Store style screenshots. Declare them in this repo:
// screenshots.json
["assets/screenshot-1.png", "assets/screenshot-2.png"]
(1–8 images; paths relative to the file, inside this repo. Without it, storefronts fall back to images found in this README.)
dsh web) with the standard conversation / slots client services.See CHANGELOG.md.
MIT