feat(agent): harden loop recovery and permission hook lifecycle
Some checks failed
Release Gate / gate (push) Has been cancelled

This commit is contained in:
2026-04-03 19:24:08 +09:00
parent 0c3921feb5
commit 5de5c74040
8 changed files with 523 additions and 115 deletions

View File

@@ -154,7 +154,7 @@ public partial class AgentLoopService
try
{
var input = call.ToolInput ?? JsonDocument.Parse("{}").RootElement;
var result = await ExecuteToolWithTimeoutAsync(tool, call.ToolName, input, context, ct);
var result = await ExecuteToolWithTimeoutAsync(tool, call.ToolName, input, context, messages, ct);
sw.Stop();
return (call, result, sw.ElapsedMilliseconds);
}