Add Prime Agent support for Pi integration - #822
Closed
samsja wants to merge 1 commit into
Closed
Conversation
Prime Agent (formerly Pi) renamed its config directory from ~/.pi/agent to ~/.prime/agent and its env var from PI_CODING_AGENT_DIR to PRIME_AGENT_CODING_AGENT_DIR. Changes: - env.rs: pi_extension_dir() checks PRIME_AGENT_CODING_AGENT_DIR first, then PI_CODING_AGENT_DIR, then prefers ~/.prime/agent when it exists, falling back to ~/.pi/agent for legacy installs - env.rs: omp_extension_dir() also checks both env vars - env.rs: add config_dir_from_envs_or_home and config_dir_from_env helpers - targets.rs: install_pi() now creates the extensions directory if the agent directory already exists (matching install_omp behavior) - registry.rs: add 'prime-agent' as a detected command name for Pi - detect/mod.rs: identify_agent and parse_agent_label now recognize 'prime-agent' as Agent::Pi - Tests for all new paths and behaviors - Documentation updates for Pi / Prime Agent The extension code itself (herdr-agent-state.ts) already works with Prime Agent's extension API without changes - only the discovery and installation paths needed updating.
Collaborator
|
Hi @samsja, thanks for your interest in contributing! New contributors need maintainer approval before opening PRs. This keeps review time focused on accepted work and avoids wasted effort. Herdr is opinionated about how it should look, feel, and work. Feature requests, ideas, questions, contribution proposals, and product-direction checks belong in Discussions, not issues. Next steps:
A discussion, issue, branch, or proposed implementation does not reserve the work and does not mean the PR path is approved. This PR will be closed automatically. See https://github.com/ogulcancelik/herdr/blob/master/CONTRIBUTING.md for more details. |
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.
No description provided.