Bash tool: execute shell commands with persistent shell state.
Uses sentinel markers to capture pwd after each command execution, persisting the working directory across calls.