@marktowin/prototype-core 1.2.8 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Prototype Core
2
2
 
3
- 面向移动端与 PC Web 产品原型的 Vue 评审内核,提供交互、全图、流程、流程编排、主题、i18n、注释、页面描述、健康检查和协作能力。
3
+ 面向移动端与 PC Web 产品原型的 Vue 评审内核,提供交互、全图、流程、流程编排、测试用例、主题、i18n、注释、页面描述、健康检查和协作能力。
4
4
 
5
5
  ## 安装
6
6
 
@@ -23,6 +23,8 @@ void mountPrototypeApp({
23
23
 
24
24
  完整接入方式见 `examples/basic`。默认关闭访问认证并使用本地协作模式;需要云端协作时通过 `runtimeConfig` 显式注入配置。
25
25
 
26
+ 应用可通过顶部“测试用例”或固定路由 `#/test-cases` 打开工作台。测试用例按页面/状态 scope 管理:有状态页面使用 `<screenId>__<stateId>`,无状态页面使用 `<screenId>`。消费者可在 `public/test-cases.json` 提供数组种子,也可直接使用工作台导出的 `{ version, testCases }`;启用 Gitee 后,远端 `test-cases/<scopeId>.json` 和 `test-cases/manifest.json` 是协作真值。工作台支持整体导出 JSON 和带筛选、冻结表头的 `.xlsx`,导出不代表已写入消费者种子或 Gitee。
27
+
26
28
  人或 AI 在消费者项目中执行接入、新建页面、状态、流程、页面描述、协作配置与验收时,统一参照 [消费者原型实施操作手册](https://github.com/MarkTina/prototype-core/blob/main/AI-PROTOTYPE-GUIDE.md) 的“触发词 → 标准动作 → 完成判定”流程。
27
29
 
28
30
  已挂载内核的应用可直接访问 `#/prototype-core-help` 阅读并复制同一份手册;该帮助路由只包含公开通用规则,不读取消费者业务数据。