feat: map overlays, identity restore, settings, conversations, and i18n updates

This commit is contained in:
Ivan 2026-07-10 00:57:53 -05:00
parent db8a58536a
commit c2a183d688
No known key found for this signature in database
125 changed files with 8786 additions and 905 deletions

View file

@ -1,6 +1,7 @@
/**
* Copy docs/ tree into meshchatx/src/frontend/public/meshchatx-docs/ for in-app serving.
* Source of truth: docs/ at repo root.
* Skips docs/agents/ (contributor/agent guidance, not end-user docs).
*/
const fs = require("fs");
@ -11,12 +12,17 @@ const srcDir = path.join(root, "docs");
const destDir = path.join(root, "meshchatx", "src", "frontend", "public", "meshchatx-docs");
const COPY_EXTENSIONS = new Set([".md", ".txt", ".json"]);
const SKIP_TOP_LEVEL_DIRS = new Set(["agents"]);
function walkSync(dir, callback) {
function walkSync(dir, callback, relBase = "") {
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {
const rel = relBase ? path.join(relBase, entry.name) : entry.name;
if (!relBase && entry.isDirectory() && SKIP_TOP_LEVEL_DIRS.has(entry.name)) {
continue;
}
const fullPath = path.join(dir, entry.name);
if (entry.isDirectory()) {
walkSync(fullPath, callback);
walkSync(fullPath, callback, rel);
} else {
callback(fullPath);
}