Release v0.1.0 agent topology and runtime refresh

This commit is contained in:
lpf
2026-03-06 17:44:13 +08:00
parent ac5a1bfcb2
commit 7d9ca89476
34 changed files with 1216 additions and 1462 deletions

View File

@@ -44,7 +44,7 @@ func TestMaybeAutoRouteDispatchesExplicitAgentMention(t *testing.T) {
t.Cleanup(func() { runtimecfg.Set(config.DefaultConfig()) })
workspace := t.TempDir()
manager := tools.NewSubagentManager(nil, workspace, nil, nil)
manager := tools.NewSubagentManager(nil, workspace, nil)
manager.SetRunFunc(func(ctx context.Context, task *tools.SubagentTask) (string, error) {
return "auto-routed", nil
})
@@ -101,7 +101,7 @@ func TestMaybeAutoRouteDispatchesRulesFirstMatch(t *testing.T) {
t.Cleanup(func() { runtimecfg.Set(config.DefaultConfig()) })
workspace := t.TempDir()
manager := tools.NewSubagentManager(nil, workspace, nil, nil)
manager := tools.NewSubagentManager(nil, workspace, nil)
manager.SetRunFunc(func(ctx context.Context, task *tools.SubagentTask) (string, error) {
return "tested", nil
})