- Add hookPort, httpServer, lastHookTime, mu to Daemon struct - startHookServer binds HTTP on hookPort, degrades if port busy - Stop() closes httpServer before unix listener - pollLoop uses time.After(currentPollInterval()) instead of fixed ticker - currentPollInterval returns 20s when hooks active (<60s), 5s otherwise - processHookEvent records lastHookTime on each hook event Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2.9 KiB
2.9 KiB