Phases 0-1 + Sprint A: module split, CLI layer, org-refresh fix, hygiene

- LICENSE (MIT) + README truth-pass; docs/cli.md CLI contract
- CLI subcommands (src/cli_cmds/) per "TUI for users, CLI for users+AI"
- Hub/detail refactor: keymap dispatch, modal split, action enum, BgMsg bus
- Fix: org repos were never refreshed (owner==username match); refresh now
  parallel — 49 repos in ~11s, surfaced 70 previously invisible PRs
- Fix: 3 date bugs in detail/git.rs (format-local, Local::now, 1y month math)
- Stash indicator + [m] actions, session persistence, gh CLI token fallback
- Legacy UI modules removed; plan/ docs (roadmap, audit, debate, handoff)
This commit is contained in:
dualfroz committed 2026-07-06 14:42:52 +02:00
1 parent 5787b14880
commit 0468c032c6
100 files changed
+11614 -9840

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
# Installs the latest vulp release for Windows x86_64.
# Usage: irm https://raw.githubusercontent.com/<owner>/<repo>/main/install/vulp-installer.ps1 | iex
$ErrorActionPreference = "Stop"
$Repo = if ($env:VULP_REPO) { $env:VULP_REPO } else { "dualfroz/fxg" }
$InstallDir = if ($env:VULP_INSTALL_DIR) { $env:VULP_INSTALL_DIR } else { "$env:LOCALAPPDATA\vulp" }
$BinName = "vulp.exe"
Write-Host "Fetching latest vulp release info from github.com/$Repo..."
$release = Invoke-RestMethod -Uri "https://api.github.com/repos/$Repo/releases/latest"
$asset = $release.assets | Where-Object { $_.name -like "*vulp-windows-x86_64*" } | Select-Object -First 1
if (-not $asset) {
Write-Error "vulp-installer: couldn't find a windows-x86_64 asset in the latest release."
exit 1
}
New-Item -ItemType Directory -Force -Path $InstallDir | Out-Null
$dest = Join-Path $InstallDir $BinName
Write-Host "Downloading $($asset.browser_download_url)..."
Invoke-WebRequest -Uri $asset.browser_download_url -OutFile $dest
$userPath = [Environment]::GetEnvironmentVariable("Path", "User")
if ($userPath -notlike "*$InstallDir*") {
[Environment]::SetEnvironmentVariable("Path", "$userPath;$InstallDir", "User")
$env:Path = "$env:Path;$InstallDir"
Write-Host "Added $InstallDir to your user PATH (open a new terminal for it to take effect everywhere)."
}
Write-Host "Installed vulp to $dest"
& $dest