mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-07-09 17:18:34 +00:00
* chore: rename moved repos OpenRouterTeam→OpenRouterLabs and sst/opencode→anomalyco
Pure mechanical find/replace across the tree — both repos were renamed on
GitHub and only resolved via 301 redirects (fragile; hijack risk if the old
names are re-registered).
- OpenRouterTeam/spawn → OpenRouterLabs/spawn (141 refs): hardcoded REPO
consts (manifest.ts, agent-tarball.ts), release-download URLs in every
sh/{cloud}/{agent}.sh, gh/raw/asset URLs, docs, tests, fixtures.
- sst/opencode → anomalyco/opencode (5 refs): manifest, README, agent-setup.ts
download cmd, opencode.Dockerfile.
No behavior change. biome clean (205 files). CLI version 1.1.0 → 1.1.1.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* test(spawn): deflake cmdRun + hetzner tests (disable telemetry in tests, route hetzner mock by endpoint)
* test(spawn): deflake cmdRun + hetzner tests (disable telemetry in tests, route hetzner mock by endpoint)
* test(spawn): deflake cmdRun + hetzner tests (disable telemetry in tests, route hetzner mock by endpoint)
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: spa-the-spawn-maintainer[bot] <286559366+spa-the-spawn-maintainer[bot]@users.noreply.github.com>
28 lines
1 KiB
Docker
28 lines
1 KiB
Docker
FROM ubuntu:24.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Base packages
|
|
RUN apt-get update -y && \
|
|
apt-get install -y --no-install-recommends \
|
|
curl git ca-certificates unzip && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# OpenCode — download latest release binary
|
|
RUN OC_ARCH=$(uname -m) && \
|
|
case "$OC_ARCH" in aarch64) OC_ARCH=arm64;; x86_64) OC_ARCH=x64;; esac && \
|
|
OC_OS=$(uname -s | tr A-Z a-z) && \
|
|
mkdir -p /tmp/opencode-install /root/.opencode/bin && \
|
|
curl --proto '=https' -fsSL -o /tmp/opencode-install/oc.tar.gz \
|
|
"https://github.com/anomalyco/opencode/releases/latest/download/opencode-${OC_OS}-${OC_ARCH}.tar.gz" && \
|
|
tar xzf /tmp/opencode-install/oc.tar.gz -C /tmp/opencode-install && \
|
|
mv /tmp/opencode-install/opencode /root/.opencode/bin/ && \
|
|
rm -rf /tmp/opencode-install
|
|
|
|
# Ensure tools are on PATH for all shells
|
|
RUN for rc in /root/.bashrc /root/.zshrc; do \
|
|
grep -q '.opencode/bin' "$rc" 2>/dev/null || \
|
|
echo 'export PATH="$HOME/.opencode/bin:$PATH"' >> "$rc"; \
|
|
done
|
|
|
|
CMD ["/bin/sleep", "inf"]
|