Skip to content

v1.7.0

Latest

Choose a tag to compare

@dsphper dsphper released this 10 Jun 06:01
2bcd77b

Release v1.7.0
🎉 亮点 / Highlights
本版本新增 Axure 原型标注自动提取 能力,AI 在分析蓝湖 Axure 文档时,可直接读取标注文本及其原生位置信息,不再只能依赖图片级数据。

This release adds automatic Axure annotation extraction. When analyzing Lanhu Axure documents, AI can now read annotation text and native position data directly — not just image-level information.

✨ 新增功能 / Added
Axure 标注提取(原生位置) — 从 Axure 原生 .annnote 节点提取标注位置,通过 page.annotations + objectPaths[ownerId].scriptId 映射获取标注内容

输出包含:标注标题、注释文本、标注位置(x/y/w/h)、目标控件位置、已定位/未定位统计

新增单元测试 tests/test_axure_annotations.py

Axure annotation extraction (native positions) — positions from native .annnote nodes; content mapped via page.annotations + objectPaths[ownerId].scriptId

Output includes: label, note text, annotation rect, target widget rect, located/unlocated stats

Added unit tests in tests/test_axure_annotations.py

🔗 关联 Issue / Related Issues
Related to #14 — 支持读取设计图中的标注信息(尺寸、位置、注释文本等),减少 AI 还原设计稿时「缺少颜色/字体/标注详情」的问题。

Related to #34 — 在结构化导出(store_schema_revise)暂不可用的情况下,提供 Axure 标注文本的替代提取路径,可直接获取原型中的交互说明与注释内容。

Related to #14 — Enables reading design annotation info (dimensions, positions, note text), reducing cases where AI reports missing color/font/annotation details when recreating designs.

Related to #34 — Provides an alternative path to extract Axure annotation text when structured export (store_schema_revise) is unavailable, so interaction notes and comments can be retrieved directly from prototypes.