Sync OneOS workspace with new prototypes, annotations, and Gitea remote fix.
Add vehicle-h2-fee-ledger, customer-management, lease and self-operated ledgers, annotation sources, agent skills, and vite annotation runtime support. Update vehicle management, contract templates, and lease contract flows. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -43,6 +43,7 @@ description: 原型标注替代 PRD 时使用:把页面目录、组件说明
|
||||
- `folder`:分组目录节点。
|
||||
- `route`:交给宿主处理,可切当前原型页面、状态、数据源或路由。
|
||||
- `markdown`:打开内联 Markdown 文档。
|
||||
- `markdownPath`:只用于目录 Markdown 文档,可指向当前原型目录内的 `docs/*.md`;客户端构建链路会内联为运行时读取的 `markdown`。
|
||||
- `link`:打开其他原型地址、资源地址或外部链接。
|
||||
|
||||
多原型入口优先用 `link` 指向 `/prototypes/<prototype-id>` 或完整 URL;当前原型内部页面/状态入口再用 `route`。
|
||||
@@ -72,3 +73,5 @@ description: 原型标注替代 PRD 时使用:把页面目录、组件说明
|
||||
- 不要把目录节点误写成组件标注节点;目录没有 marker。
|
||||
- 不要把组件状态只写进页面本地 state;需要出现在标注面板里的状态要写进节点 `controls`。
|
||||
- 不要依赖不稳定 CSS 选择器作为唯一定位方式;能补稳定属性时优先补。
|
||||
- `showBrandLink`、`defaultMarkerIndexVisible`、`renderToolbarActions` 这类展示增强选项只有在用户明确要求品牌入口、默认显示序号或工具栏自定义动作时才设置;常规标注接入保持默认配置。
|
||||
- Markdown 图片必须随原型发布:放到当前原型 `assets/` 并用最终可访问 URL;不要用本地路径、`/api/markdown-file` 或 `../assets/...`。
|
||||
|
||||
Reference in New Issue
Block a user