Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

fallback

Julius Marminged5d88270f0d9
diff --git a/apps/server/src/telemetry/Identify.ts b/apps/server/src/telemetry/Identify.ts
index ec5c927d5..68fc312ad 100644
--- a/apps/server/src/telemetry/Identify.ts
+++ b/apps/server/src/telemetry/Identify.ts
@@ -60,14 +60,14 @@ const upsertAnonymousId = Effect.gen(function* () {
* 2. ~/.t3/telemetry/anonymous-id
*/
export const getTelemetryIdentifier = Effect.gen(function* () {
- const codexAccountId = yield* getCodexAccountId;
- if (codexAccountId) {
- return yield* hash(codexAccountId);
+ const codexAccountId = yield* Effect.result(getCodexAccountId);
+ if (codexAccountId._tag === "Success") {
+ return yield* hash(codexAccountId.success);
}
- const anonymousId = yield* upsertAnonymousId;
- if (anonymousId) {
- return yield* hash(anonymousId);
+ const anonymousId = yield* Effect.result(upsertAnonymousId);
+ if (anonymousId._tag === "Success") {
+ return yield* hash(anonymousId.success);
}
return null;