feat(agent): replace isAi with sessionId & implement admin logs UI

This commit is contained in:
yiling
2026-05-21 14:58:31 +08:00
parent 2a4594d986
commit 161ba3a466
24 changed files with 781 additions and 91 deletions
+2 -2
View File
@@ -157,7 +157,7 @@ describe('file api', () => {
mentions: [],
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
isAi: false,
sessionId: null,
})
const app = new Hono().use('*', authMiddleware).route('/', fileRoute)
@@ -200,7 +200,7 @@ describe('file api', () => {
mentions: [],
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
isAi: false,
sessionId: null,
},
],
pageInfo: { cursor: 'cursor', total: 1 },