@oh-my-pi/hashline 15.7.2 → 15.7.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 +2 -2
  2. package/src/prompt.md +1 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/hashline",
4
- "version": "15.7.2",
4
+ "version": "15.7.3",
5
5
  "description": "Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Can Boluk",
@@ -28,7 +28,7 @@
28
28
  "check": "biome check . && bun run check:types",
29
29
  "check:types": "tsgo -p tsconfig.json --noEmit",
30
30
  "lint": "biome lint .",
31
- "test": "bun test",
31
+ "test": "bun test --parallel",
32
32
  "fix": "biome check --write --unsafe .",
33
33
  "fmt": "biome format --write ."
34
34
  },
package/src/prompt.md CHANGED
@@ -31,6 +31,7 @@ There is NO other body row kind. NEVER write `-old` or a bare/context line. To k
31
31
  - One hunk per range; the body is the final content, never an old/new pair.
32
32
  - Keep every range as tight as the change: a range must cover ONLY lines whose content actually changes. Never widen it to swallow an unchanged signature, brace, or neighboring statement just to rewrite a few lines inside — change one line with `replace N..N`, not the whole block around it. (A range where every line genuinely changes is correctly long; tightness is about excluding unchanged lines, not about being short.) This bounds the blast radius if a number is off: a stale single-line replace corrupts one line, while a stale block replace shreds the whole block and its structure.
33
33
  - To change lines 2 and 5 while keeping 3–4, issue two hunks (`replace 2..2:` and `replace 5..5:`). Untouched lines are simply absent from every range.
34
+ - NEVER use this tool to format code — reordering imports, re-indenting, aligning columns, or any mechanical restyling. That is the project formatter's job; run it instead of hand-editing layout here.
34
35
  </rules>
35
36
 
36
37
  <example>