yumimanji/dsh-ui-spec2

dsh-ui-spec

DSH 插件:利用 OCR、几何定位、场景图和渲染对比,将 UI 截图转化为实现级的网页技术规范文档。

AI 分析

核心用途是辅助前端开发,将设计图或截图自动解析为技术规格。适合 UI/UX 设计师和前端工程师快速生成开发规范。

包名
dsh-ui-spec
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yumimanji/dsh-ui-spec

Vision Fallback Configuration

Vision OCR requires an explicitly named multimodal model:

$env:DSH_UI_SPEC_VISION_API_KEY = "..."
$env:DSH_UI_SPEC_VISION_BASE_URL = "https://your-provider.example/v1"
$env:DSH_UI_SPEC_VISION_MODEL = "your-vision-capable-model"
$env:DSH_UI_SPEC_ALLOW_VISION_FALLBACK = "true"

DSH_UI_SPEC_VISION_API_KEY falls back to DEEPSEEK_API_KEY, then OPENAI_API_KEY. Fine alignment should always be verified when coordinate_precision is approximate.