Skip to content

feat(pi): add Sentry package distribution - #304

Open
sergical wants to merge 7 commits into
mainfrom
feat/pi-plugin-package
Open

feat(pi): add Sentry package distribution#304
sergical wants to merge 7 commits into
mainfrom
feat/pi-plugin-package

Conversation

@sergical

Copy link
Copy Markdown
Member

Adds Pi as a first-class Sentry distribution alongside Claude Code, Cursor, Codex, and Grok. The new native Pi package ships the hydrated skill tree unchanged, adapts the hosted Sentry MCP server behind a namespaced sentry_mcp gateway, and coexists with users who already install the generic pi-mcp-adapter package.

The @sentry/ai installer now detects Pi and manages the package through Pi’s native install, update, and remove commands. Deployment and cross-platform installer smoke workflows include Pi, with package validation covering skill hydration, package contents, extension loading, and MCP-adapter coexistence.

The target distribution repository has been created at https://github.com/getsentry/plugin-pi. Before merging, the PLUGIN_DEPLOY_APP_ID GitHub App must be granted access to that repository so the deploy matrix can push generated content.

@sergical
sergical marked this pull request as ready for review July 30, 2026 13:57
@sergical
sergical requested a review from evanpurkhiser July 30, 2026 13:57
Comment thread .github/workflows/deploy-plugins.yml
Comment thread src/plugins/pi/validate.sh
Comment thread packages/installer/src/harnesses/pi.ts Outdated
Comment thread .github/workflows/deploy-plugins.yml
Comment thread src/plugins/pi/validate.sh
sergical and others added 3 commits July 30, 2026 11:04
Co-Authored-By: GPT-5.6 <noreply@openai.com>
Co-Authored-By: GPT-5.6 <noreply@openai.com>
Co-Authored-By: GPT-5.6 <noreply@openai.com>
@sergical
sergical force-pushed the feat/pi-plugin-package branch from 319b761 to 2995592 Compare July 30, 2026 15:04
Capture CLI output once before grepping to avoid pipe-related Codex panics on macOS.

Co-Authored-By: GPT-5.6 <noreply@openai.com>
detect: async () => detectOnPath(system, "pi"),

isInstalled: async () => {
const result = await system.run("pi list --no-approve");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

There's no json output for this is there?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Correct — verified against the pinned pi 0.83.0: pi list only accepts --approve/--no-approve, and pi list --json errors with "Unknown option". String matching on the output is the only option for now. The matcher keys on the package source line pi list prints (git:github.com/getsentry/plugin-pi), which is stable across user/project sections.

— Claude Code

Resolves conflicts against the harness build-on-demand refactor (#321),
the develop/main deploy split (#317), and the flowmark reformat (#315/#316):

- harnesses/index.ts: register the Pi harness inside buildHarnesses() and
  drop its module-level constant, matching the single-construction-path
  refactor
- deploy-plugins.yml: keep this branch's build/validate -> artifact ->
  deploy job split (no third-party code runs while the deploy token is in
  scope) while adopting main's develop/main target branches, dev-version
  stamping, and release tagging
- AGENTS.md / READMEs: fold the Pi mentions into main's reflowed prose and
  drop the root .mcp.json compat note main removed

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Aug 6, 2026

Copy link
Copy Markdown

DEVEX-578

@sentry

sentry Bot commented Aug 6, 2026

Copy link
Copy Markdown

🚧 Skipped: PR exceeds review size limit.

Please split into smaller PRs and re-run.
Reference ID: 15744586

@sentry

sentry Bot commented Aug 6, 2026

Copy link
Copy Markdown

🚧 Skipped: PR exceeds review size limit.

Please split into smaller PRs and re-run.
Reference ID: 15744593

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 68ebacf. Configure here.

Comment thread node_modules/.pnpm-workspace-state-v1.json Outdated
The pnpm workspace hoists packages into a root node_modules/, which the
root .gitignore never covered (only packages/installer/ ignores its own),
so the merge commit accidentally swept it into the tree. Untrack it and
add the ignore so it cannot recur.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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