coder-wu/dsh-share

coder-wu★ 0JavaScriptLast synced: 2026-08-16

Open on GitHub

README excerpt

dsh-share A DeepSeek Harness plugin that shares the current session page as a long screenshot — a single PNG of the whole conversation, not just the visible viewport. What it does Adds a copy button to the session header (top-right, next to the jobs / subagent buttons). Click it and the browser captures the full conversation — every loaded message — and copies it to the system clipboard as a PNG. Paste it anywhere: a chat, a document, an image editor. The page is painted by the browser's own layout engine into an SVG foreignObject (via modern-screenshot, bundled inline), so the result matches what you see: CSS variables, gradients, web fonts, and emoji render correctly. Dark themes keep their real background. Output is 2× device pixels (clamped to browser canvas limits for very long sessions). The capture is auto-cropped : the conversation column is capped ( max-width: 748px ) inside a wide container, so a full-container capture carries 200px of empty gutter on each side. A downscaled probe finds the content bounding box and the final image is trimmed to the content plus a small margin. The composer (input box) is excluded — it is full-width chrome that would otherwise keep the cro…

View full README on GitHub →
Media / Contentdsh-pluginscreenshotagent

Category