{"_id":"@artale/pi-lean","name":"@artale/pi-lean","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@artale/pi-lean","version":"1.0.0","description":"Lean tool output for Pi. Auto-truncate verbose bash output, collapse npm/pip noise, keep errors and results visible.","keywords":["pi-package"],"license":"MIT","author":{"name":"artale"},"repository":{"type":"git","url":"git+https://github.com/arosstale/pi-lean.git"},"pi":{"extensions":["src/extension.ts"]},"peerDependencies":{"@mariozechner/pi-coding-agent":"*"},"_id":"@artale/pi-lean@1.0.0","gitHead":"1deb10ff25052685b8593e56cb4802f53f8c47be","bugs":{"url":"https://github.com/arosstale/pi-lean/issues"},"homepage":"https://github.com/arosstale/pi-lean#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-onnkLlav6PaGdsYNc+b+XlS9JXz6ScATeIP8tx0LSgf+id+vskf1RW/1LUvu088F4Bu5bgAihUJ80cqnZ8Qv+Q==","shasum":"3a601bb0f2c7eab9f252598903955d0f62484753","tarball":"https://registry.npmjs.org/@artale/pi-lean/-/pi-lean-1.0.0.tgz","fileCount":3,"unpackedSize":8954,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCvVuIBSZJ+Qw1e3hteEZY93bbFFDc9dD3ieeKeR9dNkAIgcEd3CphxrGmxog1tAMU2BAGm1sMSrLZT+Ykzm5BM5vc="}]},"_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-lean_1.0.0_1773453894074_0.03201298959213683"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-14T02:04:54.005Z","1.0.0":"2026-03-14T02:04:54.231Z","modified":"2026-03-14T02:04:54.394Z"},"maintainers":[{"name":"artale","email":"arosstale1@gmail.com"}],"description":"Lean tool output for Pi. Auto-truncate verbose bash output, collapse npm/pip noise, keep errors and results visible.","homepage":"https://github.com/arosstale/pi-lean#readme","keywords":["pi-package"],"repository":{"type":"git","url":"git+https://github.com/arosstale/pi-lean.git"},"author":{"name":"artale"},"bugs":{"url":"https://github.com/arosstale/pi-lean/issues"},"license":"MIT","readme":"# pi-lean\n\nLean tool output for Pi. Auto-truncate verbose bash output, collapse npm/pip noise, keep errors visible. Save context tokens.\n\n## Install\n\n```bash\npi install npm:@artale/pi-lean\n```\n\n## What it does\n\nHooks into tool results and removes noise:\n\n- **npm** — strips `npm warn`, `npm notice`, `npm http`, progress bars\n- **pip** — strips `Requirement already satisfied`, progress bars\n- **git** — strips `remote:`, `Receiving objects:`, `Resolving deltas:`\n- **cargo** — strips `Compiling`, `Downloading`, `Fetching`\n\nKeeps important lines: errors, warnings, stack traces, test results, final status.\n\nTruncates long output: keeps head + tail + important middle lines, drops the rest.\n\n## Commands\n\n```\n/lean status               — show lines/tokens saved\n/lean mode <mode>          — off | normal | aggressive\n/lean reset                — reset stats\n```\n\n## Modes\n\n- **off** — no truncation\n- **normal** — remove noise, truncate at 100 lines\n- **aggressive** — remove noise, truncate at 50 lines\n\n## Example\n\nBefore (npm install, 47 lines of noise):\n```\nnpm warn deprecated ...\nnpm warn deprecated ...\nadded 847 packages in 32s\n```\n\nAfter (pi-lean, 3 lines):\n```\nadded 847 packages in 32s\n[44 noise lines removed by pi-lean]\n```\n\n## Zero dependencies\n\nNode.js built-ins only. Pattern matching, no external packages.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-f7b58dbe8d70af5a4985dd6e343202fe"}