Skip to content

feat(skills): add native pi extension for pup#500

Open
platinummonkey wants to merge 1 commit into
mainfrom
feat/skills-extensions-pi
Open

feat(skills): add native pi extension for pup#500
platinummonkey wants to merge 1 commit into
mainfrom
feat/skills-extensions-pi

Conversation

@platinummonkey
Copy link
Copy Markdown
Collaborator

Summary

Adds dd-pup-pi, a native pi coding-agent extension that exposes the pup CLI as first-class LLM tools — logs/metrics/traces/monitors search, APM service stats, auth refresh, and a pup_run escape hatch for everything else.

Install:

pup skills install --platform=pi

Defaults to project-local (<repo>/.pi/extensions/dd-pup-pi/) inside a git repo, user-global (~/.pi/agent/extensions/dd-pup-pi/) otherwise. Pass --user to force user-global.

Changes

  • New extension bundle at skills/extensions/dd-pup-pi/ (TypeScript + package.json + README), embedded in the binary via include_str!
  • SkillEntry gains an extension entry type with platform + files fields
  • New pup skills install --platform=<slug> and --user flags, plus extension path output in pup skills path
  • Skills command path gated #[cfg(not(target_arch = "wasm32"))] to match runbooks / extensions / tunnel

Test plan

  • cargo fmt --check
  • cargo clippy --bin pup -- -D warnings
  • cargo test --bin pup skills:: (34 passed, 11 new)
  • cargo check --lib --no-default-features --features browser --target wasm32-unknown-unknown
  • Manual: pup skills install --platform=pi writes the bundle to the expected location; pi auto-discovers it on reload

Adds `dd-pup-pi`, a pi coding-agent extension that exposes pup as
first-class LLM tools (logs, metrics, traces, monitors, auth, ...).
Install with `pup skills install --platform=pi`.
@platinummonkey platinummonkey requested a review from a team as a code owner May 12, 2026 23:10
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