refactor: Centralize tool scheduling logic and simplify React hook (#670)

This commit is contained in:
N. Taylor Mullen 2025-06-01 14:16:24 -07:00 committed by GitHub
parent edc12e416d
commit f2a8d39f42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 938 additions and 758 deletions

View file

@ -218,7 +218,7 @@ export interface ToolMcpConfirmationDetails {
serverName: string;
toolName: string;
toolDisplayName: string;
onConfirm: (outcome: ToolConfirmationOutcome) => Promise<void> | void;
onConfirm: (outcome: ToolConfirmationOutcome) => Promise<void>;
}
export type ToolCallConfirmationDetails =