From b2a841349ec6c5b59e8253160536aa202a93449b Mon Sep 17 00:00:00 2001 From: Michel Osswald Date: Sun, 26 Apr 2026 21:41:33 +0200 Subject: [PATCH] feat(agent): add hook metadata fields --- kontext/agent/v1/agent.proto | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kontext/agent/v1/agent.proto b/kontext/agent/v1/agent.proto index 768269f..2442407 100644 --- a/kontext/agent/v1/agent.proto +++ b/kontext/agent/v1/agent.proto @@ -43,6 +43,10 @@ message ProcessHookEventRequest { bytes tool_response = 6; // JSON-encoded tool response (PostToolUse only) string tool_use_id = 7; string cwd = 8; + optional string permission_mode = 9; + optional int64 duration_ms = 10; + optional string error = 11; + optional bool is_interrupt = 12; } message ProcessHookEventResponse {