1pub mod builtin;
4pub mod error;
5pub mod event;
6pub mod handler;
7pub mod install;
8#[cfg(feature = "wasm")]
9pub mod lifecycle;
10pub mod manifest;
11pub mod registry;
12pub mod resolution;
13#[cfg(feature = "wasm")]
14pub mod wasm;
15
16pub use builtin::LoggingHandler;
17pub use error::HookError;
18pub use event::{
19 ALL_HOOK_EVENT_KINDS, BudgetKind, HookEvent, HookEventKind, ToolObservation, TurnEndReason,
20 TurnId, TurnStatus,
21};
22pub use handler::{HookContext, HookHandler, HookResult};
23pub use install::{InstallError, install_bundle, install_bundle_with_guard};
24pub use manifest::{
25 BundleManifest, BundleMetadata, CompatibleManifest, LanguageProviderDeclaration, ManifestError,
26 MigrationOptions, PluginHook, PluginManifest, PluginMetadata, PluginSkill, PluginTool,
27 migrate_legacy_manifest, parse_compatible_manifest,
28};
29pub use registry::{HookOutcome, HookRegistration, HookRegistry};
30pub use resolution::{
31 ResolutionConsent, ResolutionError, ResolutionLimits, ResolutionRequest, ResolutionResult,
32 resolve_verified_bundle,
33};
34#[cfg(feature = "wasm")]
35pub use wasm::{LoadedLanguageProvider, WasmLanguageProvider, load_declared_language_provider};