import{n as e}from"./rolldown-runtime-Czos8NxU.js";import{Dt as t,Et as n,Tl as r,cl as i,ml as a}from"./app-initial~app-main~worktree-init-v2-page~appgen-settings-page~page~appgen-publication-ter~fzo5ij6p-BKVLyD1q.js";import{Ga as o,Ka as s}from"./app-initial~app-main~onboarding-page-CNHnOMz8.js";import{Aa as c,Ca as l,Sa as u,ka as d}from"./app-initial~app-main~new-thread-panel-page-BZHGOlMi.js";function f(e,t){let r=(0,p.c)(9),i,s;if(r[0]!==e){let t=u(e);s=a,i=o(t),r[0]=e,r[1]=i,r[2]=s}else i=r[1],s=r[2];let l;r[3]!==e||r[4]!==t?(l=n=>{let{signal:r}=n;return c(`git`).request({method:`codex-worktrees`,params:{hostConfig:e,operationSource:t},signal:r})},r[3]=e,r[4]=t,r[5]=l):l=r[5];let d;return r[6]!==i||r[7]!==l?(d={queryKey:i,queryFn:l,staleTime:n.INFINITE,gcTime:18e5},r[6]=i,r[7]=l,r[8]=d):d=r[8],s(d)}var p,m=e((()=>{p=r(),i(),t(),d(),s(),l()}));export{f as n,m as t};
//# sourceMappingURL=use-codex-worktrees-Da6ix3bc.js.map