pi-smart-confirm

Smart confirmation gate for Pi agent that permits harmless read-only inspection while requiring user confirmation for writes, edits, and other dangerous commands.

Packages

Package details

extension

Install pi-smart-confirm from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-smart-confirm
Package
pi-smart-confirm
Version
1.0.1
Published
Nov 4, 2026
Downloads
495/mo · 495/wk
Author
shoobham84
License
MIT
Types
extension
Size
6.1 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extensions/index.ts"
  ]
}

Security note

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

README

pi-smart-confirm

smart confirmation gate for the pi coding agent.

What do?

  • harmless commands like cat, ls, grep, pwd, a safe |, 2>/dev/null, etc. run automatically without prompting

  • flags file modifications like write, edit, shell redirections like > file.txt, cmd substitutions using backticks or $(...), and dangerous flags like find -exec, find -delete have a confirmation TUI show up

Installation:

pi install npm:pi-smart-confirm