mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
b3095679ed
Allow hooks to return errors. We should do this before introducing more hook types, or we'll have to migrate them all.
20 lines
533 B
Rust
20 lines
533 B
Rust
mod registry;
|
|
mod types;
|
|
mod user_notification;
|
|
|
|
pub use registry::Hooks;
|
|
pub use registry::HooksConfig;
|
|
pub use registry::command_from_argv;
|
|
pub use types::Hook;
|
|
pub use types::HookEvent;
|
|
pub use types::HookEventAfterAgent;
|
|
pub use types::HookEventAfterToolUse;
|
|
pub use types::HookPayload;
|
|
pub use types::HookResponse;
|
|
pub use types::HookResult;
|
|
pub use types::HookToolInput;
|
|
pub use types::HookToolInputLocalShell;
|
|
pub use types::HookToolKind;
|
|
pub use user_notification::legacy_notify_json;
|
|
pub use user_notification::notify_hook;
|