// GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "../AbsolutePathBuf"; import type { LegacyAppPathString } from "../LegacyAppPathString"; import type { MultiAgentMode } from "../MultiAgentMode"; import type { ReasoningEffort } from "../ReasoningEffort"; import type { ActivePermissionProfile } from "./ActivePermissionProfile"; import type { ApprovalsReviewer } from "./ApprovalsReviewer"; import type { AskForApproval } from "./AskForApproval"; import type { SandboxPolicy } from "./SandboxPolicy"; import type { Thread } from "./Thread"; import type { TurnsPage } from "./TurnsPage"; export type ThreadResumeResponse = { thread: Thread, model: string, modelProvider: string, serviceTier: string | null, cwd: AbsolutePathBuf, /** * Thread-scoped runtime workspace roots used to materialize * `:workspace_roots`. */ runtimeWorkspaceRoots: Array, /** * Environment-native paths to instruction source files currently loaded for this thread. */ instructionSources: Array, approvalPolicy: AskForApproval, /** * Reviewer currently used for approval requests on this thread. */ approvalsReviewer: ApprovalsReviewer, /** * Legacy sandbox policy retained for compatibility. Experimental clients * should prefer `activePermissionProfile` for profile provenance. */ sandbox: SandboxPolicy, /** * Named or implicit built-in profile that produced the active * permissions, when known. */ activePermissionProfile: ActivePermissionProfile | null, reasoningEffort: ReasoningEffort | null, /** * @deprecated Always `explicitRequestOnly`. Use `reasoningEffort` for Ultra behavior. */ multiAgentMode: MultiAgentMode, /** * `thread/turns/list` page returned when requested by `initialTurnsPage`. */ initialTurnsPage: TurnsPage | null, /** * Opaque cursor for hydrating paginated turns backwards. * * Pass this as `cursor` to `thread/turns/list` with * `sortDirection: "desc"`. The first page includes the turn identified by the cursor. */ turnsBackwardsCursor: string | null, /** * Opaque cursor for hydrating paginated items backwards. * * Pass this as `cursor` to `thread/items/list` with * `sortDirection: "desc"`. The first page includes the item identified by the cursor. */ itemsBackwardsCursor: string | null, };