@zigai/pi-mention-project

Pi package that adds fuzzy project directory mentions.

Packages

Package details

extension

Install @zigai/pi-mention-project from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@zigai/pi-mention-project
Package
@zigai/pi-mention-project
Version
0.2.1
Published
Jun 19, 2026
Downloads
not available
Author
zigai
License
MIT
Types
extension
Size
31.1 KB
Dependencies
1 dependency · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

Pi Mention Project

npm version npm downloads license

Type # to fuzzy-search your project folder. The completion inserts #project-name; the model receives the project's absolute path.

Install

pi install npm:@zigai/pi-mention-project

Config

Add roots in ~/.pi/agent/settings.json or .pi/settings.json:

{
  "mentionProjectRoots": ["~/Projects"]
}

By default it lists only direct child folders that:

  • are Git repos (.git directory or worktree file)
  • do not start with .

Optional settings:

{
  "mentionProjectTrigger": "#",
  "mentionProjectGitReposOnly": true,
  "mentionProjectIncludeDotFolders": false
}

License

MIT