import{U as e}from"./src-BOCweS1p.js";import{P as t,lt as n,u as r}from"./vscode-api-DjORcpSo.js";import{t as i}from"./use-codex-home-_jJnkmXS.js";import{i as a}from"./git-current-branch-query-DhVq2YFM.js";var o=a({method:`synced-branch`,getParams:e=>({cwd:e.root,operationSource:e.operationSource}),getOptions:()=>({staleTime:r.FIVE_SECONDS})}).fromCwd$,s=n();function c(n,r,a){let c=(0,s.c)(8),l=i(),u=n??null,d=n??null,f;c[0]!==l||c[1]!==d?(f=e(d,l),c[0]=l,c[1]=d,c[2]=f):f=c[2];let p;return c[3]!==r||c[4]!==a||c[5]!==u||c[6]!==f?(p={cwd:u,enabled:f,hostConfig:r,operationSource:a},c[3]=r,c[4]=a,c[5]=u,c[6]=f,c[7]=p):p=c[7],t(o,p)}export{c as t};
//# sourceMappingURL=use-git-synced-branch-D8qkzWRg.js.map