mirror of
https://github.com/psmux/psmux.git
synced 2026-06-19 09:46:56 +08:00
- Add Claude Code agent teams integration: teammate agents auto-spawn in separate tmux panes when running inside psmux sessions - Set CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS env var in pane environment - Add --teammate-mode tmux wrapper in PowerShell env shim - New docs/claude-code.md: full integration guide (quick start, config, troubleshooting, technical details) Documentation overhaul: - Condense README from ~310 to ~180 lines, move detail to docs/ - New docs: performance.md, compatibility.md, plugins.md, mouse-ssh.md - Add Related Projects gallery (pstop, psnet, Tmux Plugin Panel, OMP Manager) - Add Star History chart - Link all docs from README navigation and Documentation table Docker: - Remove hardcoded password from Dockerfile ENV layer - Add modular install scripts in docker/Tools/ Other fixes: - Clean up unused env vars (SPAWN_BACKEND, FORCE_INTERACTIVE, PSMUX_IS_TTY) - Add test scripts for cursor style, split percent, issue #95 commands
42 lines
1.8 KiB
PowerShell
42 lines
1.8 KiB
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
$installPath = "C:\BuildTools"
|
|
$logFile = "C:\vsbuildtools-install.log"
|
|
|
|
Write-Host "Downloading Visual Studio Build Tools..."
|
|
Invoke-WebRequest https://aka.ms/vs/17/release/vs_BuildTools.exe -OutFile C:\vs_BuildTools.exe
|
|
|
|
Write-Host "Installing Visual Studio Build Tools (this takes a while)..."
|
|
$proc = Start-Process -FilePath C:\vs_BuildTools.exe -ArgumentList @(
|
|
"--quiet","--wait","--norestart","--nocache",
|
|
"--installPath", $installPath,
|
|
"--add","Microsoft.VisualStudio.Workload.VCTools",
|
|
"--add","Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
|
|
"--add","Microsoft.VisualStudio.Component.Windows10SDK.19041"
|
|
) -Wait -PassThru
|
|
|
|
Write-Host "Installer exit code: $($proc.ExitCode)"
|
|
|
|
Remove-Item C:\vs_BuildTools.exe -Force -ErrorAction SilentlyContinue
|
|
|
|
if (-not (Test-Path "$installPath\VC\Tools\MSVC")) {
|
|
Write-Host "Build Tools install FAILED."
|
|
# Try to find log files
|
|
Get-ChildItem "C:\Users\ContainerAdministrator\AppData\Local\Temp" -Filter "dd_*.log" -ErrorAction SilentlyContinue | ForEach-Object {
|
|
Write-Host "=== $($_.Name) (tail) ==="
|
|
Get-Content $_.FullName -Tail 50
|
|
}
|
|
throw "MSVC toolset missing after install (exit code: $($proc.ExitCode))"
|
|
}
|
|
|
|
Write-Host "Visual Studio Build Tools installed successfully."
|
|
|
|
# Clean up installer temp files (extremely long paths break Docker layer commit)
|
|
Write-Host "Cleaning up temp files..."
|
|
Remove-Item "C:\Users\ContainerAdministrator\AppData\Local\Temp\*" -Recurse -Force -ErrorAction SilentlyContinue
|
|
Remove-Item "$env:TEMP\*" -Recurse -Force -ErrorAction SilentlyContinue
|
|
# Remove installer cache & logs
|
|
Remove-Item "C:\ProgramData\Package Cache\*" -Recurse -Force -ErrorAction SilentlyContinue
|
|
Remove-Item "C:\BuildTools\Installer" -Recurse -Force -ErrorAction SilentlyContinue
|
|
Write-Host "Cleanup done."
|