rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Zenjibad/dsh-any-attachment
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
⛔ OBSOLETE — do not install
DSH 0.2 made this redundant. The composer now accepts files of any type natively:
conversation.createDrafts()turns every picked or dropped file into aComposerFileAttachmentwhose bytes upload to the Host as soon as it is picked — which is precisely what this plugin was built to add.It also no longer works on 0.2: its client half calls
createDraftImagesandaddImages, and readsshell.snapshoton the composer input — all replaced in the 0.2 conversation API (createDrafts/addAttachments/state). Its patch row is therefore inserteddisabled: true, so an accidental install cannot half-load a broken client bundle.Kept for reference only. The last working 0.1 implementation is in the git history.
A DeepSeek Harness (dsh) plugin bundle that lets the Web UI attach files of any type as pathless @-mentions: type @ to pick a workspace file, or drop a file (or use the + button) to tag it into your message — the agent then reads the file itself with its own tools. Mentions carry the name only, never a path. Raster images keep flowing through the built-in image pipeline. No changes to the harness repo, and nothing is written into your workspaces.
@-list: in the composer, type @ and a menu shows the session workspace's files, recursively and flat (src/main.ts, docs/guide.md, …). Type more to filter; pick one and a pathless @name chip is inserted into the draft.@<stored-name> chip — no path, no drive letter.@name (C:\...\absolute\path)), so the agent reads the file directly instead of guessing where it lives.$DSH_HOME/attachments-any/ — private, never dumped into a workspace.dsh plugin --profile web add https://github.com/Zenjibad/dsh-any-attachment
Restart dsh web, then hard-refresh the page.
| Guard | Value |
|---|---|
| Max bytes per file | 25 MB |
@-list depth |
4 levels below the workspace root |
@-list entries |
500 (sorted, /-separated relative paths) |
@-list exclusions |
hidden (.-prefixed) entries and node_modules |
| Name | basename only; traversal, separators, drive letters rejected |
| Storage | private store under $DSH_HOME/attachments-any, never a workspace |
lib/): registers an RPC channel /attachments-any (authority trusted-host, same LAN fence as /api). list { sessionId } walks the session workspace recursively and returns relative paths; upload validates base64/size/name, writes into the private store, and returns the stored name (deduped with -2 suffixes). A system-prompt section tells the agent that a referenced @name lives at ./<name> relative to its working directory, or in the private store otherwise.client/): composer + button (conversation.input.left), a capture-phase drop handler, and an @file input-trigger source (workspace autocomplete, pathless picks). Rasters route through createDraftImages/addImages; everything else uploads via the channel and the mention @<name> is appended to the composer draft via inputActions.setDraft.The agent reads the file at the resolved path with its own tools — no extraction, no download UI, no special send flow.
node --test
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。