@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 6 lines 361 Bytes
Raw
1 // Carry Instant mode in the persisted local identity so Worker bindings and
2 // per-operation platform proxies select the same simulator behavior after reload.
3 const prefix = "dev:kv-instant:";
4
5 export const createInstantNamespaceLocalId = () => `${prefix}${crypto.randomUUID()}`;
6 export const isInstantNamespaceLocalId = (id: string) => id.startsWith(prefix);