feat: ASRX hybrid pipeline, identity history, worker fixes, checkpoint system

This commit is contained in:
Accusys
2026-06-02 07:13:23 +08:00
parent e3066c3f49
commit e1572907ae
198 changed files with 43705 additions and 8910 deletions
+16
View File
@@ -0,0 +1,16 @@
import { vi } from 'vitest'
const mockStorage = new Map<string, string>()
Object.defineProperty(globalThis, 'localStorage', {
value: {
getItem: (key: string) => mockStorage.get(key) ?? null,
setItem: (key: string, value: string) => mockStorage.set(key, String(value)),
removeItem: (key: string) => mockStorage.delete(key),
clear: () => mockStorage.clear(),
get length() { return mockStorage.size },
key: (index: number) => [...mockStorage.keys()][index] ?? null,
},
configurable: true,
writable: true,
})