{"_id":"@agent-compose/sdk","_rev":"26-f5f80677126280d8947caf48d6016f86","name":"@agent-compose/sdk","dist-tags":{"latest":"0.8.5"},"versions":{"0.1.0":{"name":"@agent-compose/sdk","version":"0.1.0","license":"MIT","_id":"@agent-compose/sdk@0.1.0","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"486185f7cdcd48a0f4af2376ac636baf7d6cad23","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.1.0.tgz","fileCount":26,"integrity":"sha512-I7vb2rvDfC9E1UHE/RdQiLftbrCH6oQOh5Lm3pkrAGTQZms3GVrcjIduRmlKJ18GVDy5jdjPrmr3iojW48G7BQ==","signatures":[{"sig":"MEUCIEqIzdHSotzBHU1QWErex2kXsai8XHZZmkSGu5Fmjfu7AiEA0ys561XjpO8IS9m5Vk2uLuFBiC7TruY0NFLt/yuaqQo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139180},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"40b9b0701fb910b6d2092bd690b7e222a867bf39","scripts":{"test":"vitest run src/__tests__","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"chris-moller","email":"cmoller02@gmail.com"},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"10.9.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"22.12.0","dependencies":{"e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@e2b/desktop":"^1.1.2","@vercel/sandbox":"^1.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1777056623702_0.06159403679009534","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@agent-compose/sdk","version":"0.2.0","license":"MIT","_id":"@agent-compose/sdk@0.2.0","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"3229243d08bb3b16b2ba171c064f9bb6d142eeff","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.2.0.tgz","fileCount":27,"integrity":"sha512-0Kfgb7fJYru2jHquA0XvKemmHgIRWKHedsnXXdGQtsLncIsri9rZTgaU6VCfR0l+LmE/7o7mVHUQephR5TQoig==","signatures":[{"sig":"MEUCIEGGD69aCtjAk4Xz3IF5uPFb1bn4iM/bnwRHJKT9A1POAiEA18b4ArVYefrAC5oziMy2r3YTxpbfru7i0XhyKSbmRc4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":166897},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"1d091b56623496edb63e0bbd6d69d4f7af4ec562","scripts":{"test":"vitest run src/__tests__","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.13.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@e2b/desktop":"^1.1.2","@vercel/sandbox":"^1.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.0_1777665992835_0.0055292135283491195","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@agent-compose/sdk","version":"0.2.1","license":"MIT","_id":"@agent-compose/sdk@0.2.1","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"6a0492160c8dd577137e62fab8ea3dafd99498a1","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.2.1.tgz","fileCount":27,"integrity":"sha512-3tbcvO6jWR2UjTjr0oVhzRhPS5EpcFaRXr43mmIY3t+WgPLgKvzLm9Sw3R8XQWciZ+jkCjh+s7udsiTb/qtqUA==","signatures":[{"sig":"MEYCIQC9vWdZNNVrR/mORRjVrDYjlPRK8EtmI2GWXzbxaUA69AIhAIwct4kyxklCFDsCKXZJIbXNuLlp4V/iGgk7pXSA3Wtq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":163417},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"a8c966993cdbd98a6d7001f90f2e29af516970c2","scripts":{"test":"vitest run src/__tests__","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.14.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@e2b/desktop":"^1.1.2","@vercel/sandbox":"^1.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.1_1778204620899_0.779790903893421","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@agent-compose/sdk","version":"0.2.2","license":"MIT","_id":"@agent-compose/sdk@0.2.2","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"e7c28358afe090a2865f828df22eb871d9bd3793","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.2.2.tgz","fileCount":51,"integrity":"sha512-34PJq51VFMgKykwsT7iJlwayHPGVM9hvu7CAEEsC0SuODb7EdSDWZLmCcRIPF5imUfb92p2aIWeNu+PKSezf9Q==","signatures":[{"sig":"MEUCICNVBM4rdD9Nh0/r8ZNkiNy9Mg+IG88iCfMGXt0AbAzxAiEA3C0nvEMoUoK5eVvmr4Fxg8EqikZjR4SvHQ6P5zA8pBI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":273407},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"b45f0970b1a1f68d3811aa1453592dbe49a66c6e","scripts":{"test":"vitest run src/__tests__","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.14.1","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@e2b/desktop":"^1.1.2","@vercel/sandbox":"^1.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.2_1778265276110_0.382003663501131","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@agent-compose/sdk","version":"0.2.3","license":"MIT","_id":"@agent-compose/sdk@0.2.3","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"a8d07b7a8c876629c30f1767ea5838339330a4bc","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.2.3.tgz","fileCount":51,"integrity":"sha512-+Gqs36V6Ed7cn3uQfWG1l42n29QPQgRB5jZITP6E87XZbYb+cdUUsQVQKvpdDGDJdy7WdGcjicGKTEibALL2WA==","signatures":[{"sig":"MEUCIQCbvqa1QAaw24GtxKOnyNo7P69C6tefCEfAJbitfDgsJwIgRUHXF/whRofHWlL/OLvybCmjf0UvMKQoz5Rx7rsUur0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":274326},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"8e0e96dbb4bc9c758f9a998b62721fae3ac6f270","scripts":{"test":"vitest run src/__tests__","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.14.1","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@e2b/desktop":"^1.1.2","@vercel/sandbox":"^1.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.3_1778618168226_0.14201924532354715","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@agent-compose/sdk","version":"0.2.4","license":"MIT","_id":"@agent-compose/sdk@0.2.4","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"e8e72538fce478e2e660b0031797a29a5ceb061e","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.2.4.tgz","fileCount":108,"integrity":"sha512-WeWilbVWRPUh9PqxWDYjQ/WW9cU0uUCb4ftPxlrbtefpIbVAgGe3p30WlszWG0YKYe5S8VHIRzkde6QfECkWLg==","signatures":[{"sig":"MEUCIH5K1ty1DGK3fKXu2Zk1MAHlpdRDE03OpP46eGLEMAFVAiEAsk7sxVavv6hY7qZ0meteeiyIIETleHEJ0dSuJwo7WAU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":577561},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"7b87094effdf734bb8a9e7d4f60a22de00afa88c","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.14.1","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.4_1778884994396_0.3997462478186238","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@agent-compose/sdk","version":"0.2.5","license":"MIT","_id":"@agent-compose/sdk@0.2.5","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"79a4b9c6cc325993c5b2824e7d80aecd17b9bc46","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.2.5.tgz","fileCount":108,"integrity":"sha512-fTEtMZJOj4YmEMz98J97yYHawmaqy6lymE118gkwQZ82ALiRZQGCYY6F/sen70+VuvAkvdVk2zc8BDSCllJwjA==","signatures":[{"sig":"MEUCICKX2ckFL2wDZVGtVb1HJ5ofatTiP+y83Pwia+gMf1llAiEAjeDtn3IWcaHSZeuFrejAsrvHES0lB8w4RdXwx6ID4aU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":578103},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"cc6210ef29a5ccdb58a7bcac1a9adb8e3d6ca6ce","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.14.1","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.5_1778896658729_0.10048986656040526","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@agent-compose/sdk","version":"0.3.0","license":"MIT","_id":"@agent-compose/sdk@0.3.0","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"f5afe5dedf7be8d8cba10fa3a8eecf0b9202ce9e","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.3.0.tgz","fileCount":108,"integrity":"sha512-SL4p40pTE7SfCkin4Uaqq9Pm/PfPAA+VV0PdvMSPehvKHAMrUcDEw5aIeoV/rLvpIXUQba+sEIZzCMG8C6pW4w==","signatures":[{"sig":"MEQCIARbPPplDDWo7w1jtXoajsMj0h9DqV/JTzdTtMNyBalNAiBoRMvDWYDxDI3f35gNTAPRwMo5YPBhEb7rmGbkToMI1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":604821},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"8093c7c887184d5b6effab9a61b75af1ed48c3a6","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.14.1","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.0_1779224950070_0.8886899819612057","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@agent-compose/sdk","version":"0.3.1","license":"MIT","_id":"@agent-compose/sdk@0.3.1","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"6a6c77bc7d1583147764b6df3d0897fc636a90f1","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.3.1.tgz","fileCount":109,"integrity":"sha512-aAXvrqzoUYlUfcIXCIkqKHl8Cjia7/CVApFRQd6sDy+fvEWJh/e6Vr3q4CE1C5W5DeaqbU7VRC0Yp/Ew2SI92g==","signatures":[{"sig":"MEYCIQCI9Oq5Eje3b2qKVmB0uoCmknIgC1SprTPWWRLmnDfuUwIhAM2kMF9Y3r7mlin1mNX9ONlIVlTVSYOiZbcRxJ9lgd47","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":607023},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"83d34219c9298dee3902ad0648ccf4b763cdf339","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.14.1","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.1_1779230427221_0.3902780817902194","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@agent-compose/sdk","version":"0.4.0","license":"MIT","_id":"@agent-compose/sdk@0.4.0","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"9fb110fd32776f0bc87f143e8b198b2f27146ddf","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.4.0.tgz","fileCount":109,"integrity":"sha512-NvcovV+9xzuWmqcO2I4srqmfri5XxnFgv5Q7YcyhxeLkmJ8TlaFqP8JpFNSH642o+OLHOQA32uOpRzV5ZPMj1g==","signatures":[{"sig":"MEUCIB8WfoD50km6UFgChFrCgd1Gusi2MvFHvEyfEXroit4eAiEAqeBu74/wS6uxM5ukOHPq5990bzomOUWIosI6wilFJfQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":612032},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"7a7c25bbe34703b32f335bc6364617345d0dc55d","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.14.1","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.0_1779240030249_0.2960316307260116","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@agent-compose/sdk","version":"0.5.0","license":"MIT","_id":"@agent-compose/sdk@0.5.0","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"ca67de04c07cfd91a31574a1302e8d8998cb5e21","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.5.0.tgz","fileCount":109,"integrity":"sha512-RMLLg8CiCPc6bkfyBULBo2OYYWK5BTsmI0igWaeUawm8xLcR2MUF0HTJkhwJHhm756NltCuO1EENNv9qDZaYig==","signatures":[{"sig":"MEUCID7JxYRyovSb2Sq9foWaK4QCqJAVjqf0ps6O1TMyimU4AiEAumhanBZzlYOfq2niCc7DVwB0kJS/k+W6mUTbJJw4XAY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":615191},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"fbc6198cda492edf0e706e3b25bda74ca5817bd4","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.14.1","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.0_1779262434801_0.6214787903638879","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@agent-compose/sdk","version":"0.5.1","license":"MIT","_id":"@agent-compose/sdk@0.5.1","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"fa9c65398b366e59c24cf640bf429cbbee64f5ec","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.5.1.tgz","fileCount":109,"integrity":"sha512-/tFn6ifRkmpH+pQkMre++VVBzOuiUih8qLBEJ3h4LDr7gqPYzfaxNAzpsLER2Eizi7N68/eZUxsWoRl0WQrqsQ==","signatures":[{"sig":"MEQCICdjspJ9WQlj2hZr2bg0VVR0tb2Y4hovUdFD3gZl9hqqAiB1XWuXpVF4KZ1DGGubb1ERI+ruooDQfbdZP44a2I4u0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":616869},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"29b141555f73690863ee1008475482f2dde3a754","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.16.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.1_1780209768059_0.8389723688619175","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@agent-compose/sdk","version":"0.5.2","license":"MIT","_id":"@agent-compose/sdk@0.5.2","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"5fd555f8353adbe4cb036e6d344b34d7beb11fe5","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.5.2.tgz","fileCount":139,"integrity":"sha512-YeQ835bSZiHLeskoeHjoqgjJfTvfX3kQJ72qrh8tGjr+UHOAcclV4quB+MyTg/FZN8SE4COjoYIbMonD7c5ATg==","signatures":[{"sig":"MEYCIQDBpc8XkPmI+mQTGMzNwC9zTLPLN2pcFk32UJBKT6/rcAIhAINWjTfhDG7VUvOTKpNX/3A1Lo12012GVtdpSXTAZv3M","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":868077},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"df58ad776d38f0eb0825ef69975b67bfaab6f8cd","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.16.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.2_1780648867514_0.12056808603713609","host":"s3://npm-registry-packages-npm-production"}},"0.5.5":{"name":"@agent-compose/sdk","version":"0.5.5","license":"MIT","_id":"@agent-compose/sdk@0.5.5","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"1e8a5bb2ff908f127b7af35f5e4c2f7aa0b28662","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.5.5.tgz","fileCount":145,"integrity":"sha512-gecd6nlotJaaq8urBRT9gNJswuq31Pk+cIzZdj8qWga0kVOBEhHYULpmjQsEfjrImBlKiboo9JB0p6+xkYdgqw==","signatures":[{"sig":"MEYCIQDO5YlaabCPrmjReYm4r4vu5oB6L+Mso8FDSXLJQ5483QIhANPsd6iGrPsUPp6QTjE7iZ5drCroGcUP9InXSSeS2KR+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":914404},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"b1b4fd6bd0b5562545dc1c0eef037b12e6dd76a5","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.16.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.5_1780797856452_0.8577850499023385","host":"s3://npm-registry-packages-npm-production"}},"0.5.6":{"name":"@agent-compose/sdk","version":"0.5.6","license":"MIT","_id":"@agent-compose/sdk@0.5.6","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"7cff54de917633018950c2cbb64dcf4f724dc009","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.5.6.tgz","fileCount":146,"integrity":"sha512-/7rlTKAG0evtcOULy40S5gkFz/BJNGDCA9oie7t8KdpZNpTZ4X7s6LdOz9EISp3y4zog4T03ci3aZhfffAytEA==","signatures":[{"sig":"MEQCICtOPj7sMz3imXYAQ1gMmTc7ffVcfdYyxFnsAZUZCO5KAiBRlWD5YyTAsaD5te3iCtBXi+uqMDJkR86rD6Qis8+7aQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":922086},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"0d70770d64b0ac62d8cb1b7c13925ec521a8c3f1","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.16.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^1.10.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.6_1780805692920_0.7916093365105077","host":"s3://npm-registry-packages-npm-production"}},"0.5.7":{"name":"@agent-compose/sdk","version":"0.5.7","license":"MIT","_id":"@agent-compose/sdk@0.5.7","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"1a6c79a522b1af008fea8d12dab19255624472f3","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.5.7.tgz","fileCount":149,"integrity":"sha512-S5zXUHY8LMXGOMCDcmLKCVnrYsXQPiXoYN1cW+cYxWbsFKnCfnRr/J9tZ5uZ6kucNrZiCiaaakLaSoRghs1E0g==","signatures":[{"sig":"MEYCIQCq+GUTS4ehd1BTWzSJzovh3s6uo9P/J484m6rleiV4QAIhAPZ89YvJwgzL1EZboJ5wRNxkZhN8p3Eza3TFhYLpcYvb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1007644},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"98e87a531b602705972894bd6d68e21bae092ad4","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.17.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.7_1781291792473_0.8055690445851604","host":"s3://npm-registry-packages-npm-production"}},"0.5.8":{"name":"@agent-compose/sdk","version":"0.5.8","license":"MIT","_id":"@agent-compose/sdk@0.5.8","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"d087c8baea2731f7912b0daae25a0a2aeb14195b","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.5.8.tgz","fileCount":152,"integrity":"sha512-C4lTsFs3TOBwJdW3lFlXGSSt1hGNkjBbWBy/xCDIsoy/QEnLT2wFnf5oc5JJzT9zjDNZrVAzon7TohD7qNfdTA==","signatures":[{"sig":"MEYCIQDXrUO2Qs3DNJ1e2jKftM5wy6btzNTwaDkrcBDtDXEPUAIhAJD2xzVeimRY996eTc/gBaFlngc2BAUsDClUyTO1ZJCP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1063740},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"3a6e92dd9185426eb39e9d805e3ddcfa01599aa6","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.17.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"^2.3.0","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.8_1782159389583_0.21150944562878338","host":"s3://npm-registry-packages-npm-production"}},"0.5.9":{"name":"@agent-compose/sdk","version":"0.5.9","license":"MIT","_id":"@agent-compose/sdk@0.5.9","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"00f816a66ee73794d225c8aa2e1a6ba48bc96499","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.5.9.tgz","fileCount":160,"integrity":"sha512-8CQPsDxZIvStbLWmzmREEoPB5JAl3B7JI3D7yQ9HIg9nunnsPWuXWaq9gqUKo85EEOOnSAaQJOdqfcW2zeBISw==","signatures":[{"sig":"MEUCIC2yKEHApeiJfrNEDwtMhH/ZFb44goNKhL5EWgWPYO5rAiEAr8BvOfYP/phef3rRjjs6cZXY97PtYKanXQmOZRXKcXs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1266962},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"295d530b4524df262b621aa02d3896f53c408680","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.17.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"2.30.5","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@agentclientprotocol/sdk":"0.29.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.9_1782369687496_0.19050476633209956","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@agent-compose/sdk","version":"0.6.0","license":"MIT","_id":"@agent-compose/sdk@0.6.0","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"66e744a78113628117f458417694d95cc70d4bd5","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.6.0.tgz","fileCount":164,"integrity":"sha512-BE9XNfXCjDciCgCcpVYDXI95NysVDuAm7IAAXZij1PvHSWUjCZDeyzNZRiYYSkya/f1Wnk64cg0Jcyc4tEiYNQ==","signatures":[{"sig":"MEUCICU75dWlYtkkDsIVATTfC2UvOlW/LcVWzs3rJuGodAx5AiEAzqommsvgAuOqQLuMWBhkacGTQdukOBJqVuZnrDuWlKg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1299828},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"906b68d5a1628705b29837b3d95cde52997c8137","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.17.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"2.30.5","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@agentclientprotocol/sdk":"0.29.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.6.0_1782496490720_0.488777565396717","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@agent-compose/sdk","version":"0.7.0","license":"MIT","_id":"@agent-compose/sdk@0.7.0","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"9e40ec440dacdc3349782518a8bfa093b97c6aca","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.7.0.tgz","fileCount":173,"integrity":"sha512-GIFia7rRzgkczFyDOFE/D5QWqh8MIs19eQ2JWFiInLATfTHUr4MvnTqpNHrQ06ya0/vFW89YLUFbHETlxf0RyA==","signatures":[{"sig":"MEUCIQDBLEo14HBU3YiUlDAKnDPJQAeYVFLcQJjiAEhrwhnyDwIgJ4lQsCgcwQHw4VihSiB6/X02kroTWlBO1V4QQvLia3Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1363518},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"1c670d6c38c2c5255c44ceed6685adcdd7e670df","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"11.18.0","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"ai":"^6.0.175","e2b":"2.30.5","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@agentclientprotocol/sdk":"0.29.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.7.0_1782937033926_0.17050984575296835","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@agent-compose/sdk","version":"0.8.0","license":"MIT","_id":"@agent-compose/sdk@0.8.0","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Layr-Labs/agent-compose#readme","bugs":{"url":"https://github.com/Layr-Labs/agent-compose/issues"},"dist":{"shasum":"2ad584937586faf3d1564a6924a9e907abc32746","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.8.0.tgz","fileCount":220,"integrity":"sha512-krmV+lbv1epCvxV/nR6fuyoghwtZCPk5E6Z0sg7lmDjku9/0yd94iFko01KrInCXboCymSzXTD0KCqAVRN/m8Q==","signatures":[{"sig":"MEYCIQCdwi0FJCEcZu+ZTV54N/W7tXjH3fVZFCfY8DV00f125wIhAIMTa+OS29NBcHf7k9xHYvmbYDEpJByg0DNIntj7aFCx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1861400},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"24797b096d65ec64776a2136954fa1ee446b6874","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:bff0e025-1f0b-47f1-b0a9-09bc5bf7f5e6"}},"repository":{"url":"git+https://github.com/Layr-Labs/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"12.0.2","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"ai":"^6.0.175","e2b":"2.30.5","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@agentclientprotocol/sdk":"0.29.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.0_1786227742561_0.27099015244076474","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@agent-compose/sdk","version":"0.8.1","license":"MIT","_id":"@agent-compose/sdk@0.8.1","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Chris-Moller/agent-compose#readme","bugs":{"url":"https://github.com/Chris-Moller/agent-compose/issues"},"dist":{"shasum":"30fc1a60db9fcc6c372e758b54fae2999df8bf6c","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.8.1.tgz","fileCount":221,"integrity":"sha512-bAfMEeC2/ifAzckHBQ8tgOrTIrATb/ehcFvOBC5k/H2UwlFZO7MSvRsAcFKoCTREklPD9fvQ+pVIQ3l5dAPMEQ==","signatures":[{"sig":"MEQCIHVnJOPQ4LXtiOlCR9SWAJQvPNO7YLF/OdJ/feHXjR8qAiBrJs7ygVQi1BizMsF2wZr7felXU9SVYCDt2da+4uWmjw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1924602},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"41269031e7aedd0ffb5e8ccbbe2e1e28a3b45050","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2c81c721-d887-4e6a-9a3b-bfa9751a35c0"}},"repository":{"url":"git+https://github.com/Chris-Moller/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"12.0.2","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"ai":"^6.0.175","e2b":"2.30.5","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@agentclientprotocol/sdk":"0.29.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.1_1786424716378_0.6925836669226162","host":"s3://npm-registry-packages-npm-production"}},"0.8.2":{"name":"@agent-compose/sdk","version":"0.8.2","license":"MIT","_id":"@agent-compose/sdk@0.8.2","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Chris-Moller/agent-compose#readme","bugs":{"url":"https://github.com/Chris-Moller/agent-compose/issues"},"dist":{"shasum":"615f53ed8b268566b40f56712054572b443add92","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.8.2.tgz","fileCount":222,"integrity":"sha512-+bhJAWftYhniBHTbNsYsYfGyQ/KDCuULBm4Pz0UkLdyG9iRVjYyTbX4FrUbXy+jYAOnhOwZRv6+M6/MB1tC24Q==","signatures":[{"sig":"MEQCIArrH8Wcr4ojmJHtCVH6ZhiJn2Mci5XU69B+ZAGCGOzTAiAUQOAlSC25raEmgl8hh7wr9IDac9q5vGVkavoMVmmcoA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1995104},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"79f3122463619e69a33b730ec214a3d6dba5aaff","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2c81c721-d887-4e6a-9a3b-bfa9751a35c0"}},"repository":{"url":"git+https://github.com/Chris-Moller/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"12.0.2","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ai":"^6.0.175","e2b":"2.30.5","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@agentclientprotocol/sdk":"0.29.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.2_1786748783218_0.1856094661741048","host":"s3://npm-registry-packages-npm-production"}},"0.8.3":{"name":"@agent-compose/sdk","version":"0.8.3","license":"MIT","_id":"@agent-compose/sdk@0.8.3","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Chris-Moller/agent-compose#readme","bugs":{"url":"https://github.com/Chris-Moller/agent-compose/issues"},"dist":{"shasum":"6923d114b84b54934c462c2991ef11ee82f2313f","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.8.3.tgz","fileCount":232,"integrity":"sha512-ObbAeAnqKdjl89KmtV5LNUSTAcCDNq5zjXWo96zkxJdEttPIoKGeiIxIsSxStgP9mlbud/8qu0APa6mViTnnvw==","signatures":[{"sig":"MEUCIFnsO/R0NhaqAzrUp0MukGfXMW2FXtW0sSRRrrVq+s9OAiEA+5gjeVRVUr+sotLbEVpHhKn8bkoKnujUMM5ucuLRr3Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2398081},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"2680d49a07136f2abef5203f1c5975535b564b7f","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2c81c721-d887-4e6a-9a3b-bfa9751a35c0"}},"repository":{"url":"git+https://github.com/Chris-Moller/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"12.0.2","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ai":"^6.0.175","e2b":"2.30.5","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@agentclientprotocol/sdk":"0.29.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.3_1787452746751_0.3406330682424239","host":"s3://npm-registry-packages-npm-production"}},"0.8.4":{"name":"@agent-compose/sdk","version":"0.8.4","license":"MIT","_id":"@agent-compose/sdk@0.8.4","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"homepage":"https://github.com/Chris-Moller/agent-compose#readme","bugs":{"url":"https://github.com/Chris-Moller/agent-compose/issues"},"dist":{"shasum":"ab6f371c71867edbc828292dfdd9a2fabae2788a","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.8.4.tgz","fileCount":232,"integrity":"sha512-P+CqiqDzrdY0pRs1MAQLYOn3GoY702K1737fUDe0ohqK4DrGVuOy9nJaZN8gAiCq9zhQTiE1/GZzN34RCY4uhQ==","signatures":[{"sig":"MEQCIGlXiAciHTbIppEATZhgh1jlHHs3Y8dqU7GguZPNArHhAiA4vfmrFJ3R+GbwE5QdYIsKuBDtcZnLeIi1L2dU/wJzLQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2406118},"type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"32303dedae4e6f80a994b354b013b372c5793145","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2c81c721-d887-4e6a-9a3b-bfa9751a35c0"}},"repository":{"url":"git+https://github.com/Chris-Moller/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"12.0.2","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ai":"^6.0.175","e2b":"2.30.5","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@agentclientprotocol/sdk":"0.29.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.8.4_1787470774541_0.9811995670307596","host":"s3://npm-registry-packages-npm-production"}},"0.8.5":{"_id":"@agent-compose/sdk@0.8.5","bugs":{"url":"https://github.com/Chris-Moller/agent-compose/issues"},"dist":{"shasum":"a6a5d97844f08c63b2e70b7546113d159163f22c","tarball":"https://registry.npmjs.org/@agent-compose/sdk/-/sdk-0.8.5.tgz","fileCount":236,"integrity":"sha512-SDuCyqllwYBjHyAXI+2N83kIkY53wuHMcMmtssrRW0Y1jYNq/YQltBgwTImZUy38kRyBypm3QqyTZxSky7apBQ==","signatures":[{"sig":"MEYCIQDm+qs2zW+2uJykItDfEDRaHqGDJEelfcqh2I/pxRz1EgIhAOfF2LQMzGVa6z2onQfKGkdrR5G9LgWAf48cvdH8nYf7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID2G/+9jyyPfecRB2fCO8m91MpzWn7alKN4EaxLxy4ZoAiEAzIlfLSIAm1OHI9Nxvh6RCv8LeHr2f5tLXNRiVDf64mM="}],"unpackedSize":2644733},"name":"@agent-compose/sdk","type":"module","engines":{"node":">=20"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./runtimes/vercel":{"bun":"./src/runtimes/vercel.ts","types":"./dist/runtimes/vercel.d.ts","import":"./dist/runtimes/vercel.js","default":"./dist/runtimes/vercel.js"},"./runtimes/openai-desktop":{"bun":"./src/runtimes/openai-desktop.ts","types":"./dist/runtimes/openai-desktop.d.ts","import":"./dist/runtimes/openai-desktop.js","default":"./dist/runtimes/openai-desktop.js"}},"gitHead":"8d3856ac376f46ad3391956e72140a53373c617c","license":"MIT","scripts":{"test":"vitest run src","build":"bun run build:js && bun run build:types","clean":"rm -rf dist","build:js":"bun build src/index.ts src/runtimes/openai-desktop.ts src/runtimes/vercel.ts --outdir dist --target node --format esm --packages external","typecheck":"tsc --noEmit","build:types":"tsc -p tsconfig.build.json","prepublishOnly":"bun run clean && bun run build"},"version":"0.8.5","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2c81c721-d887-4e6a-9a3b-bfa9751a35c0"}},"homepage":"https://github.com/Chris-Moller/agent-compose#readme","repository":{"url":"git+https://github.com/Chris-Moller/agent-compose.git","type":"git","directory":"sdk"},"_npmVersion":"12.0.2","description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","directories":{},"maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"ai":"^6.0.175","e2b":"2.30.5","sharp":"^0.34.5","ofetch":"^1.5.1","openai":"^6.33.0","p-retry":"^6.2.0","@babel/types":"^7.29.0","@e2b/desktop":"^1.1.2","@babel/parser":"^7.29.3","@vercel/sandbox":"^2.2.0","@agentclientprotocol/sdk":"0.29.0","@anthropic-ai/claude-agent-sdk":"^0.2.129"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.0","typescript":"^5.8.0","@types/node":"^22.19.15"},"peerDependencies":{"zod":"^4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.8.5_1789436493611_0.3669529453055229"}}},"time":{"created":"2026-04-24T18:50:23.619Z","modified":"2026-09-15T01:41:33.988Z","0.1.0":"2026-04-24T18:50:23.848Z","0.2.0":"2026-05-01T20:06:33.014Z","0.2.1":"2026-05-08T01:43:41.067Z","0.2.2":"2026-05-08T18:34:36.296Z","0.2.3":"2026-05-12T20:36:08.364Z","0.2.4":"2026-05-15T22:43:14.549Z","0.2.5":"2026-05-16T01:57:38.968Z","0.3.0":"2026-05-19T21:09:10.333Z","0.3.1":"2026-05-19T22:40:27.470Z","0.4.0":"2026-05-20T01:20:30.439Z","0.5.0":"2026-05-20T07:33:54.998Z","0.5.1":"2026-05-31T06:42:48.226Z","0.5.2":"2026-06-05T08:41:07.683Z","0.5.5":"2026-06-07T02:04:16.613Z","0.5.6":"2026-06-07T04:14:53.163Z","0.5.7":"2026-06-12T19:16:32.659Z","0.5.8":"2026-06-22T20:16:29.754Z","0.5.9":"2026-06-25T06:41:27.705Z","0.6.0":"2026-06-26T17:54:50.853Z","0.7.0":"2026-07-01T20:17:14.112Z","0.8.0":"2026-08-08T22:22:22.734Z","0.8.1":"2026-08-11T05:05:16.543Z","0.8.2":"2026-08-14T23:06:23.397Z","0.8.3":"2026-08-23T02:39:06.917Z","0.8.4":"2026-08-23T07:39:34.733Z","0.8.5":"2026-09-15T01:41:33.766Z"},"bugs":{"url":"https://github.com/Chris-Moller/agent-compose/issues"},"license":"MIT","homepage":"https://github.com/Chris-Moller/agent-compose#readme","repository":{"url":"git+https://github.com/Chris-Moller/agent-compose.git","type":"git","directory":"sdk"},"description":"Client library for agent-compose — define agents, runtimes, and workflows, and invoke them against an agent-compose server.","maintainers":[{"name":"chris-moller","email":"cmoller02@gmail.com"}],"readme":"# @agent-compose/sdk\n\nTypeScript SDK for [agent-compose](https://github.com/Layr-Labs/agent-compose). Use it to:\n\n- **Author workflows** that run agentic LLM loops inside isolated sandboxes\n- **Define runtimes** that wrap a coding-CLI tool (Claude Code, OpenAI Desktop, …) into a sandbox-portable agent loop\n- **Register, invoke, observe, and cancel** workflows via the HTTP API (`AgentComposeClient`)\n- **Manage factories, secrets, API keys, and snapshots** programmatically\n\nThe hierarchy: a **team** owns one or more **factories** (project containers); each factory owns workflow templates, secrets, and runs. Workflows are versioned per `(factory, name, version)`. New code that doesn't care about factories transparently lands in `default` — every team has one.\n\n---\n\n## Installation\n\n```bash\nnpm install @agent-compose/sdk\n# peer dep:\nnpm install zod\n```\n\n---\n\n## Authoring a workflow\n\nA workflow is a typed chain of discrete steps:\n`defineWorkflow({ id, input, output }).step(defineStep(...)).build()`.\nEvery step is a durable replay checkpoint — the engine records each\nstep's validated output, so a retry or resume picks up after the last\ncompleted step instead of re-running the whole workflow. Pausing for\nhuman input (`ctx.pause`, `ctx.waitForEvent`) only works in this\nstep-form.\n\n```typescript\n// my-workflow.ts\nimport { defineWorkflow, defineStep, agent, claudeRuntime } from \"@agent-compose/sdk\";\nimport { z } from \"zod\";\nimport PROMPT from \"./prompt.md\" with { type: \"text\" };\n\nconst Input  = z.object({ repo: z.string() });\nconst Output = z.object({ ok: z.boolean(), summary: z.string().optional() });\n\nconst review = defineStep({\n  name:   \"review\",\n  input:  Input,\n  output: Output,\n  run: async (ctx) => {\n    const result = await agent({\n      sandbox: ctx.sandbox,          // the run's own VM\n      runtime: claudeRuntime,\n      prompt:  `${PROMPT}\\n\\nRepository: ${ctx.input.repo}`,\n      tools:   [\"Bash\", \"Read\", \"Edit\", \"Write\", \"Grep\", \"Glob\"],\n      budget:  { turnsPerIteration: 40, maxIterations: 8 },\n    });\n    await ctx.setMetadata({ summary: result.status?.summary });\n    return { ok: result.status?.completed ?? false, summary: result.status?.summary };\n  },\n});\n\nexport default defineWorkflow({\n  id:     \"my-workflow\",\n  input:  Input,\n  output: Output,\n  // Optional: outbound network rules that the runner sandbox will enforce\n  // (Vercel only — E2B ignores). Use `$VAR` placeholders for secrets that\n  // get resolved from the per-workflow secret store at dispatch time.\n  networkPolicy: {\n    allow: {\n      \"*\": [],\n      \"api.anthropic.com\": [{ transform: [{ headers: { \"x-api-key\": \"$ANTHROPIC_API_KEY\" } }] }],\n    },\n  },\n})\n  .step(review)\n  .build();\n```\n\nThe builder chain enforces at compile time that each step's `input`\nschema matches the previous step's `output`, and `.build()` verifies\nthe final step's `output` is the same Zod instance as the workflow's\ndeclared `output`. `networkPolicy` / `placeholders` / `snapshots` on\nthe definition become metadata the bundler picks up at registration\ntime.\n\n> **Legacy run-form.** `defineWorkflow({ run(ctx, sandbox) { … } })` is\n> `@deprecated` — it compiles to a single opaque step, so there is no\n> per-step replay and pause doesn't work. Don't author new ones.\n\n### What a step can do with `ctx`\n\nEach step's `run(ctx)` receives a `StepContext`:\n\n```ts\ninterface StepContext<TInput> {\n  input:       TInput;                // validated against the step's `input` schema\n  run:         { id: string };\n  sandbox?:    SandboxProvider;       // the run's VM — pass to `agent({ sandbox: ctx.sandbox })`\n  setMetadata: (data: Record<string, unknown>) => Promise<void>;\n  step<T>(name: string, fn: () => Promise<T>): Promise<T>;   // durable named sub-step\n  pause<T>(req: PauseRequest<T>): Promise<T>;                // wait for a human, durably\n  sleep(durationMs: number): Promise<void>;\n  waitForEvent<T>(req: WaitForEventRequest<T>): Promise<T>;\n  invokeChild(name, input?, opts?): Promise<RunStatus>;      // run another workflow\n}\n```\n\n`ctx.step(\"phase-name\", () => …)` wraps a phase *within* a step for the\nrun timeline — it memoises the result (a pause-resume re-entry restores\nit instead of re-running) and emits `workflow_substep_started` /\n`workflow_substep_completed` / `workflow_substep_failed` lifecycle\nevents with duration. Use it for setup, external API calls, or anything\nyou want visible on the dashboard's run detail page.\n\n### The `agent` loop\n\n```ts\nagent({\n  sandbox,            // ctx.sandbox — the run's VM\n  runtime,            // claudeRuntime, or your own via createClaudeRuntime / defineRuntime\n  prompt,             // raw markdown — `--- frontmatter ---` is auto-stripped\n  tools?,             // model tool allowlist (defaults inside agentLoop)\n  budget?,            // { turnsPerIteration, maxIterations }\n  workingDir?,        // every shell command runs here\n  responseSchema?,    // zod — when set, the loop demands a `<response>` block on exit\n  onAgentEvent?,      // per-message hook (e.g. wire to telemetry)\n  onIteration?,       // per-iteration hook with parsed `<status>` block\n})\n// → AgentLoopResult { status?, response? (when responseSchema set), iterations, … }\n```\n\nThe protocol is simple: the model emits XML-tagged blocks (`<status>` /\n`<response>`) the loop parses. See `sdk/src/agent/protocol-suffix.md` for\nthe full instructions appended to every prompt.\n\n---\n\n## Defining a runtime\n\nA \"runtime\" wraps an agent's underlying execution model — usually a coding\nCLI like Claude Code or OpenAI Desktop — so `agent` can drive it. The SDK\nships built-ins; you only need a custom one for an exotic provider.\n\n### Built-in runtimes\n\n```ts\nimport {\n  createClaudeRuntime,    // factory, takes config\n  claudeRuntime,           // pre-built default (DEFAULT_CLAUDE_MODEL)\n  ClaudeRunner,            // class, if you need to override\n} from \"@agent-compose/sdk\";\n\n// openAIDesktopRuntime is NOT in the package root (it pulls in `sharp` for\n// screenshot capture; the native binding can't be cross-compiled). Import\n// directly when you actually want the desktop runtime:\nimport openAIDesktopRuntime from \"@agent-compose/sdk/runtimes/openai-desktop.js\";\n```\n\n### Custom runtime\n\n```ts\nimport { defineRuntime, type AgentRuntime } from \"@agent-compose/sdk\";\n\nconst myRuntime: AgentRuntime = defineRuntime({\n  create: (sandbox, opts) => {\n    // Return a ModelExecutionContract — see sdk/src/types/runtime.ts\n    return {\n      sendMessage({ prompt, sessionId, signal }) {\n        // Async generator that yields AgentMessage chunks the loop parses.\n        return /* … */;\n      },\n    };\n  },\n});\n```\n\n`AgentRuntime` is a tagged record with `create(sandbox, RuntimeOptions) →\nModelExecutionContract`. There is **no `provider` field** on it — the\nruntime is bound to the workflow at author time (you pass it to `agent`),\nnot selected by the server.\n\n---\n\n## Registering a workflow\n\nThe `agentc` CLI handles the bundling-and-registration step for you:\n\n```bash\nagentc register my-workflow.ts -n my-workflow\n```\n\nUnder the hood that calls `bundleWorkflow(workflowPath)` (resolves imports,\ninlines runtime sources via dynamic-require traversal) and `POST\n/api/v1/factories/<slug>/templates` with the bundled source. If you need\nto drive registration from your own build pipeline, you can do the same\nthing via the SDK directly:\n\n```ts\nimport { AgentComposeClient, bundleWorkflow } from \"@agent-compose/sdk\";\n\nconst client = new AgentComposeClient(\n  \"https://your-server.example.com\",\n  process.env.AGENT_COMPOSE_API_KEY!,\n);\n\nconst bundled = await bundleWorkflow(\"./my-workflow.ts\");\nawait client.register({\n  name:        \"my-workflow\",\n  source:      bundled.source,\n  runtimes:    bundled.runtimes,        // [{ name, source }] — embedded so the runner has them locally\n  schedule:    \"*/30 * * * *\",          // optional cron\n  factorySlug: \"default\",                // optional — defaults to \"default\"\n  // snapshots, networkPolicy, placeholders — all optional\n});\n```\n\n`register()` requires the caller's API key to carry the `admin` scope\n(or full team-access for legacy keys without scopes).\n\n---\n\n## Invoking a workflow\n\nTwo flavours:\n\n```ts\n// Fire-and-forget — returns the run id immediately.\nconst { id } = await client.invoke(\"my-workflow\", {\n  repo: \"owner/repo\",\n});\n\n// Block until the run settles (default 30min timeout, 1s poll).\nconst status = await client.invokeAndWait(\"my-workflow\", { repo: \"owner/repo\" }, {\n  timeoutMs:      5 * 60_000,\n  pollIntervalMs: 2000,\n});\nconsole.log(status.status);   // \"success\" | \"failed\" | \"abandoned\" | \"canceled\"\nconsole.log(status.output);   // workflow's return value\n```\n\n`output` is the final step's return value, validated against the\nworkflow's declared `output` schema. `setMetadata()` writes to a\nseparate `metadata` field — useful for \"side-channel\" facts (PR url, plan\nurl) without polluting the structured return.\n\n`invoke` and `invokeAndWait` both accept `{ factorySlug, snapshots,\nnetworkPolicy, placeholders, parentRunId }` as the\nthird argument. Per-invocation `snapshots` merges field-by-field with\nthe registered default. `factorySlug` defaults to `\"default\"`.\n\n### Auto parent/child tracing\n\nThe SDK detects `process.env.RUN_ID` (set by the runner sandbox on every\ndispatch) and automatically threads it as `parentRunId` on subsequent\n`invoke()` calls. Workflows that fan out to other workflows get a\nparent/child tree in the dashboard for free. Pass `parentRunId: null`\nto opt out.\n\n### Cancelling a run\n\n```ts\nawait client.cancelRun(runId);\n```\n\nIdempotent — cancelling an already-terminal run returns the current state\nwithout throwing. The server stamps the run as `canceled`, kills any live\nsandboxes, and emits a `run_canceled` event on the stream.\n\n### Streaming live logs\n\n`streamRunLogs` returns an async generator of `RunEvent`s in real time,\nre-attaching via SSE under the hood. Pass `lastEventId` (the highest\n`seq` you've already processed) to resume after a reconnect.\n\n```ts\nfor await (const ev of client.streamRunLogs(runId, { lastEventId: 0 })) {\n  console.log(ev.event, ev.seq, ev.data);\n  if (ev.event === \"run_complete\" || ev.event === \"run_failed\" || ev.event === \"run_canceled\") {\n    break;\n  }\n}\n```\n\n`AbortSignal` works too — pass `{ signal }` and call `controller.abort()`\nto tear the stream down from the caller side.\n\n---\n\n## Factories\n\nFactories are project containers within a team. Each factory has its own\nworkflow templates, secrets, runs, and (optionally) scoped API keys. New\nprojects don't need to think about them — `default` is auto-created per\nteam and is what the SDK falls back to when `factorySlug` is omitted.\n\n```ts\n// CRUD on factories\nawait client.createFactory({ slug: \"ci-bots\", name: \"CI Bots\", description: \"…\" });\nconst factories = await client.listFactories();\nconst f         = await client.getFactory(\"ci-bots\");\nawait client.updateFactory(\"ci-bots\", { name: \"Continuous-Integration Bots\" });\nawait client.deleteFactory(\"ci-bots\");\n\n// Templates list — flat across factories, or scoped to one\nconst all   = await client.listTemplates();\nconst scoped = await client.listTemplates({ factorySlug: \"ci-bots\" });\n\n// Register / invoke / secret operations all accept factorySlug\nawait client.register({ name: \"scrape\", source, factorySlug: \"ci-bots\", … });\nawait client.invoke(\"scrape\", { url: \"…\" }, { factorySlug: \"ci-bots\" });\nawait client.setSecret(\"scrape\", \"GH_TOKEN\", \"ghp_…\", { factorySlug: \"ci-bots\" });\n```\n\nCLI equivalents: `agentc factory list | create | get | update | delete`,\nplus `--factory <slug>` on every other command.\n\n---\n\n## Per-workflow secrets\n\nSecrets live in GCP Secret Manager, one row per `(factory, workflow, key)`.\nThey're injected as env vars into the runner sandbox at dispatch time,\nnever persisted in the VM. Values are write-only — the API only returns\nmetadata (key, timestamps).\n\n```ts\nawait client.setSecret(\"my-workflow\", \"ANTHROPIC_API_KEY\", process.env.ANTHROPIC_API_KEY!);\nconst list = await client.listSecrets(\"my-workflow\"); // [{ key, createdAt, updatedAt }]\nawait client.deleteSecret(\"my-workflow\", \"STALE_KEY\");\n\n// Scope to a non-default factory:\nawait client.setSecret(\"scrape\", \"GH_TOKEN\", \"ghp_…\", { factorySlug: \"ci-bots\" });\n```\n\nMutations require `admin` scope.\n\n---\n\n## API keys\n\nMint and list scoped keys programmatically (requires an `admin`-scoped\ncaller key). New keys are returned **once**, in the same response as the\nmetadata — copy the `ac_…` value immediately.\n\n```ts\nconst created = await client.createApiKey({\n  name:      \"ci-dispatcher\",\n  scopes:    [\"read\", \"invoke\"],\n  expiresAt: new Date(Date.now() + 30 * 86_400_000).toISOString(),  // 30 days\n  // factorySlug: \"ci-bots\"  // optional — scopes the key to a single factory\n});\nconsole.log(created.key);   // \"ac_…\" — the only time you'll see this\n\nconst all = await client.listApiKeys();\n```\n\nCLI equivalent: `agentc keys create <name> --scopes read,invoke\n--expires-in 30d`.\n\n---\n\n## Usage\n\n```ts\nconst usage = await client.getUsage(\n  new Date(Date.now() - 30 * 86_400_000),\n  new Date(),\n);\n// usage.rows: [{ day, runs, sandbox_seconds, … }]\n```\n\nCLI equivalent: `agentc usage`.\n\n---\n\n## Snapshots (replay-friendly sandboxes)\n\nLong-running workflows can capture the runner sandbox as a Vercel snapshot\non success (`snapshots: { saveLatest: true }`). Other workflows reference\nthat snapshot via `snapshots.bootFrom` to boot into the same prepared VM\n(deps installed, repo cloned, etc.) instead of repeating setup.\n\n```ts\n// Capture per-invocation:\nawait client.invoke(\"my-workflow\", input, { snapshots: { saveLatest: true } });\n\n// Boot from a captured snapshot — pick the id from `agentc snapshot\n// list` or the dashboard snapshots page:\nawait client.invoke(\"my-workflow\", input, {\n  snapshots: { bootFrom: { snapshotId: \"snap_…\" } },\n});\n\n// Set a default at registration time:\ndefineWorkflow({ id, input, output, snapshots: { saveLatest: true } }).step(…).build();\n\n// Retain every step's snapshot (not just the latest):\ndefineWorkflow({ id, input, output, snapshots: { saveLatest: true, retainSteps: true } }).step(…).build();\n\n// Browse / clean up:\nconst page = await client.listSnapshotsPage({ workflow: \"my-workflow\", limit: 50 });\nconst snaps = page.data;\nawait client.deleteRunSnapshot(snaps[0].runId, snaps[0].snapshotId);\n```\n\nCLI equivalents: `agentc snapshot list` / `agentc snapshot delete <run-id> <snapshot-id>`.\n\n### Per-invocation overrides merge field-by-field\n\nThe `snapshots` object on `invoke()` is **merged** with the registered template's `snapshots` config — you can override `bootFrom` alone without losing `saveLatest`, or vice versa.\n\n---\n\n## Authentication\n\nThe SDK accepts a Bearer API key (`ac_…`). Mint one from the dashboard:\nsign in at `<server-url>/login`, then **Settings → API Keys → Create key**.\n\nDefault scopes (`read + invoke`) are right for a CI / dispatch caller. Tick\n`admin` only if this key needs to register templates, mint other keys, or\nmanage secrets.\n\n```ts\nconst client = new AgentComposeClient(\n  process.env.AGENT_COMPOSE_URL!,\n  process.env.AGENT_COMPOSE_API_KEY!,\n);\n```\n\nThe dashboard itself uses the cookie-bound session path; the SDK is for\nprogrammatic / server-to-server callers.\n\n---\n\n## Public exports — quick reference\n\n| Export | What |\n|---|---|\n| `defineWorkflow` | Typed step-workflow builder — `defineWorkflow({ id, input, output }).step(...).build()` |\n| `defineStep` | Declare one typed workflow step (`{ name, input, output, run }`) |\n| `defineRuntime` | Wrap an agent execution provider as an `AgentRuntime` |\n| `defineSandboxEnvironment` | Sugar for declaring a workflow whose primary purpose is to build a snapshot for others to boot from |\n| `agent` / `agentLoop` | Embed an LLM loop inside a workflow |\n| `runWorkflow` | Local engine for running a workflow in-process (test harness) |\n| `bundleWorkflow` | Resolve + inline a workflow's runtime sources for registration |\n| `claudeRuntime` / `createClaudeRuntime` / `ClaudeRunner` | Built-in Claude Code runtime + factory |\n| `AgentComposeClient` | HTTP client — register, invoke, cancel, stream logs, factories, snapshots, secrets, API keys, usage |\n| `AgentComposeError` | Thrown by every non-2xx HTTP response |\n| `parseAgentStatus` / `parseAgentResponse` / `AgentStatusSchema` / `AgentMessageSchema` | Protocol parsers |\n| `parseSseStream` | Generic SSE chunk decoder (used by `streamRunLogs`) |\n| `createSandbox` / `reconnectSandbox` / `killAllSandboxes` / `killSandboxById` / `getSandboxQuotas` / `listOwnedSandboxes` / `deleteSandboxSnapshot` | Sandbox-provider helpers (Vercel + E2B) |\n\nType exports: `Workflow`, `Step`, `StepContext`, `WorkflowBuilder`,\n`WorkflowHooks`, `AgentBudget`, `AgentRuntime`, `RuntimeOptions`,\n`ModelExecutionContract`, `McpServerConfig`, `AgentMessage` (and its\nvariants), `AgentStatus`, `RunStatus`, `RegisterResult`, `RunEvent`,\n`FactoryRow`, `SnapshotListEntry`, `ApiKey`, `ApiKeyCreated`,\n`UsageRollupRow`, `UsageResponse`, `CancelRunResponse`, `AgentLoopResult`,\n`AgentOpts`, `SandboxProvider`, `DesktopSandboxProvider`,\n`SandboxNetworkPolicy`, `SandboxCreateOpts`, `OwnedSandbox`,\n`BundledWorkflow`.\n\nFor the canonical signatures, follow your IDE's go-to-definition into\n`@agent-compose/sdk` — `sdk/src/index.ts` is the public surface and the\nfiles it re-exports from carry full inline docstrings.\n\n---\n\n## Errors\n\nAll non-2xx HTTP responses throw `AgentComposeError(status, message)`. The\n`message` is the server's `{ error: string }` body when present, falling\nback to the HTTP status text:\n\n```ts\nimport { AgentComposeError } from \"@agent-compose/sdk\";\n\ntry {\n  await client.invoke(\"missing-workflow\");\n} catch (err) {\n  if (err instanceof AgentComposeError && err.status === 404) {\n    // template not registered\n  }\n}\n```\n\n`invokeAndWait` throws `AgentComposeError(504, …)` on timeout for symmetry.\n","readmeFilename":"README.md"}