Add this Piglet
Add the Piglet source
pig piglet add npm:@pi-in-go/pigpen-piglet-pig-porterPiG copies the Piglet source into ~/.pig/piglets/ and validates it. Start it with pig --piglet pig-porter.
Piglets run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party Piglet. This one is published by the PiG project from the Pigpen repository; that is not a verification claim.
What this Piglet is
Pigpen index status: planned (it records no signed Binary release for this Piglet). Source in the Pigpen repository ↗
- Not released yet: no signed Piglet Binary is published and no remote install command is offered. The source composition is in this repository; see RELEASE-BLOCKERS.md.
- Go only. The umbrella porter: it extends pig-extension-porter (PiG's extends), so it carries the same porting Skill and Go equivalence extension without a copy. Run npm run stage before using its generated manifest under dist/staged.
- Most users porting a Pi extension should use pig-extension-porter. This is not PiG's core parity-maintenance porter. No public release or Piglet Binary is available.
- pig piglet add cannot copy an extends closure, so it is not installable remotely today. See RELEASE-BLOCKERS.md.
Selects
Extensions (1)
extension-equivalencefrom package:extension-equivalence
Skills (1)
pigpen-pi-extension-portfrom package:extension-port
Packages it uses
Binary targets
linux/amd64linux/arm64darwin/arm64darwin/amd64windows/amd64
These are the targets the manifest lists for pig piglet build. Which of them have been built and run is in the notes above.
Signing
- Signed Piglet Binary: none published. Nothing has been signed for this Piglet yet, so
pig piglet pullhas no release to pull. - npm package: 2 registry signatures.
piglet.yaml
# GENERATED by scripts/npm-piglets.mjs from piglets/pig-porter/piglet.yaml. Do not edit.
# extends pig-extension-porter is flattened into this manifest.
name: pig-porter
description: Port Pi work to native PiG. Today that is Pi TypeScript extensions to Go, through the pig-extension-porter composition it extends.
release:
version: 0.1.1
build:
targets:
- linux/amd64
- linux/arm64
- darwin/arm64
- darwin/amd64
- windows/amd64
extensionRealization: fused
packages:
extension-port: npm:@pi-in-go/pigpen-extension-port@^0.1.1
extension-equivalence: npm:@pi-in-go/pigpen-extension-equivalence@^0.4.0
extensions:
- name: extension-equivalence
origins:
- package:extension-equivalence
skills:
- name: pigpen-pi-extension-port
origins:
- package:extension-port
discovery:
extensions: []
skills: []
PiG manifest JSON
The pig field of package.json.
{
"piglet": "piglet.yaml"
}README
Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.
Pigpen porter
pig-porter extends pig-extension-porter with
PiG's extends field. Today it adds nothing to it: same Skill, same Go extension, no copy.
It is the umbrella that further porting work (providers, themes, Package conversion) would
be added to. If you port Pi extensions, use pig-extension-porter directly.
This is distinct from PiG's core parity-maintenance porter. It does not import that workbench or operate its parity database.
Why it extends instead of copying
The task was to make the focused Piglet the base and have the full porter include it.
Checked against a PiG 0.3.0 pre-release build (63c6ba456):
extends.source: local:../pig-extension-porter/piglet.yamlvalidates (1 extension(s), 1 skill(s)inherited) and builds a Binary (pig piglet build ... --format binary, "Preparing fused Go members — extension-equivalence").- The derived Piglet must repeat
releaseandbuild; PiG does not inherit them. - Limits, recorded in RELEASE-BLOCKERS.md:
pig piglet addcannot copy anextendsclosure,extendswithagentEnvis not implemented, and a remote add of an authored manifest cannot select sharedcomponents/by sibling path.
Run from a checkout
npm ci --ignore-scripts
npm run stage
pig piglet validate dist/staged/piglets/pig-porter/piglet.yaml
pig --piglet dist/staged/piglets/pig-porter/piglet.yaml
Staging copies the shared Packages into the base Piglet's generated tree and leaves the
extends path (../pig-extension-porter/piglet.yaml) valid, because both Piglets are
staged as siblings. Do not run the authored manifests directly, edit staged copies, or
commit dist/.
Status
Source only, no published release. Original composition: MIT.
Signed Binary
This npm package is the Piglet's source: pig piglet add npm:@pi-in-go/pigpen-piglet-pig-porter registers it, and its Packages install from npm. The signed per-platform Binary is published separately on GitHub Releases (release pig-porter/v0.1.1):
pig piglet pull 'github:MichaelKinsy/pigpen/pig-porter@0.1.1'