pub fn write_opencode_config(
compose: &Compose,
h: AgentHandle<'_>,
team_mcp_bin: &str,
) -> Result<()>Expand description
Write (or clear) the per-agent OpenCode opencode.json. Mirrors
write_codex_config: the scoped + full render paths both call it
so a mcps: edit flows into the agent at the next render. For
non-opencode agents only the managed opencode.json is removed —
never the home dir itself, which holds the agent’s session db.