import{Faa as B,H6 as L,Yaa as N,z6 as A}from"./cli-0.5.3-t65dek0m.mjs";import{Nfa as z,Qfa as K}from"./cli-0.5.3-n3cxyxpg.mjs";import{Wma as I,Xma as J}from"./cli-0.5.3-0df3r78b.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=B().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)A(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{N();K();L()});
export{P as pQ,Q as qQ,R as rQ,H as sQ,U as tQ,V as uQ,W as vQ};
