@agnishc/edb-system-prompt-watch

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

Packages

Package details

extension

Install @agnishc/edb-system-prompt-watch from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@agnishc/edb-system-prompt-watch
Package
@agnishc/edb-system-prompt-watch
Version
0.15.1
Published
Jun 9, 2026
Downloads
731/mo · 166/wk
Author
agnishc
License
MIT
Types
extension
Size
6.3 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@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