// The origin-wide package store's Cache Storage names: the kernel writes them, and the // host can measure or clear them without booting a runtime. export const PACKAGE_STORES = { packages: "nib-npm-packages-v1", metadata: "nib-npm-meta-v1", index: "nib-npm-index-v1" } as const; /** Caches older store layouts wrote, which the store deletes: tarballs by URL * (niw-npm-v1), then this layout under the engine's former niw prefix. */ export const LEGACY_PACKAGE_STORES = ["niw-npm-v1", "niw-npm-packages-v1", "niw-npm-meta-v1", "niw-npm-index-v1"] as const; /** Where kernel/kept-dirs.ts keeps directories across page loads, under their own budget. */ export const KEPT_DIRS_STORES = { dirs: "nib-kept-dirs-v1", index: "nib-kept-dirs-index-v1" } as const;