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

main
ts 46 lines 1.46 KB
Raw
1 import type * as aiplatform from "@distilled.cloud/gcp/aiplatform_v1";
2 import * as Binding from "alchemy/Binding";
3 import type { RuntimeContext } from "alchemy/RuntimeContext";
4 import type * as Effect from "effect/Effect";
5 import type { ReasoningEnginesSandboxEnvironment } from "./ReasoningEnginesSandboxEnvironment.ts";
6
7 export interface ResumeSandboxEnvironmentRequest extends Omit<
8 aiplatform.ResumeReasoningEnginesSandboxEnvironmentsRequest,
9 "name"
10 > {}
11
12 /**
13 * Runtime binding for Vertex AI `sandboxEnvironments.resume`.
14 *
15 * Bind this operation to a {@link ReasoningEnginesSandboxEnvironment} in
16 * a Function/Action init phase. Provide {@link ResumeSandboxEnvironmentHttp}.
17 *
18 * ### Resuming
19 * **Example:** Resume the bound sandbox
20 * ```typescript
21 * const resume = yield* GCP.AIPlatform.ResumeSandboxEnvironment(sandbox);
22 * yield* resume({ body: {} });
23 * ```
24 *
25 * @binding
26 * @category AIPlatform
27 */
28 export interface ResumeSandboxEnvironment extends Binding.Service<
29 ResumeSandboxEnvironment,
30 "GCP.AIPlatform.ResumeSandboxEnvironment",
31 (
32 sandbox: ReasoningEnginesSandboxEnvironment,
33 ) => Effect.Effect<
34 (
35 request?: ResumeSandboxEnvironmentRequest,
36 ) => Effect.Effect<
37 aiplatform.GoogleLongrunningOperation,
38 aiplatform.ResumeReasoningEnginesSandboxEnvironmentsError,
39 RuntimeContext
40 >
41 >
42 > {}
43
44 export const ResumeSandboxEnvironment = Binding.Service<ResumeSandboxEnvironment>(
45 "GCP.AIPlatform.ResumeSandboxEnvironment",
46 );