{"_id":"@artale/pi-refactor","name":"@artale/pi-refactor","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@artale/pi-refactor","version":"1.0.0","description":"Iterative refactoring for Pi. Analyze → refactor → verify cycles with git commits per pass.","keywords":["pi-package"],"license":"MIT","author":{"name":"artale"},"repository":{"type":"git","url":"git+https://github.com/arosstale/pi-refactor.git"},"pi":{"extensions":["src/extension.ts"]},"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_id":"@artale/pi-refactor@1.0.0","gitHead":"baa4a2f9dbb88df32b7f871d0b13be6460fd68e6","bugs":{"url":"https://github.com/arosstale/pi-refactor/issues"},"homepage":"https://github.com/arosstale/pi-refactor#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-5QJb712Aj8YIx0ckYatJCglqw25wWkcsHT79vs9J4gHXAeKg/K97/HxLs26da2yCkGqhv2cMyeKFwlCF16y1/g==","shasum":"ead68e2f8a697cc54de2bcdda5106fd2f96fdc3e","tarball":"https://registry.npmjs.org/@artale/pi-refactor/-/pi-refactor-1.0.0.tgz","fileCount":3,"unpackedSize":7528,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBxUSHVlHSEjq2PmpwygIUI0xn3lwdyqIKbbHiWjaF2kAiB2o0VFLhMEDQmEsuzvBpJGBL3IbSw8+93p84lPpK3KjQ=="}]},"_npmUser":{"name":"artale","email":"arosstale1@gmail.com"},"directories":{},"maintainers":[{"name":"artale","email":"arosstale1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-refactor_1.0.0_1773502973585_0.7295568911488208"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-14T15:42:53.504Z","1.0.0":"2026-03-14T15:42:53.720Z","modified":"2026-03-14T15:42:54.256Z"},"maintainers":[{"name":"artale","email":"arosstale1@gmail.com"}],"description":"Iterative refactoring for Pi. Analyze → refactor → verify cycles with git commits per pass.","homepage":"https://github.com/arosstale/pi-refactor#readme","keywords":["pi-package"],"repository":{"type":"git","url":"git+https://github.com/arosstale/pi-refactor.git"},"author":{"name":"artale"},"bugs":{"url":"https://github.com/arosstale/pi-refactor/issues"},"license":"MIT","readme":"# pi-refactor\n\nIterative refactoring for Pi. Analyze → Refactor → Verify cycles with git commits per pass. Auto-reverts on failure.\n\n## Install\n\n```bash\npi install npm:@artale/pi-refactor\n```\n\n## How it works\n\n```\nAnalyze → find improvement → Refactor → make changes → Verify → run tests\n   ✅ passed → git commit → next pass\n   ❌ failed → git revert → retry with different approach\n```\n\n## Commands\n\n```\n/refactor <goal> [--passes N] [--verify \"cmd\"]\n/refactor status\n/refactor stop\n```\n\n## Examples\n\n```\n/refactor extract helper functions --passes 3 --verify \"npm test\"\n/refactor simplify error handling --passes 5 --verify \"npm run typecheck\"\n/refactor improve naming --passes 10 --verify \"npm run lint\"\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-a298e2d584c4c7809dcc39983b614a7a"}