janewas/dsh-image-annotate ↗★ 0

dsh-image-annotate

DSH web plugin: click a pending image in the composer to annotate it (pen, box, arrow, text) and insert the annotated PNG back as a new attachment. 适合需要在对话中快速产出带注释图片的编辑场景,需在 composer 中加载图片再调用标注弹窗。

Package
dsh-image-annotate
Compatibility
Unverified
Version
0.2.0
License
MIT
Last updated
Sep 13, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:janewas/dsh-image-annotate

Usage

  1. Add an image to the composer as usual (drag it in, or use the paperclip).
  2. Click its thumbnail. The annotation dialog opens with the image at full size.
  3. Draw: pick a tool, a colour and a width; for text, click a spot and type.
  4. Click 「插入到输入框」 (Insert into composer). The annotated PNG appears at the end of the attachment rail, and the original is still there.
ToolInteraction
Pendrag to draw freehand
Boxdrag from one corner to the other
Arrowdrag from tail to head
Textclick a spot, type, Enter to confirm (Esc cancels, clicking elsewhere confirms)

Undo and Clear sit in the toolbar (Ctrl/Cmd+Z also undoes). Close with Esc, the 关闭 button, or a press on the backdrop.