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

main
ts 17 lines 676 Bytes
Raw
1 import { GcpEnvironment } from "@alchemy.run/gcp/Environment";
2 import * as Effect from "effect/Effect";
3 import { MinimumLogLevel } from "effect/References";
4
5 export const logLevel = Effect.provideService(
6 MinimumLogLevel,
7 process.env.DEBUG ? "Debug" : "Info",
8 );
9
10 export const runLifecycle = !process.env.FAST;
11
12 export const currentProject = GcpEnvironment.current.pipe(Effect.map((env) => env.project));
13 export const location = "us-central1";
14 /** Analytics Hub listings/query templates delete reliably in the US multi-region. */
15 export const hubLocation = "US";
16 export const primaryContactOf = (project: string) =>
17 `alchemy-testing@${project}.iam.gserviceaccount.com`;