@elwinliu/pi-neapple

Custom input box with closed rectangular border

Package details

extensiontheme

Install @elwinliu/pi-neapple from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@elwinliu/pi-neapple
Package
@elwinliu/pi-neapple
Version
2.1.3
Published
Feb 12, 2026
Downloads
25/mo · 12/wk
Author
elwinliu
License
unknown
Types
extension, theme
Size
48.3 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ],
  "themes": [
    "./themes"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

Pi-neapple extension

A custom look for pi:

  • a boxed input editor
  • custom tool-call badges for the built-in tools
  • compact tool-call spacing (one blank line between consecutive calls)

Features

  • Closed rectangular input box (Unicode box drawing)
  • Light gray input border (#c0c0c0)
  • Prompt styling:
    • > uses the current theme's accent color
    • ! / !! (bash modes) use a bright green prompt
  • Slash-command autocomplete dropdown is rendered in a bordered panel
    • selected row uses accent orange
    • footer hint shows navigation keys and visible range
  • Tool-call badges for: read, write, edit, ls, find, grep, bash (badge bg: #feb17f)
  • Assistant responses are prefixed with in #a35626
  • Auto-activates the neapple theme on session start

Installation

Via npm (recommended)

pi install npm:@elwinliu/pi-neapple

Manual

  1. Copy to ~/.pi/agent/extensions/pi-neapple/
  2. Reload extensions (/reload) or restart pi

The neapple theme is bundled in this extension (themes/neapple.json) and is discovered automatically.

Notes

  • Tool badges are implemented by overriding the built-in tools via pi.registerTool() (last registration wins).
  • Assistant/user message styling uses prototype patching to inject / prefixes.
  • Tool block spacing is compacted via prototype patching of ToolExecutionComponent.