import * as z from "zod/v4-mini"; import { Schemadefaul7Open } from "./schemadefaul7.js"; /** * Which launcher arm to run. `classic` = `helix …` (orchestrator loaded), `prime` = `helix --prime …`, `agent` = `helix agent …`. Defaults to `agent`. */ export declare enum ModeArmModel2Arm { Classic = "classic", Prime = "prime", Agent = "agent" } /** * Per-session override of what continuous capture carries. */ export type ModeArmModel2Capture = { /** * Archive this session's working directory at every consistency point. Overrides the definition's `capture.workspace` for this session only; `false` records the leg as disabled in every checkpoint manifest the session produces, so a restore says "disabled" rather than "did not travel". */ workspace?: boolean | undefined; }; export type ModeArmModel2 = { /** * Defaults to `oneshot` — the pre-existing behaviour. `rpc` starts a duplex session that emits `rpc` events on the stream and accepts `POST /:id/input`. */ mode?: Schemadefaul7Open | undefined; /** * Which launcher arm to run. `classic` = `helix …` (orchestrator loaded), `prime` = `helix --prime …`, `agent` = `helix agent …`. Defaults to `agent`. */ arm?: ModeArmModel2Arm | undefined; /** * The `provider/model` to run, from the workspace's Helix Cloud model list (GET /api/sandbox/helix/defaults, or `mutagent helix models`). Omitted: the workspace default; none configured: 428. A value outside the list is a 422 that names the list. Equivalent to `--model` in `args`; if both are given they must name the same model, or the request is a 422. A `--model` in `args` with no value is a 422 too, and so is more than one `--model` there, or any `--provider` or `--models`: the harness runs the last `--model`, and those flags change which model it resolves. */ model?: string | undefined; /** * Arguments for the Helix binary. Omitted starts it with none. */ args?: Array | undefined; /** * Per-call environment, merged OVER the sandbox's own scoped material and OVER `environment`. Rides the invocation payload, so it does not mint a new Runtime. */ env?: { [k: string]: string; } | undefined; /** * A workspace Environment (GET /api/sandbox/environments) to load into this session, resolved server-side and layered UNDER `env`. 404 when the workspace has none by that name. */ environment?: string | undefined; /** * Working directory for the agent. Omitted, an `rpc` session runs in `$HOME` (writable by construction); `oneshot` inherits the server cwd exactly as it always has. */ cwd?: string | undefined; /** * Per-session override of what continuous capture carries. */ capture?: ModeArmModel2Capture | undefined; }; /** @internal */ export declare const ModeArmModel2Arm$outboundSchema: z.ZodMiniEnum; /** @internal */ export type ModeArmModel2Capture$Outbound = { workspace?: boolean | undefined; }; /** @internal */ export declare const ModeArmModel2Capture$outboundSchema: z.ZodMiniType; export declare function modeArmModel2CaptureToJSON(modeArmModel2Capture: ModeArmModel2Capture): string; /** @internal */ export type ModeArmModel2$Outbound = { mode: string; arm: string; model?: string | undefined; args?: Array | undefined; env?: { [k: string]: string; } | undefined; environment?: string | undefined; cwd?: string | undefined; capture?: ModeArmModel2Capture$Outbound | undefined; }; /** @internal */ export declare const ModeArmModel2$outboundSchema: z.ZodMiniType; export declare function modeArmModel2ToJSON(modeArmModel2: ModeArmModel2): string; //# sourceMappingURL=mode-arm-model2.d.ts.map