{"_id":"@agents-js/gateway-runtime","_rev":"9-f26cc31e09fa9bc11e0fe67aa58ddf5a","name":"@agents-js/gateway-runtime","dist-tags":{"latest":"0.5.1"},"versions":{"0.2.0":{"name":"@agents-js/gateway-runtime","version":"0.2.0","keywords":["agent","gateway","runtime","registry","config"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/gateway-runtime@0.2.0","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"bin":{"mock-acp":"bin/mock-acp.ts"},"dist":{"shasum":"3ad068d6582f365afcf0054457efb05415ce5f1b","tarball":"https://registry.npmjs.org/@agents-js/gateway-runtime/-/gateway-runtime-0.2.0.tgz","fileCount":28,"integrity":"sha512-J4rdO5eQ5s7cHnv2cg/cUApGTDZHONpgGqPnKzQ48O6789xgbSYYAExs1pPNtJjFFHN6YAR0EUGQOCKMP6iYxA==","signatures":[{"sig":"MEUCIC23doReoaOLkws+WWfTsbnptSh3larOQy0KP1Vo0OrxAiEA0UqG4g6hxOa3wn0oDpjWLd6oHD0K0cxq2YpgOB9tWD0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":201690},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-gateway-runtime-3aQL9h/agents-js-gateway-runtime-0.2.0.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","browser":"./dist/browser.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/browser.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-gateway-runtime-3aQL9h/agents-js-gateway-runtime-0.2.0.tgz","_integrity":"sha512-J4rdO5eQ5s7cHnv2cg/cUApGTDZHONpgGqPnKzQ48O6789xgbSYYAExs1pPNtJjFFHN6YAR0EUGQOCKMP6iYxA==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/gateway-runtime"},"_npmVersion":"11.13.0","description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@agents-js/a2a":"0.2.0","@agents-js/acp":"0.2.0","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gateway-runtime_0.2.0_1778309215392_0.3206917842030923","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@agents-js/gateway-runtime","version":"0.2.1","keywords":["agent","gateway","runtime","registry","config"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/gateway-runtime@0.2.1","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"bin":{"mock-acp":"bin/mock-acp.ts"},"dist":{"shasum":"685ce0931ff1f6ef1dbba24e2e675de115bd8c88","tarball":"https://registry.npmjs.org/@agents-js/gateway-runtime/-/gateway-runtime-0.2.1.tgz","fileCount":28,"integrity":"sha512-VuyIVoRI6X/YMeAYa4ACmvgg3Utu7xeBlXRZF/HSjlAabT6WdgPpZBBwJFG7hTWK2LQnJc8zLB0TtPWngpu+YA==","signatures":[{"sig":"MEYCIQCe8RJIO4Ndp6l87oqSnVtE8KGMm08AWIhyCDzBfC889gIhAL6pz73kujvcKV23gB6qASinzK+Ka/RuC4K2pGv6yz6N","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":201690},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-gateway-runtime-yhMIA1/agents-js-gateway-runtime-0.2.1.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","browser":"./dist/browser.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/browser.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-gateway-runtime-yhMIA1/agents-js-gateway-runtime-0.2.1.tgz","_integrity":"sha512-VuyIVoRI6X/YMeAYa4ACmvgg3Utu7xeBlXRZF/HSjlAabT6WdgPpZBBwJFG7hTWK2LQnJc8zLB0TtPWngpu+YA==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/gateway-runtime"},"_npmVersion":"11.13.0","description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@agents-js/a2a":"0.2.1","@agents-js/acp":"0.2.1","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gateway-runtime_0.2.1_1778339163733_0.3847892850140586","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@agents-js/gateway-runtime","version":"0.2.2","keywords":["agent","gateway","runtime","registry","config"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/gateway-runtime@0.2.2","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"bin":{"mock-acp":"bin/mock-acp.ts"},"dist":{"shasum":"d81947abb07d3276ce3c210716977c4b5fb587df","tarball":"https://registry.npmjs.org/@agents-js/gateway-runtime/-/gateway-runtime-0.2.2.tgz","fileCount":28,"integrity":"sha512-SB0m/DgUas8dGjletxke6WLyzXjC3KJIU9RNj2dAt8pjQhIA+TlJzWzOeOO87EL8Cp1/Ab6ffTXsMmm2NAb++g==","signatures":[{"sig":"MEQCIDRjboD4gXdEvaNpARQj+U/rbqunUsqaMV9sO6VJANMOAiBNOM0KWAAvVQQeUJzucBzQ146KpyDQFcRYKnsq/k+jCg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":202018},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-gateway-runtime-Hy9sVP/agents-js-gateway-runtime-0.2.2.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","browser":"./dist/browser.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/browser.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-gateway-runtime-Hy9sVP/agents-js-gateway-runtime-0.2.2.tgz","_integrity":"sha512-SB0m/DgUas8dGjletxke6WLyzXjC3KJIU9RNj2dAt8pjQhIA+TlJzWzOeOO87EL8Cp1/Ab6ffTXsMmm2NAb++g==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/gateway-runtime"},"_npmVersion":"11.13.0","description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@agents-js/a2a":"0.2.2","@agents-js/acp":"0.2.2","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gateway-runtime_0.2.2_1778343671169_0.5632951507081496","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@agents-js/gateway-runtime","version":"0.3.0","keywords":["agent","gateway","runtime","registry","config"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/gateway-runtime@0.3.0","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"bin":{"mock-acp":"bin/mock-acp.ts"},"dist":{"shasum":"8da189d3a22398c46ba7a21618f45a5e7ee531b8","tarball":"https://registry.npmjs.org/@agents-js/gateway-runtime/-/gateway-runtime-0.3.0.tgz","fileCount":28,"integrity":"sha512-1oVmPAyXFRYOVqxwHizD5miX8Xfiwqu3tS/+xYGob0XzXPpROLMbBTQWpixNbYs9Jj0nhMGcRZmgYOokZ47ZOA==","signatures":[{"sig":"MEQCIGMS36pYKBnreMkeYm0LlLmGq26FcRpDd7gTVg9eFpS0AiBvL4ozTZddhhTC6KZRVaxH65mu0PCJTk+0u5/7Ab+IJw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203467},"main":"dist/index.mjs","type":"module","_from":"file:/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-gateway-runtime-PufnZg/agents-js-gateway-runtime-0.3.0.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","browser":"./dist/browser.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/browser.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"jensbodal_dev","email":"jensbodal@gmail.com"},"_resolved":"/var/folders/ws/wl7n084x6hncz0nppv2p_2p00000gn/T/agents-js-publish-gateway-runtime-PufnZg/agents-js-gateway-runtime-0.3.0.tgz","_integrity":"sha512-1oVmPAyXFRYOVqxwHizD5miX8Xfiwqu3tS/+xYGob0XzXPpROLMbBTQWpixNbYs9Jj0nhMGcRZmgYOokZ47ZOA==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/gateway-runtime"},"_npmVersion":"11.13.0","description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@agents-js/a2a":"0.3.0","@agents-js/acp":"0.3.0","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gateway-runtime_0.3.0_1778351321119_0.307469016959417","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@agents-js/gateway-runtime","version":"0.3.1","keywords":["agent","gateway","runtime","registry","config"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/gateway-runtime@0.3.1","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"bin":{"mock-acp":"bin/mock-acp.ts"},"dist":{"shasum":"665f8a5d11dbad36e5dd6c96c6d043c2e5370bfe","tarball":"https://registry.npmjs.org/@agents-js/gateway-runtime/-/gateway-runtime-0.3.1.tgz","fileCount":28,"integrity":"sha512-yt8yzVSgkScBSJe5Z7eHr4hbqU6dWbbhzLLMH4lbzMbvCRVIQE/+AqkjDsaLKQvpOGPVXIyoaUgrYUH5nfSuuw==","signatures":[{"sig":"MEUCIH+JqB0bslSIFz+3imxHqBPs9Wj5lH+5mKj9YkXmGmPhAiEAihOKacoKV3hx5Op0KxcqC1RTmhneIkllsAvgVJOHpn4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fgateway-runtime@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":203467},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-gateway-runtime-HykX1b/agents-js-gateway-runtime-0.3.1.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","browser":"./dist/browser.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/browser.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b52817d3-a0e3-490e-8c9e-8952225abf2a"}},"_resolved":"/tmp/agents-js-publish-gateway-runtime-HykX1b/agents-js-gateway-runtime-0.3.1.tgz","_integrity":"sha512-yt8yzVSgkScBSJe5Z7eHr4hbqU6dWbbhzLLMH4lbzMbvCRVIQE/+AqkjDsaLKQvpOGPVXIyoaUgrYUH5nfSuuw==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/gateway-runtime"},"_npmVersion":"11.12.1","description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@agents-js/a2a":"0.3.1","@agents-js/acp":"0.3.1","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gateway-runtime_0.3.1_1778357076436_0.009900066779363392","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@agents-js/gateway-runtime","version":"0.3.2","keywords":["agent","gateway","runtime","registry","config"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/gateway-runtime@0.3.2","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"bin":{"mock-acp":"bin/mock-acp.ts"},"dist":{"shasum":"9408db7b5c83ca61ccfb9439643ad13c062761cf","tarball":"https://registry.npmjs.org/@agents-js/gateway-runtime/-/gateway-runtime-0.3.2.tgz","fileCount":28,"integrity":"sha512-2APlfYJrnnJ6Do7kWTHszObw2WygiNbeju1QJTfLPCTOCR5rRVh0mJcZTlkyEMAf7NN4ho6dErU6P39v535xlQ==","signatures":[{"sig":"MEUCIQDfWhGxIm0GJnHY/1jP4AfZRpAcx3OLufBc+h9DenxbygIgWYlzuZNqtF9vcFSenRk1d573SGHGGsCHKzF7tHCcUVw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fgateway-runtime@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":203467},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-gateway-runtime-x3qZgY/agents-js-gateway-runtime-0.3.2.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","browser":"./dist/browser.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/browser.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b52817d3-a0e3-490e-8c9e-8952225abf2a"}},"_resolved":"/tmp/agents-js-publish-gateway-runtime-x3qZgY/agents-js-gateway-runtime-0.3.2.tgz","_integrity":"sha512-2APlfYJrnnJ6Do7kWTHszObw2WygiNbeju1QJTfLPCTOCR5rRVh0mJcZTlkyEMAf7NN4ho6dErU6P39v535xlQ==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/gateway-runtime"},"_npmVersion":"11.12.1","description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@agents-js/a2a":"0.3.2","@agents-js/acp":"0.3.2","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gateway-runtime_0.3.2_1778372188963_0.4920394659950189","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@agents-js/gateway-runtime","version":"0.4.0","keywords":["agent","gateway","runtime","registry","config"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/gateway-runtime@0.4.0","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"bin":{"mock-acp":"bin/mock-acp.ts"},"dist":{"shasum":"66e87812de11af4b6929e53053df940aa0c2dcd8","tarball":"https://registry.npmjs.org/@agents-js/gateway-runtime/-/gateway-runtime-0.4.0.tgz","fileCount":28,"integrity":"sha512-g2/S1rn+WuT/0CMEulP/9S9a8pgH491I8EeCiIiFOAmZz4N0Vsfvpjo8OrUetfisAxsOp1x4+UyGZSOJmyglsw==","signatures":[{"sig":"MEYCIQCT//EAzwIZTiBBdHFzqHCq0vELhgBvI0b8qRfqvlKnpAIhAOjOO06668ckF6/NmRbjXT1NJclxvSClEhONUH0W71/+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fgateway-runtime@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":207991},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-gateway-runtime-bDRatP/agents-js-gateway-runtime-0.4.0.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","browser":"./dist/browser.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/browser.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b52817d3-a0e3-490e-8c9e-8952225abf2a"}},"_resolved":"/tmp/agents-js-publish-gateway-runtime-bDRatP/agents-js-gateway-runtime-0.4.0.tgz","_integrity":"sha512-g2/S1rn+WuT/0CMEulP/9S9a8pgH491I8EeCiIiFOAmZz4N0Vsfvpjo8OrUetfisAxsOp1x4+UyGZSOJmyglsw==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/gateway-runtime"},"_npmVersion":"11.12.1","description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@agents-js/a2a":"0.4.0","@agents-js/acp":"0.4.0","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gateway-runtime_0.4.0_1778531441312_0.9225748180613114","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@agents-js/gateway-runtime","version":"0.5.0","keywords":["agent","gateway","runtime","registry","config"],"author":{"name":"Jens Bodal"},"license":"MIT","_id":"@agents-js/gateway-runtime@0.5.0","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"bin":{"mock-acp":"bin/mock-acp.ts"},"dist":{"shasum":"949894d5f0ca3c31aa0e89713ca99f1a3fbcb73b","tarball":"https://registry.npmjs.org/@agents-js/gateway-runtime/-/gateway-runtime-0.5.0.tgz","fileCount":29,"integrity":"sha512-ixYSlREI9REDHWB/KDhub2iJIWWFHMxZxjXCmU90ii5XmWBc3F4I1CV3t+o04zrKev4jJqceX7N5rw6lZO/AYw==","signatures":[{"sig":"MEUCIQCEhJVUhCu+UYJHrklGARTEwyqm0Bbztwy1WLdotRtwAQIgfEzy4CnYmNgZDnJ2E0+b6SzoiT6wYvddawr5QvdGo7g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fgateway-runtime@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":227575},"main":"dist/index.mjs","type":"module","_from":"file:/tmp/agents-js-publish-gateway-runtime-JOaGwV/agents-js-gateway-runtime-0.5.0.tgz","types":"dist/index.d.mts","engines":{"bun":">=1.3.11","node":">=20.19.0"},"exports":{".":{"bun":"./src/index.ts","types":"./dist/index.d.mts","import":"./dist/index.mjs","browser":"./dist/browser.mjs","default":"./dist/index.mjs"}},"scripts":{"test":"bun test tests","build":"bunx tsdown src/index.ts src/browser.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b52817d3-a0e3-490e-8c9e-8952225abf2a"}},"_resolved":"/tmp/agents-js-publish-gateway-runtime-JOaGwV/agents-js-gateway-runtime-0.5.0.tgz","_integrity":"sha512-ixYSlREI9REDHWB/KDhub2iJIWWFHMxZxjXCmU90ii5XmWBc3F4I1CV3t+o04zrKev4jJqceX7N5rw6lZO/AYw==","repository":{"url":"git+https://github.com/jensbodal/agents-js.git","type":"git","directory":"packages/gateway-runtime"},"_npmVersion":"11.12.1","description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"@agents-js/a2a":"0.5.0","@agents-js/acp":"0.5.0","@agentclientprotocol/sdk":"0.21.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/gateway-runtime_0.5.0_1779063682286_0.7564295560181984","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@agents-js/gateway-runtime","version":"0.5.1","type":"module","sideEffects":false,"description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","author":{"name":"Jens Bodal"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jensbodal/agents-js.git","directory":"packages/gateway-runtime"},"homepage":"https://agents-js.bodal.dev/","bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"keywords":["agent","gateway","runtime","registry","config"],"engines":{"node":">=20.19.0","bun":">=1.3.11"},"main":"dist/index.mjs","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","browser":"./dist/browser.mjs","bun":"./src/index.ts","import":"./dist/index.mjs","default":"./dist/index.mjs"}},"bin":{"mock-acp":"bin/mock-acp.ts"},"scripts":{"build":"bunx tsdown src/index.ts src/browser.ts --format esm --dts --out-dir dist --clean","prepack":"bun run build","test":"bun test tests"},"dependencies":{"@agentclientprotocol/sdk":"0.21.0","@agents-js/a2a":"0.5.1","@agents-js/acp":"0.5.1"},"publishConfig":{"access":"public"},"_id":"@agents-js/gateway-runtime@0.5.1","_integrity":"sha512-p1f4Hu+MS2r/v8lB6Y8qztcC8eF5xnkk+yVkXUIGQS6n2ap+U5cjhqHZWycliIg68qmFYy8mlMHRPFnM8txFlQ==","_resolved":"/tmp/agents-js-publish-gateway-runtime-BOmKJN/agents-js-gateway-runtime-0.5.1.tgz","_from":"file:/tmp/agents-js-publish-gateway-runtime-BOmKJN/agents-js-gateway-runtime-0.5.1.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-p1f4Hu+MS2r/v8lB6Y8qztcC8eF5xnkk+yVkXUIGQS6n2ap+U5cjhqHZWycliIg68qmFYy8mlMHRPFnM8txFlQ==","shasum":"099069b61030a50e73f2258434f49456ca826bda","tarball":"https://registry.npmjs.org/@agents-js/gateway-runtime/-/gateway-runtime-0.5.1.tgz","fileCount":29,"unpackedSize":227575,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agents-js%2fgateway-runtime@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHZn9eG0QU/E5pyrYVOo3hfZk0UMN42ZmOs/IKN47angAiBSGoqV0T985bWwXILhNI3MYoBXBJLBGNxigjDYAGBAJw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b52817d3-a0e3-490e-8c9e-8952225abf2a"}},"directories":{},"maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gateway-runtime_0.5.1_1779076485119_0.47897877958850965"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-09T06:46:55.247Z","modified":"2026-05-18T03:54:45.568Z","0.2.0":"2026-05-09T06:46:55.535Z","0.2.1":"2026-05-09T15:06:03.894Z","0.2.2":"2026-05-09T16:21:11.308Z","0.3.0":"2026-05-09T18:28:41.267Z","0.3.1":"2026-05-09T20:04:36.592Z","0.3.2":"2026-05-10T00:16:29.095Z","0.4.0":"2026-05-11T20:30:41.472Z","0.5.0":"2026-05-18T00:21:22.438Z","0.5.1":"2026-05-18T03:54:45.272Z"},"bugs":{"url":"https://github.com/jensbodal/agents-js/issues"},"author":{"name":"Jens Bodal"},"license":"MIT","homepage":"https://agents-js.bodal.dev/","keywords":["agent","gateway","runtime","registry","config"],"repository":{"type":"git","url":"git+https://github.com/jensbodal/agents-js.git","directory":"packages/gateway-runtime"},"description":"Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.","maintainers":[{"name":"jensbodal_dev","email":"jensbodal@gmail.com"}],"readme":"# @agents-js/gateway-runtime\n\n> Gateway runtime config, env parsing, runtime registry/detection, install descriptors, and sub-session spawn helpers.\n\n## Installation\n\n```sh\nbun add @agents-js/gateway-runtime\n```\n\n## API\n\n<!-- Auto-generated from JSDoc -->\n\n### Classes\n\n- **`SpawnSubSessionTimeoutError`** — Sentinel error used to disambiguate timeout vs ACP-layer error in the catch block. Exposed for tests that want to assert on it.\n\n### Functions\n\n- **`applyGatewayRuntimeProfile`**\n- **`applyRuntimeEnvOverrides`** — Apply merged overrides back into `process.env` so downstream helpers that read `process.env` directly (e.g. `resolveRuntimeArgs`) observe the merged values. Returns a restore function that reverts ...\n- **`buildExtendedPath`** — Merge {DEFAULT_EXTRA_BIN_PATHS} (plus any caller-supplied extras) onto a base `PATH` string, de-duplicating while preserving order. Existing entries keep their position; new entries append in list ...\n- **`createAcpHarness`** — Factory for building a well-formed {GatewayRuntimeDefinition}. The curated ACP harnesses are constructed via this factory so the per-harness duplication (binary name + install metadata + auth env k...\n- **`createRuntimeSelectionFromArgs`**\n- **`createRuntimeSelectionsFromArgs`** — Build an ordered list of {GatewayRuntimeSelection} from CLI args. Returns `undefined` when no harness was specified (caller falls through to interactive prompt or default). Single-harness invocatio...\n- **`detectInstalledGatewayRuntimes`**\n- **`generateSpawnCorrelationId`** — Generate a stable-looking session id for callers that spawn multiple children and want local ordering even when the gateway's own session_id isn't yet assigned (e.g. when a harness_unavailable shor...\n- **`getAgentsJsConfigPaths`**\n- **`getCliVersion`** — Helper for CLI bin scripts to read their package's version without triplicating string literals that drift from the actual published version. Usage from a bin script (one level deep, e.g. `packages...\n- **`getConfiguredProfile`** — Wraps the internal profile lookup in the gateway-runtime config-paths shape so existing callers do not have to unpack `loaded.configPaths.{user,project}ConfigPath` themselves. The returned profile ...\n- **`getGatewayRuntimeDefinition`**\n- **`getPrimaryGatewayRuntime`** — Return the primary (first) runtime from a non-empty runtimes list. Throws on empty input — an empty fleet has no meaning, and the upstream `resolveAndApplyGatewayRuntimes` rejects empty selection l...\n- **`listGatewayRuntimeIds`**\n- **`loadAgentsJsConfig`**\n- **`mergeAgentsJsConfig`**\n- **`mergeRuntimeEnvOverrides`**\n- **`parseAgentsJsConfig`**\n- **`parseCustomArgsJson`**\n- **`resolveAcpAgentEntryToRuntime`** — Bridge an ACP registry entry to a {ResolvedGatewayRuntime} suitable for passing to `ACPSessionController.start()`. Used by the gateway's ACP-kind `@` path to spawn an ephemeral per-dispatch runtime.\n- **`resolveAndApplyGatewayRuntime`** — Apply env overrides, resolve a runtime selection, optionally apply a configured runtime profile, and restore env. Returns the (optionally profile-merged) `ResolvedGatewayRuntime`. Errors thrown by ...\n- **`resolveAndApplyGatewayRuntimes`** — Multi-harness variant of {resolveAndApplyGatewayRuntime}. Applies env overrides once, then resolves every supplied selection in argv order, then restores env. Returns the resolved runtimes as a rea...\n- **`resolveExistingCommandPath`**\n- **`resolveGatewayRuntime`**\n- **`resolveGatewayRuntimeCommand`**\n- **`resolveGatewayRuntimeProfile`** — Materialize a {GatewayRuntimeProfile} via the internal profile resolver. The narrower {GatewayRuntimeId} is preserved on the returned {ResolvedGatewayRuntimeProfile}.\n- **`resolveGatewayRuntimeSelection`**\n- **`resolveRemoteGatewayEnv`**\n- **`resolveRuntimeArgs`** — Resolve the runtime argv for a curated definition, honoring env-based overrides.\n- **`runCommand`**\n- **`spawnSubSession`** — Spawn a bounded-mode subagent session, run the subtask, return the terminal summary. See module-level docstring for v1 scope. Intentional invariant: cleanup runs on every path. The spawned child pr...\n- **`writeAgentsJsConfig`**\n\n### Interfaces\n\n- **`AcpAgentEntryInput`** — Structural shape required by `resolveAcpAgentEntryToRuntime`. Defined locally (rather than imported from `-js/a2a-client/node`) to avoid introducing a new workspace dependency from `gateway-runtime...\n- **`AgentsJsConfig`**\n- **`AgentsJsConfigPaths`**\n- **`AgentsJsServeConfig`**\n- **`ConfigPathOptions`**\n- **`CreateAcpHarnessInput`** — Input shape for {createAcpHarness}. Collocates the fields that a curated ACP harness needs to declare in one call site — binary name, npm package metadata, install hint, optional auth env keys, run...\n- **`CuratedGatewayRuntimeSelection`**\n- **`CustomGatewayRuntimeSelection`**\n- **`GatewayRuntimeDefinition`**\n- **`GatewayRuntimeInstall`**\n- **`GatewayRuntimeProfile`** — Gateway-runtime-flavored {RuntimeProfile}: identical shape, but the `runtime` field is narrowed to {GatewayRuntimeId} so the curated runtime registry is the source of truth for legal harness ids in...\n- **`GatewayRuntimeResolveArgsInput`**\n- **`LoadedAgentsJsConfig`**\n- **`ProfileLookupContext`**\n- **`RemoteGatewayEnvConfig`**\n- **`ResolveAndApplyGatewayRuntimeOptions`**\n- **`ResolveAndApplyGatewayRuntimesOptions`** — Options for {resolveAndApplyGatewayRuntimes} (plural).\n- **`ResolvedGatewayRuntime`**\n- **`ResolvedGatewayRuntimeACPOptions`** — Host-flavored {ACPProcessOptions} used for wiring resolved gateway runtimes into `-js/acp-host`'s `createHostACPProcess`. Mirrors the `HostACPProcessOptions` interface exported from `-js/acp-host` ...\n- **`ResolvedGatewayRuntimeProfile`** — Gateway-runtime-flavored {ResolvedRuntimeProfile}, narrowed so that the `definition.runtime` field carries {GatewayRuntimeId}.\n- **`RunCommandOptions`** — Canonical `runCommand` helper used by every gateway-runtime adjacent package (`reporting`, `extras`, future call sites). Wraps `Bun.spawn` with composable timeout + abort + stdin support and a unif...\n- **`RunCommandResult`**\n- **`RuntimeCommandResolver`**\n- **`RuntimeEnvOverrides`** — runtime-env-overrides.ts — Apply CLI-flag overrides onto a process env bag. The gateway runtime helpers (`resolveRuntimeArgs`, `internal-gateway` config loader, etc.) read AJS_* environment variabl...\n- **`RuntimeResolutionOptions`**\n- **`RuntimeSelectionArgs`**\n- **`RuntimeSelectionsArgs`** — Multi-harness arg shape. `harnesses` carries the ordered list of curated harness ids gathered from `--harness` (repeatable) and `--harnesses x,y` flags; index 0 is the primary routing target. Other...\n- **`SpawnSubSessionHints`** — Routing hints. All fields optional. `harness` is explicit opt-in to a specific execution boundary; unset falls back to the default. `worktree_isolation` / `model` are accepted in the shape for forw...\n- **`SpawnSubSessionOptions`** — Dependency injection seams. All optional; defaults wire production behavior. Tests that don't supply these get real filesystem + real subprocess spawn.\n- **`SpawnSubSessionParams`** — Input to {spawnSubSession}. `parent_session_id` is carried so downstream trace / audit surfaces can attribute the child to its spawning session; this layer does not enforce depth limits on it.\n- **`SpawnSubSessionResult`** — Result of a bounded-mode {spawnSubSession} call. `session_id` is the ACP session id of the spawned child (empty string when the call short-circuited before session creation, e.g. harness_unavailabl...\n\n### Types\n\n- **`EnvSource`**\n- **`GatewayRuntimeId`**\n- **`GatewayRuntimeProfileRoots`** — Gateway-runtime alias for internal runtime profile roots. The shape is preserved so existing downstream imports keep compiling without churn.\n- **`GatewayRuntimeSelection`**\n- **`HarnessSelectionPolicy`**\n- **`HostnameMode`**\n- **`ResolveGatewayRuntimeFn`** — Runtime resolver shape. Factored out so tests can inject a resolver that returns canned `ResolvedGatewayRuntime` values without touching the filesystem.\n- **`SpawnACPAgentFn`** — Abstraction over `spawnACPAgent` for test injection. Shape matches the imported function; tests substitute a fake that returns a controlled `Stream` / `kill` handle.\n- **`SpawnSubSessionStatus`** — Terminal status of a {spawnSubSession} call. - `completed` — subagent returned an `end_turn` stopReason within the timeout. - `errored` — subagent returned a non-`end_turn` stopReason, or the ACP h...\n\n### Constants\n\n- **`CLAUDE_AGENT_ACP_PACKAGE_NAME`**\n- **`CLAUDE_AGENT_ACP_VERSION`**\n- **`CODEX_ACP_PACKAGE_NAME`**\n- **`CODEX_ACP_VERSION`**\n- **`DEFAULT_AGENTS_JS_CONFIG`**\n- **`DEFAULT_EXTRA_BIN_PATHS`** — Browser-safe entry point for -js/gateway-runtime. The main entry (src/index.ts) pulls in runtime-registry + detection machinery that depends on `styleText` from `node:util`, which Bun's browser pol...\n- **`defaultRuntimeCommandResolver`**\n- **`EXTERNAL_RUNTIME_INSTALL_VERSIONS`** — Generated from the root `package.json` (`agentsJs.externalSDKs`) by `scripts/bump.ts`. Do not edit manually.\n- **`GATEWAY_RUNTIME_REGISTRY`** — Curated runtime registry, exposed as a read-only `Record` so the selection layer can iterate and look up entries. The type is widened from the literal `as const` shape to `Readonly<Record<…>>` so d...\n- **`HOME_PLACEHOLDER`** — Default directories the gateway prepends to `process.env.PATH` when resolving runtime binaries via the resolver in `./runtime-command-resolution.ts`. The host composition layer threads this list in...\n- **`MOCK_ACP_RUNTIME_ENV`** — Env var that gates registration of the in-repo `mock-acp` runtime in {listGatewayRuntimeIds}. Surfaced as a constant rather than an inline string so tests and consumers can reference the same key.\n- **`SPAWN_SUB_SESSION_DEFAULT_HARNESS`** — Default harness used when `hints.harness` is unspecified.\n- **`SPAWN_SUB_SESSION_DEFAULT_TIMEOUT_MS`** — Default subtask timeout (5 minutes).\n- **`SPAWN_SUB_SESSION_SUPPORTED_HARNESSES`** — Harness ids supported by `spawnSubSession` v1. Expand this set as harnesses land hardening gates for subagent spawning.\n- **`validateGatewayRuntimeProfileName`** — Re-export of {validateRuntimeProfileName} from the internal profile resolver. The gateway-runtime alias is preserved for callers that import via this package's barrel.\n\n### Exports\n\n- **`createParseEnv`**\n- **`EnvError`**\n- **`OptionalEnvVar`**\n- **`parseEnv`**\n- **`RequiredEnvVar`**\n\n\n## Dependencies\n\n- `@agentclientprotocol/sdk`\n- `@agents-js/a2a`\n- `@agents-js/acp`\n\n## License\n\nMIT\n\n<!-- AUTO-GENERATED by scripts/generate-package-readmes.ts — do not edit -->\n","readmeFilename":"README.md"}