fix: dispatch before_tool_call and after_tool_call hooks from both tool execution paths (openclaw#15012) thanks @Patrick-Barletta

Verified:
- pnpm check

Co-authored-by: Patrick-Barletta <67929313+Patrick-Barletta@users.noreply.github.com>
This commit is contained in:
Patrick Barletta
2026-02-12 16:48:11 -08:00
committed by GitHub
parent da2d09f57a
commit d34138dfee
8 changed files with 107 additions and 29 deletions

View File

@@ -575,6 +575,7 @@ export function subscribeEmbeddedPiSession(params: SubscribeEmbeddedPiSessionPar
log,
blockChunking,
blockChunker,
hookRunner: params.hookRunner,
shouldEmitToolResult,
shouldEmitToolOutput,
emitToolSummary,