Skip to content

feat: add Pi Coding Agent to AI assistant options#81

Open
BrettKinny wants to merge 1 commit into
mainfrom
claude/pi-ai-harness-squarebox-MwCjM
Open

feat: add Pi Coding Agent to AI assistant options#81
BrettKinny wants to merge 1 commit into
mainfrom
claude/pi-ai-harness-squarebox-MwCjM

Conversation

@BrettKinny
Copy link
Copy Markdown
Collaborator

Adds Pi (https://pi.dev) as a sixth selectable AI coding assistant in the
setup wizard. Installs via npm using the upstream-recommended
--ignore-scripts flag, reusing the existing ensure_node_for_npm helper so
Node.js is auto-installed if missing.

Adds Pi (https://pi.dev) as a sixth selectable AI coding assistant in the
setup wizard. Installs via npm using the upstream-recommended
--ignore-scripts flag, reusing the existing ensure_node_for_npm helper so
Node.js is auto-installed if missing.
Copilot AI review requested due to automatic review settings May 24, 2026 08:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Pi Coding Agent as an additional AI coding assistant option in squarebox’s setup flow, including installation via npm (with --ignore-scripts) and documentation updates so users can discover and select it during first-run or reruns.

Changes:

  • Extend setup.sh AI assistant selection (gum + fallback prompt) to include Pi Coding Agent and install it via npm using ensure_node_for_npm.
  • Update sqrbx-setup --help output to include pi in the supported AI assistants list.
  • Document Pi Coding Agent alongside other AI assistants and disk usage estimates in the README.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
setup.sh Adds Pi as a selectable AI assistant, installs it via npm with --ignore-scripts, and includes it in alias priority.
scripts/squarebox-setup.sh Updates the CLI help text to list pi as an AI assistant option.
README.md Documents Pi Coding Agent in the AI assistants list, disk usage table, and security/trust model text.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread setup.sh
Comment on lines +429 to +434
install_pi() {
if command -v pi &>/dev/null; then echo "Pi Coding Agent already installed, skipping."; return 0; fi
ensure_node_for_npm
# --ignore-scripts is the upstream-recommended install flag (see pi.dev).
run_with_spinner "Installing Pi Coding Agent..." npm install -g --silent --ignore-scripts @earendil-works/pi-coding-agent
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants