feat(skills): add native pi extension for pup#500
Open
platinummonkey wants to merge 1 commit into
Open
Conversation
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`.
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.
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 apup_runescape hatch for everything else.Install:
Defaults to project-local (
<repo>/.pi/extensions/dd-pup-pi/) inside a git repo, user-global (~/.pi/agent/extensions/dd-pup-pi/) otherwise. Pass--userto force user-global.Changes
skills/extensions/dd-pup-pi/(TypeScript + package.json + README), embedded in the binary viainclude_str!SkillEntrygains anextensionentry type withplatform+filesfieldspup skills install --platform=<slug>and--userflags, plus extension path output inpup skills path#[cfg(not(target_arch = "wasm32"))]to matchrunbooks/extensions/tunnelTest plan
cargo fmt --checkcargo clippy --bin pup -- -D warningscargo test --bin pup skills::(34 passed, 11 new)cargo check --lib --no-default-features --features browser --target wasm32-unknown-unknownpup skills install --platform=piwrites the bundle to the expected location; pi auto-discovers it on reload