{"_id":"@amykit/plugin-command","_rev":"4-31fab8d53491f755adbd922fd8f9a2de","name":"@amykit/plugin-command","dist-tags":{"latest":"0.4.0"},"versions":{"0.2.0":{"name":"@amykit/plugin-command","version":"0.2.0","author":{"name":"Nicolas Melo"},"license":"MIT","_id":"@amykit/plugin-command@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":"6923aa5e92db02ecfc64dc048dd5f318d5c397c0","tarball":"https://registry.npmjs.org/@amykit/plugin-command/-/plugin-command-0.2.0.tgz","fileCount":18,"integrity":"sha512-mIft3O9IcQfVM4kx2I1pxxUudEqBg8LfawgYqWKWgvvHHOM8q9iN7zs7+Sl2y0vRcd7A4bqpaYk+oH58t+rqGg==","signatures":[{"sig":"MEQCIGbPcNKai+HC3lte9CKRiEemWsq8xdmPzujmUgXsLjCrAiBPY2TxkxF2Vs1E/+jF80WU4PXrGt+/Ps07siNpKIjVeg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-command@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11832},"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"},"_npmVersion":"11.19.0","description":"Any command line tool, reached by a name the config allows.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^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_0.2.0_1788658146833_0.30727664241572383","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@amykit/plugin-command","version":"0.3.0","author":{"name":"Nicolas Melo"},"license":"MIT","_id":"@amykit/plugin-command@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":"df9286721938dd1611cffbb653be542be3dc942a","tarball":"https://registry.npmjs.org/@amykit/plugin-command/-/plugin-command-0.3.0.tgz","fileCount":18,"integrity":"sha512-zGrGNgpWhhUG/I+s+5KGlFWHtIGOEASgOxJfRW7J6ESZgNj4w8Ufd84RwH6QsblufD0/pP67rc7KVkMlpNVuEQ==","signatures":[{"sig":"MEQCIHcQJhgISEt+/62LE+95HRYt15jjNPFlXRXQAkKZBdWVAiAuNcNsAtvRT/TBYhG0J6yc4WMcKOLkGQWFVPCUVXW+4Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAdA94wi62UmqscvRhTEA6wcUWwEBjAfRFd7MSf1LFqdAiEA5YPg3EZNdf4WVFseMApmEGjr2RORFeKxrevKi2+t48Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-command@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11832},"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"},"_npmVersion":"11.19.0","description":"Any command line tool, reached by a name the config allows.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^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_0.3.0_1788922184501_0.9408917200842937","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@amykit/plugin-command","version":"0.3.1","author":{"name":"Nicolas Melo"},"license":"MIT","_id":"@amykit/plugin-command@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":"9ab1f5a1cb39fbff5c101e93d9f7b095210b1381","tarball":"https://registry.npmjs.org/@amykit/plugin-command/-/plugin-command-0.3.1.tgz","fileCount":18,"integrity":"sha512-vj/qlItAqz/PqcFo9n7aE5k+oISfyUjCqI8zpiktUyGkRb3pCLer5yDGaHswm2toVVGSVeM9q/+FHcvJ4uK/rg==","signatures":[{"sig":"MEYCIQDFpojFl3Exk81lUwVbjeQRz2ebNeCBhvJMyusRCXZIbwIhAJq80Ub+1Gbpk900bJaZ9MlYVcEeHHKQw9syGLSewLql","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDlxFlp1KIHsz3D3sIyZSQSHZ0JirsBlS+GW7DsRMLw3AiEAv2ZxhTKdvz07s80s0wdmPghvh7cG5ArPSJxUXoX5WIo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-command@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11832},"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"},"_npmVersion":"11.19.0","description":"Any command line tool, reached by a name the config allows.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^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_0.3.1_1788973105140_0.8752226892490127","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"_id":"@amykit/plugin-command@0.4.0","bugs":{"url":"https://github.com/nicolasmelo1/amy/issues"},"dist":{"shasum":"7c2f80e9ee11f8f5c3c0f089a204bf33277b74f6","tarball":"https://registry.npmjs.org/@amykit/plugin-command/-/plugin-command-0.4.0.tgz","fileCount":18,"integrity":"sha512-s1P8slFCSC4jJ0tAbZwTYkb8HGRIPmt2OiDBq3MSS7tH4qSQpi+ddkSvvzaued6AhAYGRjzo+76p/9luigf49Q==","signatures":[{"sig":"MEQCICR3/JlJhZT/oJQ7/FjNVfR5R9kBfE4lHbGziDzgmPx6AiA4zIi3vYwrPoP2VBt/ImBlgLvcTmAR8lPbhsVcH7GrRQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF2jjstp30AD19ltnSUsdyRwvLEDAXwpY9ZhQKCp+TtpAiBEBbSD6Z/GMMI9TZOzBrM+rzddommNXRNPGRYchRbw2Q=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-command@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11832},"main":"./dist/index.js","name":"@amykit/plugin-command","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"},"_npmVersion":"11.19.0","description":"Any command line tool, reached by a name the config allows.","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_0.4.0_1789739922346_0.06476597391582528"}}},"time":{"created":"2026-09-06T01:29:06.661Z","modified":"2026-09-18T13:58:42.740Z","0.2.0":"2026-09-06T01:29:06.976Z","0.3.0":"2026-09-09T02:49:44.597Z","0.3.1":"2026-09-09T16:58:25.243Z","0.4.0":"2026-09-18T13:58:42.432Z"},"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"},"description":"Any command line tool, reached by a name the config allows.","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\n\nAny command line tool, reached by a name the config allows.\n\nA plugin for [amy](https://github.com/nicolasmelo1/amy). It provides the `commands` port.\n\n## Install\n\n```sh\nnpm install -g @amykit/plugin-command\n```\n\nThen name it in `~/.amy/config.yaml`:\n\n```yaml\nworkflows:\n  your-profile:\n    plugins:\n      - \"@amykit/plugin-command\"\n```\n\n## Configuration\n\n```yaml\nplugins:\n  \"@amykit/plugin-command\":\n    allow: <record>\n    cwd: \"\"\n    timeoutMs: 300000\n```\n\n| Setting | Type | Required | Default | What it is |\n| :-- | :-- | :-- | :-- | :-- |\n| `allow` | `record` | **yes** |  | the commands a workflow may run, by name. The name is what a workflow asks for; the value is the command line it stands for, and this is the only place one is written |\n| `cwd` | `string` | no | `\"\"` | where a command runs when it does not say, defaulting to the state directory |\n| `timeoutMs` | `number` | no | `300000` | how long one command 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"}