Pack publisher packages and install the tarballs into consumer repos.
Wraps polygraph _pack-and-copy for pre-release validation of a publisher change against downstream consumers.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string | yes | The Polygraph session ID, or a supported Polygraph app session URL. Supported URL paths are /s/<session-id> and /orgs/<org-id>/sessions/<session-id>. URL inputs are normalized to the session ID; the MCP always uses the current Polygraph API configuration. |
pairs | array | yes | Publisher-consumer path pairs. Each publisher tarball will be packed and installed into the corresponding consumer. Each pair is an object with publisherPath (path to the publisher package directory — the package to build and pack) and consumerPath (path to the consumer project directory where the packed tarball should be installed), both required strings. |
runScripts | boolean | no | Enable npm lifecycle scripts during packing. Off by default for security. |