/**
 * Background remote-session eligibility — stub. RemoteAgentTask uses this
 * to decide whether the user can launch a background remote session;
 * with teleport removed in sandcode the precondition always fails with
 * a stable reason, and the local-only path is taken.
 */

export type BackgroundRemoteSessionPrecondition = {
  eligible: boolean
  reason?: string
}

export async function checkBackgroundRemoteSessionEligibility(): Promise<BackgroundRemoteSessionPrecondition> {
  return {
    eligible: false,
    reason: 'background remote sessions are not available in sandcode',
  }
}
