import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{un as t}from"./app-initial~avatarOverlayCompositionSurface~index-9fQ9wihu~index-BFCcxPM5~mapbox-gl-DVWlwqb~kppdhley-CabsBVhy.js";import{C as n,Fl as r,S as i,xl as a}from"./app-initial~avatarOverlayCompositionSurface~artifact-tab-content.electron~notebook-preview-~ngwudnyz-D_QFwR2V.js";import{ai as o,ni as s,oi as c,ri as l}from"./app-initial~artifact-tab-content.electron~notebook-preview-panel~app-main~business-checkout~oxnpxkxc-CRvN_72X.js";import{E as u,T as d}from"./app-initial~app-main~new-thread-panel-page~onboarding-page~appgen-library-page~hotkey-windo~im5yc0bw-DvpIeGx1.js";function f(e,t){let n=(0,p.c)(9),a,o;if(n[0]!==e){let t=s(e);o=r,a=d(t),n[0]=e,n[1]=a,n[2]=o}else a=n[1],o=n[2];let l;n[3]!==e||n[4]!==t?(l=n=>{let{signal:r}=n;return c(`git`).request({method:`codex-worktrees`,params:{hostConfig:e,operationSource:t},signal:r})},n[3]=e,n[4]=t,n[5]=l):l=n[5];let u;return n[6]!==a||n[7]!==l?(u={queryKey:a,queryFn:l,staleTime:i.INFINITE,gcTime:18e5},n[6]=a,n[7]=l,n[8]=u):u=n[8],o(u)}var p,m=e((()=>{p=t(),a(),n(),o(),u(),l()}));export{f as n,m as t};
//# sourceMappingURL=use-codex-worktrees-B0jtZKoF.js.map