feat(agent): agrega soporte para Pi agent#5
Merged
Conversation
- Agrega Pi a SupportedAgents en internal/agent/discovery/discovery.go
LocalDir vacío (sin skills a nivel de proyecto), GlobalDir = .pi/agent
Scanner expandirá automáticamente a ~/.pi/agent/skills/
- Actualiza tests en discovery_test.go para incluir Pi:
Casos 'some local and global directories exist' y 'all' ahora incluyen
la creación de ~/.pi/agent y la verificación de su detección
- Agrega ~/.pi/agent como target de ejemplo en skill-sync.example.yaml
- Actualiza README.md con:
* Pi en la intro de agentes soportados
* ~/.pi/agent en ejemplo YAML de quickstart
* Tabla de agentes soportados incluye Pi
* Nota aclarando que solo ~/.pi/agent/skills/ se sincroniza,
no los packages de npm bajo ~/.pi/agent/npm/node_modules/
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.
What
Adds support for the global Pi agent (
~/.pi/agent/skills/) to skill-sync. Pi is automatically discovered and can now be included in the sync mesh alongside Claude, Cursor, Gemini, OpenCode, Codex, Windsurf, and GitHub Copilot.Why
The Pi agent (the official Anthropic Pi runtime) maintains user-authored skills in
~/.pi/agent/skills/. These should be syncable across other AI tools, just like any other agent.Changes
LocalDir=""" (no project-level skills) andGlobalDir=.pi/agent`~/.pi/agentas example targetDesign Notes
~/.pi/agent/skills/are synced~/.pi/agent/npm/node_modules) are intentionally excluded—they're managed by npmGlobalDir = .pi/agentand scanner will append/skillsautomaticallyfilepath.Jointhroughout