Files
kdletters 071faa482c 统一 Rust 与 TypeScript 格式化门禁
纳入 AGC Cargo workspace 的统一 rustfmt 检查与格式化入口

完成项目 TypeScript/Prettier 与 Rust 全量格式化

修复 Pingora expected executable 门禁的空白敏感误报

同步开发运维文档与 AGC skill pack 格式化忽略规则
2026-09-01 16:28:34 +08:00
..

Spine JSON 导出验证器

这是图片画布序列帧导出包的独立验证项目。它只读取导出的 ZIP,在浏览器里用 @esotericsoftware/spine-webgl 解析 skeleton.json,加载同级 frames/ 图片并渲染预览。

命令

npm install
npm run spine-export-validator:dev
npm run spine-export-validator:typecheck
npm run spine-export-validator:build

验证器支持两类导出包:

  • 单个角色动作导出的 *-SpineJSON.zip,根目录包含 skeleton.jsonframes/
  • 画布素材 ZIP 中的 sequences/<编号-标题>/skeleton.json

当前只验证 region attachment 和 slot attachment timeline,对 mesh、path、boundingbox、clipping 等 Spine 高级 attachment 会报错。