// 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 { AskForApproval } from "./AskForApproval";
import type { EventMsg } from "./EventMsg";
import type { IdentityKind } from "./IdentityKind";
import type { ReasoningEffort } from "./ReasoningEffort";
import type { SandboxPolicy } from "./SandboxPolicy";
import type { ThreadId } from "./ThreadId";

export type SessionConfiguredEvent = { session_id: ThreadId, forked_from_id: ThreadId | null,
/**
 * Optional user-facing thread name (may be unset).
 */
thread_name?: string,
/**
 * Tell the client what model is being queried.
 */
model: string,
/**
 * Identity currently active for this session.
 */
identity_kind: IdentityKind, model_provider_id: string,
/**
 * When to escalate for approval for execution
 */
approval_policy: AskForApproval,
/**
 * How to sandbox commands executed in the system
 */
sandbox_policy: SandboxPolicy,
/**
 * Working directory that should be treated as the *root* of the
 * session.
 */
cwd: string,
/**
 * The effort the model is putting into reasoning about the user's request.
 */
reasoning_effort: ReasoningEffort | null,
/**
 * Identifier of the history log file (inode on Unix, 0 otherwise).
 */
history_log_id: bigint,
/**
 * Current number of entries in the history log.
 */
history_entry_count: number,
/**
 * Optional initial messages (as events) for resumed sessions.
 * When present, UIs can use these to seed the history.
 */
initial_messages: Array<EventMsg> | null,
/**
 * Path in which the rollout is stored. Can be `None` for ephemeral threads
 */
rollout_path: string | null, };
