pub fn load_opencode(
home: &Path,
project_root: Option<&Path>,
) -> IdePermissionPolicyExpand description
Read and merge the OpenCode permission object: global config first, then
the project config (project keys override global). Missing/invalid files are
skipped silently — inheritance must never break a tool call by erroring.