@zeldrisho/pi-file-remove

Pi extension that prefers gomi for personal local file removal

Packages

Package details

extension

Install @zeldrisho/pi-file-remove from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@zeldrisho/pi-file-remove
Package
@zeldrisho/pi-file-remove
Version
0.3.2
Published
Jul 30, 2026
Downloads
685/mo · 339/wk
Author
zeldrisho
License
MIT
Types
extension
Size
5.6 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

@zeldrisho/pi-file-remove

Pi extension that guides coding agents to use gomi for recoverable file and directory removal on the user's local development machine.

Install

On the user's local development machine, install gomi and ensure it is available on the user's PATH. Then install the package:

pi install npm:@zeldrisho/pi-file-remove

Install only for the current project:

pi install -l npm:@zeldrisho/pi-file-remove

When Pi's bash tool is active, the extension adds concise guidance to use gomi instead of rm locally and the existing removal workflow in CI, containers, or production.

gomi moves removed files and directories to trash so they can be restored.

The extension provides prompt guidance only. It does not intercept or block tool calls.

Uninstall

pi remove npm:@zeldrisho/pi-file-remove

For a project-local installation:

pi remove -l npm:@zeldrisho/pi-file-remove

License

MIT