import{Bca as B,Jca as N,Maa as A,eba as L}from"./cli-0.5.12-g4wb8mj2.mjs";import{fga as z,iga as K}from"./cli-0.5.12-p5ps8gf0.mjs";import{$na as I,aoa as J}from"./cli-0.5.12-xzeb7mtb.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=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
export{P as JR,Q as KR,R as LR,H as MR,U as NR,V as OR,W as PR};
