geopanret/dsh-chat-share-image: Export a completed reply as a readable long image
The DSH client plugin `geopanret/dsh-chat-share-image` adds a camera button to the button area of every completed assistant reply, rendering the entire reply as a PNG long image and writing it to the clipboard. Tables are reformatted in screenshots, removing horizontal scrolling and maximum column widths; quoted images are enlarged from small interface previews to their full original sizes; long URLs and non-breaking words wrap automatically; and dimensions are verified by reading back the output. Extremely long replies are split into multiple images based on paragraphs; the first image is sent to the clipboard, while the rest are copied or downloaded via toast. If there are more than 6 images, the action is rejected and a prompt is displayed. The logic resides entirely in the browser-side `client.js`, while the host-side `index.js` is an empty shell. It does not connect to the internet, upload data, or require any host permissions; modifications to `client.js` are applied via HMR hot module replacement without requiring a restart. The installation command is `dsh plugin --profile desktop add github:Geopanret/dsh-chat-share-image#v0.2.0`. The version is 0.2.0, licensed under MIT, and requires the DSH engine version >=0.2.0 <0.3.0. Very long code lines wrap, images without CORS support appear as placeholder blocks, and screenshot layout differs from the original interface; please note this when using the feature.
Read More