diff --git a/apps/harness/Dockerfile b/apps/harness/Dockerfile index d65c42f..e1733c6 100644 --- a/apps/harness/Dockerfile +++ b/apps/harness/Dockerfile @@ -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 diff --git a/apps/harness/src/components/harness-dashboard.tsx b/apps/harness/src/components/harness-dashboard.tsx index 5b26890..b4743e3 100644 --- a/apps/harness/src/components/harness-dashboard.tsx +++ b/apps/harness/src/components/harness-dashboard.tsx @@ -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;