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

@kata-sh/pi-symphony-extension

v0.1.2

Published

Pi extension for launching, attaching to, and monitoring Kata Symphony

Downloads

384

Readme

@kata-sh/pi-symphony-extension

Pi extension for initializing, launching, attaching to, and monitoring Kata Symphony.

Requirements

  • Pi coding agent with extension package support.
  • symphony >= 2.3.0 available through one of the binary resolution paths below.

The extension resolves the Symphony binary in this order:

  1. SYMPHONY_BIN
  2. repo-local apps/symphony/target/release/symphony
  3. symphony on PATH
  4. previously saved absolute path
  5. prompted absolute path

Installation

# Latest npm release
pi install npm:@kata-sh/pi-symphony-extension

# Pinned npm release
pi install npm:@kata-sh/[email protected]

# Latest monorepo git package
pi install git:github.com/gannonh/kata

# Pinned monorepo git package
pi install git:github.com/gannonh/[email protected]

Local development

pnpm --dir apps/symphony/pi-extension test
pnpm --dir apps/symphony/pi-extension typecheck

Run it locally with pi -e ./apps/symphony/pi-extension.

Commands through Wave 3

  • /symphony:help
  • /symphony:init [--force]
  • /symphony:doctor [workflow]
  • /symphony:start [workflow]
  • /symphony:attach [url]
  • /symphony:detach
  • /symphony:console
  • /symphony:status
  • /symphony:refresh
  • /symphony:steer <ISSUE> <instruction>
  • /symphony:stop

Console keys through Wave 3

  • / selects running workers, retry entries, blocked issues, completed issues, and pending escalations.
  • r requests an immediate Symphony refresh and reloads state.
  • s prompts for a steer instruction when the selected item is a running worker.
  • e prompts for a response when the selected item is a pending escalation. Valid JSON is sent as JSON; other input is sent as a string response.
  • d toggles selected-item details.
  • q or Escape closes the console and leaves Symphony running.

Progress feedback

Commands that can take a few seconds show Pi-native progress feedback while they run:

  • /symphony:refresh, /symphony:attach [url], and /symphony:stop use inline working text plus the Symphony footer status.
  • /symphony:start, /symphony:init, and /symphony:doctor use a blocking loader panel.
  • Symphony tools emit partial progress updates before returning their final result.

Slice 1 verification

Verified commands:

/symphony:help
/symphony:status

Package checks:

pnpm --dir apps/symphony/pi-extension test
pnpm --dir apps/symphony/pi-extension typecheck

Wave 3 manual verification

  1. Start Pi with the local extension:

    pi -e ./apps/symphony/pi-extension

    Expected: Pi starts with Symphony commands available.

  2. Start or attach to a Symphony server:

    Start path:

    /symphony:start .symphony/WORKFLOW.md

    Expected: Symphony starts, the console opens, and the status block shows the attached base URL.

    Attach path:

    /symphony:attach http://127.0.0.1:<port>
    /symphony:console

    Expected: attach updates the Symphony attachment, then /symphony:console opens the console with the attached base URL in the status block.

  3. Create or use a Symphony state with at least one retry entry, blocked issue, completed issue, and pending escalation.

    For deterministic local testing, start the Wave 3 mock server in another terminal:

    pnpm --dir apps/symphony/pi-extension run mock:wave3

    Then attach Pi to the printed URL:

    /symphony:attach http://127.0.0.1:8787
    /symphony:console

    Expected: the console shows Retry Queue, Blocked Issues, Completed Issues, and Pending Escalations sections.

  4. Use / to select each Wave 3 item type.

    Expected: the detail panel shows running, retry, blocked, completed, and escalation-specific fields.

  5. Select a pending escalation, press e, and enter {"approved":true}.

    Expected: Pi reports Escalation response sent for <request_id> and the console refreshes.

  6. Watch recent events after escalation creation and response.

    Expected with a real or event-capable Symphony server: escalation lifecycle events appear in the Events section. The Wave 3 mock server supports state, refresh, steer, and escalation response checks, but it does not expose /api/v1/events.