[Bug] Agent teams crash when team members request permission: getAppState is not a function
Resolved 💬 3 comments Opened Apr 16, 2026 by yasen-dataArt Closed Apr 18, 2026
Bug Description
Agent teams is broken - the moment team members need to ask for permission claude code crashes with this error: ERROR H.toolUseContext.getAppState is not a function. (In 'H.toolUseContext.getAppState()', 'H.toolUseContext.getAppState' is undefined)
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.111
- Feedback ID: 735c3856-a4e9-4867-979a-4e7723df3417
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for ~/.local/share/claude/versions/2.1.111 (expected in multi-process scenarios)\n at Kd_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n at qe6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T19:05:23.450Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗