Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

refactor: extract guardBusy() to deduplicate 9 busy-check guards in session.ts

8 months ago

2a25bc0
Authored
Claude2/21/2026, 9:31:01 PM
Replace 9 identical busy/connecting guard blocks (8 lines each) with
calls to private guardBusy() helper method. Net -56 lines.

https://claude.ai/code/session_01RtCvoFGGgntzCR9jpsTyuh

Parent64b9442

1 file changed
  • src/server/session.ts+16−72