Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hooks ¶
type Hooks struct {
PreToolUse []PreToolUse
PostToolUse []PostToolUse
UserPromptSubmit []UserPromptSubmit
SessionStart []SessionStart
SessionEnd []SessionEnd
SubagentStop []SubagentStop
PreCompact []PreCompact
}
type PostToolUse ¶
type PreCompact ¶ added in v0.11.2
PreCompact runs before proactive compaction; an error skips the compaction. Reactive overflow compaction is never blocked.
type SessionEnd ¶ added in v0.11.2
SessionEnd runs when the session closes.
type SessionStart ¶ added in v0.11.2
SessionStart runs once before an agent's first turn. A non-empty return value is injected as hidden context.
type SubagentStop ¶ added in v0.11.2
SubagentStop observes a completed subagent run.
Click to show internal directories.
Click to hide internal directories.