diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..61df2bb38 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,17 @@ +# Force LF line endings for all shell scripts and Docker-mounted files. +# Windows Git's core.autocrlf converts LF→CRLF on checkout, which breaks +# shell shebangs inside Linux Docker containers (kernel reads #!/bin/sh\r +# and fails with "no such file or directory"). +*.sh text eol=lf +*.bash text eol=lf +Dockerfile* text eol=lf +docker-entrypoint* text eol=lf +*.yaml text eol=lf +*.yml text eol=lf +*.json text eol=lf +*.env text eol=lf + +# PowerShell scripts can use CRLF (native Windows) +*.ps1 text eol=crlf +*.psm1 text eol=crlf +*.psd1 text eol=crlf diff --git a/dream-server/extensions/services/openclaw/compose.yaml b/dream-server/extensions/services/openclaw/compose.yaml index 45a9775a6..4f45781aa 100644 --- a/dream-server/extensions/services/openclaw/compose.yaml +++ b/dream-server/extensions/services/openclaw/compose.yaml @@ -13,7 +13,7 @@ services: - BOOTSTRAP_MODEL=${BOOTSTRAP_MODEL:-qwen3:8b-q4_K_M} - OLLAMA_URL=${LLM_API_URL:-http://llama-server:8080} - SEARXNG_BASE_URL=http://searxng:8080 - entrypoint: ["/bin/sh", "-c", "node /config/inject-token.js; exec docker-entrypoint.sh node openclaw.mjs gateway --allow-unconfigured --bind localhost"] + entrypoint: ["/bin/sh", "-c", "node /config/inject-token.js; exec docker-entrypoint.sh node openclaw.mjs gateway --allow-unconfigured --bind lan"] volumes: - ./config/openclaw:/config:ro - ./data/openclaw:/data diff --git a/dream-server/installers/windows/install-windows.ps1 b/dream-server/installers/windows/install-windows.ps1 index f9d87c6a0..fa949aed7 100644 --- a/dream-server/installers/windows/install-windows.ps1 +++ b/dream-server/installers/windows/install-windows.ps1 @@ -791,7 +791,7 @@ if (-not $Cloud -and (Test-Path $script:OPENCODE_EXE)) { } Write-AI "Running health checks..." -$maxAttempts = 30 +$maxAttempts = 60 $allHealthy = $true foreach ($check in $healthChecks) { diff --git a/install.ps1 b/install.ps1 index 31e27cb80..d1ceb7882 100644 --- a/install.ps1 +++ b/install.ps1 @@ -2,8 +2,17 @@ # Delegates to dream-server/installers/windows/install-windows.ps1 param( - [Parameter(ValueFromRemainingArguments=$true)] - [string[]]$RemainingArgs + [switch]$DryRun, + [switch]$Force, + [switch]$NonInteractive, + [string]$Tier = "", + [switch]$Voice, + [switch]$Workflows, + [switch]$Rag, + [switch]$OpenClaw, + [switch]$All, + [switch]$Cloud, + [string]$SummaryJsonPath = "" ) $ErrorActionPreference = "Stop" @@ -20,5 +29,5 @@ if (-not (Test-Path $DreamServerInstaller)) { exit 1 } -# Execute Windows installer with all passed arguments -& $DreamServerInstaller @RemainingArgs +# Forward all bound parameters to the real installer +& $DreamServerInstaller @PSBoundParameters