Skip to content

Commit 8b368d1

Browse files
Copilotpelikhan
andauthored
Add Pi CLI (@earendil-works/pi-coding-agent) to cli-version-checker workflow (#38724)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> Co-authored-by: Peli de Halleux <pelikhan@users.noreply.github.com>
1 parent 9ce755f commit 8b368d1

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/cli-version-checker.lock.yml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/cli-version-checker.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
emoji: "🔢"
3-
description: Monitors and updates agentic CLI tools (Claude Code, GitHub Copilot CLI, OpenAI Codex, GitHub MCP Server, Playwright MCP, Playwright CLI, Playwright Browser, MCP Gateway) for new versions
3+
description: Monitors and updates agentic CLI tools (Claude Code, GitHub Copilot CLI, OpenAI Codex, GitHub MCP Server, Playwright MCP, Playwright CLI, Playwright Browser, MCP Gateway, Pi) for new versions
44
on:
55
schedule: daily
66
workflow_dispatch:
@@ -36,7 +36,7 @@ timeout-minutes: 45
3636

3737
# CLI Version Checker
3838

39-
Monitor and update agentic CLI tools: Claude Code, GitHub Copilot CLI, OpenAI Codex, GitHub MCP Server, Playwright MCP, Playwright CLI, Playwright Browser, and MCP Gateway.
39+
Monitor and update agentic CLI tools: Claude Code, GitHub Copilot CLI, OpenAI Codex, GitHub MCP Server, Playwright MCP, Playwright CLI, Playwright Browser, MCP Gateway, and Pi.
4040

4141
**Repository**: ${{ github.repository }} | **Run**: ${{ github.run_id }}
4242

@@ -82,6 +82,9 @@ For each CLI/MCP server:
8282
- Release Notes: https://github.com/github/gh-aw-mcpg/releases
8383
- Docker Image: `ghcr.io/github/gh-aw-mcpg:v{VERSION}`
8484
- Used as default sandbox.agent container (see `pkg/constants/constants.go`)
85+
- **Pi**: Use `npm view @earendil-works/pi-coding-agent version`
86+
- Package: https://www.npmjs.com/package/@earendil-works/pi-coding-agent
87+
- Constant: `DefaultPiVersion` in `pkg/constants/version_constants.go`
8588
**Optimization**: Fetch all versions in parallel using multiple npm view or WebFetch calls in a single turn.
8689

8790
### Research & Analysis
@@ -129,6 +132,9 @@ For each update, analyze intermediate versions:
129132
- Parse release body for changelog entries
130133
- **CRITICAL**: Convert PR/issue references to full URLs (e.g., `https://github.com/github/gh-aw-mcpg/pull/123`)
131134
- Note: Used as default sandbox.agent container in MCP Gateway configuration
135+
- **Pi**: No public GitHub repository; rely on NPM metadata and CLI help output
136+
- Use `npm view @earendil-works/pi-coding-agent --json` for package metadata
137+
- Compare CLI help output between versions
132138
**NPM Metadata Fallback**: When GitHub release notes are unavailable, use:
133139
- `npm view <package> --json` for package metadata
134140
- Compare CLI help outputs between versions
@@ -148,12 +154,14 @@ For each CLI tool update:
148154
- Codex: `npm install -g @openai/codex@<version>`
149155
- Playwright MCP: `npm install -g @playwright/mcp@<version>`
150156
- Playwright CLI: `npm install -g @playwright/cli@<version>`
157+
- Pi: `npm install -g @earendil-works/pi-coding-agent@<version>`
151158
2. Invoke help to discover commands and flags (compare with cached output if available):
152159
- Run `claude-code --help`
153160
- Run `copilot --help` or `copilot help copilot`
154161
- Run `codex --help`
155162
- Run `npx @playwright/mcp@<version> --help` (if available)
156163
- Run `playwright-cli --help` (if available)
164+
- Run `pi --help` (if available)
157165
3. **Explore subcommand help** for each tool (especially Copilot CLI):
158166
- Identify all available subcommands from main help output
159167
- For each subcommand, run its help command (e.g., `copilot help config`, `copilot help environment`, `copilot config --help`)
@@ -281,6 +289,7 @@ Legacy template reference (adapt to use Report Structure Pattern above):
281289
- Copilot CLI: Try to fetch, but may be inaccessible (private repo)
282290
- Playwright MCP: Check NPM metadata, uses Playwright versioning
283291
- Playwright CLI: Fetch from https://github.com/microsoft/playwright-cli/releases
292+
- Pi: No public GitHub repository; rely on NPM metadata (`npm view @earendil-works/pi-coding-agent --json`)
284293
- **EXPLORE SUBCOMMANDS**: Install and test CLI tools to discover new features via `--help` and explore each subcommand
285294
- For Copilot CLI, explicitly check: `config`, `environment` and any other available subcommands
286295
- Use commands like `copilot help <subcommand>` or `<tool> <subcommand> --help`

0 commit comments

Comments
 (0)