Initial Commit

This commit is contained in:
2026-05-27 23:47:53 +01:00
parent fbc70f96e6
commit 9b28db724f
18103 changed files with 1600554 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/** Maximum length of a caller-supplied key. localStorage entries are
* comparatively expensive so this cap is tighter than OPFS (1024). */
export const MAX_KEY_LENGTH = 256;
/** Default namespace prefix applied to every wire key. */
export const DEFAULT_NAMESPACE = "suaveplan:storage";
/** Current envelope schema version. Bumped on incompatible wire changes. */
export const ENVELOPE_VERSION = 1;
/** Sentinel key written by `isLocalStorageAvailable()` to probe write access. */
export const SENTINEL_KEY = "__suaveplan_localstorage_probe__";