Skip to content

Patrick3131/pi-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-packages

A monorepo of Pi extensions published as npm packages.

Packages

Package Description Version
pi-crawl4ai Web crawling with crawl4ai and proxy support npm
pi-brave-search Brave Web Search for discovery workflows that pair with crawl4ai unpublished
pi-context-inspector Effective system prompt and context burden inspector with HTML + JSON reports unpublished

Installation

From npm (recommended)

npm install pi-crawl4ai
# or
npm install pi-brave-search
# or
npm install pi-context-inspector

Add to your Pi settings.json:

{
  "packages": ["pi-crawl4ai", "pi-brave-search", "pi-context-inspector"]
}

From GitHub

Add to your Pi settings.json:

{
  "extensions": ["github:Patrick3131/pi-packages/packages/pi-crawl4ai"]
}

For Local Development

git clone https://github.com/Patrick3131/pi-packages.git
cd pi-packages
npm install
npm run build

Add to your Pi settings.json:

{
  "extensions": ["/path/to/pi-packages/packages/pi-crawl4ai/dist/index.mjs"]
}

Development

# Install dependencies
npm install

# Build all packages
npm run build

# Build single package
npm run build --workspace=packages/pi-crawl4ai

# Type check all
npm run typecheck

Adding a New Package

  1. Create directory: packages/pi-<name>/
  2. Copy structure from packages/pi-crawl4ai/
  3. Update package.json with new name and description
  4. Add to the Packages table above

Publishing

cd packages/pi-crawl4ai
npm version patch  # or minor, major
npm publish

Structure

pi-packages/
├── packages/
│   ├── pi-context-inspector/
│   │   ├── src/
│   │   ├── package.json
│   │   └── README.md
│   ├── pi-brave-search/
│   │   ├── src/
│   │   ├── package.json
│   │   └── README.md
│   └── pi-crawl4ai/
│       ├── src/
│       ├── package.json
│       └── README.md
├── package.json          # Workspace root
├── AGENTS.md             # Working agreements
├── CONTEXT.md            # Architecture
└── README.md             # This file

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors