feat(cli): add admin reindex

This commit is contained in:
Andrey Avtomonov 2026-05-20 01:06:09 +02:00
parent 620d6adbe6
commit a4ae2213b4
53 changed files with 1527 additions and 393 deletions

View file

@ -205,11 +205,17 @@ class LocalKnowledgeIndex implements KnowledgeIndexPort {
return new Map();
}
async deleteStale(): Promise<void> {}
async deleteStale(): Promise<number> {
return 0;
}
async deleteByScope(): Promise<void> {}
async deleteByScope(): Promise<number> {
return 0;
}
async deleteByKey(): Promise<void> {}
async deleteByKey(): Promise<number> {
return 0;
}
async findPageByKey(scope: string, scopeId: string | null, pageKey: string) {
const path = this.pagePath(scope, scopeId, pageKey);