{"_id":"@cargo-ai/worker-sdk","_rev":"19-03fb3ffa5447dcdef55e7e8112bcac74","name":"@cargo-ai/worker-sdk","dist-tags":{"latest":"1.0.19"},"versions":{"1.0.1":{"name":"@cargo-ai/worker-sdk","version":"1.0.1","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.1","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"c59483edd7c06b040442569aa3955fff2abb927c","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.1.tgz","fileCount":38,"integrity":"sha512-DUkYEkdt6ylu5EJOY1MrMf02dMC/UqatGX3eiqcjeDThZzgVzUcdBnqA5YCB1cE5Dlam1TqFEdrkYgJzP2QaPg==","signatures":[{"sig":"MEUCIQD2yA1IfjyBzMxMq1NHGu1wb27bLtKkHTFQPStWHkzQ7wIgFD8TP9ROghHLHSToCE1voh/YC7M6Qa7i8ZdmLekQsfQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":218220},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"ba793ebaf89945093c98650af07da1ef84d5ee61","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"zod":"^4.3.6","hono":"4.12.16","chanfana":"^3.3.0","@cargo-ai/types":"^1.0.23"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.1_1778622322519_0.2285642059810813","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@cargo-ai/worker-sdk","version":"1.0.2","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.2","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"6331a04a0b8db6ab858728c4b57d6c07281294c0","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.2.tgz","fileCount":38,"integrity":"sha512-NoH41pEzepLpW60aivxQQ5U3a+Cog7yUKIJafXRo5lq5MatH0cCctuysaBmCor/axPOXXYarm9oXzNbXkU1zZw==","signatures":[{"sig":"MEQCIBFNimLLmrt8WJIGW94vewhyeIZ+qwaa6S2z33B8KakZAiAcZQgG3+As18mF7KB/eiMondzq//TW1V877sgIN9Rl0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":218640},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"5d4b432a70ce97556bce1dfdf322d580e171e1cb","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"zod":"^4.3.6","hono":"4.12.16","chanfana":"^3.3.0","@cargo-ai/types":"^1.0.26"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.2_1780897973047_0.5667003852751558","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@cargo-ai/worker-sdk","version":"1.0.3","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.3","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"fa42a68ade260ee85409d12ff26af8e4bb1b9647","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.3.tgz","fileCount":38,"integrity":"sha512-XZMSXB8mADp8kGtIjSQheerHIvJnynRKMh671rJ9CY82ukGEJaf1FihZBEsAQtw3arUPlrbR+W6nXBRQZ6kMKA==","signatures":[{"sig":"MEQCIHKDOZNQ2Hbq1ix7f79Wh3gsoIgdwgKJxsvQovVZsrvVAiBl3WzVGBKR0cfd5Qqj4e+jETpmp9I8+ZbLGL76NQ9jMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":193395},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"5d18f674c4da3cc08391a3a8dd7e2e4471552edc","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"4.12.16","chanfana":"^3.3.0","@cargo-ai/types":"^1.0.34"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.3_1783025478333_0.5072490285219462","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@cargo-ai/worker-sdk","version":"1.0.4","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.4","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"f0e0c8330f285bb469cd7092c8bf9e147b1df894","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.4.tgz","fileCount":36,"integrity":"sha512-atasDypojVzT3NymMWfFhAVcV0YrZbUwideEvAvzLTYaK7Cg0QkIsHseWmoAiRq7p7t3ZJsgWKLGPKgTFgBpng==","signatures":[{"sig":"MEQCIDWIEVv5l4a9nC0GAu3o+gAFeyBQdZM9//iS/WzEZ2LhAiAPeI+YAEgxC43dsrxKsTzJ+sFBYfzoiX3BLbxL46LneA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":191942},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"c0abefd2b0a9272685f249b7fd7bb22eff47ff02","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"4.12.16","chanfana":"^3.3.0","@cargo-ai/types":"^1.0.36"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.4_1783194231841_0.09342755510506584","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@cargo-ai/worker-sdk","version":"1.0.5","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.5","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"ce89eba84e50b66c00b83ac43fd63e9e3fbba8ca","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.5.tgz","fileCount":39,"integrity":"sha512-3jqcVr7akfxWJSfSSpINVdvZAk/+ey1wyEETh4UZNlrUm9+8DJSL1gh+u2HzypvLC3umI0PHIqGCTIiwF0RFwg==","signatures":[{"sig":"MEYCIQCH0yhmCgIeX2wuoCQX6W7wEOOWvy/xA+SUKjXZIJusjwIhAL4Yt9W4vsyLIIT489eTjpxUIlmofv4oseBFCRAkU6x8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203857},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"75a8e21da5398ba236c0be51556f6b66d3a7e0ca","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"4.12.16","chanfana":"^3.3.0","@cargo-ai/api":"*","@cargo-ai/types":"^1.0.38"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.5_1783441433471_0.5231930616464779","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@cargo-ai/worker-sdk","version":"1.0.6","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.6","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"80e9c60e84dcaac3cf9ecd0b6329cde22535daae","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.6.tgz","fileCount":39,"integrity":"sha512-Zlp5KOkzn+345zoVpnyi+wbM7TR3TV4lnuUYTROCQtpf8UJ/eP0ff2kynCgQSRjP0NS+0ZEtPlSKWOGiYqya2A==","signatures":[{"sig":"MEUCIExhH/ltgCfDxiroXuCy/a03m3gWmI4ILFg9BcGYY7mXAiEA2vYpBBYLUZK7t/mNxcYdaK8/FMc90V9rbN0gINHkydg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":204142},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"bfd95414a3d6411da6c4d03c4f993b26a0c4cbd5","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"4.12.16","chanfana":"^3.3.0","@cargo-ai/api":"*","@cargo-ai/types":"^1.0.39"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.6_1783466380778_0.21071925214730114","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@cargo-ai/worker-sdk","version":"1.0.7","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.7","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"53ee16142cc76185eb141dc7c6ddf625659dc9ce","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.7.tgz","fileCount":41,"integrity":"sha512-38yhtmKvLDSwZH8jIBOVEfnz1s67KhLFGjUybhXKkw1YuC5W/TxMaM996Rax137t0LoZAfISHQNT1RIB7IcJFw==","signatures":[{"sig":"MEQCIBw8n/37N0KX3LLP06qN4bPq3Rau4QGJbgHYr1U6h7dHAiAZK8lxnQDhuWGq27gfLZicwKAE67YdyqfPKO5zxvJMfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":207522},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"d1bd56f39f92912ed08b8e218288e4327496adc5","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"4.12.16","chanfana":"^3.3.0","@cargo-ai/api":"*","@cargo-ai/types":"^1.0.42"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.7_1784778637940_0.42129797992474716","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@cargo-ai/worker-sdk","version":"1.0.8","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.8","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"b03f513a8428d72fbc77772ed3ff68099c87f3ec","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.8.tgz","fileCount":41,"integrity":"sha512-wBhumCK9JjP58QWRfG4q9Ptl69U9UVvIy3WZiy6jb0fBK7nRVq0yvAL6mM6miLk7PSSvMTLZL03uHyKNLvFp0Q==","signatures":[{"sig":"MEQCICOoxVJDhKW35uemsZX26ORlDbP2Z77dSO7YPa9QbuKqAiA34MdVconSD8uSFZwZBvjGUkGvGxb506XeQDy8aNMO2Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":207529},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"1db7eb8fb4e89f53772d360b561baab9916767c1","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.27","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.44","@cargo-ai/types":"^1.0.42"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.8_1784834662909_0.3380235491680177","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@cargo-ai/worker-sdk","version":"1.0.9","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.9","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"3db763c034a15ec00f4fc40d0128efd5fd319aa3","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.9.tgz","fileCount":41,"integrity":"sha512-lExKI3InNGKTTVACYpwZ+83MPPsJGw3V5RFW1brqsbBJshRAQ7EeE0jCFAs3Blg0qkDHtBmwtRY1RoWXhixHQw==","signatures":[{"sig":"MEUCIBp24wQnBMYS5YCvRe7GDd5oQ/mAaLKGeGKKzk0WalxAAiEAtwwsHideaSBoDtKkryRYuDxiBYcIliLstU15uv4GTq0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":207529},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"2826f188ae799cba08e433673079cd3b26267dae","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.27","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.45","@cargo-ai/types":"^1.0.43"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.9_1784870945780_0.2432622221666365","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@cargo-ai/worker-sdk","version":"1.0.10","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.10","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"1c51b5a56e7b0f45733b8118bbaa961926ba51bf","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.10.tgz","fileCount":41,"integrity":"sha512-D16d4t+bZp2nEbONWVRwECvVP95f6ucY0WSsAg/eMDj8BoafS8cKsllhdqExv4R08sQJbkWbB6252NUgqkY6EQ==","signatures":[{"sig":"MEUCIQDmZ+R+PMz1gWlWI2drINvip5p0ijMcBNCdx78mP4NM8AIgMDwbmZ/HtNZrO3VycWIJLv94YBhzsFDGh3ufCA7PCRU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":207530},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"a2936ea7d9c79d212354950112ebaa18b54080d7","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.27","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.46","@cargo-ai/types":"^1.0.44"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.10_1784924495463_0.8647889123974979","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@cargo-ai/worker-sdk","version":"1.0.11","license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.11","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"3a41b43badffc52acf438fadae4312f67b332f7b","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.11.tgz","fileCount":41,"integrity":"sha512-7ny8u9SjSx4Wa02NJ6ucpoeX9A/AuzqXgwzatDZpjnmuZx5pNmK3BhKu1ssZQD/Fs3ENmX//FkWuYam6yw2sIA==","signatures":[{"sig":"MEUCIQC0JmEv6UvpNkd0++xttianczbcQw0HeXBMDXCdtSvRPgIgeckw+7chVi3X0eLU9HZWshvE23bH6HDSC3dC29I/oqg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":207702},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"5ef176f636a9be93d789803b828e01ab7467b2dc","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.34","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.49","@cargo-ai/types":"^1.0.50"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.11_1785799579341_0.06080179615324388","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"@cargo-ai/worker-sdk","version":"1.0.12","keywords":["cargo","gtm","worker","edge","serverless","hosting","hono","openapi","sdk"],"license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.12","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"5016c9610cd80b9c8aa64c90b5e5cd5fe6302da5","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.12.tgz","fileCount":41,"integrity":"sha512-rk4+NK2eHSngVzLq+UKr7iUn4Ri+tKUzca7xJOPcyo/0/Ra1sJq4f4S1n7DkPM4MpxBRBaXZf6/qhFcecFi2PQ==","signatures":[{"sig":"MEUCIFqYz3GNk9E98o7P4xi35ssdpWNwi+LHTuuOX8MRXNWEAiEA4J6Yj5iSLBC2lPn64Pef8+sQPoq3CHrUCcGpn8i1UMc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":208941},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"5260e7f87a20b7a44081ddc9eb4649df795a6d21","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.34","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.58","@cargo-ai/types":"^1.0.56"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.12_1786568602342_0.9000260897027188","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"@cargo-ai/worker-sdk","version":"1.0.13","keywords":["cargo","gtm","worker","edge","serverless","hosting","hono","openapi","sdk"],"license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.13","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"8fb1cbecb04d4161977f016a3da24c3adc997223","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.13.tgz","fileCount":41,"integrity":"sha512-ZAZa9N9wgjOZv10z5FB7Ot2fH109D0r1K3jBCl2b/vbK+QCrR1OvxX19RnEmCHRh4L+Y6OyY7vt4sjpz6OJ9BA==","signatures":[{"sig":"MEUCIQC+7wt1JSndfmyPEMH3ATROKdgtxY/LRDNtZQ+wBNLapAIgAcZHvDFba+aHVOt2PEavx54n/0jimWl5ceZe8BCQ5ZU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":210153},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"06679def9b581c6176761c6388454be354f9993e","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.34","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.63","@cargo-ai/types":"^1.0.62"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.13_1787125409820_0.26387120811728426","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"@cargo-ai/worker-sdk","version":"1.0.14","keywords":["cargo","gtm","worker","edge","serverless","hosting","hono","openapi","sdk"],"license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.14","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"4458bb4beefef8533f7195e03c1281c8c7a6734a","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.14.tgz","fileCount":41,"integrity":"sha512-YWfG4UncsadfTPrIEtZTuxu1PX923mTZkwTKNd9j6XWuL0uPEEVurnEHRHE3XHMq40aDIB9UfH/PijMVMs6WTA==","signatures":[{"sig":"MEUCIQCkz/zt8o7u2guQ6a84L5oSV7f8AGpELhX9h4wkI0whfgIgWqSYD4WGHz/vjSxxWvagGFgb+eZ01jgj5Um6ysdCoYE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":210390},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"01ddedb5e644716a76d506f02d1f58066f64db98","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.34","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.63","@cargo-ai/types":"^1.0.62"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.14_1787195724464_0.7090622846365089","host":"s3://npm-registry-packages-npm-production"}},"1.0.15":{"name":"@cargo-ai/worker-sdk","version":"1.0.15","keywords":["cargo","gtm","worker","edge","serverless","hosting","hono","openapi","sdk"],"license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.15","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"db7f236ad8bf8d5139ba461eb40f3c79b8906b75","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.15.tgz","fileCount":41,"integrity":"sha512-C2csOzRtF+tsMN0iVUnHjcPVSlaCopFfMS7VY9ZIE1aM3lpxCxbdLFYqQQrr/tR7J6ZxgD6p2ZI65E/7vYgpdw==","signatures":[{"sig":"MEYCIQDmgRwwSCXiP9geayOak7OeQl4KqYxKgxSTmYBX/jydbwIhAKuzOdDz4YMD5MbnwnIYuD1byqsoDyF6/h7OdVuG+Tcy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":210392},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"b5d42ea24189ec585ca2e157f12aa64a1ea209e2","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.34","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.63","@cargo-ai/types":"^1.0.62"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.15_1787207815650_0.5804926707590774","host":"s3://npm-registry-packages-npm-production"}},"1.0.16":{"name":"@cargo-ai/worker-sdk","version":"1.0.16","keywords":["cargo","gtm","worker","edge","serverless","hosting","hono","openapi","sdk"],"license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.16","maintainers":[{"name":"auree","email":"contact@auree.me"}],"dist":{"shasum":"f57ae33d07b1f80f9c2b34a5ebdc9dbe287f2957","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.16.tgz","fileCount":41,"integrity":"sha512-6x84XPYfkDmk3LQ0c9S6OJVcWza6qc+bcQ9GezGQXjI9dtsDnbo4XpcOFrmkAgLF5VzVyC84P1qq5cPy2KjBLQ==","signatures":[{"sig":"MEUCIEoXFE/wHRL9Kvz6x/GDL+nF0RWvA8h4iK6jAgm3WVe+AiEAk4AwinUQNxO8YL4eHraY4n6SgTU7Yg0b+059EO+ZgFU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":214561},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"5e8606abba1fb52b6fd0eb6928a39c1b8e2fea4f","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.34","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.64","@cargo-ai/types":"^1.0.63"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.16_1787283284144_0.12002694286669024","host":"s3://npm-registry-packages-npm-production"}},"1.0.17":{"name":"@cargo-ai/worker-sdk","version":"1.0.17","keywords":["cargo","gtm","worker","edge","serverless","hosting","hono","openapi","sdk"],"license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.17","maintainers":[{"name":"auree","email":"contact@auree.me"}],"homepage":"https://www.getcargo.ai","bugs":{"url":"https://github.com/getcargohq/cargo/issues"},"dist":{"shasum":"21e2bb1df8be63409ad2810713248c2f635a0f9d","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.17.tgz","fileCount":41,"integrity":"sha512-empYjZCOPphk5tZk8+0aUUdjG0on6PI7p9RhghJwlL9pjxT+7ekd2S1t5JoXv8zsmzNTusV7c2tETuF62BbXiw==","signatures":[{"sig":"MEUCIQDeEhkIJ6N1pqunFwhcyEDB/rccWdKnngUOuCBxub7wywIgAajH8eB/o/lfbM701Yz1JrmcsAZGEUcGrWyIJ/xcOEY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":214741},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"5ba674ca933e855a49456c53b6785a74375f175d","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"repository":{"url":"git+https://github.com/getcargohq/cargo.git","type":"git","directory":"packages/worker-sdk"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.12.34","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.67","@cargo-ai/types":"^1.0.65"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.17_1787444732533_0.980511947339924","host":"s3://npm-registry-packages-npm-production"}},"1.0.18":{"name":"@cargo-ai/worker-sdk","version":"1.0.18","keywords":["cargo","gtm","worker","edge","serverless","hosting","hono","openapi","sdk"],"license":"UNLICENSED","_id":"@cargo-ai/worker-sdk@1.0.18","maintainers":[{"name":"auree","email":"contact@auree.me"}],"homepage":"https://www.getcargo.ai","bugs":{"url":"https://github.com/getcargohq/cargo/issues"},"dist":{"shasum":"596ad18cedf9d336afb94d3deea26989b019b0a5","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.18.tgz","fileCount":41,"integrity":"sha512-92bZcOlVrhkuvT1rVZCQAwYvk2iHl1IbDuztsHRo+Anmqm634oA3hRo1IIsbbvqtQjcWYORwh176+2C2st2QiQ==","signatures":[{"sig":"MEUCIBpOYbQYTasd1KsZyjqlCHncJ0wgGd1ftSPxPgd9jxTiAiEA56QuzCcm6kH4UK2oDJI9H6OF39FpGGiGxrT0Ceu8nGI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEH+hLY6+LwcTmW7su3yN3GSGw/qCdXUdk82n/HYsTj5AiBH6JCib+PQlvZj4RPC93WpaNtYSs9+cfbYlWAD2tRlYw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":202254},"type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"258aff72837b56cfcba6d43f7061acd528c09dab","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"_npmUser":{"name":"auree","email":"contact@auree.me"},"repository":{"url":"git+https://github.com/getcargohq/cargo.git","type":"git","directory":"packages/worker-sdk"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.13.7","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.84","@cargo-ai/types":"^1.0.79"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"tmp":"tmp/worker-sdk_1.0.18_1789668335279_0.5538991163356861","host":"s3://npm-registry-packages-npm-production"}},"1.0.19":{"_id":"@cargo-ai/worker-sdk@1.0.19","bugs":{"url":"https://github.com/getcargohq/cargo/issues"},"dist":{"shasum":"41546d3c04df8f199eed143b90968f71e806b91c","tarball":"https://registry.npmjs.org/@cargo-ai/worker-sdk/-/worker-sdk-1.0.19.tgz","fileCount":44,"integrity":"sha512-+1TOHCFy+ETgXKzMhnxjVc1WxEkbDzHiyPs1pcr658hjHMzNk7zMZxca7e6K0nwfhIz3WCoxdL8slF0Lq8budg==","signatures":[{"sig":"MEMCHxx0unS+yNftnc2B0bVMUKqrwliplKCLTMzV/q6E+5kCICJnIoHpJ0n5qRNprBcBcuEqQAyA5jzkS5E6GAN3ZhfG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHiZ4iOfd85zJe0zgiXzLUnpw5x5bej6TDD7tcqY2FBZAiAEZ5y/JxH+3mQ12WEv9CgKouvfXeDemtzTEPTluGtf+Q=="}],"unpackedSize":207610},"name":"@cargo-ai/worker-sdk","type":"module","volta":{"node":"22.22.2"},"engines":{"node":">=22"},"exports":{".":"./build/src/index.js"},"gitHead":"57a0e8da8470e8e6760f4ccab74708d4d5f2594a","license":"UNLICENSED","private":false,"scripts":{"dev":"tsc --watch","lint":"eslint ./ --fix","build":"tsc --build","format":"prettier --write .","lint:check":"eslint ./ --max-warnings=0","type:check":"tsc --noEmit","afterinstall":"npm run build","format:check":"prettier --check ."},"version":"1.0.19","_npmUser":{"name":"auree","email":"contact@auree.me"},"homepage":"https://www.getcargo.ai","keywords":["cargo","gtm","worker","edge","serverless","hosting","hono","openapi","sdk"],"repository":{"url":"git+https://github.com/getcargohq/cargo.git","type":"git","directory":"packages/worker-sdk"},"_npmVersion":"10.9.7","description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","directories":{},"maintainers":[{"name":"auree","email":"contact@auree.me"}],"_nodeVersion":"22.22.2","dependencies":{"hono":"^4.13.7","chanfana":"^3.3.0","@cargo-ai/api":"^1.0.84","@cargo-ai/types":"^1.0.80"},"_hasShrinkwrap":false,"devDependencies":{"zod":"4.4.3","eslint":"9.26.0","prettier":"3.3.3","typescript":"5.3.2","@types/node":"^20.10.8","@cargo-ai/ts-config":"*","@cargo-ai/eslint-config":"*","@cargo-ai/prettier-config":"*"},"peerDependencies":{"zod":"^4.3.6"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/worker-sdk_1.0.19_1789690040455_0.600726438187833"}}},"time":{"created":"2026-05-12T21:45:22.419Z","modified":"2026-09-18T00:07:20.740Z","1.0.1":"2026-05-12T21:45:22.679Z","1.0.2":"2026-06-08T05:52:53.201Z","1.0.3":"2026-07-02T20:51:18.487Z","1.0.4":"2026-07-04T19:43:52.007Z","1.0.5":"2026-07-07T16:23:53.604Z","1.0.6":"2026-07-07T23:19:40.925Z","1.0.7":"2026-07-23T03:50:38.075Z","1.0.8":"2026-07-23T19:24:23.062Z","1.0.9":"2026-07-24T05:29:05.931Z","1.0.10":"2026-07-24T20:21:35.606Z","1.0.11":"2026-08-03T23:26:19.485Z","1.0.12":"2026-08-12T21:03:22.506Z","1.0.13":"2026-08-19T07:43:29.962Z","1.0.14":"2026-08-20T03:15:24.608Z","1.0.15":"2026-08-20T06:36:55.793Z","1.0.16":"2026-08-21T03:34:44.296Z","1.0.17":"2026-08-23T00:25:32.690Z","1.0.18":"2026-09-17T18:05:35.369Z","1.0.19":"2026-09-18T00:07:20.562Z"},"bugs":{"url":"https://github.com/getcargohq/cargo/issues"},"license":"UNLICENSED","homepage":"https://www.getcargo.ai","keywords":["cargo","gtm","worker","edge","serverless","hosting","hono","openapi","sdk"],"repository":{"url":"git+https://github.com/getcargohq/cargo.git","type":"git","directory":"packages/worker-sdk"},"description":"Build Cargo Hosting workers (edge HTTP handlers) with automatic OpenAPI generation via Hono + Chanfana.","maintainers":[{"name":"auree","email":"contact@auree.me"}],"readme":"# @cargo-ai/worker-sdk\n\nBuild Cargo Hosting **workers** — serverless edge HTTP handlers running on `*.worker.getcargo.run` — with automatic OpenAPI 3.1 generation. Hono + Chanfana + Zod are wrapped in two opinionated factories so you define routes once and get runtime validation, a Cargo-native manifest, and live OpenAPI docs for free.\n\n## Install\n\n```sh\nnpm install @cargo-ai/worker-sdk\n```\n\n## Write a worker\n\n```ts\nimport { type Context, createWorker, OpenAPIRoute } from \"@cargo-ai/worker-sdk\";\nimport { z } from \"zod\";\n\nconst { app, openapi } = createWorker({ title: \"my-worker\" });\n\nclass GetHello extends OpenAPIRoute {\n  override schema = {\n    request: {\n      query: z.object({ name: z.string().default(\"world\") }),\n    },\n    responses: {\n      \"200\": {\n        description: \"Greeting.\",\n        content: {\n          \"application/json\": {\n            schema: z.object({ message: z.string() }),\n          },\n        },\n      },\n    },\n  };\n\n  override async handle(c: Context): Promise<Response> {\n    const { query } = await this.getValidatedData<typeof this.schema>();\n    return c.json({ message: `Hello, ${query.name}!` });\n  }\n}\n\nopenapi.get(\"/hello\", GetHello);\n\nexport default app;\n```\n\n`createWorker` gives you:\n\n- `GET /openapi.json` — OpenAPI 3.1 spec derived from every route's Zod schema.\n- `GET /docs` — Swagger UI.\n\n## Call the Cargo API\n\nCreate a workspace API token in Cargo and add it to the worker as a `CARGO_API_TOKEN` secret environment variable. `createCargoApi(env)` then returns the fully-typed [`@cargo-ai/api`](https://www.npmjs.com/package/@cargo-ai/api) client, connected to your workspace — the Cargo API host is allowed automatically, no `outboundAllowlist` entry needed:\n\n```ts\nimport { createCargoApi } from \"@cargo-ai/worker-sdk\";\n\napp.get(\"/workers\", async (c) => {\n  const api = createCargoApi(c.env);\n  const { workers } = await api.hosting.worker.list();\n  return c.json(workers);\n});\n```\n\nRuns you start this way stay on the trace of the invocation that made the call:\nCargo Hosting stamps the invocation's run and trace uuid on outbound Cargo API\nrequests, so a play that calls this worker shows the run it created as a child\nspan rather than an unrelated trace. Nothing to wire up — it applies to\n`createCargoApi` and to a plain `fetch` of the API alike.\n\n## Cron triggers\n\nA worker can be called on a schedule. Each trigger — configured on the worker from the Cargo app, `cargo-ai hosting worker create/update --triggers`, or `defineWorker` in the CDK — describes the full request Cargo fires: cron, path, method, JSON body, and headers. Set an `authorization` header on the trigger and guard the route:\n\n```ts\nimport { bearerAuth } from \"hono/bearer-auth\";\n\napp.use(\"/cron/*\", bearerAuth({ token: \"<something-strong>\" }));\n\napp.post(\"/cron/sync\", async (c) => {\n  // ... scheduled work ...\n  return c.json({ ok: true });\n});\n```\n\nTicks only fire once the worker has a promoted deployment.\n\n## Write a custom integration\n\n`createCustomIntegration({ info, connector, authenticate, actions, extractors, ... })` builds a worker that implements the [Cargo Custom Integration HTTP contract](https://docs.getcargo.ai/integration/custom-integration) from a single declarative spec. The same Zod schemas feed `GET /manifest` (Cargo-native wire format) and `GET /openapi.json`. See `templates/custom-integration/`.\n\nIntegration-domain types (`IntegrationActionExecutePayload`, `IntegrationExtractorFetchResult`, …) live in [`@cargo-ai/types`](https://www.npmjs.com/package/@cargo-ai/types) under the `ConnectionTypes` namespace — you rarely need to import them directly because the SDK's `CustomIntegrationAction` / `CustomIntegrationExtractor` types wire them in for you.\n\n## Scaffold a project\n\nYou almost never want to wire this from scratch. Use the CLI:\n\n```sh\n# Blank edge handler\nnpx @cargo-ai/cli hosting worker init my-worker --template blank\n\n# Worker that implements the Cargo Custom Integration HTTP contract\nnpx @cargo-ai/cli hosting worker init my-integration --template custom-integration\n```\n\nThe CLI copies the matching template from `@cargo-ai/worker-sdk/templates/<slug>/` into your target directory.\n\n## Deploy\n\nYou author in TypeScript and deploy the source directory as-is — no local build step. The uploaded source is the project root (with `src/index.ts`, `manifest.json`, `package.json`, `package-lock.json`):\n\n```sh\nnpm install\ncargo-ai hosting deployment create --worker-uuid <workerUuid> --source ./\ncargo-ai hosting deployment promote --uuid <deploymentUuid>\n```\n\nThe Cargo Hosting build pipeline runs `npm ci` then `esbuild src/index.ts --bundle --format=esm --platform=neutral --target=es2022` (esbuild transpiles TypeScript natively) to produce the final edge bundle. So you can ship multi-file TypeScript projects — esbuild tree-shakes everything into a single ESM file at deploy time. (A pre-built `index.js` at the root is still accepted for backwards compatibility.)\n\n## Available templates\n\n- `blank` — a ready-to-extend Hono app built by `createWorker()`, with one sample route and `/openapi.json` + `/docs` out of the box. Use this when the worker just responds to inbound HTTP and doesn't need to integrate into the Cargo connector catalog.\n- `custom-integration` — a ready-to-extend spec passed to `createCustomIntegration()`. Handles `/manifest`, `/openapi.json`, `/docs`, `/authenticate`, `/actions/<slug>/execute`, `/extractors/<slug>/{fetch,count}`, `/autocompletes/<slug>`, `/dynamicSchemas/<slug>`, `/completeOauth`, `/listUsers` from a single declaration. Edge-native equivalent of [`getcargohq/dummy-integration`](https://github.com/getcargohq/dummy-integration). Register it in the connector catalog with `defineCustomIntegration` in the CDK, or `cargo-ai connection custom-integration create --kind worker --worker-uuid <workerUuid>`.\n\nSee each template's own `README.md` for the file layout and how to extend it.\n","readmeFilename":"README.md"}