← Catalog

@agnishc/edb-system-prompt-watch

Pi extension: alert when Pi's bundled default system prompt changes

Extension

Install

Install with PiG

pig install npm:@agnishc/edb-system-prompt-watch

Install with Pi

pi install npm:@agnishc/edb-system-prompt-watch
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": [
    "./src/index.ts"
  ]
}

README

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

@agnishc/edb-system-prompt-watch

A Pi CLI extension that alerts when Pi's bundled default system prompt source changes.

This is for setups where you use your own SYSTEM.md, but still want to know when Pi's upstream default prompt changed so you can manually review and merge any useful updates.

Behavior

On Pi startup, the extension:

  1. Reads the installed @earendil-works/pi-coding-agent package version
  2. Hashes the installed dist/core/system-prompt.js
  3. Compares it with the last startup hash stored in ~/.pi/agent/state/system-prompt-watch.json
  4. Shows a warning if the bundled default system prompt source changed
  5. Stores the current hash as the new baseline

First run is silent and only stores the baseline.

The extension does not fetch anything from the network and does not modify your custom prompt.

Install

pi install npm:@agnishc/edb-system-prompt-watch

License

MIT © Agnish Chakraborty