Release 0.0.5

This commit is contained in:
2026-04-20 21:02:04 +00:00
parent 5e1096ebae
commit f3ed47420b
4 changed files with 28 additions and 19 deletions

View File

@@ -48,6 +48,7 @@ async function* listWorldSources() {
const collectionsDir = path.join(dataRoot, "worlds", worldId, "data");
const collectionNames = await fs.readdir(collectionsDir);
for (const collectionName of collectionNames.sort()) {
if (collectionName === "messages") continue;
const dbPath = path.join(collectionsDir, collectionName);
const db = new ClassicLevel(dbPath, { keyEncoding: "utf8", valueEncoding: "json" });
await db.open();