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

main
ts 17 lines 787 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 // Tag templates moved to Dataplex; projects without legacy Data Catalog
11 // access get DataCatalogDeprecated ("Project … is not allowed to perform read operations
12 // due to Data Catalog deprecation."). Set GCP_TEST_DATACATALOG_TAG_TEMPLATES=1
13 // on a project that still has tag-template access.
14 export const runTagTemplateLifecycle = !!process.env.GCP_TEST_DATACATALOG_TAG_TEMPLATES;
15
16 export const currentProject = GcpEnvironment.current.pipe(Effect.map((env) => env.project));
17 export const location = "us-central1";