grok-build-upstream-mirror/crates/codegen/xai-agent-lifecycle/src/lib.rs
grokkybara[bot] c68e39f604 Publish harness and TUI open-source
initial sync from the monorepo
2026-07-16 06:46:02 +01:00

17 lines
858 B
Rust

//! Host-agnostic agent lifecycle hooks shared by multiple agent hosts (e.g. xai-grok-shell).
//! Contributors receive data-only per-hook inputs at dispatch time; anything they act through is a
//! capability injected at install time, and they never own loop control.
pub mod local;
pub mod send;
pub use local::{
LocalCommandContributor, LocalExtensionRegistry, LocalExtensionRegistryBuilder,
LocalSessionLifecycleContributor, LocalTurnInputContributor, LocalTurnLifecycleContributor,
};
pub use send::{
CommandAction, CommandContributor, CommandInvocation, CommandSpec, ExtensionRegistry,
ExtensionRegistryBuilder, SessionIdleInput, SessionLifecycleContributor, TurnAbortInput,
TurnAbortReason, TurnDoneInput, TurnErrorInput, TurnInputContext, TurnInputContributor,
TurnInputFragment, TurnLifecycleContributor, TurnStartInput,
};