{"_id":"@agora-build/hatch","_rev":"9-28d90cb717852364a04bfd05288cf4c8","name":"@agora-build/hatch","dist-tags":{"latest":"0.3.4"},"versions":{"0.1.0":{"name":"@agora-build/hatch","version":"0.1.0","keywords":["hatch","s3","release","deploy","cli"],"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","_id":"@agora-build/hatch@0.1.0","maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"homepage":"https://github.com/Agora-Build/Hatch#readme","bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"os":["linux","darwin","win32"],"bin":{"hatch":"bin/hatch"},"cpu":["x64","arm64"],"dist":{"shasum":"e2cf53b048a47f86dc4e2b6361ecb22319879c25","tarball":"https://registry.npmjs.org/@agora-build/hatch/-/hatch-0.1.0.tgz","fileCount":3,"integrity":"sha512-jVGmSKxDjixip0ENBwtFRRPYhtmZs2mGV4s8j4QL2KwlsflzD/LKGXX//G++OetvAFDEVeM613gqMieUpBRElg==","signatures":[{"sig":"MEUCIC7GSqjAtzSqmZ5BrgQlHwvlUJiXHADEd9NhQt4RtagVAiEAoDnIhf+FVOdPLS+72mWNt4o1J/be0R7neMyzRHLJxH4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3865},"gitHead":"e997e09a0f039d5bdc163c0ee4a6a1c17a1067df","scripts":{"postinstall":"node install.js"},"_npmUser":{"name":"agora.build","email":"brent@agora.io"},"repository":{"url":"git+https://github.com/Agora-Build/Hatch.git","type":"git"},"_npmVersion":"10.8.2","description":"Secure, versioned file release CLI for S3-compatible storage","directories":{},"_nodeVersion":"20.20.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hatch_0.1.0_1775208432178_0.8102164890916346","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@agora-build/hatch","version":"0.1.3","keywords":["hatch","s3","release","deploy","cli"],"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","_id":"@agora-build/hatch@0.1.3","maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"homepage":"https://github.com/Agora-Build/Hatch#readme","bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"os":["linux","darwin","win32"],"bin":{"hatch":"bin/hatch"},"cpu":["x64","arm64"],"dist":{"shasum":"25ddc31937f53593f7d71468b968b1448c217a84","tarball":"https://registry.npmjs.org/@agora-build/hatch/-/hatch-0.1.3.tgz","fileCount":4,"integrity":"sha512-qSjCClSJn7ZcQlqe3JMLk+DSdvHegqK1C8ZketkfX0HmPOHh48h/T6usF96AOhS0teOkUZJnEN93n9/kTik1Tw==","signatures":[{"sig":"MEUCIC3h+rvdg9tWqxenhG7G+5UVdxgEk+/NzS3MD3dBJoyrAiEAgObvvL694Hub6JYokf9Hs5iZV1sgBVdiQnUxn5I7Tkg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5832},"gitHead":"1e26a416c64e3cd6d6dae7119e8b962d0413af10","scripts":{"postinstall":"node install.js"},"_npmUser":{"name":"agora.build","email":"brent@agora.io"},"repository":{"url":"git+https://github.com/Agora-Build/Hatch.git","type":"git"},"_npmVersion":"10.8.2","description":"Secure, versioned file release CLI for S3-compatible storage","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hatch_0.1.3_1779702186465_0.4821580375097021","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@agora-build/hatch","version":"0.2.0","keywords":["hatch","s3","release","deploy","cli"],"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","_id":"@agora-build/hatch@0.2.0","maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"homepage":"https://github.com/Agora-Build/Hatch#readme","bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"os":["linux","darwin","win32"],"bin":{"hatch":"bin/hatch"},"cpu":["x64","arm64"],"dist":{"shasum":"3f6371bb7396b2ade0d40c209824676feb322384","tarball":"https://registry.npmjs.org/@agora-build/hatch/-/hatch-0.2.0.tgz","fileCount":4,"integrity":"sha512-sRCYmV5LflOdhShQzC5rJU4uCYCQZUaY+O1aI4NxepVy1Mhv36+eaJoohZXk4xqeM/ZcM+jkf3FgBWHP1wfWeA==","signatures":[{"sig":"MEUCIQDq+5l21lZG82TzHUlr/inOYe4DsIT8eZXzdWeX853lpwIgZejRwp3CmBohAI0N55nGBrEq8lS4bsJi6D0Mk5tIZRs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5832},"gitHead":"6d8acd60622627b0f30bbeaff230d0a82648393b","scripts":{"postinstall":"node install.js"},"_npmUser":{"name":"agora.build","email":"brent@agora.io"},"repository":{"url":"git+https://github.com/Agora-Build/Hatch.git","type":"git"},"_npmVersion":"10.8.2","description":"Secure, versioned file release CLI for S3-compatible storage","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hatch_0.2.0_1779703935263_0.11550278437233841","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@agora-build/hatch","version":"0.2.1","keywords":["hatch","s3","release","deploy","cli"],"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","_id":"@agora-build/hatch@0.2.1","maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"homepage":"https://github.com/Agora-Build/Hatch#readme","bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"os":["linux","darwin","win32"],"bin":{"hatch":"bin/hatch"},"cpu":["x64","arm64"],"dist":{"shasum":"ae43aaa7a9336493ed895dae7a5251061eba8585","tarball":"https://registry.npmjs.org/@agora-build/hatch/-/hatch-0.2.1.tgz","fileCount":4,"integrity":"sha512-Yb+dQFHnbNSHsfj4HTDhVcdIDvsYWHnCx/QbxrGZFPpwGD2Bk2CNGdKiBn8DFrqmdwYMBu1hQKXimrPI7fSUsA==","signatures":[{"sig":"MEUCIFYit2SAP+cTm6eJr3F8mRBMYdp3VDixyvWFQn0kV5M5AiEAqdnOmTN3bpJ1eMfoPgN8ASDYJDYNbI8ZxApwWtgzPrc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5990},"gitHead":"c9f61e265388380f3e55dae1549ab6e8a188b1fe","scripts":{"postinstall":"node install.js"},"_npmUser":{"name":"agora.build","email":"brent@agora.io"},"repository":{"url":"git+https://github.com/Agora-Build/Hatch.git","type":"git"},"_npmVersion":"10.8.2","description":"Secure, versioned file release CLI for S3-compatible storage","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hatch_0.2.1_1779704888105_0.24378933104492684","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@agora-build/hatch","version":"0.3.0","keywords":["hatch","s3","release","deploy","cli"],"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","_id":"@agora-build/hatch@0.3.0","maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"homepage":"https://github.com/Agora-Build/Hatch#readme","bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"os":["linux","darwin","win32"],"bin":{"hatch":"bin/hatch"},"cpu":["x64","arm64"],"dist":{"shasum":"08f10b724675354b0a7f74568fcc513739f7ec3f","tarball":"https://registry.npmjs.org/@agora-build/hatch/-/hatch-0.3.0.tgz","fileCount":4,"integrity":"sha512-CJoVODqZmTAgLdsfxpYrIXXjhsCPn6YPH3qCfi/IWCI9Ic7tiouS8Iie0zn6MDu9r9CiuXg2mchaRtKCeBQD6g==","signatures":[{"sig":"MEQCIFkbpxDjeUXI0W68cUYvjqTTj9pLiuzqXBQHTLrzXcQvAiAzwuDIb1MkdYmRKaekdPmBA1nuFtbAA4jg4CGVnj45MA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6095},"gitHead":"170d8884a4864f1e8ddd39b14259700c37d01b67","scripts":{"postinstall":"node install.js"},"_npmUser":{"name":"agora.build","email":"brent@agora.io"},"repository":{"url":"git+https://github.com/Agora-Build/Hatch.git","type":"git"},"_npmVersion":"10.8.2","description":"Secure, versioned file release CLI for S3-compatible storage","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hatch_0.3.0_1779705641277_0.06255841080440461","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@agora-build/hatch","version":"0.3.1","keywords":["hatch","s3","release","deploy","cli"],"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","_id":"@agora-build/hatch@0.3.1","maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"homepage":"https://github.com/Agora-Build/Hatch#readme","bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"os":["linux","darwin","win32"],"bin":{"hatch":"bin/hatch"},"cpu":["x64","arm64"],"dist":{"shasum":"5d70bf1665049925a520101185ff28ecb686af3a","tarball":"https://registry.npmjs.org/@agora-build/hatch/-/hatch-0.3.1.tgz","fileCount":4,"integrity":"sha512-39Csp1OnP2ckf3kS6Rt1ZT9YfygS7ucOOZaOFDugK8D8iiL+uv6w4Sm8HWGmvjgStx5fy60CAhNHYwiNFzlMFA==","signatures":[{"sig":"MEUCIQDyUfLMBildL1QP1DdMW6Nve4orWqL9li2+V8+VF3Jn+gIgBF9iblbb5vgg8IPR+Wdruq8VoNkooOA4yutcDQfz3sQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6109},"gitHead":"252fca54e07802a512fe527149fca793b3e0830c","scripts":{"postinstall":"node install.js"},"_npmUser":{"name":"agora.build","email":"brent@agora.io"},"repository":{"url":"git+https://github.com/Agora-Build/Hatch.git","type":"git"},"_npmVersion":"10.8.2","description":"Secure, versioned file release CLI for S3-compatible storage","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hatch_0.3.1_1779705753910_0.44716491204419295","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@agora-build/hatch","version":"0.3.2","keywords":["hatch","s3","release","deploy","cli"],"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","_id":"@agora-build/hatch@0.3.2","maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"homepage":"https://github.com/Agora-Build/Hatch#readme","bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"os":["linux","darwin","win32"],"bin":{"hatch":"bin/hatch"},"cpu":["x64","arm64"],"dist":{"shasum":"b9c5be2502b347fdfff1b9e16d4962b982033224","tarball":"https://registry.npmjs.org/@agora-build/hatch/-/hatch-0.3.2.tgz","fileCount":4,"integrity":"sha512-Ec6HIhPOxyfdFesrkv2CxC86BKQqxxIsdq0eRcHd8dHSdG/rNC2dUgU+hoJvzca+5rdx+dv1zR8+S6UtqfgAkg==","signatures":[{"sig":"MEUCIQC1CtvxGjyyoV2Hksemw3paM1lEwHF60P4M6i/f5qxOVgIgIhL8z90YfcskYYYpAGPE/yhOg5hK+JEstALigdOULmQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6109},"gitHead":"ad4838be06fe9a7770efd8a845a93090a2611fbe","scripts":{"postinstall":"node install.js"},"_npmUser":{"name":"agora.build","email":"brent@agora.io"},"repository":{"url":"git+https://github.com/Agora-Build/Hatch.git","type":"git"},"_npmVersion":"10.8.2","description":"Secure, versioned file release CLI for S3-compatible storage","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hatch_0.3.2_1782376219104_0.46322718231612425","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@agora-build/hatch","version":"0.3.3","keywords":["hatch","s3","release","deploy","cli"],"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","_id":"@agora-build/hatch@0.3.3","maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"homepage":"https://github.com/Agora-Build/Hatch#readme","bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"os":["linux","darwin","win32"],"bin":{"hatch":"bin/hatch"},"cpu":["x64","arm64"],"dist":{"shasum":"e501d6e99df3eabf36f1ab6824079927e99276b0","tarball":"https://registry.npmjs.org/@agora-build/hatch/-/hatch-0.3.3.tgz","fileCount":4,"integrity":"sha512-7hxtwD4GhVYHAePB3q+ZWX98zLIajfV6DDyqTOesqa0yCqTdYzweEHmfoHyvguN2aqr7MxEIcLFk5h+0KjbEVQ==","signatures":[{"sig":"MEQCIA+pV/dZthm74VPOz3UVl+F4/fj4CiNoVZDtEk5pDCQ5AiBk9oq3A98Ynkh8bJoBWfSPvSa3FdoyOnASwKgb/Hj6/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6109},"gitHead":"b5fb5530500d9aa5e459be90c593c000ec53697f","scripts":{"postinstall":"node install.js"},"_npmUser":{"name":"agora.build","email":"brent@agora.io"},"repository":{"url":"git+https://github.com/Agora-Build/Hatch.git","type":"git"},"_npmVersion":"10.8.2","description":"Secure, versioned file release CLI for S3-compatible storage","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hatch_0.3.3_1782376409089_0.2721830213768224","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@agora-build/hatch","version":"0.3.4","description":"Secure, versioned file release CLI for S3-compatible storage","bin":{"hatch":"bin/hatch"},"scripts":{"postinstall":"node install.js"},"repository":{"type":"git","url":"git+https://github.com/Agora-Build/Hatch.git"},"keywords":["hatch","s3","release","deploy","cli"],"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"homepage":"https://github.com/Agora-Build/Hatch#readme","os":["linux","darwin","win32"],"cpu":["x64","arm64"],"_id":"@agora-build/hatch@0.3.4","gitHead":"5e8404e0c283a636cfae511f91703eac167c6245","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-3Gvt8mL1vJEc+9hgwaXAi8VxbrCMdxmrP/Cl9LAi+bHot3UNh2y9Gm5+/rArLOKwWVOQPXqx5Cp1W/TO5Q9cYA==","shasum":"228a6d8cdbc2972607a606d8dc5e869289755c4c","tarball":"https://registry.npmjs.org/@agora-build/hatch/-/hatch-0.3.4.tgz","fileCount":4,"unpackedSize":6109,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDRla8aZFwm/hM1jSjff61q2x4+iVGm367hqmhgiPuq2AiEAno9KBCnZVQz6ClR5EH+p7TERdxBmXHRLCMPMjVwgCs8="}]},"_npmUser":{"name":"agora.build","email":"brent@agora.io"},"directories":{},"maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hatch_0.3.4_1782378261051_0.22509049490896338"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-03T09:27:12.104Z","modified":"2026-06-25T09:04:21.331Z","0.1.0":"2026-04-03T09:27:12.294Z","0.1.3":"2026-05-25T09:43:06.602Z","0.2.0":"2026-05-25T10:12:15.418Z","0.2.1":"2026-05-25T10:28:08.252Z","0.3.0":"2026-05-25T10:40:41.442Z","0.3.1":"2026-05-25T10:42:34.038Z","0.3.2":"2026-06-25T08:30:19.313Z","0.3.3":"2026-06-25T08:33:29.232Z","0.3.4":"2026-06-25T09:04:21.185Z"},"bugs":{"url":"https://github.com/Agora-Build/Hatch/issues"},"author":{"name":"Agora Build","email":"build@agora.io"},"license":"MIT","homepage":"https://github.com/Agora-Build/Hatch#readme","keywords":["hatch","s3","release","deploy","cli"],"repository":{"type":"git","url":"git+https://github.com/Agora-Build/Hatch.git"},"description":"Secure, versioned file release CLI for S3-compatible storage","maintainers":[{"name":"agora.build","email":"brent@agora.io"}],"readme":"# @agora-build/hatch\n\nSecure, versioned file release CLI for S3-compatible storage.\n\nHatch uploads, manages, and distributes files in versioned release paths on S3-compatible storage (Cloudflare R2, AWS S3, MinIO, etc.), with automatic checksum generation.\n\n## Install\n\n```bash\nnpm install -g @agora-build/hatch\n```\n\nOr via shell script:\n\n```bash\ncurl -fsSL https://dl.agora.build/hatch/install.sh | bash\n```\n\nBoth download a prebuilt binary for your platform (linux-x64, linux-arm64, darwin-x64, darwin-arm64, win32-x64).\n\n## Quick Start\n\n```bash\n# Configure credentials (.env or environment variables)\nexport HATCH_ACCESS_KEY=your_access_key\nexport HATCH_SECRET_KEY=your_secret_key\nexport HATCH_BUCKET=releases\n\n# Upload a file\nhatch push myapp_v1.0_build42.zip --path /release/myapp/v1\n# => https://artifacts.agora.build/release/myapp/v1/myapp_v1.0_build42.zip\n\n# List files\nhatch list --path /release/myapp/v1\n\n# Inspect metadata and checksums\nhatch info myapp_v1.0_build42.zip --path /release/myapp/v1\n\n# Delete a file\nhatch drop myapp_v1.0_build42.zip --path /release/myapp/v1\n```\n\n## Commands\n\n```bash\nhatch push <file> --path <path>           # Upload (auto-generates .md5 and .sha256 sidecars)\nhatch push <file> --path <path> --force   # Overwrite if exists\nhatch list --path <path>                  # List files\nhatch list --path <path> --json           # List as JSON\nhatch info <file> --path <path>           # Show metadata and checksums\nhatch drop <file> --path <path>           # Delete a single file\nhatch drop --path <path> --yes            # Batch delete everything under path\nhatch drop --path <path> --filter <regex> # Batch delete with regex filter\nhatch drop --path <path> --dry-run        # Preview what would be deleted\n```\n\n## Configuration\n\n```bash\nHATCH_ACCESS_KEY=<key>       # Required for: push, drop\nHATCH_SECRET_KEY=<secret>    # Required for: push, drop\nHATCH_BUCKET=<bucket>        # Required for: push, drop\nHATCH_PUBLIC_URL=<url>       # Public CDN URL (default: https://artifacts.agora.build)\n```\n\nConfig priority: env vars > `--env-file` > local `.env` > `~/.config/hatch/.env`\n\n```bash\nhatch list --path /release --env-file ~/.config/hatch/artifacts.env\n```\n\n## Documentation\n\nFull documentation and source: [github.com/Agora-Build/Hatch](https://github.com/Agora-Build/Hatch)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}