You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letmsg=`Replaced lines ${parsed.startLine}-${parsed.endLine} (${removedCount} lines) with ${insertedCount} lines in ${parsed.path}`;
521
+
522
+
if(lineDelta!==0){
523
+
msg+=`\n\nWARNING: Line count changed by ${lineDelta>0 ? '+' : ''}${lineDelta}. All line numbers after line ${insertEnd} have shifted. Re-read before further edits.`;
524
+
}
525
+
526
+
msg+=`\n\nContext (lines ${ctxStart+1}-${ctxEnd}, + = new content):\n${contextOutput}`;
527
+
503
528
return{
504
529
content: [{
505
530
type: "text",
506
-
text: `Replaced lines ${parsed.startLine}-${parsed.endLine} (${removedCount} lines) with ${insertedCount} lines in ${parsed.path}`
0 commit comments