Skip to content

feat: add oh-my-pi agent support (not badlogic/pi-mono)#1

Open
zogzog26 wants to merge 1 commit intomasterfrom
feat/pi-agent-support
Open

feat: add oh-my-pi agent support (not badlogic/pi-mono)#1
zogzog26 wants to merge 1 commit intomasterfrom
feat/pi-agent-support

Conversation

@zogzog26
Copy link
Copy Markdown
Owner

Add support for Pi (oh-my-pi/omp) agent to RTK.

This adds:

  • Pi agent to the AgentTarget enum
  • --agent pi CLI flag support
  • install_pi_hooks() function that installs hook to ~/.omp/hooks/
  • Shell hook script that handles Pi's JSON hook format

The implementation follows the same pattern as Cursor and Windsurf agents.

- Add 'pi' to AgentTarget enum
- Create pi-rtk-rewrite.sh hook script similar to Cursor
- Add installation logic in init.rs for Pi hooks (~/.omp/hooks/)
- Add --agent pi flag support to CLI
- Update uninstall to support Pi hooks
@zogzog26
Copy link
Copy Markdown
Owner Author

You targeted the wrong agent, look at my comment

You should also do an end-to-end test by installing the pi agent I mentionned, adding the hooks to it and then checking it does call rtk. Then clean up and report on that test in this PR's description

@zogzog26 zogzog26 changed the title feat: add Pi agent support for hook installation feat: add oh-my-pi agent support (not badlogic/pi-mono) Mar 20, 2026
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