Skip to content

Add Pi coding agent to the known-agents table - #1775

Open
lennartkats-db wants to merge 2 commits into
mainfrom
add-pi-agent-detection
Open

Add Pi coding agent to the known-agents table#1775
lennartkats-db wants to merge 2 commits into
mainfrom
add-pi-agent-detection

Conversation

@lennartkats-db

Copy link
Copy Markdown

Summary

Pi (https://pi.dev/, npm @earendil-works/pi-coding-agent) sets PI_CODING_AGENT in the environment of every subprocess its bash/exec tool spawns, but does not set the generic AGENT/AI_AGENT var, so it needs an explicit matcher. Without it, CLI usage driven by Pi is attributed to unknown instead of "pi".

Pi (https://pi.dev/, npm @earendil-works/pi-coding-agent) sets
PI_CODING_AGENT in the environment of every subprocess its bash/exec
tool spawns, but does not set the generic AGENT/AI_AGENT var, so it
needs an explicit matcher. Without it, CLI usage driven by Pi is
attributed to unknown instead of "pi".

Co-authored-by: Isaac
Satisfies the check-next-changelog CI gate, which requires either a
NEXT_CHANGELOG.md change or NO_CHANGELOG=true in the PR body.

Co-authored-by: Isaac
@github-actions

Copy link
Copy Markdown

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-go

Inputs:

  • PR number: 1775
  • Commit SHA: 0dce7a6b94297e81389891599318529b27dc6a6f

Checks will be approved automatically on success.

@renaudhartert-db renaudhartert-db left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see if we can get this merged in Pi: earendil-works/pi#7132

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.

2 participants