Skip to main content

Module hook

Module hook 

Source
Expand description

Receiving agent lifecycle events and turning them into state changes.

Structs§

Delivery
One delivery: a payload plus the task it belongs to.
Payload
One hook event, with the fields marver reads lifted out of the raw JSON.
Receiver

Enums§

Error
Kind
The lifecycle events marver subscribes to.
Outcome
What a hook implies for a task, given where it currently is.

Functions§

apply
Record a hook and apply whatever state change it implies.
is_listening
Whether a daemon is listening on this socket.
send
Send one delivery to the daemon and close.
settings_for_task
The Claude Code settings a task’s agent runs with.
write_settings
Write a task’s settings file and return its path, for claude --settings.

Type Aliases§

Result