pi-edit-file 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/core.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-edit-file",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Block-based atomic file editing for Pi agents: one flat patch string, precise match diagnostics, word-level diff rendering",
5
5
  "keywords": [
6
6
  "pi-package",
package/src/core.ts CHANGED
@@ -420,7 +420,7 @@ export function chainSkeleton(patch: string, fileLines: string[]): string {
420
420
  out.push(
421
421
  `Rules: the header is "NNN ${delimRun}" — the line where the old block starts; "+" after the number inserts AFTER that line (inserts only); ` +
422
422
  `inserts have an empty before-block (header line, then the delimiter line, then the new lines); a delete is an empty after-block. ` +
423
- `Remove the "<- note" annotations — they are explanations, not patch lines.`,
423
+ `Replace every "<...>" placeholder (including "<NOT UNIQUE …>" / "<NOT FOUND …>", after fixing that block) with your own lines — the angle brackets are explanations, not patch text.`,
424
424
  );
425
425
  return out.join("\n");
426
426
  }