Fix deploy build failure and opencode chat execvp error
All checks were successful
CI / lint-and-test (push) Successful in 38s
Deploy Production / deploy (push) Successful in 1m20s
CI / build (push) Successful in 2m0s

Add "gitea" to local RepoResult provider type (was missing from UI
interface despite being returned by repo-search). Copy opencode binary
instead of symlinking — symlink through /root/ is inaccessible to the
nextjs user due to directory permissions.
This commit is contained in:
Julia McGhee
2026-03-21 22:21:28 +00:00
parent ce58800b36
commit 96cd8dfed9
2 changed files with 3 additions and 3 deletions

View File

@@ -42,8 +42,8 @@ RUN apk add --no-cache git github-cli curl ca-certificates
RUN npm install -g @anthropic-ai/claude-code @openai/codex
RUN curl -fsSL https://opencode.ai/install | sh || \
echo "WARN: opencode install failed, skipping"
# Ensure opencode is on PATH (installer puts it in ~/.local/bin)
RUN if [ -f /root/.local/bin/opencode ]; then ln -s /root/.local/bin/opencode /usr/local/bin/opencode; fi
# Ensure opencode is on PATH (installer puts it in ~/.local/bin which root owns)
RUN if [ -f /root/.local/bin/opencode ]; then cp /root/.local/bin/opencode /usr/local/bin/opencode; fi
# MCP servers: Gitea (Go binary from builder stage)
COPY --from=gitea-mcp-builder /usr/local/bin/gitea-mcp /usr/local/bin/gitea-mcp

View File

@@ -613,7 +613,7 @@ function NewTaskTab({ onSubmit, mobile, projects, knowledgeDocs }: {
// ─── REPO SEARCH COMPONENT ────────────────────────────────────────────────────
interface RepoResult {
provider: "github" | "gitlab";
provider: "github" | "gitlab" | "gitea";
fullName: string;
url: string;
description: string;