@devries-cameron20 / t3code-1 / commits / 94ca023bf4
Fork 0

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

fix(server): repair ownership UUID generation (#19298)

Theo Browne committed Oct 14, 2026 at 01:03 UTC 94ca023bf488ac2d13e3233a7e2382ac67bda66d
1 file changed +3 -3
apps/server/src/serverOwnership.ts
+3 -3
@@ -94,9 +94,9 @@ export const acquireServerOwnership = Effect.fn("acquireServerOwnership")(functi
94 ) {
95 const stateDir = NodePath.dirname(statePath);
96 const crypto = yield* Crypto.Crypto;
97 - const ownerId = yield* crypto.randomUUIDv4.pipe(
98 - Effect.mapError((cause) => new ServerOwnershipError({ stateDir, cause })),
99 - );
97 + const ownerId = yield* crypto
98 + .randomUUIDv4()
99 + .pipe(Effect.mapError((cause) => new ServerOwnershipError({ stateDir, cause })));
100 yield* Effect.acquireRelease(
101 Effect.try({
102 try: () => {