Documentation
¶
Overview ¶
Package agenthookdefs defines baum's local coding-agent plugin events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UserDispatcher ¶
UserDispatcher is the command in baum's marketplace plugins. Keep it stable because coding agents remember trust by the exact command string.
func ValidateUserWide ¶
ValidateUserWide accepts only events shipped by baum's local plugins.
Types ¶
type Placement ¶
type Placement struct {
Event string
HookEvent string
Matcher *string
Timeout int
// Async runs the hook in the background (Claude Code's "async"), so a
// hook that fires on every tool call never makes the agent wait for it.
Async bool
}
func UserWidePlacement ¶
UserWidePlacement returns the placement of an agent's user-wide hook for an event.
type UserWide ¶
type UserWide struct {
Placements []Placement
}
UserWide describes the events a user-scoped marketplace plugin runs.
func LookupUserWide ¶
LookupUserWide returns an agent's user-wide hook settings. Only Claude Code and Codex have them.
Click to show internal directories.
Click to hide internal directories.