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

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