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

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