import{$n as e}from"./app-server-manager-signals-Yn0WSnoY.js";import{P as t,lt as n}from"./vscode-api-DjORcpSo.js";import{i as r}from"./git-current-branch-query-DhVq2YFM.js";var i=r({method:`config-value`,getParams:e=>({key:e.key,operationSource:e.operationSource,root:e.root,scope:e.scope}),getOptions:e=>({refetchOnWindowFocus:e.refetchOnWindowFocus,select:e=>e.value,...e.staleTime==null?{}:{staleTime:e.staleTime}})}),a=i.fromCwd$,o=i.queryByMetadata$,s=n();function c(n,r,i,o,c,l){let u=(0,s.c)(9),d=n??null,f;u[0]===l?f=u[1]:(f=e(l,null),u[0]=l,u[1]=f);let p;return u[2]!==r||u[3]!==i||u[4]!==c||u[5]!==o||u[6]!==d||u[7]!==f?(p={cwd:d,hostConfig:r,key:i,operationSource:c,scope:o,...f},u[2]=r,u[3]=i,u[4]=c,u[5]=o,u[6]=d,u[7]=f,u[8]=p):p=u[8],t(a,p)}export{o as n,c as t};
//# sourceMappingURL=use-git-config-value-BP1o4sbi.js.map