@local/dsh-pen
Drawing canvas for the model: brush tools, screenshots, and a zoomable canvas panel in the right sidebar. 适合需要可视化绘图、标注或向模型提供图像说明的交互任务。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:shine-yu-student/dsh-penREADME
Read the full README ↗配置(bundle 行 config)
| 字段 | 默认值 | 说明 |
|---|---|---|
defaultWidth / defaultHeight | 1024 / 768 | pen_create 缺省尺寸 |
defaultBackground | #ffffff | 缺省背景色 |
maxWidth / maxHeight | 2048 / 2048 | 画布尺寸上限 |
previewMaxWidth | 1400 | 面板预览图最大宽度 |
quality | 2 | 超采样倍率(1–4),越大越平滑越慢 |
maxOperations | 4000 | 单块画布累计操作数上限 |
routePrefix | /pen | 浏览器路由前缀 |
exportDirectory | '' | 强制导出目录;空表示会话工作目录 |
promptSection | true | 是否向系统提示词追加画布使用说明 |
截图输出会按 attachment store 的 maxImageDimension / maxImagePixels 自动限幅。