npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@syntesseraai/pi-feature-factory

v0.2.41

Published

Pi extension package for Feature Factory tool-orchestrated phase delegation

Readme

@syntesseraai/pi-feature-factory

Pi package for Feature Factory orchestration. It reuses OpenCode Feature Factory assets as source material, then runs the workflow in Pi as a tool-orchestrated coordinator.

No Pi subagents, ACP runtime, or fixed phase state machine are required.

Install & Update

pi install npm:@syntesseraai/pi-feature-factory

For local development:

pi install -l ./packages/pi-extension

Deploying phase definitions

ff-pi-deploy reads definitions from assets/agents/, rewrites them as user-editable Pi phase definitions, and writes them to:

${PI_CODING_AGENT_DIR:-~/.pi/agent}/ff-phases/

Usage:

npm run deploy-pi
npm run deploy-pi -- -y
npm run deploy-pi -- --list-models
npm run deploy-pi -- --list-native-models
npm run deploy-pi -- --list-delegate-agents

Deploy writes native Pi phase files plus delegate CLI config in frontmatter:

runtime: "native"
model: "openai-codex/gpt-5.4-mini"
delegate_agent: "codex"
delegate_model: "openai/gpt-5.4-mini-fast"
delegate_mode: "implement"
delegate_reasoning: "high"
delegate_temperature: 0.4
delegate_write_policy: "workspace-write"

Running Feature Factory

/feature-factory I need to change X, Y, Z

When /feature-factory starts, the extension temporarily enables generated phase tools such as:

ff_phase_planning
ff_phase_building
ff_phase_code_reviewing
ff_phase_documenting
ff_phase_full_reviewing

The coordinator model receives the Feature Factory prompt and decides which phase tools to call. Phase tool output is fed back into the coordinator, which determines the next step itself. When the coordinator turn ends, the extension restores the previous Pi tool set, so normal Pi sessions cannot accidentally invoke Feature Factory phase tools.

Phase Tools

Each phase tool accepts only task input:

{
  task: string;
  files?: string[];
}

Agent/model/reasoning/temperature/write-policy settings come from the phase frontmatter, not the tool call. The phase markdown body is injected into the delegated CLI prompt automatically.

CLI Delegation

Phase tools run the configured CLI directly in ctx.cwd:

| delegate_agent | Command shape | |---|---| | claude-code | claude -p - --output-format stream-json --model <model> | | codex | codex exec --sandbox <mode> -m <model> - | | gemini-cli | gemini --prompt - --output-format json -m <model> | | opencode | opencode run --format json -m <model> - |

MCP config is not written into CLI config files. Where supported, it is passed dynamically for the run only (Claude Code uses --mcp-config <temp-file> --strict-mcp-config).

What it provides

  • /feature-factory slash command
  • Generated phase tools enabled only during /feature-factory
  • User-editable phase definitions in ff-phases/
  • CLI delegation to Claude Code, Codex, Gemini CLI, and OpenCode
  • Skill loading from assets/skills

Architecture

| Module | Purpose | |---|---| | index.ts | Extension entry point, /feature-factory, scoped phase-tool activation | | phase-definitions.ts | Loads deployed phase markdown and phase-tool config | | cli-agents.ts | Registers phase tools and runs configured CLI workers | | ff-pi-deploy.js | Generates user-editable phase definitions with delegate frontmatter |

Asset sync

npm run sync:assets
npm run sync:assets:source

npm run build runs sync:assets:source first and then type-checks the extension. sync:assets:source mirrors agents/, skills/, and AGENTS.md from packages/opencode-plugin; missing command assets are skipped because the plugin no longer ships them.`