@devries-cameron20 / t3code Mirror · read-only
Fork 0

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, 06:00 UTC

main
ts 17 lines 598 Bytes
Raw
1 import * as Effect from "effect/Effect";
2 import { MinimumLogLevel } from "effect/References";
3
4 export const logLevel = Effect.provideService(
5 MinimumLogLevel,
6 process.env.DEBUG ? "Debug" : "Info",
7 );
8
9 export const enterpriseId =
10 process.env.GCP_ANDROIDENTERPRISE_ENTERPRISE_ID?.trim() ||
11 process.env.GCP_ANDROID_ENTERPRISE_ID?.trim();
12
13 // Needs an EMM-bound managed Google Play enterprise
14 // (GCP_ANDROIDENTERPRISE_ENTERPRISE_ID); EMM access is partner-allowlisted.
15 export const runLifecycle = !!enterpriseId;
16
17 export const probeEnterpriseId = enterpriseId ?? "alchemy-missing-enterprise";