gemini-cli
gemini-cli copied to clipboard
Hooks - continue=false Behavior
The continue field in hook outputs is intended to stop execution with a user-facing reason. Currently, the implementation may treat continue=false identically to decision=block in some contexts. The distinction needs clarification and potentially separate handling.
Code Location:
- packages/core/src/hooks/types.ts:151-153 -
shouldStopExecution()method - packages/core/src/hooks/hookAggregator.ts - Aggregation logic for continue field
- packages/core/src/hooks/hookEventHandler.ts - Processing of continue decisions