claude-code-best/scripts
James Feng 21f126b76a feat(build): splitting:true + MONITOR_TOOL 恢复 + WorkflowTool lazy getter
Codex 完成:
- build.ts: splitting: false → true (562 files code-split 构建)
- defines.ts: MONITOR_TOOL 重新启用(require() 迁移后无死锁)
- 验证 splitting:true 产物 -p/--print 全部正常

James 兜底:
- tools.ts: WorkflowTool IIFE → lazy getter (getWorkflowTool)
  避免模块初始化时的 chunk 加载死锁,但 WORKFLOW_SCRIPTS 仍因
  更深的 chunk 依赖图问题 hang,暂时保持禁用
- getAllBaseTools() 中 WorkflowTool 引用改为 lazy getter

状态:
| splitting:true | 562 files  |
| MONITOR_TOOL   | enabled    |
| WORKFLOW_SCRIPTS | disabled (lazy getter 不足) |

验证: --version / -p / --print / 源码模式 全部通过
2026-06-02 14:22:42 +08:00
..
defines.ts feat(build): splitting:true + MONITOR_TOOL 恢复 + WorkflowTool lazy getter 2026-06-02 14:22:42 +08:00
dev-debug.ts feat: 简化 debug 方式 2026-04-03 16:47:24 +08:00
dev.ts feat: restore daemon supervisor and remoteControlServer command (#170) 2026-04-07 15:36:29 +08:00
download-ripgrep.ts fix: 尝试修复 windows 下面没有 unzip 的问题 2026-04-04 17:02:39 +08:00
health-check.ts feat: 添加代码健康度检查脚本 2026-04-01 07:17:09 +08:00
post-build.ts feat: pull in Vite build system + complete packages/builtin-tools/ 2026-06-01 18:18:03 +08:00
postinstall.cjs feat: 支持简化版本的 rg 下载 2026-04-06 10:31:15 +08:00
rcs.ts feat: 支持自托管的 remote-control-server (#214) 2026-04-09 17:40:50 +08:00
verify-gates.ts feat: enable GrowthBook local gate defaults for P0/P1 features 2026-04-06 17:00:30 +08:00
vite-plugin-feature-flags.ts feat: pull in Vite build system + complete packages/builtin-tools/ 2026-06-01 18:18:03 +08:00
vite-plugin-import-meta-require.ts feat: pull in Vite build system + complete packages/builtin-tools/ 2026-06-01 18:18:03 +08:00