refactor(event): remove runHookSafely wrapper, align with upstream dispatch pattern
This commit is contained in:
@@ -45,4 +45,6 @@ export interface SkillLoadOptions {
|
|||||||
get(name: string): { name: string; description: string; location: string; content: string } | undefined | Promise<{ name: string; description: string; location: string; content: string } | undefined>
|
get(name: string): { name: string; description: string; location: string; content: string } | undefined | Promise<{ name: string; description: string; location: string; content: string } | undefined>
|
||||||
dirs(): string[] | Promise<string[]>
|
dirs(): string[] | Promise<string[]>
|
||||||
}
|
}
|
||||||
|
/** Project directory for skill discovery and base directory resolution. Should be ctx.directory from PluginContext. */
|
||||||
|
directory?: string
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user