{"_id":"@elwinliu/pi-neapple","_rev":"3-5a4dff7bf5f81df1960800cc30043ca1","name":"@elwinliu/pi-neapple","dist-tags":{"latest":"2.1.3"},"versions":{"2.1.1":{"name":"@elwinliu/pi-neapple","version":"2.1.1","keywords":["pi-package"],"_id":"@elwinliu/pi-neapple@2.1.1","maintainers":[{"name":"elwinliu","email":"elwin1116@gmail.com"}],"pi":{"themes":["./themes"],"extensions":["./index.ts"]},"dist":{"shasum":"7242d96506dad0f29979f4b308da72ab4f163016","tarball":"https://registry.npmjs.org/@elwinliu/pi-neapple/-/pi-neapple-2.1.1.tgz","fileCount":18,"integrity":"sha512-ygyCh5kpI2oPkXS2IaosPpGzYFB/q2o3TZqDLBR2a+/SbQZk8JuzPrIdOQfDAaBbOM0TjWcKa5wt3w4lbIFVfg==","signatures":[{"sig":"MEYCIQDqG4XJVOtUJY7j+wkubCvGX4X7q76m3/HQiT8Jq7A/RAIhANz5w8xTdw1Ov4Ep7eu8LwTqGoeEJta+Pdvnp0n5Mukx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49371},"main":"index.ts","gitHead":"bbcf8d0576a5a6e051589a5a51c0a5d58cb2b678","_npmUser":{"name":"elwinliu","email":"elwin1116@gmail.com"},"_npmVersion":"11.8.0","description":"Custom input box with closed rectangular border","directories":{},"_nodeVersion":"25.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pi-neapple_2.1.1_1770919855662_0.1476204275251798","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"@elwinliu/pi-neapple","version":"2.1.2","keywords":["pi-package"],"_id":"@elwinliu/pi-neapple@2.1.2","maintainers":[{"name":"elwinliu","email":"elwin1116@gmail.com"}],"pi":{"themes":["./themes"],"extensions":["./index.ts"]},"dist":{"shasum":"879c57d904d8de56b20d3cb2fb6dd623ba91b625","tarball":"https://registry.npmjs.org/@elwinliu/pi-neapple/-/pi-neapple-2.1.2.tgz","fileCount":18,"integrity":"sha512-ucbaA49bdt8ow/usp4zKWB/xTP94pgwxQOCNTPbxoq4LdxgfI2yp9UAbl+xY38kDaCtjRSjbFZLjXEHXLdhtGw==","signatures":[{"sig":"MEYCIQCRqgIotEES1jOLqjSl1z1Y9XxJh5qr4uoCD5j7axzKrgIhAJC2tlzzY9A3n6W+HMDzXiqTIHFmLEnCevH3DcEUXbbm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49453},"main":"index.ts","gitHead":"4330e082bd873afd36a83b041d526d3fda7c1e72","_npmUser":{"name":"elwinliu","email":"elwin1116@gmail.com"},"_npmVersion":"11.8.0","description":"Custom input box with closed rectangular border","directories":{},"_nodeVersion":"25.5.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/pi-neapple_2.1.2_1770920157826_0.6500160452510502","host":"s3://npm-registry-packages-npm-production"}},"2.1.3":{"name":"@elwinliu/pi-neapple","version":"2.1.3","description":"Custom input box with closed rectangular border","main":"index.ts","keywords":["pi-package"],"pi":{"extensions":["./index.ts"],"themes":["./themes"]},"gitHead":"8e7b521aafbf7060d38f584005ed73803ec28f1f","_id":"@elwinliu/pi-neapple@2.1.3","_nodeVersion":"25.5.0","_npmVersion":"11.8.0","dist":{"integrity":"sha512-mFbH0WaXMcfS5+CvoZT37qT3w2R4Ldw3l4ZXl7gk1ulyRRAPL5yFAdyJvdqqkgFkiADdX/yd+zqd1QXqhdehxg==","shasum":"33fea7c37879ddb3e7e9f81644dba6125a0ad54c","tarball":"https://registry.npmjs.org/@elwinliu/pi-neapple/-/pi-neapple-2.1.3.tgz","fileCount":18,"unpackedSize":49439,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDOF0tBVfaVmUOLUcf+SsqMyN05+Z2bTR666n2x3WUo2wIhAK83Dhek2mCY7k6i+UxAFAIaRTMGNPvM5CEF1pI78sSR"}]},"_npmUser":{"name":"elwinliu","email":"elwin1116@gmail.com"},"directories":{},"maintainers":[{"name":"elwinliu","email":"elwin1116@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-neapple_2.1.3_1770920927483_0.8700651154557348"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-12T18:10:55.569Z","modified":"2026-02-12T18:28:47.781Z","2.1.1":"2026-02-12T18:10:55.807Z","2.1.2":"2026-02-12T18:15:57.990Z","2.1.3":"2026-02-12T18:28:47.654Z"},"keywords":["pi-package"],"description":"Custom input box with closed rectangular border","maintainers":[{"name":"elwinliu","email":"elwin1116@gmail.com"}],"readme":"# Pi-neapple extension\n\nA custom look for pi:\n\n- a boxed input editor\n- custom tool-call badges for the built-in tools\n- compact tool-call spacing (one blank line between consecutive calls)\n\n## Features\n\n- Closed rectangular input box (Unicode box drawing)\n- Light gray input border (`#c0c0c0`)\n- Prompt styling:\n  - `>` uses the current theme's accent color\n  - `!` / `!!` (bash modes) use a bright green prompt\n- Slash-command autocomplete dropdown is rendered in a bordered panel\n  - selected row uses accent orange\n  - footer hint shows navigation keys and visible range\n- Tool-call badges for: `read`, `write`, `edit`, `ls`, `find`, `grep`, `bash` (badge bg: `#feb17f`)\n- Assistant responses are prefixed with `•` in `#a35626`\n- Auto-activates the `neapple` theme on session start\n\n## Installation\n\n### Via npm (recommended)\n```bash\npi install npm:@elwinliu/pi-neapple\n```\n\n### Manual\n1. Copy to `~/.pi/agent/extensions/pi-neapple/`\n2. Reload extensions (`/reload`) or restart pi\n\nThe `neapple` theme is bundled in this extension (`themes/neapple.json`) and is discovered automatically.\n\n## Notes\n\n- Tool badges are implemented by **overriding** the built-in tools via `pi.registerTool()` (last registration wins).\n- Assistant/user message styling uses prototype patching to inject `•` / `›` prefixes.\n- Tool block spacing is compacted via prototype patching of `ToolExecutionComponent`.\n","readmeFilename":"README.md"}