rtk-ai/rtk

Add timeout to hook

開放

#218 建立於 2026年2月19日

 (2 則留言) (0 個反應) (0 位負責人)Rust (2,914 個分叉)batch import
area:configeffort-smallenhancementgood first issuepriority:low

倉庫指標

星標
 (48,085 顆星)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

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
}

貢獻者指南