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

main
ts 25 lines 957 Bytes
Raw
1 import * as aiplatform from "@distilled.cloud/gcp/aiplatform_v1";
2 import * as Layer from "effect/Layer";
3 import { makeNamedHttpBinding } from "./BindingHttp.ts";
4 import { GetSandboxEnvironment } from "./GetSandboxEnvironment.ts";
5 import type { ReasoningEnginesSandboxEnvironment } from "./ReasoningEnginesSandboxEnvironment.ts";
6
7 /**
8 * HTTP implementation of {@link GetSandboxEnvironment}.
9 *
10 * @layer
11 * @provides GCP.AIPlatform.GetSandboxEnvironment
12 */
13 export const GetSandboxEnvironmentHttp = Layer.effect(
14 GetSandboxEnvironment,
15 makeNamedHttpBinding<
16 ReasoningEnginesSandboxEnvironment,
17 aiplatform.GetReasoningEnginesSandboxEnvironmentsRequest,
18 aiplatform.GoogleCloudAiplatformV1SandboxEnvironment,
19 aiplatform.GetReasoningEnginesSandboxEnvironmentsError
20 >({
21 tag: "GCP.AIPlatform.GetSandboxEnvironment",
22 operation: aiplatform.getReasoningEnginesSandboxEnvironments,
23 iam: { role: "roles/aiplatform.viewer" },
24 }),
25 );