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 25, 08:45 UTC
fallback
Julius Marminge committed
Mar 5, 2026 at 17:58 UTC
d5d88270f0d9cdc9797a650ed6ccace28cb1dc39
1 file changed
+6
-6
apps/server/src/telemetry/Identify.ts
+6
-6
@@ -60,14 +60,14 @@ const upsertAnonymousId = Effect.gen(function* () {
60
* 2. ~/.t3/telemetry/anonymous-id
61
*/
62
export const getTelemetryIdentifier = Effect.gen(function* () {
63
- const codexAccountId = yield* getCodexAccountId;
64
- if (codexAccountId) {
65
- return yield* hash(codexAccountId);
63
+ const codexAccountId = yield* Effect.result(getCodexAccountId);
64
+ if (codexAccountId._tag === "Success") {
65
+ return yield* hash(codexAccountId.success);
66
}
67
68
- const anonymousId = yield* upsertAnonymousId;
69
- if (anonymousId) {
70
- return yield* hash(anonymousId);
68
+ const anonymousId = yield* Effect.result(upsertAnonymousId);
69
+ if (anonymousId._tag === "Success") {
70
+ return yield* hash(anonymousId.success);
71
}
72
73
return null;