feat(acp): handler refactor + sessions REST endpoints (list/create/get/delete/events)

This commit is contained in:
2026-05-07 14:34:47 +08:00
parent 26011975b4
commit 72cd353757
4 changed files with 232 additions and 9 deletions
+3
View File
@@ -46,6 +46,9 @@ func mountHandlerWithRepo(t *testing.T, callerUID uuid.UUID, isAdmin bool, repo
r := chi.NewRouter()
h := acp.NewHandler(
svc,
nil, // sessSvc — not exercised by agent-kinds tests
nil, // sup — not exercised by agent-kinds tests
nil, // repo — not exercised by agent-kinds tests
fakeResolver{uid: callerUID},
fakeAdminLookup{admin: map[uuid.UUID]bool{callerUID: isAdmin}},
enc,