import{B6 as A,Haa as B,J6 as L,_aa as N}from"./cli-0.5.4-cbq01zg3.mjs";import{Pfa as z,Sfa as K}from"./cli-0.5.4-end8wj9r.mjs";import{Yma as I,Zma as J}from"./cli-0.5.4-aacw1src.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 rQ,Q as sQ,R as tQ,H as uQ,U as vQ,V as wQ,W as xQ};
