feat: Implement initial backend indexer for vaults, supporting file system scanning, markdown parsing, and in-memory metadata indexing.

This commit is contained in:
2026-03-24 12:32:19 -04:00
parent d76ad89f09
commit d6ae501f51
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -604,7 +604,7 @@ async def api_vaults(current_user=Depends(require_auth)):
result = []
for name, data in index.items():
if "*" in user_vaults or name in user_vaults:
v_type = vault_config.get(name, {}).get("type", "VAULT")
v_type = data.get("config", {}).get("type", "VAULT")
result.append({
"name": name,
"file_count": len(data["files"]),