mirror of
https://github.com/okxlin/release-factory.git
synced 2026-09-22 08:02:15 +00:00
- Rename directory: oh-my-opencode-builder/ → opencode-workstation-builder/ - Rename workflow: build-oh-my-opencode-runtime.yml → build-opencode-workstation.yml - Update IMAGE_REPO default to opencode-workstation - Update all path references in workflow and scripts - Update OCI image title and description - Preserve upstream npm package oh-my-opencode references
15 lines
375 B
Bash
Executable File
15 lines
375 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
: "${ACP_PORT:=8765}"
|
|
: "${ACP_HOST:=0.0.0.0}"
|
|
: "${ACP_COMMAND:=opencode acp --hostname ${ACP_HOST} --port ${ACP_PORT}}"
|
|
|
|
if ! command -v opencode >/dev/null 2>&1; then
|
|
echo "[acp-runtime] opencode is required before starting ACP runtime" >&2
|
|
exit 1
|
|
fi
|
|
|
|
echo "[acp-runtime] starting: ${ACP_COMMAND}"
|
|
exec bash -lc "${ACP_COMMAND}"
|