{"_id":"@amykit/plugin-file-queue","_rev":"4-73b0f860c91cc72f7dff02f43db0e76e","name":"@amykit/plugin-file-queue","dist-tags":{"latest":"0.4.0"},"versions":{"0.2.0":{"name":"@amykit/plugin-file-queue","version":"0.2.0","author":{"name":"Nicolas Melo"},"license":"MIT","_id":"@amykit/plugin-file-queue@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":"67578da1fc16e3eac3ffacc44194a3410e4d93d3","tarball":"https://registry.npmjs.org/@amykit/plugin-file-queue/-/plugin-file-queue-0.2.0.tgz","fileCount":18,"integrity":"sha512-BrbxpTF4rvDhEvWlA7CoEDPq0OyAS085NFL6N7r7QGd2ThInUZFUTuIZC9SYmZZOpb9K69ibyQjD/+uUzMJ1dw==","signatures":[{"sig":"MEQCIFvLuC7q2dhf4r0+ijyTqcZVDWn9F++utjGQaQ5bxwLKAiBJFLM2S8vpdmQb4IDsY2Rk0bAlydvrw2QT/k6TZeYPlg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-file-queue@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17610},"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/file-queue"},"_npmVersion":"11.19.0","description":"A queue kept as one file per item, claimed by rename.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^0.2.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/plugin-file-queue_0.2.0_1788658147094_0.8520273125191784","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@amykit/plugin-file-queue","version":"0.3.0","author":{"name":"Nicolas Melo"},"license":"MIT","_id":"@amykit/plugin-file-queue@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":"1cd1ac574ba66039741c562c0db0a4841ed9c2b9","tarball":"https://registry.npmjs.org/@amykit/plugin-file-queue/-/plugin-file-queue-0.3.0.tgz","fileCount":18,"integrity":"sha512-GDkcttP13hBoi0tzmBmdxOe4nZh+KrLQa+VNqrVkzxGZCpleiTwC/I6oOlGBevw8h7TuJAHdQ+kB06ONgmquTA==","signatures":[{"sig":"MEYCIQCFgwtHTcHfPyMIP1VLPJa1DVcD3GFRVVt9+j4rOBJPTQIhAKefWV7rGXOoGOtqWQebv5Z2Zq4AmNfbAt6gLYX/PyNX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-file-queue@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17610},"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/file-queue"},"_npmVersion":"11.19.0","description":"A queue kept as one file per item, claimed by rename.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/plugin-file-queue_0.3.0_1788922128829_0.5630562625643523","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@amykit/plugin-file-queue","version":"0.3.1","author":{"name":"Nicolas Melo"},"license":"MIT","_id":"@amykit/plugin-file-queue@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":"4de81504885cf6a489a6f8b131500d4040764110","tarball":"https://registry.npmjs.org/@amykit/plugin-file-queue/-/plugin-file-queue-0.3.1.tgz","fileCount":18,"integrity":"sha512-mis3OBoi/VcEbUNQ2djd59FCCmA6bN7dvbf24AkWrxSPwRwlFopPDAyB4yPEvzS6NlBgvjSm5zmi2f928pSUaw==","signatures":[{"sig":"MEQCIAPhpgCGymwUn6XY9KqgAgCjgyqHCnmalGDQ5f4ElK6oAiBjs2K/f0bCAZdm1PhrUfdxpk0nf4x3n5v0A10CF5wjOA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-file-queue@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17610},"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/file-queue"},"_npmVersion":"11.19.0","description":"A queue kept as one file per item, claimed by rename.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@amykit/core":"^0.3.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/plugin-file-queue_0.3.1_1788973012025_0.5643700382023906","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"_id":"@amykit/plugin-file-queue@0.4.0","bugs":{"url":"https://github.com/nicolasmelo1/amy/issues"},"dist":{"shasum":"7ff62eb42c6ac74dfd1e72f39cd952c7d3e9a403","tarball":"https://registry.npmjs.org/@amykit/plugin-file-queue/-/plugin-file-queue-0.4.0.tgz","fileCount":18,"integrity":"sha512-d8Vucm6GTmsIHaOVVYXyC5triH5H15CyBshu2zZkMJroTF81D6WbyT4MYnJJiW/wsy3dLQz+jrjuwfMeQCEkcQ==","signatures":[{"sig":"MEUCIQD4veMzD1Aldly6X4QoH4I5/ovY0cjKPKsvNtpwlgUstQIgPi/GyXBVFk3UHzDy0boYBo3JHICO1Y3+HM56qIjFW6s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICf2vFjtqqKlVQQemc01UxRueVeeXn9ZYUq3xKo+mIovAiAgyYeBNCdmKg2Ja3WyTnSfrXGxdpeSkBx/kNUNCjXVAQ=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@amykit%2fplugin-file-queue@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17610},"main":"./dist/index.js","name":"@amykit/plugin-file-queue","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/file-queue"},"_npmVersion":"11.19.0","description":"A queue kept as one file per item, claimed by rename.","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,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-file-queue_0.4.0_1789739849963_0.4098597216679434"}}},"time":{"created":"2026-09-06T01:29:06.930Z","modified":"2026-09-18T13:57:30.600Z","0.2.0":"2026-09-06T01:29:07.247Z","0.3.0":"2026-09-09T02:48:48.967Z","0.3.1":"2026-09-09T16:56:52.136Z","0.4.0":"2026-09-18T13:57:30.098Z"},"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/file-queue"},"description":"A queue kept as one file per item, claimed by rename.","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-file-queue\n\nA queue kept as one file per item, claimed by rename.\n\nA plugin for [amy](https://github.com/nicolasmelo1/amy). It provides the `queue` port.\n\n## Install\n\n```sh\nnpm install -g @amykit/plugin-file-queue\n```\n\nThen name it in `~/.amy/config.yaml`:\n\n```yaml\nworkflows:\n  your-profile:\n    plugins:\n      - \"@amykit/plugin-file-queue\"\n```\n\n## Configuration\n\n```yaml\nplugins:\n  \"@amykit/plugin-file-queue\":\n    directory: \"queue\"\n    retentionDays: 7\n    staleClaimMs: 1800000\n```\n\n| Setting | Type | Required | Default | What it is |\n| :-- | :-- | :-- | :-- | :-- |\n| `directory` | `string` | no | `queue` | where the queue is kept, relative to the state directory. One per workflow, so two profiles under one `.amy` do not claim each other's work |\n| `retentionDays` | `number` | no | `7` | how long a finished queue item is kept before it is pruned |\n| `staleClaimMs` | `number` | no | `1800000` | how long a claimed item may sit before it counts as abandoned |\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"}