{"_id":"@amykit/plugin-command-gate","_rev":"4-858c9cb9ce61db13549f3bf6355054d6","name":"@amykit/plugin-command-gate","dist-tags":{"latest":"0.4.0"},"versions":{"0.2.0":{"name":"@amykit/plugin-command-gate","version":"0.2.0","author":{"name":"Nicolas Melo"},"license":"MIT","_id":"@amykit/plugin-command-gate@0.2.0","maintainers":[{"name":"amykit","email":"nicolasmelo12+amykit@gmail.com"}],"homepage":"https://github.com/nicolasmelo1/amy#readme","bugs":{"url":"https://github.com/nicolasmelo1/amy/issues"},"dist":{"shasum":"22afc354e3db66e35c50ffe843e79884d462bf74","tarball":"https://registry.npmjs.org/@amykit/plugin-command-gate/-/plugin-command-gate-0.2.0.tgz","fileCount":18,"integrity":"sha512-gnizPqjtzi81U+REtdwWPQ0k4UhO/M5e/3k2eAkSGwWKKzx2jdNnoQjxP9ANSHfO7dmcsu5mowYcmJnGNe86yQ==","signatures":[{"sig":"MEUCIQCIRApjLRfy29GsY5fB4DeLJOJCLj/H9ynD8yko5M0AvQIgUZor7SXekJDq+ehwseu4FLDRIwqjsTSmXbOHB90PooY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-command-gate@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11474},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b7903f5c95e8154f5db6fd4df6ca2633a628812d","_npmUser":{"name":"amykit","email":"nicolasmelo12+amykit@gmail.com"},"repository":{"url":"git+https://github.com/nicolasmelo1/amy.git","type":"git","directory":"plugins/command-gate"},"_npmVersion":"11.19.0","description":"A gate that runs the target repository's own commands.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^0.2.0","@amykit/workflow-ticket-to-qa":"^0.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@amykit/test-fixtures":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-command-gate_0.2.0_1788658154862_0.6575029296136929","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@amykit/plugin-command-gate","version":"0.3.0","author":{"name":"Nicolas Melo"},"license":"MIT","_id":"@amykit/plugin-command-gate@0.3.0","maintainers":[{"name":"amykit","email":"nicolasmelo12+amykit@gmail.com"}],"homepage":"https://github.com/nicolasmelo1/amy#readme","bugs":{"url":"https://github.com/nicolasmelo1/amy/issues"},"dist":{"shasum":"f8cca1434b1d1f5281c3b1157b2422b1eeba7752","tarball":"https://registry.npmjs.org/@amykit/plugin-command-gate/-/plugin-command-gate-0.3.0.tgz","fileCount":18,"integrity":"sha512-5xhzwGWngIj3EDbEaong23jh3VPpcoONRzvhfh93bTmuySlb9jl99EpylfMKkEe/FW1MdtKwhrLr7zNqfF/hCw==","signatures":[{"sig":"MEUCIGoYMkVmPcpeTe5/yEYz7UWirSmnXbBbXCUaLP+hIcHFAiEA389BlJ5WbWJ9MvenEDaiJWyJtgmQGNghQyq+ytrQn18=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-command-gate@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11474},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"a9e241e87a00d8267ad9e992c4ab8fd97bd04480","_npmUser":{"name":"amykit","email":"nicolasmelo12+amykit@gmail.com"},"repository":{"url":"git+https://github.com/nicolasmelo1/amy.git","type":"git","directory":"plugins/command-gate"},"_npmVersion":"11.19.0","description":"A gate that runs the target repository's own commands.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^0.3.0","@amykit/workflow-ticket-to-qa":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@amykit/test-fixtures":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-command-gate_0.3.0_1788922136091_0.5990638077601369","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@amykit/plugin-command-gate","version":"0.3.1","author":{"name":"Nicolas Melo"},"license":"MIT","_id":"@amykit/plugin-command-gate@0.3.1","maintainers":[{"name":"amykit","email":"nicolasmelo12+amykit@gmail.com"}],"homepage":"https://github.com/nicolasmelo1/amy#readme","bugs":{"url":"https://github.com/nicolasmelo1/amy/issues"},"dist":{"shasum":"5d31b7bfac56a0f2fe17a5ed391a341311a12696","tarball":"https://registry.npmjs.org/@amykit/plugin-command-gate/-/plugin-command-gate-0.3.1.tgz","fileCount":18,"integrity":"sha512-SiiVimu668J6Fil/WVo1ioSKNOEjbZjiy9DHr6HmDijr6V6baSMno/J1T3PcZOijfUIAYoTQKpBJQRTVEtGFkA==","signatures":[{"sig":"MEQCIF3SOcWLhhkyzVIZvrx09STAxozOaurZuDxA1Or4zzuCAiAQR1WsH70xrVhe6rHZmtWRa7K+Bgy7l+mHxuwzHdN7tg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-command-gate@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11474},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"6a4c559ad368c51e232a33c4c2221f02709ceb2f","_npmUser":{"name":"amykit","email":"nicolasmelo12+amykit@gmail.com"},"repository":{"url":"git+https://github.com/nicolasmelo1/amy.git","type":"git","directory":"plugins/command-gate"},"_npmVersion":"11.19.0","description":"A gate that runs the target repository's own commands.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^0.3.1","@amykit/workflow-ticket-to-qa":"^0.3.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@amykit/test-fixtures":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/plugin-command-gate_0.3.1_1788973020884_0.5022391088176577","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"_id":"@amykit/plugin-command-gate@0.4.0","bugs":{"url":"https://github.com/nicolasmelo1/amy/issues"},"dist":{"shasum":"aa283f72b2002d39b679445970190015715adbd2","tarball":"https://registry.npmjs.org/@amykit/plugin-command-gate/-/plugin-command-gate-0.4.0.tgz","fileCount":18,"integrity":"sha512-CZ8xGxXEGeYvG/R4x5Ydz2+DcwJxdXAF5ig0Y2j7QEkB9Eff1x9/2N2rGtVxrlMXO7KVMdssi8HpdZcTgez2nw==","signatures":[{"sig":"MEUCIE/SEABSvRSvTY0uetVj8oc6aOnv5N8L2PVGwrCeKRiKAiEA4iw9iP9j6qSiG/RtoIq7G16dkFmtoaeAuTGY/nyWNOM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDgphW+dxUKQCmcDahnaUANNe3+UOg+oSaaDoc0bQJ0CAIgTGLnjeNffbLWrqEQE8xOFYKYNQZzLoyTup+TpOYQI5A="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-command-gate@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12841},"main":"./dist/index.js","name":"@amykit/plugin-command-gate","type":"module","types":"./dist/index.d.ts","author":{"name":"Nicolas Melo"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"ac437aba051bd8e109e1eb8b3c32b0365c6b4e2e","license":"MIT","version":"0.4.0","_npmUser":{"name":"amykit","email":"nicolasmelo12+amykit@gmail.com"},"homepage":"https://github.com/nicolasmelo1/amy#readme","repository":{"url":"git+https://github.com/nicolasmelo1/amy.git","type":"git","directory":"plugins/command-gate"},"_npmVersion":"11.19.0","description":"A gate that runs the target repository's own commands.","directories":{},"maintainers":[{"name":"amykit","email":"nicolasmelo12+amykit@gmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^0.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"@amykit/test-fixtures":"^0.1.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-command-gate_0.4.0_1789739891506_0.8823180033145916"}}},"time":{"created":"2026-09-06T01:29:14.656Z","modified":"2026-09-18T13:58:11.890Z","0.2.0":"2026-09-06T01:29:14.998Z","0.3.0":"2026-09-09T02:48:56.265Z","0.3.1":"2026-09-09T16:57:01.020Z","0.4.0":"2026-09-18T13:58:11.590Z"},"bugs":{"url":"https://github.com/nicolasmelo1/amy/issues"},"author":{"name":"Nicolas Melo"},"license":"MIT","homepage":"https://github.com/nicolasmelo1/amy#readme","repository":{"url":"git+https://github.com/nicolasmelo1/amy.git","type":"git","directory":"plugins/command-gate"},"description":"A gate that runs the target repository's own commands.","maintainers":[{"name":"amykit","email":"nicolasmelo12+amykit@gmail.com"}],"readme":"<!-- Generated by `npm run docs:generate` from the package itself. Do not edit by hand. -->\n\n# @amykit/plugin-command-gate\n\nA gate that runs the target repository's own commands.\n\nA plugin for [amy](https://github.com/nicolasmelo1/amy). It provides the `gate` port.\n\n## Install\n\n```sh\nnpm install -g @amykit/plugin-command-gate\n```\n\nThen name it in `~/.amy/config.yaml`:\n\n```yaml\nworkflows:\n  your-profile:\n    plugins:\n      - \"@amykit/plugin-command-gate\"\n```\n\n## Configuration\n\n```yaml\nplugins:\n  \"@amykit/plugin-command-gate\":\n    baseBranch: {}\n    checkouts: {}\n    commands: <record>\n    defaultBranch: \"main\"\n    timeoutMs: 1800000\n```\n\n| Setting | Type | Required | Default | What it is |\n| :-- | :-- | :-- | :-- | :-- |\n| `baseBranch` | `record` | no | `{}` | where one repository's base branch is, instead of the fallback. A repository named here has its work cut from, and its pull requests opened against, that branch |\n| `checkouts` | `record` | no | `{}` | where one repository's checkout is, instead of under the workspace root, which is where the gate's commands run |\n| `commands` | `record` | **yes** |  | the check commands per repository, with a `default` fallback |\n| `defaultBranch` | `string` | no | `main` | the branch new work is cut from, which is not always `main` |\n| `timeoutMs` | `number` | no | `1800000` | how long one check may run before it is given up on |\n\nEvery field is checked at boot against the schema this package declares. A key that is\nnot one of the above is a refusal naming the plugin and the key, not a setting that\nsilently never applied.\n\n## Where the reasoning is\n\n- [Writing a plugin](https://github.com/nicolasmelo1/amy/tree/main/docs/build/write-a-plugin.md)\n- [Reference: plugins](https://github.com/nicolasmelo1/amy/tree/main/docs/reference/plugins.md)\n- [Ports and the registry](https://github.com/nicolasmelo1/amy/tree/main/docs/concepts/ports.md)\n\n## Licence\n\nMIT\n","readmeFilename":"README.md"}