@jo.cs98/opencode-plus 1.3.0-plus.2 → 1.3.0-plus.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/install.cjs +7 -0
  2. package/package.json +1 -1
package/bin/install.cjs CHANGED
@@ -153,6 +153,13 @@ async function main() {
153
153
 
154
154
  fs.copyFileSync(extracted, dest)
155
155
  if (platform !== "windows") fs.chmodSync(dest, 0o755)
156
+ if (platform === "darwin") {
157
+ try {
158
+ execFileSync("xattr", ["-d", "com.apple.quarantine", dest], { stdio: "ignore" })
159
+ } catch {
160
+ // xattr may not exist or file may not be quarantined — not fatal
161
+ }
162
+ }
156
163
  console.log(`[opencode-plus] Installed binary to ${dest}`)
157
164
  return
158
165
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0-plus.2",
2
+ "version": "1.3.0-plus.4",
3
3
  "name": "@jo.cs98/opencode-plus",
4
4
  "description": "OpenCode Plus - AI coding agent CLI",
5
5
  "type": "module",