pub(crate) fn apply_for_spawn(
env_vars: &mut HashMap<String, String>,
block_id: &str,
)Expand description
Set the prefix in an agent’s spawn environment
(input::build_persistent_spawn_env). Not for a pane in the MCP
self-heal’s safe profile: its MCP server failed to start and reconnecting
didn’t help, so its CLI runs without the prefix, as with
AGENTMUX_BASHWRAP_MODE=rewrite (backend::mcp_health).