feat: add Pi Coding Agent to AI assistant options#81
Open
BrettKinny wants to merge 1 commit into
Open
Conversation
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.
Contributor
There was a problem hiding this comment.
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.shAI assistant selection (gum + fallback prompt) to include Pi Coding Agent and install it via npm usingensure_node_for_npm. - Update
sqrbx-setup --helpoutput to includepiin 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 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 | ||
| } |
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.
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.