{"_id":"@alasano/pi-read-summary","_rev":"2-c0a5ee6830247138c9c0c480825e22fa","name":"@alasano/pi-read-summary","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@alasano/pi-read-summary","version":"0.0.1","keywords":["pi-package"],"license":"MIT","_id":"@alasano/pi-read-summary@0.0.1","maintainers":[{"name":"alasano","email":"aljosa.a@gmail.com"}],"homepage":"https://github.com/alasano/house-of-pi#readme","bugs":{"url":"https://github.com/alasano/house-of-pi/issues"},"pi":{"image":"https://raw.githubusercontent.com/alasano/house-of-pi/master/packages/pi-read-summary/assets/screenshot.png","extensions":["./extensions"]},"dist":{"shasum":"b58653adf3bd06d43d8a657c4841d3bea2a94680","tarball":"https://registry.npmjs.org/@alasano/pi-read-summary/-/pi-read-summary-0.0.1.tgz","fileCount":9,"integrity":"sha512-SGJ1CAzDcuIctLCbYnyKc6nU2jRNJEIluEmnn54yHZAgXqaZVE1kHse4cBMu5MFKF2nQMKd4ssJz2k3M62IM2A==","signatures":[{"sig":"MEQCIDTN0NtshLA6PWG0jaC9zBgyl2tO4LnB822fi3sHjgTcAiBk8VLYNU4/yM/gTWXckNq/Dt5m5vDkzhMUk2+SPxGUpQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93826},"type":"module","engines":{"node":">=22.19.0"},"gitHead":"b2943d6ea58acf3a4e0712c950094e1d1712e914","scripts":{"typecheck":"tsc --noEmit"},"_npmUser":{"name":"alasano","email":"aljosa.a@gmail.com"},"repository":{"url":"git+https://github.com/alasano/house-of-pi.git","type":"git","directory":"packages/pi-read-summary"},"_npmVersion":"11.12.1","description":"Compact grouped read summaries for pi","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"@earendil-works/pi-tui":"^0.79.9","@earendil-works/pi-coding-agent":"^0.79.9"},"peerDependencies":{"@earendil-works/pi-tui":">=0.79.9","@earendil-works/pi-coding-agent":">=0.79.9"},"_npmOperationalInternal":{"tmp":"tmp/pi-read-summary_0.0.1_1782068708876_0.5645462392334442","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@alasano/pi-read-summary","version":"0.1.0","description":"Compact grouped read summaries for pi","keywords":["pi-package"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/alasano/house-of-pi.git","directory":"packages/pi-read-summary"},"type":"module","engines":{"node":">=22.19.0"},"scripts":{"typecheck":"tsc --noEmit"},"pi":{"extensions":["./extensions"],"image":"https://raw.githubusercontent.com/alasano/house-of-pi/master/packages/pi-read-summary/assets/screenshot.png"},"peerDependencies":{"@earendil-works/pi-coding-agent":">=0.79.9","@earendil-works/pi-tui":">=0.79.9"},"devDependencies":{"@earendil-works/pi-coding-agent":"^0.79.9","@earendil-works/pi-tui":"^0.79.9"},"gitHead":"75d9db6acc32f89627a535e93b5c047555729730","_id":"@alasano/pi-read-summary@0.1.0","bugs":{"url":"https://github.com/alasano/house-of-pi/issues"},"homepage":"https://github.com/alasano/house-of-pi#readme","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-re2eDI8Dvwxr9N0MwZb3KLoSZSR6HRkBFYWQbMcTCN7WK33l0GB5QaXy2T3KqiOdYOw0Pv3XeKrsAaFzGuztMg==","shasum":"79848bca6604d62a3a597629c4c8d712087ce778","tarball":"https://registry.npmjs.org/@alasano/pi-read-summary/-/pi-read-summary-0.1.0.tgz","fileCount":9,"unpackedSize":93826,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alasano%2fpi-read-summary@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCbwzGr68/f2dvRcRjycrurNhHsHMEMs/itJavXkk8H1AIgePdgYWlCD/aj9COmMyYPSEG9sViby+sOrj33pWZ+EKs="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:35eb56fe-de97-4260-b500-01444f69e412"}},"directories":{},"maintainers":[{"name":"alasano","email":"aljosa.a@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-read-summary_0.1.0_1782069920224_0.2822042070464301"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-21T19:05:08.721Z","modified":"2026-06-21T19:25:20.614Z","0.0.1":"2026-06-21T19:05:09.017Z","0.1.0":"2026-06-21T19:25:20.361Z"},"bugs":{"url":"https://github.com/alasano/house-of-pi/issues"},"license":"MIT","homepage":"https://github.com/alasano/house-of-pi#readme","keywords":["pi-package"],"repository":{"type":"git","url":"git+https://github.com/alasano/house-of-pi.git","directory":"packages/pi-read-summary"},"description":"Compact grouped read summaries for pi","maintainers":[{"name":"alasano","email":"aljosa.a@gmail.com"}],"readme":"# pi-read-summary\n\n<p align=\"center\">\n  <img src=\"assets/screenshot.png\" alt=\"pi-read-summary screenshot\" width=\"827\" />\n</p>\n\nCompact grouped read summaries for [pi](https://pi.dev).\n\n`pi-read-summary` replaces large individual per-file `read` tool blocks with one local summary for each contiguous batch of reads. It keeps the model-facing read behavior unchanged while making the terminal easier to scan.\n\n## Install\n\n```bash\npi install npm:@alasano/pi-read-summary\n```\n\n## Behavior\n\n- Overrides Pi's built-in `read` tool renderer while delegating execution to the built-in implementation.\n- Groups contiguous `read` calls into one compact summary block.\n- Shows relative paths for files inside the current working directory and absolute paths for files outside it.\n\nCollapsed output stays compact:\n\n```text\n● Read 3 files\n └─ \"AGENTS.md\" [Read 54 lines]\n └─ \"package.json\" [Read 42 lines]\n └─ \"packages/coding-agent/src/core/tools/read.ts\" [Read 120 lines]\n```\n\nExpanded output (ctrl+o) uses Pi's shows merged line ranges:\n\n```text\n● Read 3 files\n └─ \"AGENTS.md\" [Read 54 lines]\n     lines 1-54\n └─ \"package.json\" [Read 42 lines]\n     lines 1-40, lines 60-61\n └─ \"packages/coding-agent/src/core/tools/read.ts\" [Read 120 lines]\n     lines 1-120\n```\n\n## Requirements\n\n- Pi `0.79.9` or newer.\n- Node.js 22.19.0 or newer.\n","readmeFilename":"README.md"}