(q,K,_)
| 2983 | `)}}async function Uoz(q){let K=process.env.CLAUDE_CODE_BASE_REF||await dT(),{stdout:_,code:z}=await S7(L7(),["--no-optional-locks","merge-base","HEAD",K],{cwd:q,timeout:ws1});if(z===0&&_.trim())return _.trim();return"HEAD"}async function Qoz(q,K){try{if(!d$8(K,iYK))return null;let z=(await hoz(K,"utf-8")).split(` |
| 2984 | `);if(z.length>0&&z.at(-1)==="")z.pop();let Y=z.length,$=z.map((O)=>`+${O}`).join(` |
| 2985 | `),A=`@@ -0,0 +1,${Y} @@ |
| 2986 | ${$}`;return{filename:q,status:"added",additions:Y,deletions:0,changes:Y,patch:A}}catch{return null}}var Yu8=5000,js1=50,iYK=1e6,Ioz=400,uoz=500,ws1=3000;var Au8=y(()=>{I7();mZ();XK();bK();E5()});function sYK(q,K,_){if(!Hs1(q))return null;if(!GK1(K).isValid)return null;let Y=_(),$=GK1(Y);if(!$.isValid)return{result:!1,message:`Claude Code settings.json validation failed after edit: |
| 2987 | ${$.error} |
| 2988 | |
| 2989 | Full schema: |
| 2990 | ${$.fullSchema} |
| 2991 | IMPORTANT: Do not update the env unless explicitly instructed to do so.`,errorCode:10};return null}var tYK=y(()=>{Tz();LA8()});function doz(){return` |
| 2992 | - You must use your \`${Cq}\` tool at least once in the conversation before editing. This tool will error if you attempt an edit without reading the file. `}function eYK(){return coz()}function coz(){let q=T41()?"line number + tab":"spaces + line number + arrow",K="";return`Performs exact string replacements in files. |
| 2993 |
no test coverage detected