pub struct HookStatusConfig {
pub enabled: bool,
pub endpoint: String,
}Expand description
Hook-derived status-signal lane config (ticket
agent-hooks-status-signals, crate::hook_status): an OPTIONAL,
off-by-default observability lane for backends with a lifecycle-hook
surface (BackendKind::supports_hook_status_signals — cursor only
today). When enabled, worker sessions on hook-capable backends get a
per-run capability token + hook install that reports coarse signals
(“running” / “needs input” / “interrupted” / “turn finished”) to
endpoint; the signals land ONLY in the ephemeral .kranz/hook-status/
projection, never in mission state. When disabled (the default) every
session is byte-identical to today — no hook config anywhere.
Fields§
§enabled: boolMaster switch, off by default.
endpoint: StringThe full loopback signal POST URL the per-session relay
(kranz hook-status) delivers to — e.g.
http://127.0.0.1:4560/api/hook-status. Required when enabled;
config::validate refuses non-loopback or non-HTTP(S) values
(the per-run capability token rides this URL).
Trait Implementations§
Source§impl Clone for HookStatusConfig
impl Clone for HookStatusConfig
Source§fn clone(&self) -> HookStatusConfig
fn clone(&self) -> HookStatusConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more