@oaalto-kodanbce/pi-ignore

Pi extension: .piignore negation rules make selected gitignored files discoverable to the agent

Packages

Package details

extension

Install @oaalto-kodanbce/pi-ignore from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@oaalto-kodanbce/pi-ignore
Package
@oaalto-kodanbce/pi-ignore
Version
1.0.0
Published
May 25, 2026
Downloads
not available
Author
oaalto-kodanbce
License
MIT
Types
extension
Size
23.7 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/piignore.ts"
  ]
}

Security note

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

README

@oaalto-kodanbce/pi-ignore

Pi extension: make selected gitignored files discoverable via a project .piignore file (gitignore negation syntax).

Install

pi install npm:@oaalto-kodanbce/pi-ignore@1.0.0
pi install npm:@oaalto-kodanbce/pi-ignore@1.0.0 -l   # project-local
pi -e npm:@oaalto-kodanbce/pi-ignore                 # try once

Setup

Add .piignore at your project root (commit this file; keep referenced docs gitignored):

!docs/issues/
!docs/issues/**
!docs/*prd*.md

Verify

Start pi → info notification about .piignore@docs/... suggests gitignored files → find/grep include them.

Requirements

  • pi with fd and ripgrep (pi installs managed copies under ~/.pi/agent/bin/).

Limitations

  • Skills discovery still uses .gitignore only.
  • Extensions run with full system access; review source before installing.

Update

pi update npm:@oaalto-kodanbce/pi-ignore or bump pinned version in .pi/settings.json.