import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * Active provisioning step, or null once provisioning has settled. */ export type Progress = { /** * Human-readable label of the active provisioning step. */ stepLabel: string; /** * One-based index of the active step. */ stepNumber: number; /** * Number of provisioning steps. */ totalSteps: number; }; /** * Lifecycle status. */ export declare const InternStatus: { readonly AwaitingSlackInstall: "awaiting_slack_install"; readonly Queued: "queued"; readonly Provisioning: "provisioning"; readonly Running: "running"; readonly Failed: "failed"; readonly Stopped: "stopped"; readonly Destroying: "destroying"; readonly DestroyFailed: "destroy_failed"; }; /** * Lifecycle status. */ export type InternStatus = OpenEnum; /** * Public lifecycle state and settings for one intern. */ export type Intern = { /** * Vault the intern borrows from another intern, or null when it borrows none. */ attachedVaultId: string | null; /** * ISO 8601 creation time. */ createdAt: string; /** * Free-form description. */ description: string | null; /** * Public hostname the intern is reachable at, or null until provisioning has assigned one. */ hostname: string | null; /** * Intern id. */ id: string; /** * Standing instructions the intern boots with. */ instructions: string | null; /** * Why the last provisioning attempt failed, when status is failed. */ lastFailureMessage: string | null; /** * OpenRouter model slug the intern runs, or null for the workspace default. */ model: string | null; /** * Intern name, unique per creator within a workspace. */ name: string; /** * Active provisioning step, or null once provisioning has settled. */ progress: Progress | null; /** * Lifecycle status. */ status: InternStatus; /** * ISO 8601 last update time. */ updatedAt: string; /** * Vault the intern owns, or null before it has been created. */ vaultId: string | null; /** * Workspace that owns the intern and scopes its secrets. */ workspaceId: string; }; /** @internal */ export declare const Progress$inboundSchema: z.ZodType; export declare function progressFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const InternStatus$inboundSchema: z.ZodType; /** @internal */ export declare const Intern$inboundSchema: z.ZodType; export declare function internFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=intern.d.ts.map