claude-code-best/src
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
..
__tests__ feat: 正式启用 auto mode (#307) 2026-04-20 10:20:27 +08:00
assistant feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
bootstrap fix: 修复 anthropic 煞笔的四个 bug (#352) 2026-04-24 20:07:18 +08:00
bridge feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
buddy feat: 全部类型问题解决 2026-04-11 10:24:00 +08:00
cli feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
commands refactor: 解耦 BRIDGE_MODE 与 DAEMON,禁用 DAEMON 降低内存占用 2026-04-24 10:01:05 +08:00
components fix: 创建 agent 后刷新 loadMarkdownFilesForSubdir 缓存 2026-04-24 15:05:05 +08:00
constants fix: 修复 anthropic 煞笔的四个 bug (#352) 2026-04-24 20:07:18 +08:00
context feat: 添加工具类增强与状态管理改进 2026-04-22 22:38:10 +08:00
coordinator feat: 工具层及 mcp 大重构 (#252) 2026-04-13 09:52:05 +08:00
daemon Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
entrypoints refactor: 解耦 BRIDGE_MODE 与 DAEMON,禁用 DAEMON 降低内存占用 2026-04-24 10:01:05 +08:00
environment-runner feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除 2026-04-01 01:00:10 +08:00
hooks fix: 修复 usePipeIpc 中 require 返回 undefined 导致启动崩溃 2026-04-23 23:21:38 +08:00
jobs Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
keybindings feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
memdir Fixture/langfuse record auto mode data error (#308) 2026-04-20 13:30:05 +08:00
migrations feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
moreright 更新大量 tsx 原始文件; 已经迁移 login panel; 部分 (#121) 2026-04-04 23:24:27 +08:00
native-ts feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
outputStyles feat: build 2026-03-31 19:22:47 +08:00
plugins feat: 接入内建 weixin channel(同 #301 重构版本) (#303) 2026-04-19 21:33:27 +08:00
proactive Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
query fix: 修复对穷鬼模式的 auto dream 和 session memory 越过 2026-04-12 23:24:12 +08:00
remote feat(remote-control): 优化 Web 展示、状态同步与桥接控制流程 (#288) 2026-04-17 16:21:27 +08:00
schemas chore: 添加脚本与构建配置更新 2026-04-22 22:38:10 +08:00
screens chore: 添加脚本与构建配置更新 2026-04-22 22:38:10 +08:00
self-hosted-runner feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除 2026-04-01 01:00:10 +08:00
server feat: 全面清理类型错误 — tsc 零错误,any 标注全部消除 2026-04-01 01:00:10 +08:00
services fix: 修复 anthropic 煞笔的四个 bug (#352) 2026-04-24 20:07:18 +08:00
skills feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
ssh feat: 实现 SSH Remote — 本地 REPL + 远端工具执行 2026-04-24 14:25:56 +08:00
state feat: 正式启用 auto mode (#307) 2026-04-20 10:20:27 +08:00
tasks feat: ACP 协议版本 remote control (#293) 2026-04-18 21:54:22 +08:00
types feat(remote-control): 优化 Web 展示、状态同步与桥接控制流程 (#288) 2026-04-17 16:21:27 +08:00
upstreamproxy feat: 问就是封包 2026-03-31 23:32:58 +08:00
utils fix: 修复 Windows Node.js 构建产物因 stdin.ref() 泄漏导致进程挂起 (#353) 2026-04-24 21:16:15 +08:00
vim feat: build 2026-03-31 19:22:47 +08:00
voice feat: build 2026-03-31 19:22:47 +08:00
commands.ts refactor: 解耦 BRIDGE_MODE 与 DAEMON,禁用 DAEMON 降低内存占用 2026-04-24 10:01:05 +08:00
context.ts feat: build 2026-03-31 19:22:47 +08:00
cost-tracker.ts feat: ACP 协议版本 remote control (#293) 2026-04-18 21:54:22 +08:00
costHook.ts feat: build 2026-03-31 19:22:47 +08:00
dialogLaunchers.tsx chore: 添加脚本与构建配置更新 2026-04-22 22:38:10 +08:00
history.ts feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
interactiveHelpers.tsx feat: 正式启用 auto mode (#307) 2026-04-20 10:20:27 +08:00
main.tsx feat: 实现 SSH Remote — 本地 REPL + 远端工具执行 2026-04-24 14:25:56 +08:00
projectOnboardingState.ts feat: build 2026-03-31 19:22:47 +08:00
query.ts feat: 增强 auto mode 的易用性 (#312) 2026-04-20 21:13:09 +08:00
QueryEngine.ts fix: 修复 ACP 模式下 messageSelector require 失败导致 submitMessage 崩溃 2026-04-24 09:59:23 +08:00
replLauncher.tsx Revert "Revert "feat: 第一个可以用的 ink 组件抽象 (#158)" (#175)" 2026-04-07 16:17:48 +08:00
setup.ts feat: 添加服务层增强与零散改进 2026-04-22 22:38:10 +08:00
Task.ts feat: build 2026-03-31 19:22:47 +08:00
tasks.ts feat: build 2026-03-31 19:22:47 +08:00
Tool.ts feat: 增强 auto mode 的易用性 (#312) 2026-04-20 21:13:09 +08:00
tools.ts feat: 添加 skill learning 技能学习闭环系统 2026-04-22 22:38:09 +08:00