pub fn install_opencode_plugin(sqz_path: &str) -> Result<bool>Expand description
Install the OpenCode plugin to ~/.config/opencode/plugins/sqz.ts.
Always writes the latest generated plugin, overwriting any previous version. The file is machine-generated (not user-edited), so overwriting is safe and ensures fixes like the V1 id export and the –cmd rewrite propagate on re-init. Previously this skipped if the file existed, which left stale plugins in place after upgrades (@itguy327 on issue #10: “that odd display issue is still there”).
Returns true if the file was created or updated, false if the
content was already identical (no disk write needed).