feat: add session-scoped workflow approval gate commands
This commit is contained in:
@@ -221,6 +221,11 @@ export class ToolExecutor {
|
||||
const hookResult = await this.hooks.requestConfirmation(
|
||||
toolName,
|
||||
args as Record<string, unknown>,
|
||||
{
|
||||
sessionId: context?.sessionId,
|
||||
channel: context?.channel,
|
||||
sender: context?.sender,
|
||||
},
|
||||
);
|
||||
|
||||
auditLogger?.toolApproval({
|
||||
|
||||
Reference in New Issue
Block a user