feat(web): add Memory Palace static viewer (#1061)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-02-20 12:00:55 -08:00
committed by GitHub
parent 2da31bf2f7
commit b622eca198
9 changed files with 2322 additions and 115 deletions

View File

@@ -16,12 +16,12 @@ const __dirname = dirname(__filename);
const pkg = JSON.parse(readFileSync(join(__dirname, "package.json"), "utf-8"));
const version = pkg.version;
const useMagick = Bun.env.USE_MAGICK;
const features = []
const features = [];
console.log(`📦 Building Letta Code v${version}...`);
if (useMagick) {
console.log(`🪄 Using magick variant of imageResize...`);
features.push("USE_MAGICK")
features.push("USE_MAGICK");
}
await Bun.build({
@@ -44,6 +44,7 @@ await Bun.build({
".md": "text",
".mdx": "text",
".txt": "text",
},
features: features,
});