
Security News
pnpm 11.5 Adds Support for Recognizing npm Staged Publishes
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.
Peacock-style workspace coloring, repo badges, and terminal titles for pi coding agent
Peacock-style workspace coloring for pi coding agent.
pi-peacock is for people who work in multiple repos or multiple pi sessions and want each workspace to be instantly recognizable, similar to the VS Code Peacock extension.
It gives pi a repo identity by:
So instead of every pi session looking the same, your backend repo can feel orange, your frontend blue, your extension purple, and so on.
If you regularly work across:
then pi-peacock helps you distinguish them at a glance without relying on memory or terminal tab names alone.
It is especially useful when you often have several pi windows open at once.
pi-peacock changes pi's own UI identity, not your editor or terminal theme globally.
It can:
It does not try to recolor your terminal application's native window chrome, since that is terminal-dependent and not reliably portable.
peacock.jsonpeacock-amberpeacock-bluepeacock-cyanpeacock-greenpeacock-purplepeacock-roseThese themes are tuned for dark terminals and make border/accent differences obvious without being overly noisy.
pi install npm:pi-peacock
pi install git:github.com/metmirr/pi-peacock
pi install ./pi-peacock
pi -e ./pi-peacock
You can use pi-peacock with no config at all.
Once installed, it will:
If you want fixed mappings, add a config file.
pi-peacock looks for config in:
~/.pi/agent/peacock.json<git-root>/.pi/peacock.jsonProject config overrides global config.
{
"rules": [
{ "repo": "nearbygpt-backend", "theme": "peacock-amber", "label": "backend" },
{ "repo": "nearbygpt-pwa", "theme": "peacock-blue", "label": "pwa" },
{ "repo": "chrome-extension", "theme": "peacock-purple", "label": "extension" },
{ "repo": "mapsense-app", "theme": "peacock-green", "label": "mapsense" }
]
}
{
"autoAssignTheme": true,
"fallbackTheme": "dark",
"fallbackLabel": "workspace",
"showBranch": true,
"showStatus": true,
"showTitle": true,
"titlePrefix": "π",
"rules": [
{
"repo": "nearbygpt-backend",
"theme": "peacock-amber",
"label": "backend",
"title": "π {label} · {branch}",
"status": "backend"
},
{
"pathIncludes": ["/work/client-a/", "/work/client-b/"],
"theme": "peacock-cyan",
"label": "client-work"
}
]
}
Each rule can contain:
repo: exact git repo folder namepathIncludes: string or array of substrings matched against cwd and git roottheme: theme name to switch tolabel: short name used for footer/titletitle: custom title templatestatus: custom footer label/templateAvailable placeholders in title and status:
{repo}{branch}{label}{cwd}{gitRoot}/peacockRe-applies the current repo identity and shows which theme/config source is active.
Useful when:
An example config for this monorepo is included at:
examples/nearbygpt-peacock.jsonThis package ships with:
extensions/repo-peacock.ts — the pi extensionthemes/*.json — bundled peacock themesexamples/nearbygpt-peacock.json — sample repo mapping confignpm publish
After pushing the repo to GitHub, users can install it directly with:
pi install git:github.com/metmirr/pi-peacock
The package already includes the pi-package keyword so it is ready to be distributed as a pi package.
pi-peacock auto-picks one of the bundled themes.pi-peacock will re-apply when identity changes or when you run /peacock.FAQs
Peacock-style workspace coloring, repo badges, and terminal titles for pi coding agent
The npm package pi-peacock receives a total of 3 weekly downloads. As such, pi-peacock popularity was classified as not popular.
We found that pi-peacock demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.