← Catalog

pi-island

Dynamic-Island-style status capsule for the pi coding agent on macOS and Windows. Shows what pi is doing in real time, at the very top of your screen — with native notch-wrap support for MacBooks.

Extension

Install

Install with PiG

pig install npm:pi-island

Install with Pi

pi install npm:pi-island
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./pi-extension/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.

pi-island

A Dynamic-Island-style status capsule for the pi coding agent. Pinned at the top of your screen on macOS and Windows, live on every turn.

On macOS the capsule wraps the MacBook notch natively. On Windows it pins to the top-center of the active display.


Install

Supported on macOS and Windows. You need pi plus the toolchain for your platform:

  • macOS — Xcode Command Line Tools (xcode-select --install)
  • Windows — .NET 8 SDK (winget install Microsoft.DotNet.SDK.8)

Then:

pi install npm:pi-island

The postinstall step compiles the native host for your platform (Swift on macOS, C# / WebView2 on Windows). If the required toolchain is missing, the install still succeeds — the extension just no-ops until you install it and run npm run build.

The island turns on automatically for every pi session after install. Type /island any time to tweak it.

Settings

Inside any pi session, type:

/island

A drop-down opens with four rows. Cycle each value with Enter or Space:

SettingValuesNotes
Visibilityenabled / disabledRemember the choice across restarts.
Sizesmall / medium / large / xlargeLive — no respawn.
Screenprimary / active / 2 / 3 …primary = menu-bar display, active = under mouse, numbers for multi-monitor.
Notch wrapauto / normal / notchmacOS only. auto detects; forcing off/on also supported. On Windows this row is inert.

Your choices are persisted in ~/.pi/pi-island.json and survive every pi restart.

Quick-actions (skip the menu)

Muscle memory / scripts:

/island on            # or: enable
/island off           # or: disable
/island toggle
/island size large
/island screen primary
/island notch notch
/island reload        # reset companion state (emergency eject)

Run pi in multiple terminals — each session gets its own row, stacked into one continuous capsule.

Troubleshooting

Empty / frozen rows stuck in the capsule

If you see rows with no project name and a spinner that never advances (typically after upgrading pi-island while pi was running), reset the companion in one of two ways:

  1. Inside pi: /island reload — nukes state in place.
  2. Outside pi:
    pkill -f pi-island/pi-extension/companion.mjs
    

Either one is a one-shot cleanup. pi-island 0.2.1+ auto-detects and heals a version mismatch on the next /island use, so upgrading from 0.2.1 onward should be silent.

Website

A minimal informational site lives in web/ — built with Next.js 16 and the pi.dev palette, deployable to Vercel with Root Directory = web. See web/README.md.

Development

Dev/release workflow (link, pack-test, publish) is documented in docs/RELEASING.md.

License

MIT — see LICENSE. Architecture notes & contributor docs live in AGENT.md.