#!/bin/sh # xdg-open for processes inside opencode-sandbox (OpenCode and the agent's shell). A browser # started from here would inherit the netlock group and the proxy, and an already running # one would open the agent's link without any filter. opencode-sandbox opens the web UI # itself, from the user's normal group. echo "xdg-open is disabled in the sandbox: $*" >&2 echo "Ask the user to open the link." >&2 exit 1