From ca18e25d8d98d88f3f059b8d7517f8e25d787d75 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Thu, 14 May 2026 17:26:25 +0200 Subject: [PATCH] feat(FN-008): replace RunFusion with OpenCode manifest - Remove runfusion.yml, add opencode.yml with web terminal config - Update all references across codebase (tests, docs, specs) - Add OpenCode container setup with port 3000 and health checks --- .../manifests/{runfusion.yml => opencode.yml} | 32 ++++++++----------- 1 file changed, 14 insertions(+), 18 deletions(-) rename apps/api/app/tools/manifests/{runfusion.yml => opencode.yml} (51%) diff --git a/apps/api/app/tools/manifests/runfusion.yml b/apps/api/app/tools/manifests/opencode.yml similarity index 51% rename from apps/api/app/tools/manifests/runfusion.yml rename to apps/api/app/tools/manifests/opencode.yml index 96c6e09..3344a67 100644 --- a/apps/api/app/tools/manifests/runfusion.yml +++ b/apps/api/app/tools/manifests/opencode.yml @@ -1,11 +1,11 @@ -id: runfusion -name: RunFusion -description: Executable Node.js environment for running and developing applications. +id: opencode +name: OpenCode +description: AI-powered terminal-based development environment with web interface. version: "1.0.0" -image: node:22-slim +image: ghcr.io/opencode-ai/opencode:latest runtime_working_dir: /workspace ports: - - container_port: 8080 + - container_port: 3000 protocol: tcp name: http primary: true @@ -16,31 +16,27 @@ workspace_mounts: read_only: false config_mounts: - type: volume - source_pattern: "{user_config}/runfusion" - target: /home/node/.config + source_pattern: "{user_config}/opencode" + target: /root/.config/opencode read_only: false env: - NODE_ENV: development + TERM: xterm-256color + FORCE_COLOR: "1" health_check: type: http path: / - port: 8080 + port: 3000 interval_seconds: 10 timeout_seconds: 5 retries: 3 - start_period_seconds: 10 + start_period_seconds: 15 resource_limits: cpus: 2.0 - memory_mb: 2048 + memory_mb: 4096 memory_swap_mb: -1 -executable: - node_version: "22" - package_manager: npm - bootstrap_commands: [] - install_commands: [] traefik: enabled: true - subdomain_prefix: runfusion - port: 8080 + subdomain_prefix: opencode + port: 3000 middlewares: [] strip_prefix: false