@runloop/remote-agents-sdk
    Preparing search index...

    Type Alias ThreadForkParams

    There are two ways to fork a thread:

    1. By thread_id: load the thread from disk by thread_id and fork it into a new thread.
    2. By path: load the thread from disk by path and fork it into a new thread.

    If using a non-empty path, the thread_id param will be ignored. Empty string path values are treated as absent.

    Prefer using thread_id whenever possible.

    type ThreadForkParams = {
        approvalPolicy?: AskForApproval | null;
        approvalsReviewer?: ApprovalsReviewer | null;
        baseInstructions?: string | null;
        config?: { [key in string]?: JsonValue } | null;
        cwd?: string | null;
        developerInstructions?: string | null;
        ephemeral?: boolean;
        lastTurnId?: string | null;
        model?: string | null;
        modelProvider?: string | null;
        sandbox?: SandboxMode | null;
        serviceTier?: string | null | null;
        threadId: string;
        threadSource?: ThreadSource | null;
    }
    Index

    Properties

    approvalPolicy?: AskForApproval | null
    approvalsReviewer?: ApprovalsReviewer | null
    baseInstructions?: string | null
    config?: { [key in string]?: JsonValue } | null
    cwd?: string | null
    developerInstructions?: string | null
    ephemeral?: boolean
    lastTurnId?: string | null
    model?: string | null
    modelProvider?: string | null
    sandbox?: SandboxMode | null
    serviceTier?: string | null | null
    threadId: string
    threadSource?: ThreadSource | null