mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Allow hooks to error (#11615)
Allow hooks to return errors. We should do this before introducing more hook types, or we'll have to migrate them all.
This commit is contained in:
1 parent
825a4af42f
commit
b3095679ed
6 files changed
+251
-43
No files matched your search
@@ -9,8 +9,9 @@ pub use types::Hook;
|
||||
pub use types::HookEvent;
|
||||
pub use types::HookEventAfterAgent;
|
||||
pub use types::HookEventAfterToolUse;
|
||||
pub use types::HookOutcome;
|
||||
pub use types::HookPayload;
|
||||
pub use types::HookResponse;
|
||||
pub use types::HookResult;
|
||||
pub use types::HookToolInput;
|
||||
pub use types::HookToolInputLocalShell;
|
||||
pub use types::HookToolKind;
|
||||
|
||||
Reference in new issue
Block a user