@grammeaway/pi-path-complete

Inline file-path autocompletion extension for the Pi agentic harness

Packages

Package details

extension

Install @grammeaway/pi-path-complete from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@grammeaway/pi-path-complete
Package
@grammeaway/pi-path-complete
Version
1.0.0
Published
Jun 24, 2026
Downloads
206/mo · 10/wk
Author
grammeaway
License
MIT
Types
extension
Size
6.4 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

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

README

pi-path-complete

Disclaimer: Extension written fully by Pi itself.

Inline file-path autocompletion for the pi coding agent.

While typing, if the token under the cursor is a clear path pattern (./, ../, ~/, or a leading /), it lists matching directory entries as autocomplete suggestions. Directories get a trailing / so you can keep chaining into them. Anything else falls through to Pi's built-in provider.

Install

pi install npm:@grammeaway/pi-path-complete

To try it without permanently installing:

pi -e npm:@grammeaway/pi-path-complete

Notes

  • Triggers on tokens starting with ./, ../, ~/, or /. A bare / as the first character on the first line is treated as a slash-command and left to Pi's built-in command menu.
  • Hidden files (dotfiles) are only listed once you type the leading ..
  • Directories sort before files and are suffixed with /.
  • Results are capped at 50 entries.