#!/bin/sh
# Installed as /usr/bin/opencode (zia-forsuryaos). Exec the tarball CLI only; do not
# use a symlink so shells, sudo, and non-login environments resolve reliably.
# Do not inject OPENCODE_PROJECT_ROOT here — that matches the raw vendor binary and
# avoids project/script resolution that breaks `opencode serve`. Zia sets project
# root for the bridge via /etc/zia-forsuryaos/environment and OpenCodeSDK.
exec /usr/libexec/zia-forsuryaos/bin/opencode "$@"
