fix(web): hide opencode's plan agent when legacy plan mode is off (#6420)