-
-
Notifications
You must be signed in to change notification settings - Fork 604
optimize IAgentHook use async method #1283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
Reviewed |
|
reviewed |
|
/describe /review /improve |
|
PR Description updated to latest commit (7c63258)
|
PR Type
Enhancement
Description
Convert IAgentHook interface methods to async Task-based pattern
Change OnAgentLoading to return nullable string for redirection
Update all hook implementations to use async/await pattern
Refactor HookEmitter calls to properly await async operations
Diagram Walkthrough
File Walkthrough
10 files
Convert interface methods to async Task patternImplement async Task-based hook methodsRefactor hook invocation to async/await patternUpdate A2A hook to async with proper await callsConvert BasicAgentHook to async Task patternUpdate routing hook methods to async TaskConvert MCP tool hook to async patternUpdate SQL planner hook to async Task patternConvert test hook to async Task patternUpdate PizzaBot hook to async Task pattern