Monorepo for Aesthetic.Computer aesthetic.computer
at main 45 lines 1.1 kB view raw
1<# 2.SYNOPSIS 3 Artery CDP automation tool for Windows 4 5.DESCRIPTION 6 PowerShell wrapper for artery.mjs - control Aesthetic Computer via Chrome DevTools Protocol 7 8.PARAMETER Command 9 Command to run: repl, panel, toggle-local, jump, type, eval, perf 10 11.PARAMETER Args 12 Additional arguments for the command 13 14.EXAMPLE 15 .\artery.ps1 panel 16 .\artery.ps1 toggle-local 17 .\artery.ps1 jump notepat 18 .\artery.ps1 repl 19 .\artery.ps1 perf 10 # Monitor WebGPU performance for 10 seconds 20 21.NOTES 22 Requires Node.js and VS Code with --remote-debugging-port=9222 23#> 24 25param( 26 [Parameter(Mandatory=$true, Position=0)] 27 [string]$Command, 28 29 [Parameter(ValueFromRemainingArguments=$true)] 30 [string[]]$Args 31) 32 33# Navigate to repo root 34$repoRoot = "\\wsl.localhost\Ubuntu\home\me\aesthetic-computer" 35if (Test-Path $repoRoot) { 36 Set-Location $repoRoot 37} else { 38 Write-Host "Repository not found at $repoRoot" -ForegroundColor Red 39 exit 1 40} 41 42Write-Host "🩸 Artery: $Command" -ForegroundColor Magenta 43 44# Run artery with command and args 45node .vscode\artery.mjs $Command @Args