pub fn plan_opencode_config_change(
project_dir: &Path,
) -> Result<PlannedOpencodeChange>Expand description
Dry-run preview of what update_opencode_config_detailed would do.
Returns a PlannedOpencodeChange describing whether any write would
happen (will_change) and whether comments would be lost in the
process (comments_lost). Callers that only need the boolean answer
(e.g. the sqz init plan builder deciding whether to list OpenCode
in the plan) can check will_change directly.
Added after @Icaruk reported on issue #6 that the plan announced an OpenCode merge on every re-run even when the file was already fully configured, so users saw “no changes” and assumed the tool was broken.