mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 03:59:34 +00:00
fix(security): harden hooks module loading
This commit is contained in:
@@ -75,7 +75,7 @@ export type HooksGmailConfig = {
|
||||
export type InternalHookHandlerConfig = {
|
||||
/** Event key to listen for (e.g., 'command:new', 'session:start') */
|
||||
event: string;
|
||||
/** Path to handler module (absolute or relative to cwd) */
|
||||
/** Path to handler module (workspace-relative) */
|
||||
module: string;
|
||||
/** Export name from module (default: 'default') */
|
||||
export?: string;
|
||||
|
||||
Reference in New Issue
Block a user