Mutable session state shared across the app, adapter, and agent.
Tracks runtime flags like auto-approve that can be toggled during a session via keybindings or the HITL approval menu's "Auto-approve all" option.
The auto_approve flag controls whether tool calls (shell execution, file
writes/edits, web search, URL fetch) require user confirmation before running.