The postinstall script was changed in version 1.1.7 of the package opencode-agent-tmux.
Previous version: 1.1.3
Previous script:
node dist/scripts/install.js || echo 'Skipping postinstall setup (dist not found)'
New script:
test -f dist/scripts/install.js && node dist/scripts/install.js || echo 'Skipping postinstall setup (dist not found)'
This could be a security risk. Please investigate.