feat(plugin): add dispose hook (#29493)

This commit is contained in:
Aiden Cline 2026-05-26 21:21:53 -05:00 committed by GitHub
commit 519d344470
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View file

@ -220,6 +220,7 @@ export type ProviderHook = {
export type AuthOuathResult = AuthOAuthResult
export interface Hooks {
dispose?: () => Promise<void>
event?: (input: { event: Event }) => Promise<void>
config?: (input: Config) => Promise<void>
tool?: {