Initial commit to new repository

This commit is contained in:
2026-04-03 18:22:19 +09:00
commit 4458bb0f52
7672 changed files with 452440 additions and 0 deletions

9
tmp_hook_check.cs Normal file
View File

@@ -0,0 +1,9 @@
using System;
using AxCopilot.Services;
using AxCopilot.Services.Agent;
var service = new TaskRunService();
service.ApplyAgentEvent(new AgentEvent { RunId = "run-hook", Type = AgentEventType.HookResult, ToolName = "file_write", Summary = "[Hook:precheck] ok", Success = true });
Console.WriteLine($"active={service.ActiveTasks.Count}, recent={service.RecentTasks.Count}");
foreach (var t in service.ActiveTasks) Console.WriteLine($"A {t.Id} {t.Kind} {t.Status} {t.Summary}");
foreach (var t in service.RecentTasks) Console.WriteLine($"R {t.Id} {t.Kind} {t.Status} {t.Summary}");