Skip to content

Detect pi (earendil-works) and install its ACP extension - #15

Merged
davidcrowe merged 1 commit into
mainfrom
pi-detect
Aug 17, 2026
Merged

Detect pi (earendil-works) and install its ACP extension#15
davidcrowe merged 1 commit into
mainfrom
pi-detect

Conversation

@davidcrowe

Copy link
Copy Markdown
Contributor

Adds pi to the one-liner installer, mirroring the Hermes/dsh cloud-only pattern.

  • Detects pi via ~/.pi/agent (reliable) or command -v pi + ~/.pi (guards against unrelated pi binaries).
  • Cloud-only: fetches index.ts from github.com/agentic-control-plane/pi-acp-plugin into ~/.pi/agent/extensions/acp.ts (global path loads without a project-trust prompt). --local skips with a note.
  • Fail-open: a fetch failure prints the manual curl line + guide link.
  • pi-only boxes hit the plugin-path exception and exit 0 cleanly; added to the supported list and the not-detected footer.

Verified: bash -n clean; --local skip and cloud fetch+success tested in an isolated HOME. Did not re-run the full cloud path to completion (reaches shared browser-auth when other hook clients are on PATH).

Plugin: github.com/agentic-control-plane/pi-acp-plugin · Guide: /integrations/pi

🤖 Generated with Claude Code

pi ships no permission system by design; govern it via the native TS
extension on tool_call/tool_result. Cloud-only (reads ~/.acp/credentials),
--local skips like Hermes/dsh. Fetches index.ts from the plugin repo into
~/.pi/agent/extensions/acp.ts (global path = no project-trust prompt);
fail-open to the manual curl line. pi-only boxes exit 0 cleanly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@davidcrowe
davidcrowe merged commit 7164947 into main Aug 17, 2026
2 checks passed
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.

1 participant