File size: 4,343 Bytes
afe5a51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# SnapKitty Sovereign Harness β€” Windows Bootstrap
# Run in PowerShell:
# iwr -useb https://snapkittywest.github.io/sovereign-harness/install.ps1 | iex

$ErrorActionPreference = "SilentlyContinue"
Clear-Host

Write-Host ""
Write-Host "  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆ    β–ˆβ–ˆ" -ForegroundColor Green
Write-Host "  β–ˆβ–ˆ      β–ˆβ–ˆβ–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ  β–ˆβ–ˆ  β–ˆβ–ˆ    β–ˆβ–ˆ       β–ˆβ–ˆ     β–ˆβ–ˆ  β–ˆβ–ˆ " -ForegroundColor Green
Write-Host "  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ  β–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   β–ˆβ–ˆ    β–ˆβ–ˆ       β–ˆβ–ˆ      β–ˆβ–ˆβ–ˆβ–ˆ  " -ForegroundColor Green
Write-Host "       β–ˆβ–ˆ β–ˆβ–ˆ  β–ˆβ–ˆ β–ˆβ–ˆ β–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ      β–ˆβ–ˆ  β–ˆβ–ˆ  β–ˆβ–ˆ    β–ˆβ–ˆ       β–ˆβ–ˆ       β–ˆβ–ˆ   " -ForegroundColor Green
Write-Host "  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆ   β–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ      β–ˆβ–ˆ   β–ˆβ–ˆ β–ˆβ–ˆ    β–ˆβ–ˆ       β–ˆβ–ˆ       β–ˆβ–ˆ   " -ForegroundColor Green
Write-Host ""
Write-Host "  ⬑  SOVEREIGN HARNESS  ⬑  BOW-Ξ©-Ο†-βˆ‚-2026" -ForegroundColor Yellow
Write-Host "  Bel Esprit D'Accord Irrevocable Trust Β· EIN 42-697643" -ForegroundColor DarkGray
Write-Host ""
Write-Host "  Plasma Gate Β· ERE-5 Β· WORM Chain Β· WebLLM Β· ANU QRNG" -ForegroundColor Cyan
Write-Host ""

# Check Node
Write-Host "  [1/4] Checking Node.js..." -ForegroundColor Yellow
$node = Get-Command node -ErrorAction SilentlyContinue
if ($node) {
    $ver = node --version
    Write-Host "  βœ“ Node.js $ver" -ForegroundColor Green
} else {
    Write-Host "  Node.js not found. Install from https://nodejs.org" -ForegroundColor Red
    Write-Host "  Or via winget: winget install OpenJS.NodeJS" -ForegroundColor DarkGray
    Start-Process "https://nodejs.org"
}

# Check Git
Write-Host "  [2/4] Checking Git..." -ForegroundColor Yellow
$git = Get-Command git -ErrorAction SilentlyContinue
if ($git) {
    Write-Host "  βœ“ Git found" -ForegroundColor Green
} else {
    Write-Host "  Git not found. Installing via winget..." -ForegroundColor DarkGray
    winget install Git.Git --silent 2>$null
}

# Check Ollama
Write-Host "  [3/4] Checking Ollama (optional)..." -ForegroundColor Yellow
$ollama = Get-Command ollama -ErrorAction SilentlyContinue
if ($ollama) {
    Write-Host "  βœ“ Ollama found" -ForegroundColor Green
} else {
    Write-Host "  Ollama not found β€” browser will use WebLLM (no install needed)" -ForegroundColor DarkGray
    Write-Host "  Optional: https://ollama.com/download" -ForegroundColor DarkGray
}

# Clone snapkitty-shell
Write-Host "  [4/4] Installing snapkitty-shell (sk CLI)..." -ForegroundColor Yellow
$skDir = "$env:USERPROFILE\.snapkitty\shell"
if (!(Test-Path $skDir)) {
    git clone --quiet https://github.com/SNAPKITTYWEST/snapkitty-shell.git $skDir
}
Set-Location $skDir
npm install --silent 2>$null

# Add to PATH
$skBin = "$env:USERPROFILE\.snapkitty\bin"
New-Item -ItemType Directory -Force -Path $skBin | Out-Null
$currentPath = [Environment]::GetEnvironmentVariable("PATH", "User")
if ($currentPath -notlike "*snapkitty*") {
    [Environment]::SetEnvironmentVariable("PATH", "$skBin;$currentPath", "User")
}
Copy-Item "$skDir\bin\sk.mjs" "$skBin\sk.mjs" -Force 2>$null

Write-Host ""
Write-Host "  ═══════════════════════════════════════════════" -ForegroundColor Green
Write-Host "  βœ“ SOVEREIGN HARNESS READY" -ForegroundColor Green
Write-Host "  ═══════════════════════════════════════════════" -ForegroundColor Green
Write-Host ""
Write-Host "  Browser UI:" -ForegroundColor White
Write-Host "  https://snapkittywest.github.io/sovereign-harness/" -ForegroundColor Cyan
Write-Host ""
Write-Host "  Terminal (restart shell first):" -ForegroundColor White
Write-Host "  node $skDir\bin\sk.mjs help" -ForegroundColor Yellow
Write-Host ""
Write-Host "  Ω = TRUST ∧ CODE" -ForegroundColor Magenta
Write-Host ""

Start-Process "https://snapkittywest.github.io/sovereign-harness/"