Skip to content

Revert "feat: add Pi coding agent support"#26

Merged
bruno-garcia merged 1 commit intomainfrom
revert-20-feat/pi-support
Feb 19, 2026
Merged

Revert "feat: add Pi coding agent support"#26
bruno-garcia merged 1 commit intomainfrom
revert-20-feat/pi-support

Conversation

@bruno-garcia
Copy link
Member

Copilot AI review requested due to automatic review settings February 19, 2026 16:22
@vercel
Copy link

vercel bot commented Feb 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dotagents Ready Ready Preview, Comment Feb 19, 2026 4:22pm

Request Review

Copy link

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

This PR reverts PR #20, which had added Pi as a full agent definition with MCP config writing support. According to issue #25, this approach was incorrect because Pi's MCP support is extension-based and optional, unlike other agents (Claude, Cursor, Codex, etc.) that have well-known, fixed MCP config paths. Writing .pi/mcp.json during dotagents install would either create dead files for users without the MCP extension or conflict with existing user-managed configs. The correct approach for Pi is to use symlinks configured in agents.toml, which gives Pi access to dotagents-managed skills without managing MCP config.

Changes:

  • Removed pi agent from the agent registry and imports
  • Deleted the pi agent definition file
  • Removed pi-specific path handling for MCP config
  • Removed all pi-related tests

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/agents/registry.ts Removed pi import and removed pi from ALL_AGENTS array (now 5 agents instead of 6)
src/agents/registry.test.ts Updated test to expect 5 agents instead of 6, removed pi-specific test assertions, and deleted entire pi serializer test suite
src/agents/paths.ts Removed pi case from getUserMcpTarget switch statement
src/agents/paths.test.ts Removed test for pi's user MCP target path and skill discovery paths
src/agents/definitions/pi.ts Completely deleted the pi agent definition file

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

@bruno-garcia bruno-garcia merged commit ff9acf3 into main Feb 19, 2026
22 checks passed
@bruno-garcia bruno-garcia deleted the revert-20-feat/pi-support branch February 19, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments