feat(tools): restore squad-cli as a default-installed tool#489
Merged
Conversation
Restores @bradygaster/squad-cli as a default-installed tool, reversing the over-scrub from PR #475. squad-cli is a dev tool (engine behind gosquad='copilot --agent squad --yolo'), not squad coordination infrastructure. Changes: - Add scripts/linux/tools/squad-cli.sh (version-aware, nvm-sourcing, --no-fund --no-audit, timeout 10 on version detect, soft-fail on absent npm, no cast-name header) - Add scripts/windows/tools/squad-cli.ps1 (version-aware, soft-fail Write-Warn+return on absent npm, ASCII-only, no cast-name header) - Pin squad-cli 0.10.0 in .tool-versions - Wire run_tool squad-cli after run_tool copilot-cli in setup.sh - Dot-source squad-cli.ps1 and call Install-SquadCli after Install-CopilotCli in setup.ps1 Main() - Add T7-T9 tests in test_nvm_bootstrap.sh (nvm sourcing, version pin, idempotency check) - Add Group HH tests in test_windows_setup.ps1 (Install-SquadCli function, Get-ToolVersion usage, ordering in Main, soft-fail guard) - Add squad --version assertions in e2e-install.yml (linux/macos/windows) - Add squad-cli row to README tools table and repo structure diagram; update Windows tools file count to 10 Install default: yes. Version pinned: 0.10.0. PS installer: soft-fail (Write-Warn + return) if npm absent. Insertion point: immediately after copilot-cli on both platforms. Out of scope: no embedded .squad/ tree, no squad workflows. Closes #487 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restores
@bradygaster/squad-clias a default-installed tool (#487), reversing the over-scrub from PR #475.squad-cli is a dev tool (engine behind
gosquad='copilot --agent squad --yolo'), not squad coordination infrastructure. Same class of over-scrub as the gosquad removal reversed in PR #478.Closes #487
What Changed
Installers (new)
scripts/linux/tools/squad-cli.sh-- version-aware, sources nvm,timeout 10on version detect,--no-fund --no-audit, soft-fail if npm absentscripts/windows/tools/squad-cli.ps1-- version-aware, soft-fail (Write-Warn + return) if npm absent, ASCII-only (PS 5.1 safe)Version pin
.tool-versions:squad-cli 0.10.0(npm latest stable)Orchestrator wiring
scripts/linux/setup.sh:run_tool "squad-cli"added immediately afterrun_tool "copilot-cli"scripts/windows/setup.ps1: dot-source +Install-SquadClicall added immediately afterInstall-CopilotCliinMain()Tests
tests/test_nvm_bootstrap.sh: T7-T9 (nvm sourcing, version pin, idempotency check)tests/test_windows_setup.ps1: Group HH (HH-1 through HH-4).github/workflows/e2e-install.yml:squad --versionassertion in linux/macos/windows jobsDocs
README.md: squad-cli row in tools table, entry in repo structure diagram, Windows tools count 9->10Key Decisions (locked)
0.10.0.squad/tree, no squad workflowsLocal Verification
squad-cli.ps1parses clean (AST), ASCII-only verifiedsquad-cli.shpasses shellcheck (pre-commit hook)Not locally exercisable (no npm/nvm/node in CI env): actual npm install,
squad --versionlive output, e2e assertions. Kix to verify in CI.