@firstpick/pi-utils

Shared utilities for Firstpick Pi extension packages.

Package details

extension

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

$ pi install npm:@firstpick/pi-utils
Package
@firstpick/pi-utils
Version
0.1.0
Published
May 5, 2026
Downloads
not available
Author
firstpick
License
MIT
Types
extension
Size
2.5 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-extension-utils

Shared helper utilities used by @firstpick/pi-extension-* packages.

Exports

  • getAgentDir()
  • envFlag(name, fallback?)
  • resolvePathFromAgentDir(configuredPath)