{"_id":"maritime-sdk","_rev":"19-a6d4730dad9c47d12028d08c77f8d454","name":"maritime-sdk","dist-tags":{"latest":"0.13.0"},"versions":{"0.1.0":{"name":"maritime-sdk","version":"0.1.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.1.0","maintainers":[{"name":"maritimesh","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh","bugs":{"url":"https://github.com/mariagorskikh/maritime/issues"},"dist":{"shasum":"a86a7d3563b54839678db07c63d43769080b3014","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.1.0.tgz","fileCount":8,"integrity":"sha512-TbxoJyoF3VCwiznf6jg4NxwYTGPs1yNVfdOwR1bjHf+LVAv8yBXd6Ycw4/tbqKxdyybpNY3WxZB84ZkoGbKP9Q==","signatures":[{"sig":"MEYCIQC3lQkTTT2ZUVvAvUI2N18nf7gRZ30ljg2dlOvzjgK3qAIhANgipn09y7zCxxBa4G8D88RmwJT5jVLMGD+Y357mVUvh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":109976},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"3a32bfcdc972d6d256eeb123669bb5884a3c6bd4","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"maritimesh","email":"maria@maritime.sh"},"repository":{"url":"git+https://github.com/mariagorskikh/maritime.git","type":"git","directory":"frontend/sdk"},"_npmVersion":"10.2.3","description":"Official TypeScript SDK for Maritime — provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.1.0_1783386812097_0.8314525839905815","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"maritime-sdk","version":"0.2.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.2.0","maintainers":[{"name":"maritimesh","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh","bugs":{"url":"https://github.com/mariagorskikh/maritime/issues"},"dist":{"shasum":"d92928ded7b54caf6e5b2ddbd09bc6876260d8c6","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.2.0.tgz","fileCount":8,"integrity":"sha512-D+L4/cb1Ijj5p1AP952Wt8hz/qaYObrtIt3xcXfVINVlLVVuy4kwlhwCpWNkL8zVPkFSSHqXKXfDrjoAjoDzJg==","signatures":[{"sig":"MEYCIQCFSGmRaPTigIbzzL3ie959lNb3fLGuI+jXBlrfSDV1TgIhAOUn6Q6K0lFyQxVk8loCjWUBNoD+PbhVRw97dP4YZZDs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121096},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"61731205e1f6eeaeef1ecc0065d0abc19f17ddd6","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"maritimesh","email":"maria@maritime.sh"},"repository":{"url":"git+https://github.com/mariagorskikh/maritime.git","type":"git","directory":"frontend/sdk"},"_npmVersion":"10.2.3","description":"Official TypeScript SDK for Maritime — provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.2.0_1783393500403_0.6140793825328659","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"maritime-sdk","version":"0.2.1","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.2.1","maintainers":[{"name":"maritimesh","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/mariagorskikh/maritime-sdk/issues"},"dist":{"shasum":"23f01b793fade9249a90eab13b329e8f7aad75a4","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.2.1.tgz","fileCount":8,"integrity":"sha512-clOK9HkOre1/hItduPPLPDugttqGySgLbtKqJ8PrH4BwSPB4vkePXgeuaNAPfAaKFTy8Sty14fqXqvhRuIq/FQ==","signatures":[{"sig":"MEUCIDw/Se8Wh6WZilnoa9Lb50E9M88UnnCvczbtriBSCPfKAiEAoYpheamRzqdEuvzP7J9gn7rS61AhlHAhWxkiLeo9eps=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121145},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"f2873ab710bdafb0eef94b94c661f2d4a15a8ec0","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"maritimesh","email":"maria@maritime.sh"},"repository":{"url":"git+https://github.com/mariagorskikh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.2.3","description":"Official TypeScript SDK for Maritime — provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.2.1_1783399067820_0.6696173399937053","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"maritime-sdk","version":"0.2.2","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.2.2","maintainers":[{"name":"maritimesh","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/mariagorskikh/maritime-sdk/issues"},"dist":{"shasum":"e2960dbbbd994a8551bf2819aa742329d923ff38","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.2.2.tgz","fileCount":8,"integrity":"sha512-EJdYkBh7yStUqvhH3fJKW185ty5qyUnj850x4yxQr4t98brRrWetZhokju+WZ1qEiD8vOpiiaOg4P4VQ9Tj8RQ==","signatures":[{"sig":"MEQCIGKobHCbWZo46SMir0iXBVx9zOugcYx4vjdUY9oDR2ZpAiBoidv9W5IUq5kbVCU2ZZrs7i9UYfZ3jbFVD+mjOl9+6A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124087},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"fea8b91163e8734ea3b91fdb5c05e1f8ccfd1dfb","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"maritimesh","email":"maria@maritime.sh"},"repository":{"url":"git+https://github.com/mariagorskikh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.2.3","description":"Official TypeScript SDK for Maritime — provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.2.2_1783406902775_0.005075217421417255","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"maritime-sdk","version":"0.3.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.3.0","maintainers":[{"name":"maritimesh","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"466741487a049182b8d78d47c67ea2cc323ee407","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.3.0.tgz","fileCount":8,"integrity":"sha512-3SQ+5LTIgiIozbGdxd5DKcxUjeck8MgA0tzK8ir2hoQaLyWEAEgp6XKfCvtLxQc2dU8MM0WIJv4/yfSBi8vFuA==","signatures":[{"sig":"MEUCIEikBveNsBbmXIgENJr6n/yjFMbcMu47bOMFkprLH8p5AiEAnrVOwf0LAUtV4a0DlYn+1PqSJMY4R6q/IXIQhnm9GSo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":167057},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ba668683323eaffeed8251716b7c91396457fb05","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"maritimesh","email":"maria@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Maritime — provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.3.0_1783974234133_0.3895941583115221","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"maritime-sdk","version":"0.4.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.4.0","maintainers":[{"name":"maritimesh","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"f95f99cfbfe97ca2ad54b0bbc661d4ebaca11433","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.4.0.tgz","fileCount":8,"integrity":"sha512-KjMJl1jGV98sLcIklu+1vhN+NnsAWo54ZKui0yGEFU9/LYJaMZMEEfsNtGorHUbozJV3QNJoQvWaUeBnm2E8eA==","signatures":[{"sig":"MEUCIHO2F3LtOVli4wZk38hib15WRW6aT6Q+3ukn5kWxUtWnAiEArEPj0TJxdqUrCYqUZ+C/+sF8Lj3yrBxXZuCCPXzOcBg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175601},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4a26327102ebd6a59dd498a7534660b3e4191413","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"maritimesh","email":"maria@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Maritime — provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.4.0_1783974642322_0.3369536686091761","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"maritime-sdk","version":"0.5.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.5.0","maintainers":[{"name":"maritimesh","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"582d5b13290622bc8ef0af20fbfc5c3be24ae488","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.5.0.tgz","fileCount":8,"integrity":"sha512-U7tUJkOr8ra/oQTQncucyvdiQBZeybXrnqgGq/P9hNYR4CqmQ+f1iNbzoEMM8djBLOfejgFlaSYPzwgkGEg96g==","signatures":[{"sig":"MEQCICDbPGddjfgSE3dERimEpm1DTVh/45Eu65PrFiXhrActAiAO7tACBfHdhrbIuVHOMb2h7+2U7lEhRRUiS4+cys9Z7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":183381},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"372c057bf05b6a7c7dd4731b0c6561b716ead53d","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"maritimesh","email":"maria@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Maritime — provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.5.0_1783984738127_0.7472632712590463","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"maritime-sdk","version":"0.6.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.6.0","maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"c93f14367b62213c390eb6fde2608b5910b7d778","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.6.0.tgz","fileCount":8,"integrity":"sha512-APQzZREnfkGiXefxSEy60nhFAgpETjZMfX4topcs008QCoh62qbFaDf4ul3DrVaBnvB9OLGN1JN/GLHFmkkz6Q==","signatures":[{"sig":"MEUCICNOJIYvK4Nvr76WpcCgk8kQqYKdTgtB/fIF5kiyqCXtAiEAwolX6lYxkE5hF37R5ulNv/YlrnmxCwHIydYI31TK3a4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":215685},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"fff0091665e02aaff5ab567feb06e6402af46967","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ary_shriv","email":"ary@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.6.0_1784923394863_0.14015539695461876","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"maritime-sdk","version":"0.6.1","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.6.1","maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"44637aad23287e132fe8ab56a0a717b767de3aaf","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.6.1.tgz","fileCount":8,"integrity":"sha512-pYpJIg02pFDPiKP2m4E3EIrQuPOQx1uTus100jB9m2vuopHIiAM3jeKacY0WDOoYX05qw6SXgsDXG+0KwLt/jw==","signatures":[{"sig":"MEUCIDdVzZP5T13NcKUgGOyoHnj7tjXtC9tq8aD4wbMqHCLMAiEAxvHKU61LdIo1lrZ1OVeEcZOkAJ7SBGxLomAXMM3lBug=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":221407},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"38a9afa7203ad8c2046bea2331f430c8298618fb","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ary_shriv","email":"ary@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.6.1_1785231226513_0.9165128306850643","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"maritime-sdk","version":"0.7.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.7.0","maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"4128123da69fcba830f2606e4237e7639c4d8574","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.7.0.tgz","fileCount":8,"integrity":"sha512-LPxPfXs3anoIQzm+cazTvLrwFD4DZzE+jrzdemjZEtK5JKLQRVAPNdbkXSQJ85IT1jhvGyw3+55/ADujF+/TyA==","signatures":[{"sig":"MEUCIGdU2wS+kWcyAVwy0aHt4VhMB9y7wkzqofmZ4882SZDcAiEAzTkPRiOY2stY15ZAZbPZkCelOs7whtM28F/jEhmd+sE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":249508},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"8886f8df7786158591616b9829cbd2b35ccb1515","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ary_shriv","email":"ary@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.7.0_1785234320977_0.9512104548414833","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"maritime-sdk","version":"0.7.1","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.7.1","maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"ac1e5c61b20bd6ff946b0e358937b2a30502f9a4","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.7.1.tgz","fileCount":8,"integrity":"sha512-iNJmOBlsvzZbFZZYate3MdgdIq1EWhvnWy/s3OrLDxqHE0ub8Okg0qP6oPHYeSISCNKkCWzYu0RxAjVjhVIbJQ==","signatures":[{"sig":"MEQCIF9p3Zh+R3lI+sPHvK/aj+Ybg6sJ9JGebLARj3iQx1SuAiBaBDCEkzw+8ESnfy9pKeMTUD+8gVlLCCic4VLwlBN6hA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":255406},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4c1c7cd8a1dbd94e2db7ab94c5987bb76059b6bb","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ary_shriv","email":"ary@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.7.1_1785406445613_0.43562072826474796","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"maritime-sdk","version":"0.9.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.9.0","maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"3c5f25f612e915d12d1090947df28d50392310bc","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.9.0.tgz","fileCount":8,"integrity":"sha512-J8/2OcbQBqhFrnt8DJ/vh0gGQg02WNUmk1KUyrXul0HYro1Z5aOZCA4Xq8PsRTc2AD3uygT3AY3UpD3zAw9mfA==","signatures":[{"sig":"MEYCIQD8YRKecau9PKjzopRgGfCcu2rMAPL6tceTYlmRUmUr2QIhAKvLbxGAi5GEsHK/Zy4scD8HZBSCdx2Yj53ojkB+TLym","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBPz+C16tAdbpKDg7sskSXI5R/qzpWVwgAFKcMIKSB7aAiEA5whSvui0Vas+XxHl1m+PDhBqXsOpCJ/kFRPN0PI+VT0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":448683},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"16c825cf85c7c7d8b68105016fbd685923c7c24e","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ary_shriv","email":"ary@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.9.0_1790736945365_0.06977379051866595","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"maritime-sdk","version":"0.10.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.10.0","maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"0681fba6b6d2c615736177b08b761b606669c935","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.10.0.tgz","fileCount":8,"integrity":"sha512-KYZfafv2k7R+gG7GJn+D663LQlSLa3nQ2fid8RIoLZUxnbpIRoTDh+ti4O+ckMZwWMx+mUijrg45Xum7LL/j5Q==","signatures":[{"sig":"MEUCIAeaRwmqo6ZvPjg4VGhJAQqtZNScLOQZnb7S6C5pmC5pAiEA/Be5+41gLw7+9DC/KJPkzqW+vOQlGAFbzzQZzRVQIdM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBcLaInYWoK12oOsSfq0a2aoyoDs02IR35A7YncWCe/sAiEA6gEfcZo180j941eUtUts5gzpecA9HiDYh9Yk6y8qZnA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":571740},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1464abbd1a24d2d93ba1f1773a88857b93474e92","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ary_shriv","email":"ary@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.8.2","description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.10.0_1792883394054_0.08837635042922298","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"maritime-sdk","version":"0.11.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.11.0","maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"10a24ccb0c9052f3754b2bc81e24b4245e90495c","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.11.0.tgz","fileCount":8,"integrity":"sha512-HMYPJoxltjfH88fVZ1DGVM+DQMG0z0X8jvQRVQfzBMymlQqNDc7cQtqI4g7rhNnp0fOA0PUdBTNX/SqtdkIhOg==","signatures":[{"sig":"MEYCIQCJleD1Ly9Ep37T/fhh542h3NKKfyLWQs3OZssCKgvTqwIhAPKyrvubUwRu2Fe3npCNEXzVRnG4s3kX2YqAXRX/vmXq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIC5o5wbVS3yzDklValwKhsJBxa6xhbbNGS4dO/m1oD7OAiEA7QfgGAFho+YX/Ljr9MjI3qz/YpmkhT2Lj8mrIBKGkC8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1186556},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"b51acdfe90cee17bc2f958f21141c8b9066ec01d","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ary_shriv","email":"ary@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.9.9","description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"22.23.4","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.11.0_1793488558294_0.45071771872394384","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"maritime-sdk","version":"0.12.0","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"author":{"name":"Maritime"},"license":"MIT","_id":"maritime-sdk@0.12.0","maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"homepage":"https://maritime.sh/docs/build","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"2dfd0c5da63c7551d7c97332f5fcab4a98d098c0","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.12.0.tgz","fileCount":8,"integrity":"sha512-WYcF9FRlPoi6H4Um2Vbui3z6Dr/wfiWg+EAVdpfT6n6veGx1sKTzS4aQvG+RbzHQKv5Su/rugZ4uSURKImnu4w==","signatures":[{"sig":"MEUCIGKwlI/TOBlw/ZWAOsJaNn5glYJBoIj256i+pL5OXTvRAiEAqKRBuOThGLDJSQUUadR/wJiYrgWN7zalWRjhrFFjKfw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEwMM4W2ZYMUv11sYyQ525QsdMjZfhLdstxBUpmxVa/5AiAcNML5FhNAAfT+2imFdfCyZtz3ARHwHb/6gRzBYJ/xTg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1270817},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4f348a2ef60027bc8394e13731ae83e94842cea8","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"ary_shriv","email":"ary@maritime.sh"},"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.9.9","description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"_nodeVersion":"22.23.4","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"tmp":"tmp/maritime-sdk_0.12.0_1794104120811_0.6557925598966304","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"_id":"maritime-sdk@0.13.0","bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"dist":{"shasum":"c23a565ddffd76147b8a01ccb28cc20a436b98d5","tarball":"https://registry.npmjs.org/maritime-sdk/-/maritime-sdk-0.13.0.tgz","fileCount":8,"integrity":"sha512-fnVdsGoclUxprM48jOMOIEq0BRkV68Wl6F1Aoc//aSKkyN7RPjT7b5OlGW4GwaQZUHobwINW+7uu98Yy8PMdYg==","signatures":[{"sig":"MEUCIQD9LYpj4793ZFESAK5c5Jl9t7hhRcwRpkqP3qbl9p/iHgIgV7zi9HMsRlaBr4Kq/cbSKhFzRCMcrkri8a9rd4m/NlE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCxKhD6eKg6zEcOyQM2Y9Oc58Ecqh/mCorgxVgeQaso7gIgG+M+oI4H5UTYHj8t9rB+ziHIR5pMH3Ytglq007GjxdY="}],"unpackedSize":1298846},"main":"./dist/index.cjs","name":"maritime-sdk","type":"module","types":"./dist/index.d.ts","author":{"name":"Maritime"},"module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"f2d5e484ca75265b2770e5389c4753be8273ded2","license":"MIT","scripts":{"test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"version":"0.13.0","_npmUser":{"name":"ary_shriv","email":"ary@maritime.sh"},"homepage":"https://maritime.sh/docs/build","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"_npmVersion":"10.9.9","description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","directories":{},"maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"_nodeVersion":"22.23.4","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vite":"^6.4.6","vitest":"^4.1.12","typescript":"^5.6.3","@types/node":"^20.19.43"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/maritime-sdk_0.13.0_1795073443602_0.2399644122657948"}}},"time":{"created":"2026-07-07T01:13:31.865Z","modified":"2026-11-19T07:30:44.025Z","0.1.0":"2026-07-07T01:13:32.237Z","0.2.0":"2026-07-07T03:05:00.552Z","0.2.1":"2026-07-07T04:37:47.969Z","0.2.2":"2026-07-07T06:48:22.925Z","0.3.0":"2026-07-13T20:23:54.311Z","0.4.0":"2026-07-13T20:30:42.462Z","0.5.0":"2026-07-13T23:18:58.311Z","0.6.0":"2026-07-24T20:03:15.030Z","0.6.1":"2026-07-28T09:33:46.642Z","0.7.0":"2026-07-28T10:25:21.149Z","0.7.1":"2026-07-30T10:14:05.751Z","0.9.0":"2026-09-30T02:55:45.462Z","0.10.0":"2026-10-24T23:09:54.176Z","0.11.0":"2026-10-31T23:15:58.416Z","0.12.0":"2026-11-08T02:15:20.932Z","0.13.0":"2026-11-19T07:30:43.694Z"},"bugs":{"url":"https://github.com/maritime-sh/maritime-sdk/issues"},"author":{"name":"Maritime"},"license":"MIT","homepage":"https://maritime.sh/docs/build","keywords":["maritime","ai","agents","sdk","openclaw","serverless","agent-infrastructure"],"repository":{"url":"git+https://github.com/maritime-sh/maritime-sdk.git","type":"git","directory":"typescript"},"description":"Official TypeScript SDK for Maritime: provision and drive AI agents on Maritime's serverless infrastructure from your own backend.","maintainers":[{"name":"ary_shriv","email":"ary@maritime.sh"},{"name":"bli0428","email":"brandon@maritime.sh"},{"name":"maritimeai","email":"maria@maritime.sh"}],"readme":"# maritime-sdk\n\nOfficial TypeScript SDK for [Maritime](https://maritime.sh): provision and drive AI agents on Maritime's serverless infrastructure, straight from your own backend.\n\nBuild an app where every one of **your** users gets **their own** agent: one call on sign-up spins up an isolated agent on Maritime's infrastructure; another sends it a message. You never touch a container.\n\n```bash\nnpm install maritime-sdk\n```\n\nRequires Node 18+ (or any runtime with a global `fetch`: Bun, Deno, edge). Zero runtime dependencies.\n\n## Quick start\n\n```ts\nimport { Maritime } from 'maritime-sdk'\n\nconst maritime = new Maritime({ apiKey: process.env.MARITIME_API_KEY })\n\n// When YOUR user signs up, give them their own agent. `provision` is\n// idempotent on externalId, so it's safe to call on every login.\nconst agent = await maritime.agents.provision({\n  externalId: `customer_${user.id}`,   // your id for this agent\n  name: `assistant-${user.id}`,\n  template: 'openclaw',\n})\n\n// Talk to it (sleeping agents auto-wake):\nconst result = await maritime.agents.chat(agent.id, 'Summarize my unread email.')\nif (result.state === 'accepted' || result.state === 'running') {\n\tconsole.log('Accepted turn:', result.deliveryId)\n} else if (result.error) {\n\tconsole.error(result.error)\n} else {\n\tconsole.log(result.response)\n}\n```\n\n## Run code in a sandbox\n\nA sandbox is a Linux machine you create, run commands in, and kill. It bills per second only while it runs. After 2 minutes idle, it pauses and keeps its memory, processes, and disk.\n\nTo create sandboxes, use an API key with the `sandboxes` scope. Sandboxes bill through your Maritime usage plan (Starter, Growth, Scale, or Dedicated), the same plan as every other machine. Without a plan, `create` fails with `plan_required`, and the error's `checkoutUrl` is the billing page.\n\n```ts\nimport { Maritime } from 'maritime-sdk'\n\nconst maritime = new Maritime() // reads MARITIME_API_KEY\n\n{\n  await using sbx = await maritime.sandboxes.create()\n  const { stdout, exitCode } = await sbx.run('python3 -c \"print(2+2)\"')\n  console.log(stdout, exitCode) // \"4\\n\" 0\n} // the sandbox is killed here\n```\n\nThis example costs about $0.0001. A `small` sandbox costs $0.018 per hour, billed per second, and the block runs for a few seconds.\n\n`await using` needs TypeScript 5.2 or later. In plain JavaScript, call `await sbx.kill()` in a `finally` block. If the block throws and the kill also fails, JavaScript throws a `SuppressedError` whose `suppressed` is your error and whose `error` is the kill failure.\n\nStream output, run in the background, and serve a port:\n\n```ts\nawait sbx.run('npm test', {\n  timeoutSeconds: 600,\n  onStdout: (chunk) => process.stdout.write(chunk),\n})\n\nconst server = await sbx.run('python3 -m http.server 8000', { background: true })\nconsole.log(await sbx.url(8000)) // https://8000-sbx-....sb.mtm.sh/?token=...\nawait server.kill()\n```\n\nOther calls on a sandbox: `files.read`, `files.write`, `files.list`, `files.remove`, `files.watch`, `commands.get`, `commands.kill`, `commands.history`, `terminal`, `runCode`, `pause`, `update`, `save`, `info`, `refresh`, and `rotateSecret`. Account calls: `maritime.snapshots`, `maritime.templates`, `maritime.keys` (with `{ sandbox }` for per-sandbox keys), `maritime.sandboxWebhooks`, `maritime.secrets`, and `maritime.usage`.\n\nEvery sandbox failure is a `MaritimeSandboxError`. Branch on `err.code`, and show `err.hint` to people. The SDK retries reads and `create`, `update`, `run`, `pause`, `kill`, and `save` up to 3 attempts with the same idempotency key, so a retried `run` never starts a second process.\n\nTo check a sandbox webhook, pass the raw body and the `Maritime-Signature` header:\n\n```ts\nconst ok = await maritime.sandboxWebhooks.verifySignature(rawBody, req.headers['maritime-signature'], secret)\nif (ok) handle(maritime.sandboxWebhooks.parseEvent(rawBody))\n```\n\n## Sandbox templates\n\nA template is a root filesystem that you build once, from a public image or a Dockerfile. Every sandbox created from it starts with the same files and the same fixed size. Registering a template needs a paid plan. Template storage is free.\n\n```ts\nimport { Maritime, MaritimeTemplateBuildError } from 'maritime-sdk'\n\nconst maritime = new Maritime()\n\nawait maritime.templates.create({\n  name: 'py-ml',\n  dockerfile: 'FROM python:3.12\\nRUN pip install numpy pandas\\n',\n  size: 'medium',\n})\n\ntry {\n  await maritime.templates.wait('py-ml')\n} catch (err) {\n  if (err instanceof MaritimeTemplateBuildError) console.error(err.error) // why the build failed\n  throw err\n}\n\n{\n  await using sbx = await maritime.sandboxes.create({ from: 'py-ml' })\n  console.log((await sbx.run(\"python3 -c 'import pandas'\")).exitCode) // 0\n}\n```\n\nPass `image: 'python:3.12'` instead of `dockerfile` to use a public image. The type accepts one of the two, not both. Set the size with `size`, or with `vcpu`, `memoryMib`, and `diskGib`. A value you leave out comes from `small`. `startCmd` and `readyCmd` are optional.\n\n`create` returns the template with `status` set to `building`. `wait` reads the template every 5 seconds until it is `ready`, and returns it. If the build fails, `wait` throws `MaritimeTemplateBuildError`. If the template is still building after `timeoutSeconds` (40 minutes by default), `wait` throws `MaritimeError`. The build continues.\n\nOther calls:\n\n```ts\nconst template = await maritime.templates.get('py-ml')\nconst page = await maritime.templates.list({ limit: 20 }) // newest first; stock templates come last\nconst nextPage = await maritime.templates.list({ cursor: page.nextCursor ?? undefined })\nawait maritime.templates.delete('py-ml') // sandboxes created from it keep running\n```\n\nErrors are `MaritimeSandboxError`:\n\n| `err.code` | Cause |\n| --- | --- |\n| `plan_required` | The account has no paid plan. `err.checkoutUrl` opens the billing page. |\n| `concurrency_limit` | The account has 100 templates, or 20 templates that are building. |\n| `snapshot_exists` | A stock template, a template, or a saved snapshot already has the name. |\n| `snapshot_not_found` | No template has the name. |\n| `scope_missing` | You tried to delete a stock template. |\n\n## Authentication\n\nMint an API key (`mk_...`) from the dashboard (**Settings → API keys**) or the CLI (`maritime keys create`), then:\n\n```ts\nconst maritime = new Maritime({ apiKey: 'mk_...' })\n// or set MARITIME_API_KEY and call new Maritime()\n```\n\nKeys carry **scopes**: hand a narrower key to a subsystem that only needs part of the surface:\n\n| Scope | Grants |\n|-------|--------|\n| `provision` | create agents |\n| `deploy` | start/stop/restart/sleep/chat |\n| `secrets` | read/write env vars |\n| `manage` | everything, incl. delete + key management (wildcard) |\n\n```ts\nconst worker = await maritime.keys.create({ name: 'chat-worker', scopes: ['deploy'] })\n// worker.rawKey is shown once, so store it now.\n```\n\nKeys can also be **project-scoped**: the key to put in a partner-facing or\nper-tenant service. A scoped key only works on the front door + usage\nendpoints for that one project and is rejected everywhere else (other\nprojects 404), so a leak reaches one project's agents, not your whole account:\n\n```ts\nconst runtime = await maritime.keys.create({\n  name: 'poke-runtime',\n  scopes: ['deploy', 'manage'],\n  projectId: agent.projectId as string,\n})\n```\n\n## Agents\n\n```ts\n// Create (kicks off deploy). Prefer `template`: a bare framework yields a broken image.\nconst agent = await maritime.agents.create({\n  name: 'support-bot',\n  template: 'openclaw',\n  externalId: 'customer_42',\n  instructions: 'You are a friendly support agent for Acme Inc.',\n  env: [{ key: 'ACME_API_KEY', value: '...', secret: true }],\n  idleTtlSeconds: 3600,     // 0 = always-on\n})\n\n// Idempotent get-or-create by externalId (recommended for per-user provisioning).\n// The server does the get-or-create: a repeat call returns the same agent.\nconst agent = await maritime.agents.provision({ externalId: 'customer_42', name: 'support-bot' })\n\nawait maritime.agents.get(agent.id)\nawait maritime.agents.list({ externalId: 'customer_42' })  // filter by your id\nawait maritime.agents.list()                                // all of your agents\n\n// Chat auto-wakes a sleeping agent. Builtin coding templates can return pending acceptance.\nconst chat = await maritime.agents.chat(agent.id, 'Hello')\n\n// Lifecycle\nawait maritime.agents.start(agent.id)\nawait maritime.agents.sleep(agent.id)     // cheapest resting state (serverless snapshot)\nawait maritime.agents.restart(agent.id)\nawait maritime.agents.delete(agent.id)    // tears down container + volume + network\n\n// Env vars (secrets encrypted at rest; reach a running container after reloadEnv)\nawait maritime.agents.setEnv(agent.id, 'STRIPE_KEY', 'sk_live_...', { secret: true })\nawait maritime.agents.listEnv(agent.id)\nawait maritime.agents.reloadEnv(agent.id)\n\n// Logs\nawait maritime.agents.logs(agent.id, { limit: 100, level: 'error' })\n\n// Real-world identity (Identity add-on agents): phone, email, tunnel host.\n// Channels never provisioned come back null; a fresh phone number reports\n// smsStatus 'pending' during carrier warm-up.\nconst { phoneNumber, emailAddress } = await maritime.agents.identity(agent.id)\n\n// Skills: list, search ClawHub, install, upload a custom skill, export.\n// Install/upload auto-resolve missing binaries inside the agent's own VM\n// and report the final state; `needs_input` means the skill just needs\n// the listed env values (an API key, say) from your user.\nconst overview = await maritime.agents.skills.list(agent.id)\nconst result = await maritime.agents.skills.upload(agent.id, {\n  archive: fs.readFileSync('daily-brief.zip'),   // zip or a bare SKILL.md\n})\nif (result.status === 'needs_input') {\n  await maritime.agents.skills.setEnv(agent.id, { SOME_API_KEY: value })\n}\nconst tarball = await maritime.agents.skills.export(agent.id, result.name)\nawait maritime.agents.skills.remove(agent.id, result.name)\n\n// Files: browse the agent's persistent volume, move bytes both ways, and\n// run one-shot commands. File operations wake a sleeping agent; transfers\n// are capped at 100 MB per file.\nconst { root, entries } = await maritime.agents.files.list(agent.id)\nawait maritime.agents.files.upload(agent.id, {\n  content: fs.readFileSync('report.csv'),\n  filename: 'report.csv',\n  destDir: `${root}/inbox`,        // omit destDir to deliver as a chat attachment\n})\nawait maritime.agents.files.write(agent.id, `${root}/notes.md`, '# notes')\nconst bytes = await maritime.agents.files.download(agent.id, `${root}/notes.md`)\nawait maritime.agents.files.move(agent.id, `${root}/notes.md`, `${root}/docs/notes.md`)\nawait maritime.agents.files.delete(agent.id, `${root}/docs/notes.md`)\nconst { exitCode, stdout } = await maritime.agents.exec(agent.id, ['ls', '-la', root])\n```\n\n### Chat outcomes and retained results\n\n`agents.chat()` explicitly sends `X-Maritime-Chat-Result: turns-v1` and returns\na `ChatResult` union. This public result version is separate from the guest's\ndurable-turn capability negotiation. A legacy reply has `response`\nand an optional `error`. Builtin coding templates can return `state: 'accepted'`\nor `'running'`, `response: null`, and an exact `deliveryId`. That null response\nis pending work, not a delivery failure. Persist the ID before requesting its result.\n\nClients without this exact header keep the existing acknowledgment string for\npending work and the existing null response with an error for failure. Completed\nreplies keep their legacy shape in either mode. The result header does not change\noperation identity. Reusing an idempotency key retains the first response even\nwhen a later request changes its result preference.\n\n```ts\nconst submitted = await maritime.agents.chat(agent.id, 'Prepare the report.')\nif (submitted.state === 'accepted' || submitted.state === 'running') {\n\tconst deliveryId = submitted.deliveryId\n\t// Read once now, or persist deliveryId and read it later.\n\tconst turn = await maritime.agents.readChatTurn(agent.id, deliveryId)\n\tif (turn.state === 'completed') {\n\t\tconsole.log(turn.response)\n\t} else if (turn.state === 'failed' || turn.state === 'uncertain') {\n\t\tconsole.error(turn.error)\n\t} else {\n\t\tconsole.log('Still pending:', turn.deliveryId)\n\t}\n} else if (submitted.error) {\n\tconsole.error(submitted.error)\n} else {\n\tconsole.log(submitted.response)\n}\n```\n\n`readChatTurn()` makes an authenticated read for that exact agent and delivery ID.\nIts `ChatTurnResult` states are `accepted`, `running`, `completed`, `failed`, and\n`uncertain`. It does not submit work, consume the result, wake the agent, or run\na polling loop. The agent must already be active. A read error can be retried\nwith the same ID. Unknown IDs and unsupported guests raise API errors.\n\nExplicit builtin submission failure also retains `deliveryId` and a `failed`,\n`uncertain`, or `refused` state. Investigate uncertain execution before requesting\nreplacement work. Do not call `chat()` again to retrieve an earlier answer.\n\nChat keeps its `Idempotency-Key` header, but backend key retention is process-local.\nIt is not a blanket exactly-once guarantee. A timeout, ambiguous network failure,\nor HTTP error does not automatically repeat the chat POST. Only a connection\nfailure that the transport identifies as never sent permits a bounded retry.\nIf a response is lost before you receive a delivery ID, the outcome can remain\nuncertain. Do not automatically resubmit the prompt.\n\n## Agent URLs: open your agent's web app\n\nEvery agent with an `exposedPort` has its own hostname, `https://<agent-id>.mtm.sh/`, in\n`agent.webUrl`. It is private by default: a visitor needs a link your backend minted.\n\n```ts\n// Your backend, when a signed-in user opens their workspace:\nconst link = await maritime.agents.shareLinks.create(agent.id, {\n  endUserExternalId: 'customer_42',   // dies with the end user's suspension\n  ttlSeconds: 86400,                  // omit for 1 hour; null for a link that never expires\n})\nres.redirect(link.url)                // the first visit swaps the secret for a cookie\n\n// Housekeeping\nawait maritime.agents.shareLinks.list(agent.id)\nawait maritime.agents.shareLinks.revoke(agent.id, link.id)\nawait maritime.agents.shareLinks.revokeForEndUser(agent.id, 'customer_42')\n\n// Or let anyone with the URL in, and let a visit wake the agent:\nawait maritime.agents.setVisibility(agent.id, 'public')\n```\n\nThe app behind the URL sees its own cookies, its own `Host`, and WebSockets work. Search\nengines are told not to index agent URLs.\n\n## Run commands\n\n`maritime.agents.exec(agent.id, command, { timeout: 90 })` runs an attached command. The execution timeout is in seconds and defaults to 60. Explicit values can exceed 120 seconds. The response provides `exitCode`, `stdout`, and `stderr`; the two streams are separate. Each returned stream retains its last 262,144 characters, prefixed with [output truncated] and a newline when truncated.\n\nFor agents with detached support, the API also returns `executionId` and `status`, which the current TypeScript `ExecResult` type does not declare. The SDK does not yet expose detached submission, result retrieval, or cancellation helpers. Use REST for those operations:\n\n```typescript\nconst agentId = 'AGENT_ID'\nconst headers = {\n\tAuthorization: `Bearer ${process.env.MARITIME_API_KEY}`,\n\t'Content-Type': 'application/json',\n}\nconst execUrl = `https://api.maritime.sh/api/agents/${encodeURIComponent(agentId)}/exec`\nconst submission = await fetch(execUrl, {\n\tmethod: 'POST',\n\theaders,\n\tbody: JSON.stringify({ command: 'npm run build', detached: true, timeout: 600 }),\n})\nif (!submission.ok) throw new Error(await submission.text())\nconst execution = await submission.json()\nconst resultUrl = `${execUrl}/${encodeURIComponent(execution.executionId)}`\n\nconst observation = await fetch(resultUrl, { headers })\nif (!observation.ok) throw new Error(await observation.text())\nconsole.log(await observation.json())\n\n// To cancel this execution explicitly:\nconst cancellation = await fetch(resultUrl, { method: 'DELETE', headers })\nif (!cancellation.ok) throw new Error(await cancellation.text())\nconsole.log(await cancellation.json())\n```\n\nDetached submission returns HTTP 202 with an ID and a Location header. Omitted or `null` timeout selects 60 seconds when attached or 3,600 seconds when detached. Null does not mean unlimited. GET returns HTTP 200 with `running` or a terminal result. DELETE cancels a running command and preserves the result for later retrieval. It returns an already finished result unchanged.\n\nResults are temporary and can be lost on restart or agent replacement. When detached execution is supported, disconnecting does not cancel commands in either mode. A lost submission response does not prove that the command failed to start, so do not blindly repeat POST. The SDK client's `timeout` is a separate HTTP request limit in milliseconds. Increase it above the execution timeout for long attached calls, or use detached REST submission.\n\nSome older agents support attached execution only, with a 120-second timeout cap, combined output in stdout, and no execution ID or status. Detached submission returns HTTP 501 with `unsupported: outdated vm. Please use a new agent.` Use a new agent for detached execution and retained results. See the [API reference](https://maritime.sh/docs/api#exec) for status values, errors, and examples.\n\n## Swarms: one command in many sandboxes\n\nA swarm runs one shell command in N short-lived sandboxes at once and ends them when they finish. Each sandbox of a run has a `sandboxId` (`sbx-...`) that `maritime.sandboxes.get` reads for 7 days. Runs start from the `base` template by default; pass `template` (a stock template or a saved snapshot name) or `image` (an OCI image reference). The run's `size` is `{ name, vcpus, memoryGb }`, where `name` is the smallest Sandboxes size that fits the request (default `small`: 2 vCPU, 4 GB, $0.018 per hour). Each sandbox sees `MARITIME_SWARM_INDEX` (0 to N-1), `MARITIME_SWARM_COUNT` and `MARITIME_SWARM_ID`. Pass `inputs` instead of `count` to give each sandbox its own `args`, `env` and `files`. Sandboxes are billed per second at the sandbox rates, and starting a run needs a key with the `provision` scope.\n\n```typescript\nconst run = await maritime.swarms.start({\n  command: 'echo \"case $MARITIME_SWARM_INDEX\" && test $((MARITIME_SWARM_INDEX % 3)) -ne 0',\n  count: 10,\n  timeoutSeconds: 300,\n})\n\nconst done = await maritime.swarms.wait(run.id, { timeoutMs: 15 * 60_000 })\nconsole.log(done.status, `${done.counts.succeeded} succeeded, ${done.counts.failed} failed`)\nfor (const sandbox of done.sandboxes) {\n  console.log(sandbox.index, sandbox.exitCode, sandbox.stdoutTail.trim())\n}\n```\n\n`start` sends an `Idempotency-Key` (pass `{ idempotencyKey }` to choose it), so a retried start returns the same run. `wait` polls every 3 seconds until the run is `completed` or `cancelled`. `list({ limit })`, `get(id)` and `cancel(id)` cover the rest, and `results(id)` returns every sandbox (exit code, output tails, the `resultPath` file) as an array.\n\n## Sandboxes with a fixed lifetime\n\n`maritime.ephemeral.createEphemeral` starts a sandbox with a fixed lifetime. Maritime ends it, disk included, when the lifetime ends (5 to 1440 minutes, default 60). It takes every `sandboxes.create` field except `idleTimeoutSeconds` and `keepAwake`, and returns the Sandbox object plus `expiresAt`. Its id works with every `maritime.sandboxes` call, so run commands and use files through a sandbox client. Authentication and errors are those of `maritime.sandboxes`: a key with the `sandboxes` scope, and every refusal is a `MaritimeSandboxError`. A `small` sandbox costs $0.018 per hour ($0.0045 per vCPU-hour plus $0.00225 per GB-hour).\n\n```typescript\nconst box = await maritime.ephemeral.createEphemeral({ name: 'ci-run', lifetimeMinutes: 30 })\nconst sbx = await maritime.sandboxes.connect(box)\nconst { stdout } = await sbx.run('python3 --version')\nconsole.log(stdout, 'ends at', box.expiresAt)\n```\n\n`listEphemeral({ cursor })` returns one page, `{ sandboxes, nextCursor }`, of your live sandboxes, newest first. The page also lists sandboxes made with `sandboxes.create` or the E2B-compatible API, and no swarm sandboxes. `expiresAt` is null for a sandbox that never ends by itself (an idle timer, or an E2B `autoPause` deadline). `extendEphemeral(id, lifetimeMinutes)` restarts the lifetime from now; a sandbox with no fixed lifetime fails with `invalid_request` on `field: \"id\"`. `killEphemeral(id)` ends the sandbox now and is safe to repeat.\n\n## Computers on demand: Linux and Windows desktops, and Android phones\n\n`maritime.computers.create` takes `os` (`linux`, `windows` or `android`, default `linux`) and `arch` (`x86_64` or `arm64`, default `x86_64`). `arm64` is for Android apps that ship only ARM code, and it runs only where your account has ARM hosts; otherwise the API returns 400 `unsupported_arch`. The default x86_64 Android image has no ARM translator, so apps with ARM-only native libraries do not run on it. Both apply to a new computer only: an existing computer keeps its own.\n\n```typescript\nconst windows = await maritime.computers.create({ externalUserId: userId, os: 'windows' })\n\nconst phone = await maritime.computers.create({ name: 'arm-apps', os: 'android', arch: 'arm64' })\nconsole.log(phone.os, phone.arch)\n```\n\n## Projects: one agent per end-user (the front door)\n\nRoute your end-users' messages through a project: each `externalUserId` gets a\nsticky binding to its own agent (spawned from your template, warm-pool backed).\nFull guide: [docs/FRONT_DOOR.md](../docs/FRONT_DOOR.md).\n\n```ts\n// One-time: routing policy on the agent's auto-created project\nawait maritime.projects.update(agent.projectId as string, {\n  newChatPolicy: 'spawn',   // dedicated agent per end-user\n  warmPoolSize: 3,          // new users bind in ~1s instead of a cold create\n})\n\n// Per message: get-or-create + wake + deliver\nconst msg = await maritime.projects.message(agent.projectId as string, {\n  externalUserId: `user_${theirUserId}`,\n  message: 'What does my dashboard say?',\n  idempotencyKey: requestId,          // retries never double-deliver\n})\nif (msg.status === 'replied') console.log(msg.reply)\n// 'provisioning' | 'queued' → reply arrives via the message.reply webhook,\n// or poll: await maritime.projects.getMessage(projectId, msg.messageId)\n\n// Your customer list\nawait maritime.projects.users(projectId)\nawait maritime.projects.unbindUser(projectId, 'user_42')\n```\n\nSubscribe to replies (and verify deliveries) with the webhook helper:\n\n```ts\nimport { verifyWebhookSignature } from 'maritime-sdk'\n\nconst { secret } = await maritime.webhooks.create({\n  url: 'https://api.acme.co/maritime/webhook',\n  events: ['message.reply', 'message.failed'],\n})\n\n// in your handler, pass the RAW body:\nconst ok = await verifyWebhookSignature({ secret, body: rawBody, signature: sigHeader })\n```\n\n\n## Billing: rebill your users\n\nYour plan is a flat monthly subscription that sets how many agents you may run,\nso there is nothing metered by time to reconcile. What each agent spent on LLM\ntokens out of your AI budget is per-agent and worth passing through:\n\n```ts\n// Per-agent / per-end-user cost over a date range (max 92 days), from the\n// real money ledger. Rows carry externalUserId, so invoicing is a one-liner.\nconst report = await maritime.billing.usage({ from: '2026-07-01', to: '2026-08-01' })\nfor (const row of report.agents) invoice(row.externalUserId, row.totalCostCents)\n```\n\nYour own plan and invoices live at [maritime.sh/billing](https://maritime.sh/billing).\n\nCreates that run past your plan's agent limit come back as\n`MaritimePaymentRequiredError` (402). Its `.detail` is already the complete\nsentence to show your user:\n\n```ts\ntry {\n  await maritime.agents.provision({ externalId: `customer_${user.id}`, name })\n} catch (err) {\n  if (err instanceof MaritimePaymentRequiredError) {\n    // e.g. \"You are on the free plan, which includes 3 agents (you have 3).\n    //       Delete an agent you no longer need, or upgrade to a paid plan to\n    //       create more: https://maritime.sh/billing\"\n    showBanner(err.detail)\n  }\n}\n```\n\n## Scheduled wakes (agent-side)\n\nThese helpers run INSIDE a Maritime agent (a BYO image speaking the\n[contract](https://maritime.sh/docs)). A Maritime micro-VM sleeps at ~zero\ncost between messages, so a plain `setInterval` never fires while it's\nsnapshotted; instead, publish your schedule and Maritime wakes the VM at the\nright moments.\n\n```ts\nimport { observeScheduler, pushSchedules } from 'maritime-sdk'\n\n// One line: every add/remove on your scheduler re-publishes the snapshot.\nobserveScheduler(myScheduler, {\n  getSnapshot: () => myScheduler.jobs.map(j => ({ id: j.id, nextRunAt: j.next.toISOString() })),\n})\n\n// Or push explicitly (send the FULL list; [] clears all synced wakes):\nawait pushSchedules([\n  { id: 'digest', cron: '0 9 * * 1-5', tz: 'America/New_York', prompt: 'Send the digest' },\n  { id: 'followup', nextRunAt: '2026-08-01T14:00:00Z' },\n])\n```\n\nEntries use `nextRunAt` (the next occurrence as YOUR scheduler computed it)\nor a 5-field `cron` + `tz`. An entry with `prompt` gets it delivered to your\n`POST /chat` (source `\"scheduled\"`) right after the wake. Credentials come\nfrom the env every Maritime agent already has; off-Maritime both helpers are\nsilent no-ops, so they're safe in local dev. Alternative with no SDK at all:\nserve `GET /schedules` returning the same array and Maritime polls it.\n\n## Feedback: tell Maritime when something is wrong\n\nBuilt for coding agents and developers working against these docs. If a doc\ndoes not match the product, an example does not run, or a call fails in a way\nyou cannot explain, send a report. It reaches the Maritime founders with your\naccount and API key attached, so you do not need to include contact details.\n\n```ts\ntry {\n  await maritime.agents.chat(agent.id, 'hello')\n} catch (err) {\n  if (err instanceof MaritimeAPIError) {\n    await maritime.feedback.send({\n      kind: 'sdk',\n      subject: 'agents.chat',\n      message: 'chat returned 500 on a freshly provisioned agent; docs say sleeping agents auto-wake.',\n      requestId: err.requestId,   // lets Maritime find the exact server log line\n      statusCode: err.status,\n      tool: 'claude-code/2.1.0',\n    })\n  }\n}\n```\n\n`kind` is one of `docs`, `sdk`, `api`, `cli`, `computers`, `dashboard` or\n`other`. Any key works, with any scope. Capped at 5 reports a minute and 20 a\nday per account. Never put secrets or env values in a report.\n\n## Errors\n\nEvery failure is a subclass of `MaritimeError`: catch the base to catch them all, or narrow by type:\n\n```ts\nimport {\n  MaritimeAuthError,           // 401, or a 403 for an under-scoped key\n  MaritimePaymentRequiredError,// 402: plan limit reached (.detail says which)\n  MaritimeNotFoundError,       // 404: no such agent (or not yours)\n  MaritimeConflictError,       // 409: name already taken\n  MaritimeRateLimitError,      // 429\n  MaritimeAPIError,            // any other non-2xx (.status, .detail, .code, .retryAfterSeconds)\n  MaritimeConnectionError,     // never reached Maritime (network/timeout)\n} from 'maritime-sdk'\n\ntry {\n  await maritime.agents.create({ name: 'dupe', template: 'openclaw' })\n} catch (err) {\n  if (err instanceof MaritimeConflictError) {\n    // an agent with that name already exists\n  } else if (err instanceof MaritimeAPIError) {\n    console.error(err.status, err.code, err.detail, err.requestId)\n  }\n}\n```\n\nRefusals carry a stable `code` beside the sentence: branch on `err.code`, not\non `err.detail`. For example a 503 `capacity_unavailable` (retry after\n`err.retryAfterSeconds`), a 403 `machine_unavailable` or `swarm_too_large`\n(a plan answer, not a key problem, so a plain `MaritimeAPIError`), and a 409\n`idempotency_conflict` or `confirm_required`.\n\n## Configuration\n\n```ts\nnew Maritime({\n  apiKey: 'mk_...',                     // or MARITIME_API_KEY\n  baseUrl: 'https://api.maritime.sh',   // or MARITIME_API_URL\n  timeout: 60_000,                      // per-request ms\n  maxRetries: 2,                        // network + 5xx/429 (GET/DELETE and 429/503 only)\n  fetch: customFetch,                   // inject a fetch (tests, proxies)\n  defaultHeaders: { 'x-team': 'acme' },\n})\n```\n\n`GET` and `DELETE` have bounded retries for transient failures. By default, other\n`POST` and `PUT` requests retry HTTP `429`, HTTP `503`, and connection failures\nexplicitly identified as never sent. They do not retry timeouts, ambiguous network\nfailures, or other HTTP `5xx` responses. Operations explicitly marked idempotent\ncan use broader bounded retries.\n\n`agents.chat` is stricter. It keeps its `Idempotency-Key` but retries only connection\nfailures explicitly identified as never sent. It does not repeat a POST after\ntimeout, ambiguous network failure, or any HTTP error. Use `readChatTurn()` with a\nretained ID to inspect accepted work.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}