Skip to main content

load_opencode

Function load_opencode 

Source
pub fn load_opencode(
    home: &Path,
    project_root: Option<&Path>,
) -> IdePermissionPolicy
Expand 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.