rtk-ai/rtk

Add timeout to hook

Open

#218 建立於 2026年2月19日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Rust (48,085 star) (2,914 fork)batch import
effort-smallenhancementgood first issue

描述

Per https://github.com/move-hoon/claude-pro-minmax/issues/3#issuecomment-3925175265:

The RTK hook is missing a timeout. CPMM's hook has a 5s limit, but if RTK hangs, Claude will stall indefinitely.

{
  "type": "command",
  "command": "/Users/brucedarcus/.claude/hooks/rtk-rewrite.sh",
  "timeout": 10
}

貢獻者指南