ice-render-dsl, Changelog
Compare any two versions of this skill before upgrading. 11 versions published.
Version history
- v1.3.0Latest
e936660945641.3.0:DSL 支持在文档顶层声明主题("theme": "dark" 或部分主题对象),renderDsl 在建图元前应用;样式里可用 "$primary" 这类 token 引用;validateDsl 新增三条诊断(未注册命名主题 / token 解析不了 / theme 形态非法),路径精确到字段。SKILL 与提示词同步给出写法与自检方式。
- v1.2.0
a43ebdcb8a5c1.2.0:补《Theming(引擎 2.4 起)》——四层 token(base / semantic / chrome / 预设)、样式引用 token 在绘制时解析(token('primary') 或 '$primary',渐变 stops 也能引用)、setTheme / registerTheme / 部分主题深合并 / setChrome 只改交互外壳 / 子树作用域(ICEGroup theme)、交互状态样式(states + setInteractionState,自动驱动默认关且有命中测试代价)、主题进快照({name, patch})、validateTheme 自检(未知 token / 类型错 / WCAG 对比度);并写明什么时候不要用主题(一次性演示、颜色即数据)。提示词同步补一段。依赖据实提到 ice-render ^2.4.0。
- v1.1.0
7fe2b91157a31.1.0:按「Agent 能不能真用出引擎实力」重做 SKILL 与提示词。补上文本排版(wrap/maxLines/ellipsis/wordBreak/direction、lineHeight/letterSpacing/textDecoration/padding)、完整连线字段(routeType/arrowStyle/curveType/lineDashFlow/links)、交互开关语义与 preset 全名单、4 个可直接复制的完整配方(流程图/分组面板/拓扑/错峰入场);诊断表补编排码、反模式与输出清单。另修掉一处会直接坑到 Agent 的错误:提示词里写的是 ER 包的契约(entities/relations),照它生成的文档会被本包 validateDsl 拒绝——已按节点/连线契约重写。并新增测试把文档里的 JSON 代码块逐个跑 validateDsl,防文档腐化。
- v1.0.9
ac912d05d2191.0.9:补「编排与运行时控制」(timeline/stagger、setAnimation/removeAnimation、replay/isAnimating、reduced-motion 说明)与「颜色可动画 / 自定义缓动 / direction / callbacks / fps」;运行时要求对齐 ice-render 2.3.0。
- v1.0.6
802b3b24d196依赖引用对齐:ice-render-dsl@>=0.0.7,peer ice-render@^2.2.0(家族引擎 2.x)
- v1.0.5
9af4f6ed10fcice-render 改为 peer 依赖(^1.4.11);Node 安装 ice-render-dsl>=0.0.6,浏览器端先加载 ice-render UMD。
- v1.0.4
1b2ad83375f0Add capability boundaries, decision guide, style/animation cheat sheets, anti-patterns, and output checklist.
- v1.0.3
462617b092b1Fix node geometry docs for circle/ellipse and clarify fitViewport behavior.
- v1.0.2
77b7d676f83bExpand DSL capabilities: shapes, groups, images, rich links, animations, viewport options, and full worked example.
- v1.0.1
edc88a294346Clarify runtime dependency; ice-render-dsl>=0.0.3 auto-installs ice-render.
- v1.0.0
7b62601b24b6No changelog provided.