CocoSgt/dsh-attachments

CocoSgt★ 6JavaScript最后同步: 2026-08-14

在 GitHub 打开

README 摘要

dsh-attachments 简体中文 English npm package: dsh-attachments · GitHub repository: CocoSgt/dsh-attachments A third-party attachment plugin for DeepSeek Harness (dsh): bring any file into the conversation, zero type rejection . - Every file — images included — goes through the stash pipeline : the file is written to the session workspace at /.dsh/uploads/ and staged per session, and a card (icon tile + file name + size + ✕) appears above the composer. Nothing uses the host's native draft-image pipeline ( createDraftImages / addImages are not used); if the model needs to see an image, it reads it by path with the harness-native read image tool, so non-vision models are never blocked by "this model doesn't support images". - The draft stays completely clean — no reference text is ever written into the input box. When you send your next message, the host folds the attachment list into the model request during the agent/pre-step wave as a message with source: { kind: 'user' } (inserted right before your message, same injection pattern as the official dsh-agent-instructions), so it lands in the logs and replays safely. After injection the cards disappear automatically. - Whether — and how — …

在 GitHub 查看完整 README →
Agent/智能体ai-agentattachmentscoding-agentcordisdeepseekdeepseek-aideepseek-harnessdsh

分类