package com.gzzm.lobster.common;

/**
 * 用户可见的 thread 状态投影 / User-visible thread state projection.
 *
 * <p>由 {@code ThreadStatusMapper} 根据 lifecycleState / activeRunCount /
 * latestRunExitReason / hasOpenPendingRequest 组合计算而成。
 * Computed by ThreadStatusMapper from internal signals.
 */
public enum UserVisibleThreadState {
    /** 进行中 / Active — a run is currently executing */
    active,
    /** 空闲 / Idle — thread exists but nothing in progress */
    idle,
    /** 需要处理 / Needs attention — has open pending request */
    needs_attention,
    /** 已归档 / Archived */
    archived
}
