claude-code-best/packages
claude-code-best e38d45460e
fix: 修复 Windows Node.js 构建产物因 stdin.ref() 泄漏导致进程挂起 (#353)
startCapturingEarlyInput() 调用 stdin.ref() 后,如果 Ink 未能接管
(如 raw mode 不支持或 setup 阶段异常),unref() 永远不会被调用,
导致 Node.js 事件循环无法退出。修复包括:
- stopCapturingEarlyInput() 中补充 stdin.unref() 调用
- 新增 10s 安全阀定时器自动清理 leaked ref()
- Ink App.componentWillUnmount 兜底 unref() 非 TTY stdin

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-24 21:16:15 +08:00
..
@ant fix: 修复 Windows Node.js 构建产物因 stdin.ref() 泄漏导致进程挂起 (#353) 2026-04-24 21:16:15 +08:00
acp-link Merge branch 'feature/unknown-llm-feature-test' 2026-04-21 12:06:19 +08:00
agent-tools feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
audio-capture-napi Fixture/langfuse record auto mode data error (#308) 2026-04-20 13:30:05 +08:00
builtin-tools fix: 修复 anthropic 煞笔的四个 bug (#352) 2026-04-24 20:07:18 +08:00
color-diff-napi fix: 将 highlight.js 改为静态导入以兼容 Bun --compile 模式 2026-04-23 18:47:31 +08:00
image-processor-napi Fixture/langfuse record auto mode data error (#308) 2026-04-20 13:30:05 +08:00
mcp-client feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
modifiers-napi feat: 添加 napi 包测试覆盖与 stub 改进 2026-04-22 22:38:10 +08:00
remote-control-server feat: remote control 支持 auto bind 功能 (#300) 2026-04-19 13:04:09 +08:00
url-handler-napi feat: 添加 napi 包测试覆盖与 stub 改进 2026-04-22 22:38:10 +08:00
weixin feat: 接入内建 weixin channel(同 #301 重构版本) (#303) 2026-04-19 21:33:27 +08:00
tsconfig.json feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00