{"_id":"@dude1wudv/hashline","_rev":"9-fc8c0a442afca0c41049ec113f3eebf3","name":"@dude1wudv/hashline","dist-tags":{"latest":"20.1.9"},"versions":{"20.1.0":{"name":"@dude1wudv/hashline","version":"20.1.0","keywords":["patch","diff","edit","hashline","agent","llm"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/hashline@20.1.0","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"dist":{"shasum":"f1d8e1ff6d7fd31fdacbe7579e1e2e59f8dda490","tarball":"https://registry.npmjs.org/@dude1wudv/hashline/-/hashline-20.1.0.tgz","fileCount":45,"integrity":"sha512-yWbX+MYZf2OLti9CuskypKaCFMNdm8bYCR48ip+vB1qAPZu5Cfrk76H3JSihDWhZov9wxNFCWvKcaMpR16x35w==","signatures":[{"sig":"MEQCIBk4cUnGqawwe9PgjohGezS9f6qU2N1+TVsnN/TV8hh/AiA/3Q1NFGYqIIKtsfi2mYKdTS3sJEl+qxiyqJR7KApD3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385501},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/sun/AppData/Local/Temp/omp-pack-jHZtV2/dude1wudv-hashline-20.1.0.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./prompt.md":"./src/prompt.md","./grammar.lark":"./src/grammar.lark"},"scripts":{"fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","test":"bun test --parallel","check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\sun\\AppData\\Local\\Temp\\omp-pack-jHZtV2\\dude1wudv-hashline-20.1.0.tgz","_integrity":"sha512-yWbX+MYZf2OLti9CuskypKaCFMNdm8bYCR48ip+vB1qAPZu5Cfrk76H3JSihDWhZov9wxNFCWvKcaMpR16x35w==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/hashline"},"_npmVersion":"11.12.1","description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@dude1wudv/pi-utils":"20.1.0","@dude1wudv/pi-natives":"20.1.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14"},"_npmOperationalInternal":{"tmp":"tmp/hashline_20.1.0_1786730802534_0.22809976838891588","host":"s3://npm-registry-packages-npm-production"}},"20.1.2":{"name":"@dude1wudv/hashline","version":"20.1.2","keywords":["patch","diff","edit","hashline","agent","llm"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/hashline@20.1.2","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"dist":{"shasum":"2488246fea1f269c459597fa4ff938b5c708dffb","tarball":"https://registry.npmjs.org/@dude1wudv/hashline/-/hashline-20.1.2.tgz","fileCount":45,"integrity":"sha512-I6NICaZw9RosHEbbl9V/0l67QJ6vAXJoVDVX2ay2rdckcPl41pCkPb8qqnpHXIy/NE96wigU8b0jmlwWVnvi5Q==","signatures":[{"sig":"MEQCIENJC6tXLDWIsLs/JJv0lyuRdi3oERTioQT9q2TAURrTAiA3NsNOxUuN1p7b1t2atcgcTQgNcIfJSyX1nBQ+IOwnEg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385501},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/sun/AppData/Local/Temp/omp-pack-F7JXVj/dude1wudv-hashline-20.1.2.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./prompt.md":"./src/prompt.md","./grammar.lark":"./src/grammar.lark"},"scripts":{"fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","test":"bun test --parallel","check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\sun\\AppData\\Local\\Temp\\omp-pack-F7JXVj\\dude1wudv-hashline-20.1.2.tgz","_integrity":"sha512-I6NICaZw9RosHEbbl9V/0l67QJ6vAXJoVDVX2ay2rdckcPl41pCkPb8qqnpHXIy/NE96wigU8b0jmlwWVnvi5Q==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/hashline"},"_npmVersion":"11.12.1","description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@dude1wudv/pi-utils":"20.1.2","@dude1wudv/pi-natives":"20.1.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14"},"_npmOperationalInternal":{"tmp":"tmp/hashline_20.1.2_1786776409202_0.73960548973385","host":"s3://npm-registry-packages-npm-production"}},"20.1.3":{"name":"@dude1wudv/hashline","version":"20.1.3","keywords":["patch","diff","edit","hashline","agent","llm"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/hashline@20.1.3","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"dist":{"shasum":"0ced0be44f22699045caab63114a57824f719614","tarball":"https://registry.npmjs.org/@dude1wudv/hashline/-/hashline-20.1.3.tgz","fileCount":45,"integrity":"sha512-tKkQvhpXCppW5hpbe1STGelW5uMaUWEYbfCYwdvC4jCadnW5t589d2ZUzQq+iU1/VNRzUviAOlkSjaOZAcvuQg==","signatures":[{"sig":"MEYCIQD9nG2r+Wf2p3lQUnIMoZD7pYk8VudqoJ6Vqf8iBSA5HAIhAJxIhD5FBCcbrt/kv3XRlKmlc+SVW86Efn4K5tFaR1TK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385501},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-YraYoR/dude1wudv-hashline-20.1.3.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./prompt.md":"./src/prompt.md","./grammar.lark":"./src/grammar.lark"},"scripts":{"fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","test":"bun test --parallel","check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-YraYoR\\dude1wudv-hashline-20.1.3.tgz","_integrity":"sha512-tKkQvhpXCppW5hpbe1STGelW5uMaUWEYbfCYwdvC4jCadnW5t589d2ZUzQq+iU1/VNRzUviAOlkSjaOZAcvuQg==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/hashline"},"_npmVersion":"10.9.8","description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@dude1wudv/pi-utils":"20.1.3","@dude1wudv/pi-natives":"20.1.3"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14"},"_npmOperationalInternal":{"tmp":"tmp/hashline_20.1.3_1786786407197_0.8814802129699011","host":"s3://npm-registry-packages-npm-production"}},"20.1.4":{"name":"@dude1wudv/hashline","version":"20.1.4","keywords":["patch","diff","edit","hashline","agent","llm"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/hashline@20.1.4","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"dist":{"shasum":"5f8c60a2de802d524b4ac9d9480b2ae90970254d","tarball":"https://registry.npmjs.org/@dude1wudv/hashline/-/hashline-20.1.4.tgz","fileCount":45,"integrity":"sha512-oIDEjA81f/ac7jm6yIqCeJg7n9cROOQEexOmJcnBhBWpD8jhgd6GcsBQzRmimBXZ/nUcDdZCxZn9JKusdO04/A==","signatures":[{"sig":"MEUCIQCFZi4cIvaYlquWP1nCfahaW7edlQLvSkQq0uyXOAhBQwIgB4/AclM0cf/pfROXdzmZ1bTpkhEWgx63rN+B1xNx4/A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385501},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-m2YCYs/dude1wudv-hashline-20.1.4.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./prompt.md":"./src/prompt.md","./grammar.lark":"./src/grammar.lark"},"scripts":{"fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","test":"bun test --parallel","check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-m2YCYs\\dude1wudv-hashline-20.1.4.tgz","_integrity":"sha512-oIDEjA81f/ac7jm6yIqCeJg7n9cROOQEexOmJcnBhBWpD8jhgd6GcsBQzRmimBXZ/nUcDdZCxZn9JKusdO04/A==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/hashline"},"_npmVersion":"10.9.8","description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@dude1wudv/pi-utils":"20.1.4","@dude1wudv/pi-natives":"20.1.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14"},"_npmOperationalInternal":{"tmp":"tmp/hashline_20.1.4_1786817589957_0.31507664304739746","host":"s3://npm-registry-packages-npm-production"}},"20.1.5":{"name":"@dude1wudv/hashline","version":"20.1.5","keywords":["patch","diff","edit","hashline","agent","llm"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/hashline@20.1.5","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"dist":{"shasum":"86edfd69eb481ff2155b020a139e1345ef860b7e","tarball":"https://registry.npmjs.org/@dude1wudv/hashline/-/hashline-20.1.5.tgz","fileCount":45,"integrity":"sha512-hTAUKAOohDOsdcIs5nF/TroRo6LXyjTewLodAh128T+OoQd/Toi7Pg5iPFCM0dVMzf7egkE9E1DC33n1yHkRCQ==","signatures":[{"sig":"MEQCICh3ifM4imGtySg481zaz9MGDrrj3DuE49MBXhJJByq0AiBrYBNpEfsVGBfr0JId0Sch4ZU0YbDKyFJ4oA9fyZy4qA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385501},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-Tl5Cb0/dude1wudv-hashline-20.1.5.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./prompt.md":"./src/prompt.md","./grammar.lark":"./src/grammar.lark"},"scripts":{"fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","test":"bun test --parallel","check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-Tl5Cb0\\dude1wudv-hashline-20.1.5.tgz","_integrity":"sha512-hTAUKAOohDOsdcIs5nF/TroRo6LXyjTewLodAh128T+OoQd/Toi7Pg5iPFCM0dVMzf7egkE9E1DC33n1yHkRCQ==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/hashline"},"_npmVersion":"10.9.8","description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@dude1wudv/pi-utils":"20.1.5","@dude1wudv/pi-natives":"20.1.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14"},"_npmOperationalInternal":{"tmp":"tmp/hashline_20.1.5_1786864020198_0.6676966761271836","host":"s3://npm-registry-packages-npm-production"}},"20.1.6":{"name":"@dude1wudv/hashline","version":"20.1.6","keywords":["patch","diff","edit","hashline","agent","llm"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/hashline@20.1.6","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"dist":{"shasum":"7e65d1ccc6fb602733baad5e75d754bf72b95352","tarball":"https://registry.npmjs.org/@dude1wudv/hashline/-/hashline-20.1.6.tgz","fileCount":45,"integrity":"sha512-vC0kCOq1gTebfhHY869ksW8SIhIiMuRZ/r7LevTc/Kk95aWX1YX+xtbQAxSlvL7QzPhATfpK5t/LA95LLCm0Pg==","signatures":[{"sig":"MEYCIQCU/K67QbDFVec8QG8PPthCByFS64WkQafisf6SSCxf9AIhAK+uLiRKirZuGl/P5wZJoAHNy4Q4x+HP3X9b9jtiNaY2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385501},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-15bUWp/dude1wudv-hashline-20.1.6.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./prompt.md":"./src/prompt.md","./grammar.lark":"./src/grammar.lark"},"scripts":{"fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","test":"bun test --parallel","check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-15bUWp\\dude1wudv-hashline-20.1.6.tgz","_integrity":"sha512-vC0kCOq1gTebfhHY869ksW8SIhIiMuRZ/r7LevTc/Kk95aWX1YX+xtbQAxSlvL7QzPhATfpK5t/LA95LLCm0Pg==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/hashline"},"_npmVersion":"10.9.8","description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@dude1wudv/pi-utils":"20.1.6","@dude1wudv/pi-natives":"20.1.6"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14"},"_npmOperationalInternal":{"tmp":"tmp/hashline_20.1.6_1786872884831_0.5350922624791976","host":"s3://npm-registry-packages-npm-production"}},"20.1.7":{"name":"@dude1wudv/hashline","version":"20.1.7","keywords":["patch","diff","edit","hashline","agent","llm"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/hashline@20.1.7","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"dist":{"shasum":"f7a5864c75a102935552e744d5f5480f4d16500a","tarball":"https://registry.npmjs.org/@dude1wudv/hashline/-/hashline-20.1.7.tgz","fileCount":45,"integrity":"sha512-VPePZXsUnWCNuEduSL7NWtfeihGlKa6QxTUd6LFEBkCVfH2VOONU6u2QUjdNiT+3QAZ5c8+FMXX+WOf6JEoMXw==","signatures":[{"sig":"MEYCIQCuaMsxWXwI8FxbV//t4NEP916ewEOQVlHzLbjlUOv+FgIhALWKVfYFyfJaV3EiDupbloOW963HRP/6pftloN7SA1Pr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385501},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-RoSCxb/dude1wudv-hashline-20.1.7.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./prompt.md":"./src/prompt.md","./grammar.lark":"./src/grammar.lark"},"scripts":{"fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","test":"bun test --parallel","check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-RoSCxb\\dude1wudv-hashline-20.1.7.tgz","_integrity":"sha512-VPePZXsUnWCNuEduSL7NWtfeihGlKa6QxTUd6LFEBkCVfH2VOONU6u2QUjdNiT+3QAZ5c8+FMXX+WOf6JEoMXw==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/hashline"},"_npmVersion":"10.9.8","description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@dude1wudv/pi-utils":"20.1.7","@dude1wudv/pi-natives":"20.1.7"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14"},"_npmOperationalInternal":{"tmp":"tmp/hashline_20.1.7_1787078919950_0.06912405194066018","host":"s3://npm-registry-packages-npm-production"}},"20.1.8":{"name":"@dude1wudv/hashline","version":"20.1.8","keywords":["patch","diff","edit","hashline","agent","llm"],"author":{"name":"Stencil Labs, Inc."},"license":"MIT","_id":"@dude1wudv/hashline@20.1.8","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"dist":{"shasum":"f6cb03e7f00a109b566681a328391cf1c705d5f4","tarball":"https://registry.npmjs.org/@dude1wudv/hashline/-/hashline-20.1.8.tgz","fileCount":47,"integrity":"sha512-XThj80ewhBB7dEK2PnutEHbPimCDRVj8L5XASa9Gzq4FWSgWhbf1bcSPEdfLM/Sx/PEu+xpk245CWR/CrkDHkg==","signatures":[{"sig":"MEYCIQDIPy+meBQA5jWaKM/l2fr5J8yugrYFb8gYC2meD028gwIhANOu4qVs1KtVJ8h4ybv39eyn5P9PBeEq1qq09c1+EL+x","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dude1wudv%2fhashline@20.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1473555},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-3cYv2O/dude1wudv-hashline-20.1.8.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./prompt.md":"./src/prompt.md","./grammar.lark":"./src/grammar.lark"},"scripts":{"fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","test":"bun test --parallel","check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-3cYv2O\\dude1wudv-hashline-20.1.8.tgz","_integrity":"sha512-XThj80ewhBB7dEK2PnutEHbPimCDRVj8L5XASa9Gzq4FWSgWhbf1bcSPEdfLM/Sx/PEu+xpk245CWR/CrkDHkg==","repository":{"url":"git+https://github.com/dude1wudv/oh-my-pi.git","type":"git"},"_npmVersion":"10.9.8","description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@dude1wudv/pi-utils":"20.1.8","@dude1wudv/pi-natives":"20.1.8"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.14"},"_npmOperationalInternal":{"tmp":"tmp/hashline_20.1.8_1787329662742_0.8588618995872912","host":"s3://npm-registry-packages-npm-production"}},"20.1.9":{"type":"module","name":"@dude1wudv/hashline","version":"20.1.9","description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","homepage":"https://omp.sh","author":{"name":"Stencil Labs, Inc."},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dude1wudv/oh-my-pi.git"},"bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"keywords":["patch","diff","edit","hashline","agent","llm"],"main":"./src/index.ts","types":"./dist/types/index.d.ts","scripts":{"check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit","lint":"biome lint .","test":"bun test --parallel","fix":"biome check --write --unsafe .","fmt":"biome format --write ."},"dependencies":{"@dude1wudv/pi-natives":"20.1.9","@dude1wudv/pi-utils":"20.1.9"},"devDependencies":{"@types/bun":"^1.3.14"},"engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./grammar.lark":"./src/grammar.lark","./prompt.md":"./src/prompt.md","./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts"},"_id":"@dude1wudv/hashline@20.1.9","_integrity":"sha512-TPEkbbygxvTUHV01AkBsr5+X41+ApxLRBKzVoCVFgXdZELiPn7YK8LJpUSydf8q9uWHa5qAh3zzGnbl2cLHdlA==","_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-Zo5a8h\\dude1wudv-hashline-20.1.9.tgz","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-Zo5a8h/dude1wudv-hashline-20.1.9.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-TPEkbbygxvTUHV01AkBsr5+X41+ApxLRBKzVoCVFgXdZELiPn7YK8LJpUSydf8q9uWHa5qAh3zzGnbl2cLHdlA==","shasum":"96fd5c1fd0fd2aa6a68e602a5c44be303797b320","tarball":"https://registry.npmjs.org/@dude1wudv/hashline/-/hashline-20.1.9.tgz","fileCount":47,"unpackedSize":1473555,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dude1wudv%2fhashline@20.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDSGU7zqTpQg6hmdlmMd0nNkuXkkn+pT1l8PyFdgFMD1wIhAM6dPJYx/HT0s4iNat1LbLo2dsTKDjTES+dGupi3rROZ"}]},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"directories":{},"maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hashline_20.1.9_1787369185029_0.16596368790239935"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-14T18:06:42.357Z","modified":"2026-08-22T03:26:25.533Z","20.1.0":"2026-08-14T18:06:42.673Z","20.1.2":"2026-08-15T06:46:49.344Z","20.1.3":"2026-08-15T09:33:27.355Z","20.1.4":"2026-08-15T18:13:10.202Z","20.1.5":"2026-08-16T07:07:00.408Z","20.1.6":"2026-08-16T09:34:44.968Z","20.1.7":"2026-08-18T18:48:40.090Z","20.1.8":"2026-08-21T16:27:42.876Z","20.1.9":"2026-08-22T03:26:25.168Z"},"bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"author":{"name":"Stencil Labs, Inc."},"license":"MIT","homepage":"https://omp.sh","keywords":["patch","diff","edit","hashline","agent","llm"],"repository":{"type":"git","url":"git+https://github.com/dude1wudv/oh-my-pi.git"},"description":"Hashline: a compact, line-anchored patch language and applier. Pluggable FS/IO so it works over disk, in-memory, or any custom backend.","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"readme":"# @dude1wudv/hashline\n\nA compact, line-anchored patch language and applier.\n\nHashline is a diff format designed for LLM-driven file edits. It binds every\nhunk to a file-content hash so stale anchors are rejected before they corrupt\ncode, and it abstracts over the filesystem so the same patcher works on disk,\nin memory, over the network, or against any custom backend.\n\n## Quick start\n\n```ts\nimport {\n\tFilesystem,\n\tInMemoryFilesystem,\n\tInMemorySnapshotStore,\n\tPatcher,\n\tPatch,\n} from \"@dude1wudv/hashline\";\n\nconst fs = new InMemoryFilesystem();\nconst snapshots = new InMemorySnapshotStore();\nconst before = `const greeting = \"hi\";\\nexport { greeting };\\n`;\nawait fs.writeText(\"hello.ts\", before);\n\nconst tag = snapshots.record(\"hello.ts\", before);\nconst patcher = new Patcher({ fs, snapshots });\nconst patch = Patch.parse(String.raw`[hello.ts#${tag}]\nPUT 1.=1:\n+const greeting = \"hello\";`);\nconst result = await patcher.apply(patch);\n\nconsole.log(result.sections[0].op); // \"update\"\nconsole.log(await fs.readText(\"hello.ts\"));\n```\n\n## Format\n\nSee [`src/prompt.md`](./src/prompt.md) for the user-facing description and\n[`src/grammar.lark`](./src/grammar.lark) for the formal grammar.\n\nEach file section starts with `[PATH#TAG]`. The tag is a 4-hex\ncontent hash of the full normalized file text recorded by the\n`SnapshotStore`, and it is not meaningful outside that store. The patcher\nprotects against stale anchors by resolving the tag, verifying the live file\nstill matches the recorded content hash, and refusing or attempting\nsession-aware recovery on mismatch.\n\nInside a section:\n- `PUT A.=B:` — replace lines A through B (inclusive) with following `+TEXT` body rows.\n- `PUT A*:` — replace the syntactic block beginning on line A.\n- `PUT <A:` / `PUT >A:` — insert following body rows before/after line A (`<1` = head, `>$` = tail).\n- `PUT >A*:` — insert following body rows after the resolved block's last line.\n- `PUT <A` / `PUT >A` / `PUT A.=B @name` / `PUT A* @name` — paste a captured register at a gap, over a range, or over a resolved block (no `:` header or body rows; `@name` is optional only at gaps).\n- `CUT A.=B` / `CUT A*` — delete concrete lines or a resolved block and capture them (anonymous, or `@name` when given).\n- `REM` — delete the whole file named by the section header.\n- `MV DEST` — move/rename the section file to `DEST` (optionally after line edits).\n- `+TEXT` — literal body row (use `+` alone for a blank line).\n\n## Abstractions\n\n### `Filesystem`\n\nRead and write text by path. The default implementations:\n\n- `InMemoryFilesystem` — backed by a `Map`. Tests, sandboxes.\n- `NodeFilesystem` — disk-backed via `Bun.file`/`Bun.write`. Default for CLIs.\n\nSubclass `Filesystem` to wire hashline into any storage: VFS, S3, an LSP\ntext-document protocol, a Git tree, anything.\n\n### `SnapshotStore`\n\nRequired. Hashline tags are full-file content hashes recorded per path, so\n`Patcher` must receive the store that observed them. Recovery replays edits\nagainst the cached pre-edit snapshot and 3-way-merges onto current content\nwhen the live file diverged.\n\n### `Patcher`\n\nThe orchestration class. Reads, normalizes line endings + BOM, applies edits,\nrestores line endings, and writes via the configured `Filesystem`. Multi-section\npatches are preflighted up front so a partial batch never lands.\n","readmeFilename":"README.md"}