Skip to content

The agent that grows with you

fix(installer): repair install.ps1 merge splice + bootstrap-installer mirror depth

ethernet111cef2dfdf6
diff --git a/.github/workflows/bootstrap-installer.yml b/.github/workflows/bootstrap-installer.yml
index 44efc2b5d01..0a542256bab 100644
--- a/.github/workflows/bootstrap-installer.yml
+++ b/.github/workflows/bootstrap-installer.yml
@@ -31,6 +31,10 @@ jobs:
# graph at dispatch (0 jobs). Each step that needs these exports them.
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ # The mirror step pushes HEAD to a fresh bare repo — a shallow
+ # checkout can't (git: "shallow update not allowed").
+ fetch-depth: 0
- name: Stage manifest is well-formed protocol v1
shell: bash
diff --git a/scripts/install.ps1 b/scripts/install.ps1
index 9ba37d11f75..017d5ac8afd 100644
--- a/scripts/install.ps1
+++ b/scripts/install.ps1
@@ -304,11 +304,6 @@ function Stage-Gateway {
& (Join-Path $InstallDir "venv\Scripts\python.exe") (Join-Path $InstallDir "hermes") gateway install
}
-function Stage-Desktop {
- & (Join-Path $InstallDir "venv\Scripts\python.exe") (Join-Path $InstallDir "hermes") desktop build
- if ($LASTEXITCODE) { Fail "desktop build failed" }
-}
-
function Stage-Complete {
$commit = $Commit
if (-not $commit) { $commit = git -C $InstallDir rev-parse HEAD 2>$null }
@@ -318,6 +313,11 @@ function Stage-Complete {
pinnedCommit = "$commit"
pinnedBranch = $Branch
completedAt = (Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.fffZ")
+ }
+ $marker | ConvertTo-Json -Depth 4 | Set-Content (Join-Path $InstallDir ".hermes-bootstrap-complete") -Encoding UTF8
+ Log "bootstrap complete marker written (pinned $commit)"
+ }
+}
function Install-DesktopVoiceDeps {
# Desktop ships with working voice out of the box: eagerly install the