Gemini CLI Fix: Correct SubagentStop Event Key Case

0717lee · ghdev · 2026-08-29

This PR fixes a bug in the gemini-cli hooks migration tool. Because EVENTMAPPING used SubAgentStop (capital 'A') instead of the correct SubagentStop, the SubagentStop hook was silently dropped during migration from Claude Code instead of being mapped to AfterAgent. The change corrects the key name in migrate.ts and updates the related tests.

Original post →

More from coding & agent

coding & agent channel →