fix: Silence missing PostToolUse callbacks (#895)

Closes #889
This commit is contained in:
Ben Brandt
2026-07-20 13:43:08 +02:00
committed by GitHub
parent 06c3d7bdbd
commit 1887ada215
3 changed files with 41 additions and 20 deletions

View File

@@ -5081,7 +5081,7 @@ export class ClaudeAcpAgent {
...(userProvidedOptions?.hooks?.PostToolUse || []),
{
hooks: [
createPostToolUseHook(this.logger, {
createPostToolUseHook({
onEnterPlanMode: async () => {
await this.client.sessionUpdate({
sessionId,