{"_id":"@calesennett/pi-hn","_rev":"6-47aae8bdb043895b71f231521711093b","name":"@calesennett/pi-hn","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@calesennett/pi-hn","version":"0.1.0","keywords":["pi-package","pi-extension","hacker-news","hn"],"license":"MIT","_id":"@calesennett/pi-hn@0.1.0","maintainers":[{"name":"calesennett","email":"cale@thrdhnd.com"}],"homepage":"https://github.com/calesennett/pi-hn#readme","bugs":{"url":"https://github.com/calesennett/pi-hn/issues"},"dist":{"shasum":"9616f63386abf79dff89074cabd831ce480d0ba4","tarball":"https://registry.npmjs.org/@calesennett/pi-hn/-/pi-hn-0.1.0.tgz","fileCount":4,"integrity":"sha512-CBMaTGYaN+5F/l9yqYnSbWtW51RO2dQgXqhucMQIA7S4NXf04jqCqdSvzPAbhtyboRSaRhTd5ShNBx5UgHxlFw==","signatures":[{"sig":"MEUCIQDGRXpv99o7GhFhqyEPv0P6fkTlngJVLYXBXmqOZAcMJQIgHgRdJ11OhOtHZrEG2TOuhoT55RGazrJvN3IOMGguVI4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":550814},"gitHead":"48be9fb0605845e7fed507ca414bf2994555eec5","_npmUser":{"name":"calesennett","email":"cale@thrdhnd.com"},"repository":{"url":"git+https://github.com/calesennett/pi-hn.git","type":"git"},"_npmVersion":"11.7.0","description":"Hacker News front-page reader extension for pi","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pi-hn_0.1.0_1771479376846_0.7754164300014985","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@calesennett/pi-hn","version":"0.1.1","keywords":["pi-package","pi-extension","hacker-news","hn"],"license":"MIT","_id":"@calesennett/pi-hn@0.1.1","maintainers":[{"name":"calesennett","email":"cale@thrdhnd.com"}],"homepage":"https://github.com/calesennett/pi-hn#readme","bugs":{"url":"https://github.com/calesennett/pi-hn/issues"},"dist":{"shasum":"ba528591278c48aab018c07525fcdabdfc485d7e","tarball":"https://registry.npmjs.org/@calesennett/pi-hn/-/pi-hn-0.1.1.tgz","fileCount":4,"integrity":"sha512-6x+WRvyvmBBYJuL1zYsMWwm6fWuBqO7z/G0bGWmTGyONBurPztIWIhmgouqmyUdVi+LSf9NGpFXxhSS1zNfuMQ==","signatures":[{"sig":"MEUCIQCpdzCiiDwhHFL+UUsb0RyhlFqDDLij/P7mh17PNtkcHgIgPpighZzUSmI7oM/9Kk8oFVL6jtn1AzuJgfoEkZ+3TtY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":550835},"gitHead":"cc724d3b80bc9fcb3dd63493985059a923cc8030","_npmUser":{"name":"calesennett","email":"cale@thrdhnd.com"},"repository":{"url":"git+https://github.com/calesennett/pi-hn.git","type":"git"},"_npmVersion":"11.7.0","description":"Hacker News front-page reader extension for pi","directories":{},"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pi-hn_0.1.1_1771480832861_0.04002361508353136","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@calesennett/pi-hn","version":"0.1.2","keywords":["pi-package","pi-extension","hacker-news","hn"],"license":"MIT","_id":"@calesennett/pi-hn@0.1.2","maintainers":[{"name":"calesennett","email":"cale@thrdhnd.com"}],"homepage":"https://github.com/calesennett/pi-hn#readme","bugs":{"url":"https://github.com/calesennett/pi-hn/issues"},"dist":{"shasum":"492d6ac5eb01462c86d8afa016cf75ef41dd1d90","tarball":"https://registry.npmjs.org/@calesennett/pi-hn/-/pi-hn-0.1.2.tgz","fileCount":4,"integrity":"sha512-iHCvTj/wCkvHBiXimH/4Sn8OIkoTT6duT4/WvcceEXwP1/P1bJOWjY1vPHFxBt2Fi2o1R72DBpdo1x/JGpVuhQ==","signatures":[{"sig":"MEYCIQCfY+HRswBtlprEEjuxSpGW9/HvoJvGC7kRxYF6Jbw1rQIhAIzQjrSaQorTQHrNKL+EoIXtU+B82l2xr9eGo6LiYUxX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":558060},"gitHead":"d06e9b3dd91b6079b590a4a930e74eaff40c30e5","_npmUser":{"name":"calesennett","email":"cale@thrdhnd.com"},"repository":{"url":"git+https://github.com/calesennett/pi-hn.git","type":"git"},"_npmVersion":"11.7.0","description":"Hacker News front-page reader extension for pi","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jsdom":"^24.1.3","@mozilla/readability":"^0.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pi-hn_0.1.2_1771712466626_0.934660066598181","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@calesennett/pi-hn","version":"0.1.3","keywords":["pi-package","pi-extension","hacker-news","hn"],"license":"MIT","_id":"@calesennett/pi-hn@0.1.3","maintainers":[{"name":"calesennett","email":"cale@thrdhnd.com"}],"homepage":"https://github.com/calesennett/pi-hn#readme","bugs":{"url":"https://github.com/calesennett/pi-hn/issues"},"dist":{"shasum":"e465a43f1bebeee0567a19577ceeb9979541763e","tarball":"https://registry.npmjs.org/@calesennett/pi-hn/-/pi-hn-0.1.3.tgz","fileCount":4,"integrity":"sha512-z8nCPiZY6u0Q0dCVY8HrZkWur3qC+fjIUAl4Y0t4mnf2dZjhRHlVdPA78MJn2f2Z7ty3xGbD4NMk3rkt5LEs8g==","signatures":[{"sig":"MEYCIQCABfQYtGNrQdJO2+Vpg2f00T1f3cCg3n1pkdVmqRkq8gIhAO4w1fcedY+acHi+QcRU01Q0LPZR3Jm7lfWke1Xl4VVk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":595546},"gitHead":"1bd0dd06a1ae9665787fd2476161b1222cd47526","_npmUser":{"name":"calesennett","email":"cale@thrdhnd.com"},"repository":{"url":"git+https://github.com/calesennett/pi-hn.git","type":"git"},"_npmVersion":"11.7.0","description":"Hacker News front-page reader extension for pi","directories":{},"_nodeVersion":"22.14.0","dependencies":{"jsdom":"^24.1.3","@mozilla/readability":"^0.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pi-hn_0.1.3_1771712798021_0.5305373781168445","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@calesennett/pi-hn","version":"0.1.4","keywords":["pi-package","pi-extension","hacker-news","hn"],"license":"MIT","_id":"@calesennett/pi-hn@0.1.4","maintainers":[{"name":"calesennett","email":"cale@thrdhnd.com"}],"homepage":"https://github.com/calesennett/pi-hn#readme","bugs":{"url":"https://github.com/calesennett/pi-hn/issues"},"dist":{"shasum":"88bc63df6e41576b0ff26aa139aeadf9ca68151b","tarball":"https://registry.npmjs.org/@calesennett/pi-hn/-/pi-hn-0.1.4.tgz","fileCount":6,"integrity":"sha512-Cu8CyU4BoVJoJr34TkPZlcOr7JoJy8jpeV+BOVc2wKeL/iW00NXFy6JhfHAa2OCcsZipGOpebEgE2DAxJztf1A==","signatures":[{"sig":"MEUCIQDPn/D1VU5K1hiIqV4tKFG73hJ2z6rO5aItRoUIec9ndAIgNES+WIoAM7pwBdoIS4V/twxm7k0SkOpy21pgnBZE/Zo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":598232},"gitHead":"c582dd7d2337c90cddc3c83ad63aac6dd711b3dc","scripts":{"test":"node --test"},"_npmUser":{"name":"calesennett","email":"cale@thrdhnd.com"},"repository":{"url":"git+https://github.com/calesennett/pi-hn.git","type":"git"},"_npmVersion":"11.15.0","description":"Hacker News front-page reader extension for pi","directories":{},"_nodeVersion":"26.2.0","dependencies":{"linkedom":"^0.18.12","@mozilla/readability":"^0.5.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pi-hn_0.1.4_1779596463215_0.7301378755735026","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@calesennett/pi-hn","version":"0.1.5","description":"Hacker News front-page reader extension for pi","keywords":["pi-package","pi-extension","hacker-news","hn"],"license":"MIT","scripts":{"test":"node --test"},"repository":{"type":"git","url":"git+https://github.com/calesennett/pi-hn.git"},"homepage":"https://github.com/calesennett/pi-hn#readme","bugs":{"url":"https://github.com/calesennett/pi-hn/issues"},"pi":{"extensions":["./extensions/hn.ts"],"image":"https://raw.githubusercontent.com/calesennett/pi-hn/main/assets/pi-hn.png"},"peerDependencies":{"@earendil-works/pi-coding-agent":"*","@earendil-works/pi-tui":"*"},"dependencies":{"@mozilla/readability":"^0.5.0","linkedom":"^0.18.12"},"gitHead":"8ba65505af4c44351ece5468491365f5203a5302","_id":"@calesennett/pi-hn@0.1.5","_nodeVersion":"26.2.0","_npmVersion":"11.15.0","dist":{"integrity":"sha512-LZsJ+2k9D9lvnXzrYK9cuEBONUGPHG92tWtmYRz2h1rhnKENfXaaTFLFtrbEzllJqSgDpot2bjTOJZqyCBmljA==","shasum":"0c75172042c3afc5cd1cc7a4324ce8014c5993ab","tarball":"https://registry.npmjs.org/@calesennett/pi-hn/-/pi-hn-0.1.5.tgz","fileCount":6,"unpackedSize":598497,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB7BYFjupdwt31ryd9PraIlZK4sEJ2gY98xChQh7LJ1tAiB1tPMwSecg+2MpYVkKE5JhUR9yrtC/fawLzHWo3H+XKg=="}]},"_npmUser":{"name":"calesennett","email":"cale@thrdhnd.com"},"directories":{},"maintainers":[{"name":"calesennett","email":"cale@thrdhnd.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-hn_0.1.5_1779596811715_0.415066291249945"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-19T05:36:16.735Z","modified":"2026-05-24T04:26:52.028Z","0.1.0":"2026-02-19T05:36:17.073Z","0.1.1":"2026-02-19T06:00:33.060Z","0.1.2":"2026-02-21T22:21:06.798Z","0.1.3":"2026-02-21T22:26:38.196Z","0.1.4":"2026-05-24T04:21:03.429Z","0.1.5":"2026-05-24T04:26:51.931Z"},"bugs":{"url":"https://github.com/calesennett/pi-hn/issues"},"license":"MIT","homepage":"https://github.com/calesennett/pi-hn#readme","keywords":["pi-package","pi-extension","hacker-news","hn"],"repository":{"type":"git","url":"git+https://github.com/calesennett/pi-hn.git"},"description":"Hacker News front-page reader extension for pi","maintainers":[{"name":"calesennett","email":"cale@thrdhnd.com"}],"readme":"# pi-hn\n\nA simple Hacker News front-page reader extension for [pi](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent).\n\n![pi-hn screenshot](https://raw.githubusercontent.com/calesennett/pi-hn/refs/heads/main/assets/pi-hn.png)\n\n## Features\n\n- `/hn` command opens a selectable front-page list\n- `j/k` (and arrow keys) navigate the list\n- `a` or `Enter` opens the article URL\n- `x` fetches and parses the selected article (via Readability) and adds it to session context for follow-up prompts\n- `c` opens comments in browser\n- Read tracking is stored in a local JSON file at `~/.pi/agent/data/pi-hn/db.json` (or `$PI_CODING_AGENT_DIR/data/pi-hn/db.json`)\n\n## Install\n\n```bash\npi install npm:@calesennett/pi-hn\n```\n\n## Local development\n\nIn this repo, load the extension directly:\n\n```bash\npi -e ./extensions/hn.ts\n```\n","readmeFilename":"README.md"}