#!/usr/bin/env python3
"""Detect OS and copy the correct opencode.json config."""

import platform
import shutil

if platform.system() == "Darwin":
    src = "opencode.mac.json"
else:
    src = "opencode.windows.json"

shutil.copy(src, "opencode.json")
print(f"Copied {src} -> opencode.json")