import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdk-validation-error.js"; export type CheckpointHelixSessionRequestBody = {}; export type CheckpointHelixSessionRequest = { reference: string; body: CheckpointHelixSessionRequestBody; }; /** * A stored checkpoint of the agent’s own conversation state */ export type CheckpointHelixSessionResponse = { /** * Names the snapshot in a later restore. */ snapshotId: string; /** * Size of the captured file in RAW bytes, not base64. */ bytes: number; /** * sha256 of the raw bytes, hex. A restore re-reads this from the receiving box and refuses to switch the session if it differs. */ sha256: string; /** * The harness's OWN session id, from inside the file. Distinct from the control-plane sessionId, and the one that survives a restore. */ harnessSessionId: string; /** * Messages the harness reported at capture time. Never zero — a zero capture is refused. */ messageCount: number; /** * Where the file lived on the origin box. Diagnostic only — a restore derives its path from the RECEIVING box, since cwd is a per-session choice. */ sourcePath: string; /** * Where the settings-and-queue manifest was written in the object store, or null when this deployment has none. The manifest also holds the workspace and extension-state archive references. */ manifestKey: string | null; /** * Size of the workspace archive that travelled with this checkpoint. Null when none did. */ workspaceBytes: number | null; /** * How many files that archive holds. Null when no workspace travelled. */ workspaceFiles: number | null; /** * One line per leg that did NOT travel, each naming the leg and the reason. Empty means everything was captured. Read this before treating a 200 as a full-state checkpoint: a capture that stored the conversation and carried no workspace is a legitimate outcome and must not look like one that carried it. */ notCaptured: Array; }; /** @internal */ export type CheckpointHelixSessionRequestBody$Outbound = {}; /** @internal */ export declare const CheckpointHelixSessionRequestBody$outboundSchema: z.ZodMiniType; export declare function checkpointHelixSessionRequestBodyToJSON(checkpointHelixSessionRequestBody: CheckpointHelixSessionRequestBody): string; /** @internal */ export type CheckpointHelixSessionRequest$Outbound = { reference: string; body: CheckpointHelixSessionRequestBody$Outbound; }; /** @internal */ export declare const CheckpointHelixSessionRequest$outboundSchema: z.ZodMiniType; export declare function checkpointHelixSessionRequestToJSON(checkpointHelixSessionRequest: CheckpointHelixSessionRequest): string; /** @internal */ export declare const CheckpointHelixSessionResponse$inboundSchema: z.ZodMiniType; export declare function checkpointHelixSessionResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=checkpoint-helix-session.d.ts.map