II.
HookSurface overview
Reference · livehook-surface:before-agent
Before Agent overview
Fires before an agent session begins. Allows initialization, environment setup, or agent configuration injection.
Attributes
displayName
Before Agent
hookPhase
pre
description
Fires before an agent session begins. Allows initialization,
environment setup, or agent configuration injection.
isNative
true
availableInProducts
Outgoing edges
None.
Incoming edges
exposes1
- agent-runtime-impl:gemini-cli.runtime@current·AgentRuntimeImplGemini CLI Runtime (current)
maps_hook1
- hook-mapping:before-agent-gemini·HookMapping