v3.1: 实现 Heart 运行时注入机制

注入策略:
- 拦截 requestAnimationFrame 检测游戏循环
- 拦截 PIXI.Application 构造函数获取 pixi app
- 通过 React fiber 树遍历查找 Heart 实例
- 从 Redux store 监听作品加载状态
- Patch Interpreter.step() 为 JIT 编译版本

支持的积木:变量、逻辑、数学、文本、控制流、
过程调用、广播、时间、列表、通用 domain function
This commit is contained in:
openclaw committed 2026-05-02 22:15:28 +08:00
1 parent c7247c69cd
commit cd50c395b1
1 file changed
+630 -888
File diff suppressed because it is too large. Load diff