GUIDE / MOUNT
Mount a pack
Mounting validates an artifact and exposes a read-only Knowledge Image handle.
01Browser mounting
Fetch an immutable blob URL and pass a Uint8Array to mountPack from @knolo/core 5.5.0. The Hub playground GETs the listing blobUrl, checks sha256, then dynamically imports @knolo/core. V5 images may be ordinary or VQF-1 compressed; mountKnowledgeImageV5 reconstructs logical object bytes. The package is JavaScript (no WASM) and is not loaded on other Hub routes. If CORS blocks the GET, configure the public Blob store; Hub will not proxy the file.
import { mountPack } from "@knolo/core";
const ab = await (await fetch(PACK_URL)).arrayBuffer();
const pack = await mountPack({ src: new Uint8Array(ab) });02Node filesystem mounting
For Node applications with local filesystem access, use the node entrypoint.
import { mountPack } from "@knolo/core/node";
const pack = await mountPack({
src: "./knowledge.knolo",
});