Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 19 additions & 42 deletions install/bootstrap-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -105,44 +105,6 @@ function Clone-Repo {
Run-Quiet -Step "Cloning $Repo into $TargetDir" -Command "gh" -Args @("repo", "clone", $Repo, $TargetDir)
}

function Print-AgentAppGuidance {
Write-Stage "AI Agent Apps"

$foundAny = $false
if (Get-Command claude -ErrorAction SilentlyContinue) {
Write-Host " - Found Claude Code CLI (`claude`)"
$foundAny = $true
}

if (Get-Command codex -ErrorAction SilentlyContinue) {
Write-Host " - Found Codex CLI (`codex`)"
$foundAny = $true
}

if (Get-Command cursor -ErrorAction SilentlyContinue) {
Write-Host " - Found Cursor CLI (`cursor`)"
$foundAny = $true
}

if (Get-Command gemini -ErrorAction SilentlyContinue) {
Write-Host " - Found Gemini CLI (`gemini`)"
$foundAny = $true
}

if (-not $foundAny) {
Write-Host " - No common agent CLI detected (`claude`, `codex`, `cursor`, or `gemini`)."
}

Write-Host ""
Write-Host "Agent app options:"
Write-Host " - Cursor (GUI): https://cursor.com/downloads"
Write-Host " - Claude Desktop (GUI): https://claude.ai/download"
Write-Host " - OpenAI Codex: https://openai.com/index/introducing-codex/"
Write-Host " - ChatGPT Desktop (GUI): https://openai.com/chatgpt/desktop/"
Write-Host " - Claude Code (CLI): https://docs.anthropic.com/en/docs/claude-code"
Write-Host " - Codex CLI: https://github.com/openai/codex"
}

New-Item -ItemType File -Path $LogFile -Force | Out-Null

Write-Host "Doist OS bootstrap"
Expand All @@ -160,8 +122,23 @@ Write-Stage "Accessing private repository"
Ensure-GhAuth
Clone-Repo

Write-Stage "Running repository setup"
$SetupScript = Join-Path $TargetDir "scripts\setup.ps1"
if (-not (Test-Path $SetupScript)) {
Fail "Missing setup script at $SetupScript"
}

Write-Host " - Running Doist OS setup script"
try {
Push-Location -Path $TargetDir
& $SetupScript
if ($LASTEXITCODE -ne 0) {
Fail "Repository setup script failed"
}
} finally {
Pop-Location
}

Write-Host ""
Write-Host "Repository cloned: $TargetDir"
Write-Host "Windows Doist OS setup is not implemented yet."
Write-Host "Next step: open the repo and follow the current manual onboarding path."
Print-AgentAppGuidance
Write-Host "Bootstrap complete."
Write-Host "Repository: $TargetDir"