Session aware bash tools in Pi Coding Agent
Commands (like bash tools) that is running inside Pi coding agent will be session-aware.
They’ll set PI_MODEL, PI_PROVIDER, PI_REASONING_LEVEL dynamically.
So your scripts/hooks know those context and change it’s behaviour on the fly.