lanyuanxiaoyao
cf847ccd7a
feat: 重构配置生命周期为 Authoring/Normalized/Resolved 三层
将变量替换和 expect 简写展开统一放入 Normalized 阶段,
运行时 AJV 使用 Normalized schema,导出 schema 面向 Authoring Config。
主要变更:
- 新增 normalizer.ts 实现 normalizeAuthoringConfig()
- 拆分 Authoring/Normalized 双 schema,checker 接口支持 authoring/normalized 片段
- config-loader 流程:normalize → Normalized AJV → semantic → resolve
- validator 兼容层自动分派 raw/normalized expect 形态
- 删除 rawExpect,store.expect 列写入 null
- Authoring schema 对 integer/boolean/enum 字段接受变量引用
- 修复 DB/HTTP validate 入口守卫和 LLM options integer 变量引用
- 优化 compact() 避免 undefined 覆盖隐患
- 移除 content.ts 恒为 true 的前置条件
- 同步 5 个主规范并归档 change
2026-05-22 14:00:47 +08:00
..
2026-05-14 00:23:37 +08:00
2026-05-19 14:57:56 +08:00
2026-05-13 19:50:33 +08:00
2026-05-15 11:26:46 +08:00
2026-05-21 16:53:12 +08:00
2026-05-19 22:49:00 +08:00
2026-05-22 14:00:47 +08:00
2026-05-20 16:12:48 +08:00
2026-05-21 00:35:08 +08:00
2026-05-12 21:43:20 +08:00
2026-05-15 18:31:33 +08:00
2026-05-22 14:00:47 +08:00
2026-05-21 19:20:47 +08:00
2026-05-20 23:24:36 +08:00
2026-05-16 00:14:35 +08:00
2026-05-20 19:14:37 +08:00
2026-05-21 13:54:41 +08:00
2026-05-20 16:12:48 +08:00
2026-05-12 21:43:20 +08:00
2026-05-20 16:12:48 +08:00
2026-05-22 14:00:47 +08:00
2026-05-15 11:26:46 +08:00
2026-05-13 16:48:56 +08:00
2026-05-15 11:26:46 +08:00
2026-05-21 16:53:12 +08:00
2026-05-20 16:12:48 +08:00
2026-05-20 16:12:48 +08:00
2026-05-20 19:14:37 +08:00
2026-05-20 00:43:39 +08:00
2026-05-22 14:00:47 +08:00
2026-05-14 15:57:14 +08:00
2026-05-22 14:00:47 +08:00
2026-05-21 13:54:41 +08:00
2026-05-16 00:14:35 +08:00
2026-05-21 13:54:41 +08:00
2026-05-21 12:21:59 +08:00
2026-05-20 23:24:36 +08:00
2026-05-21 09:32:43 +08:00
2026-05-20 19:14:37 +08:00
2026-05-20 00:02:23 +08:00
2026-05-11 08:54:21 +08:00
2026-05-17 20:12:39 +08:00
2026-05-14 12:32:41 +08:00
2026-05-20 00:02:23 +08:00
2026-05-20 16:12:48 +08:00
2026-05-21 12:21:59 +08:00
2026-05-15 22:18:29 +08:00
2026-05-20 16:12:48 +08:00
2026-05-20 19:14:37 +08:00
2026-05-20 17:44:02 +08:00
2026-05-21 09:32:43 +08:00