@baggiiiie/pi-no-ansi
A minimal pi package that keeps `bash` tool output cleaner for the model by:
Package details
Install @baggiiiie/pi-no-ansi from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@baggiiiie/pi-no-ansi- Package
@baggiiiie/pi-no-ansi- Version
0.0.1- Published
- May 4, 2026
- Downloads
- not available
- Author
- baggiiiie
- License
- unknown
- Types
- extension
- Size
- 2.1 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
@baggiiiie/pi-no-ansi
A minimal pi package that keeps bash tool output cleaner for the model by:
- setting common no-color environment variables for every pi
bashtool call - stripping ANSI escape sequences from captured
bashoutput before it reaches model context
Install
pi install /path/to/pi-stuff/packages/no-ansi
Or after publishing:
pi install npm:@baggiiiie/pi-no-ansi
Usage
Once installed, restart pi or run /reload.
No commands or configuration required.
Notes
- This only affects pi
bashtool calls. - It preserves raw command execution behavior; it just tweaks env vars and sanitizes returned text.
- It is intentionally minimal and does not add command-specific
--color=neverflags. - It sets these env vars for every pi
bashtool call:
NO_COLOR=1
CLICOLOR=0
FORCE_COLOR=0
TERM=dumb