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
| 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); |