{"_id":"@temporalio/openai-agents","_rev":"21-03c13cedbf323831f8606a273afdb9e2","name":"@temporalio/openai-agents","dist-tags":{"release-1-19":"1.19.1","release-1-18":"1.18.2","latest":"2.0.0","next":"2.0.0-rc.2"},"versions":{"1.18.0":{"name":"@temporalio/openai-agents","version":"1.18.0","keywords":["temporal","workflow","ai","openai","agents"],"author":"Temporal Technologies Inc. <sdk@temporal.io>","license":"MIT","_id":"@temporalio/openai-agents@1.18.0","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"3448bed82388bce59c5b5faa55f19b53c28ebb90","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.18.0.tgz","fileCount":159,"integrity":"sha512-xF+Gkl/kjzQYqqIF34aHRH40P95S9diPlwsXnPZEag6kxWjbVCajtUUkKOkvJg/U1cNSDvzRw/NmTElVGWPH2w==","signatures":[{"sig":"MEUCIASZplcqWjDXOIZMIpLDga/uzPWz/clzE0w7rz8o3A0rAiEA8ANH0DorX0JcVcwBju31VlJ3LyQoEpzsLNfgilYh9O0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":386288},"main":"lib/index.js","types":"./lib/index.d.ts","engines":{"node":">= 20.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"26.0.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.18.0","@temporalio/plugin":"1.18.0","@temporalio/worker":"1.18.0","@temporalio/activity":"1.18.0","@temporalio/workflow":"1.18.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.18.0","@temporalio/client":"1.18.0","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.18.0","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.18.0","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.18.0_1780938967312_0.6295245434392631","host":"s3://npm-registry-packages-npm-production"}},"1.18.1":{"name":"@temporalio/openai-agents","version":"1.18.1","keywords":["temporal","workflow","ai","openai","agents"],"author":"Temporal Technologies Inc. <sdk@temporal.io>","license":"MIT","_id":"@temporalio/openai-agents@1.18.1","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"c7dfd62622cca9b31e05905cd3bc2ce3fe3fb0b3","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.18.1.tgz","fileCount":159,"integrity":"sha512-/t8lWy1Ae/h9Pvb2THGmgAo87trQZ7uHtR5A2QfjRnF3GqtIDhZ3Cfy6DBBMxkrGX24l9AAt/yDoyYIHX/q2uw==","signatures":[{"sig":"MEQCIAne2uEgBNAmnV3eis8ihRJhyS9Wtv8GfN8YCTiritK2AiBe7fx+fKRNFvYvGltxGtuMddjFBqsnTlsLNpvQI673Lw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":386288},"main":"lib/index.js","types":"./lib/index.d.ts","engines":{"node":">= 20.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"26.0.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.18.1","@temporalio/plugin":"1.18.1","@temporalio/worker":"1.18.1","@temporalio/activity":"1.18.1","@temporalio/workflow":"1.18.1","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.18.1","@temporalio/client":"1.18.1","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.18.1","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.18.1","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.18.1_1781217150327_0.16401317138365723","host":"s3://npm-registry-packages-npm-production"}},"1.19.0":{"name":"@temporalio/openai-agents","version":"1.19.0","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@1.19.0","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"527f00c0624274be043129893cda94baccab0379","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.19.0.tgz","fileCount":159,"integrity":"sha512-tpmvcCwf97vBBQX4vfZ6HJmE7+BqyHxLr/zvbOCuXeT+xI54HPj6Zj45Fax0njN+Cf57UuEPBl+IdJcjmog26A==","signatures":[{"sig":"MEUCIQDzbUYDWWChAiAf2k2FoU8DghB3iDeKHxOnL8AwLk8/NwIgM63Mo6pepBHb5+9z4jVFGQm9/LxY+50Ibk29XX4iDkY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":386443},"main":"lib/index.js","_from":"file:temporalio-openai-agents-1.19.0.tgz","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"_resolved":"/private/var/folders/nv/kfty22tn3zv_2wxtqh909xtm0000gn/T/32d206d50f8c013830f98abcec7c545f/temporalio-openai-agents-1.19.0.tgz","_integrity":"sha512-tpmvcCwf97vBBQX4vfZ6HJmE7+BqyHxLr/zvbOCuXeT+xI54HPj6Zj45Fax0njN+Cf57UuEPBl+IdJcjmog26A==","repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"_npmVersion":"10.9.3","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"22.19.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.19.0","@temporalio/plugin":"1.19.0","@temporalio/worker":"1.19.0","@temporalio/activity":"1.19.0","@temporalio/workflow":"1.19.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.19.0","@temporalio/client":"1.19.0","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.19.0","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.19.0","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.19.0_1782917484927_0.8839914594823497","host":"s3://npm-registry-packages-npm-production"}},"1.20.0":{"name":"@temporalio/openai-agents","version":"1.20.0","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@1.20.0","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"1f8664e1c973505f91747ea26379e3401f9c75d0","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.20.0.tgz","fileCount":155,"integrity":"sha512-CKhQYHxkumj2DL4JwyKu+83id0Rem8h0ZeUvFJEywjB1Ab9L43mAG1SyWs9Q+5AjkcEh4zivASzoErHiNTFtxA==","signatures":[{"sig":"MEQCIDZJ55wBa5bCB04oUpdWObifXpJRd0MN3oBclMX0J6uoAiBmioQdYtVCJ/PQunDYC3twI9p5SqOh+quElIfEFj2maQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":379861},"main":"lib/index.js","_from":"file:temporalio-openai-agents-1.20.0.tgz","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"_resolved":"/private/var/folders/nv/kfty22tn3zv_2wxtqh909xtm0000gn/T/9d66b90ef8c01ae661f5804050746972/temporalio-openai-agents-1.20.0.tgz","_integrity":"sha512-CKhQYHxkumj2DL4JwyKu+83id0Rem8h0ZeUvFJEywjB1Ab9L43mAG1SyWs9Q+5AjkcEh4zivASzoErHiNTFtxA==","repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"_npmVersion":"10.9.3","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"22.19.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.20.0","@temporalio/plugin":"1.20.0","@temporalio/worker":"1.20.0","@temporalio/activity":"1.20.0","@temporalio/workflow":"1.20.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.20.0","@temporalio/client":"1.20.0","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.20.0","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.20.0","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.20.0_1783439741147_0.9093970744185269","host":"s3://npm-registry-packages-npm-production"}},"1.19.1":{"name":"@temporalio/openai-agents","version":"1.19.1","keywords":["temporal","workflow","ai","openai","agents"],"author":"Temporal Technologies Inc. <sdk@temporal.io>","license":"MIT","_id":"@temporalio/openai-agents@1.19.1","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"489732e466028d85f2e959b334e868df90c409c6","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.19.1.tgz","fileCount":159,"integrity":"sha512-qcBTUOV0RFF7EInZ0WrXGC35sFpkD5KtAm/tm+93elc1vMLPWwt/IS05zkdsiKmKveq+7Foqs43mLzPaICCkyg==","signatures":[{"sig":"MEYCIQDyhwW83ejmYUYP2bFsuLOqCLu35CAR+5U6RDwMBzcxxAIhAIAGwMAq8RSbrsy4gUmbqwb3wTfVKB4ytAq3d6GCgLim","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":386443},"main":"lib/index.js","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"26.0.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.19.1","@temporalio/plugin":"1.19.1","@temporalio/worker":"1.19.1","@temporalio/activity":"1.19.1","@temporalio/workflow":"1.19.1","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.19.1","@temporalio/client":"1.19.1","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.19.1","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.19.1","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.19.1_1783465504863_0.9188449535415772","host":"s3://npm-registry-packages-npm-production"}},"1.18.2":{"name":"@temporalio/openai-agents","version":"1.18.2","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@1.18.2","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"50ddf8ef05215b5c3ad0c3545d0e7b66ab31d575","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.18.2.tgz","fileCount":159,"integrity":"sha512-T/I9zBHLbpqhVn0lGCCF7N57wH7Ek21pnOPoGex0FaYkx3hG4O335wc+RI6iJPJRgWpsXtxnVvyN8WkiCzPfpw==","signatures":[{"sig":"MEYCIQD1rdk4KxzeaYI7+IKsVPoioMgtCYVymCy3e0Uwd8aJGQIhAPv7M/M/UQL0lWgRSp2VYA/LrgEAmrdkWLDcW7FqyS1V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":386288},"main":"lib/index.js","_from":"file:temporalio-openai-agents-1.18.2.tgz","types":"./lib/index.d.ts","engines":{"node":">= 20.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"_resolved":"/private/var/folders/nv/kfty22tn3zv_2wxtqh909xtm0000gn/T/733083ce3ffe33fdae375d656d6c9372/temporalio-openai-agents-1.18.2.tgz","_integrity":"sha512-T/I9zBHLbpqhVn0lGCCF7N57wH7Ek21pnOPoGex0FaYkx3hG4O335wc+RI6iJPJRgWpsXtxnVvyN8WkiCzPfpw==","repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"_npmVersion":"10.9.3","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"22.19.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.18.2","@temporalio/plugin":"1.18.2","@temporalio/worker":"1.18.2","@temporalio/activity":"1.18.2","@temporalio/workflow":"1.18.2","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.18.2","@temporalio/client":"1.18.2","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.18.2","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.18.2","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.18.2_1783466270439_0.5627768042522721","host":"s3://npm-registry-packages-npm-production"}},"1.20.1":{"name":"@temporalio/openai-agents","version":"1.20.1","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@1.20.1","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"1d2366ece276a0dc16e4a1c482e9124ed5572c65","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.20.1.tgz","fileCount":155,"integrity":"sha512-9LdZwSj26lcTkMrWvR8uIc5bSgN/Ga4QQdpQo7SUCP5uqveeEM9WWF6TOBKfhMAFH/cUW+N8oVSObkAVSU1Wpg==","signatures":[{"sig":"MEYCIQCDU6PjjVm+jzTnqEdZCFJeRPFfggrVO+LuHtQoNM4QqgIhANyll3Qvp+IJ6USBfOEtZE/d8q7Sz09qinA/C8YUXZCp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":379861},"main":"lib/index.js","_from":"file:temporalio-openai-agents-1.20.1.tgz","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"_resolved":"/private/var/folders/nv/kfty22tn3zv_2wxtqh909xtm0000gn/T/3315087cc14e6912dcfee5f5fb9e67bb/temporalio-openai-agents-1.20.1.tgz","_integrity":"sha512-9LdZwSj26lcTkMrWvR8uIc5bSgN/Ga4QQdpQo7SUCP5uqveeEM9WWF6TOBKfhMAFH/cUW+N8oVSObkAVSU1Wpg==","repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"_npmVersion":"10.9.3","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"22.19.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.20.1","@temporalio/plugin":"1.20.1","@temporalio/worker":"1.20.1","@temporalio/activity":"1.20.1","@temporalio/workflow":"1.20.1","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.20.1","@temporalio/client":"1.20.1","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.20.1","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.20.1","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.20.1_1783467131386_0.862404786025583","host":"s3://npm-registry-packages-npm-production"}},"1.20.2":{"name":"@temporalio/openai-agents","version":"1.20.2","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@1.20.2","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"8a1805fa0b3e4f4d342f0796149993c3f978307f","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.20.2.tgz","fileCount":155,"integrity":"sha512-EA1l5ViFO1dgNuoxpk7Dgh4WDEJOYewPTxhK43h85P+7DmTFEJutJ2tTuB9S2ZAUmOej0jtiAgxNcMEgWKkkHQ==","signatures":[{"sig":"MEUCIQCvxjofEMr+MKkRBNAJkjqj+5w3kJoM1P8KLr2MfV/UswIgdJznRLpnkMU2mi5uV4kgkZPA09xOwnhp23rv2eTRn4Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":379861},"main":"lib/index.js","_from":"file:temporalio-openai-agents-1.20.2.tgz","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"_resolved":"/private/var/folders/nv/kfty22tn3zv_2wxtqh909xtm0000gn/T/69925aa70603b79b39aeda4eecd2be19/temporalio-openai-agents-1.20.2.tgz","_integrity":"sha512-EA1l5ViFO1dgNuoxpk7Dgh4WDEJOYewPTxhK43h85P+7DmTFEJutJ2tTuB9S2ZAUmOej0jtiAgxNcMEgWKkkHQ==","repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"_npmVersion":"10.9.3","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"22.19.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.20.2","@temporalio/plugin":"1.20.2","@temporalio/worker":"1.20.2","@temporalio/activity":"1.20.2","@temporalio/workflow":"1.20.2","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.20.2","@temporalio/client":"1.20.2","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.20.2","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.20.2","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.20.2_1783527233463_0.783721223288516","host":"s3://npm-registry-packages-npm-production"}},"1.20.3":{"name":"@temporalio/openai-agents","version":"1.20.3","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@1.20.3","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"b04b99a1b0aea7cd983fac6ac47ddd4c8dc5a915","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.20.3.tgz","fileCount":155,"integrity":"sha512-SN7FKwxClMLcjBLissJyKJP2fd9j+r3nUVG5T1DtSy1SpgwYeib97YWDsRZO1DrPRQ7p9mj8+jHUE/T7tFCVIw==","signatures":[{"sig":"MEUCIGS2n4aJE0OxW8D/ayOyOXJpan71D2nqKBJZUp7W27i2AiEAk1HbBZiZg4mfQ8Je1MurAgQEHUoHFUVqQE1X133pRa8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":379861},"main":"lib/index.js","_from":"file:temporalio-openai-agents-1.20.3.tgz","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"_resolved":"/private/var/folders/nv/kfty22tn3zv_2wxtqh909xtm0000gn/T/f0575420f604c1938ef652061d51144d/temporalio-openai-agents-1.20.3.tgz","_integrity":"sha512-SN7FKwxClMLcjBLissJyKJP2fd9j+r3nUVG5T1DtSy1SpgwYeib97YWDsRZO1DrPRQ7p9mj8+jHUE/T7tFCVIw==","repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"_npmVersion":"10.9.3","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"22.19.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.20.3","@temporalio/plugin":"1.20.3","@temporalio/worker":"1.20.3","@temporalio/activity":"1.20.3","@temporalio/workflow":"1.20.3","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.20.3","@temporalio/client":"1.20.3","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.20.3","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.20.3","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.20.3_1784143207475_0.5454285377012065","host":"s3://npm-registry-packages-npm-production"}},"1.21.0":{"name":"@temporalio/openai-agents","version":"1.21.0","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@1.21.0","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"444ca666cb4728a714ee958ee79a8a2e1365cdcb","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.21.0.tgz","fileCount":155,"integrity":"sha512-5YmjOnojndpsaAp3cMf0qFu++3Iyr55BMIDKg78wzO1aichxEAgragNI1j1HpaS5FoccuIe5IvMZOeeX9P41UQ==","signatures":[{"sig":"MEYCIQCVdW9YOc1LfOUDiA8lnkGTsswpZiVJvArLBSZxUSTesQIhAKqtBQ1fC5PEl/gy7104pUXNoeu1qBPccPggiw2WVvgp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":408764},"main":"lib/index.js","_from":"file:temporalio-openai-agents-1.21.0.tgz","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"_resolved":"/private/var/folders/nv/kfty22tn3zv_2wxtqh909xtm0000gn/T/a53a8a07acb3a32cefc98f6e1dc80e55/temporalio-openai-agents-1.21.0.tgz","_integrity":"sha512-5YmjOnojndpsaAp3cMf0qFu++3Iyr55BMIDKg78wzO1aichxEAgragNI1j1HpaS5FoccuIe5IvMZOeeX9P41UQ==","repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"_npmVersion":"10.9.3","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"22.19.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.21.0","@temporalio/plugin":"1.21.0","@temporalio/worker":"1.21.0","@temporalio/activity":"1.21.0","@temporalio/workflow":"1.21.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1","@temporalio/workflow-streams":"1.21.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.21.0","@temporalio/client":"1.21.0","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.21.0","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.21.0","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.21.0_1784822406520_0.3109760562849291","host":"s3://npm-registry-packages-npm-production"}},"1.21.1":{"name":"@temporalio/openai-agents","version":"1.21.1","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@1.21.1","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"5056fcff974efa9ef2986ed2a8fdbf5e955ac184","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.21.1.tgz","fileCount":155,"integrity":"sha512-BYafwohP07V035HC1S1YTONohXReryfy+g5Dba96e6Q8fPKsL4nIdZE0/pUrmZdFGt3OOEeNq09V7mfIcBrNZg==","signatures":[{"sig":"MEUCIQDO7VUOQSwt8bWN1e4EkMza2rbo2MKRshWl5K3I1TxwVQIgGM8xF5KEdbYepmsaqRJfr3++SW1NjkVlTlSBuAcInIg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":408764},"main":"lib/index.js","_from":"file:temporalio-openai-agents-1.21.1.tgz","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"ava","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"_resolved":"/private/var/folders/32/w2ddt6dx5mj8k7dw200s8zgw0000gn/T/38b8ff53bf8a2a90136c022852deb24a/temporalio-openai-agents-1.21.1.tgz","_integrity":"sha512-BYafwohP07V035HC1S1YTONohXReryfy+g5Dba96e6Q8fPKsL4nIdZE0/pUrmZdFGt3OOEeNq09V7mfIcBrNZg==","repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"_npmVersion":"11.17.0","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"26.4.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.21.1","@temporalio/plugin":"1.21.1","@temporalio/worker":"1.21.1","@temporalio/activity":"1.21.1","@temporalio/workflow":"1.21.1","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1","@temporalio/workflow-streams":"1.21.1"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.21.1","@temporalio/client":"1.21.1","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.21.1","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.21.1","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.21.1_1784903422002_0.3488283903012177","host":"s3://npm-registry-packages-npm-production"}},"1.22.0":{"name":"@temporalio/openai-agents","version":"1.22.0","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@1.22.0","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"126249ce4e2e3e71bc75e6cda643a19ab51b90e2","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.22.0.tgz","fileCount":155,"integrity":"sha512-gW4XZJFb1aGi7LVhQCn5azq2nymWp42NNaAEGH6jyfjoI6DT2P1mchbaKnkRM++SyBjK5MjDSiT9GffiFR/q8w==","signatures":[{"sig":"MEUCIFrF5/I8OhXNWnTfOAj5/nXUnjewmSO8ZhCxDWf/oyT3AiEAyt1MFjeSGJ+WcxMHKVtiO8X7PvC2CYjJO1MxipITnSU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":408788},"main":"lib/index.js","_from":"file:temporalio-openai-agents-1.22.0.tgz","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"tsx ../../scripts/ava-ci.ts","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"_resolved":"/private/var/folders/nv/kfty22tn3zv_2wxtqh909xtm0000gn/T/d0bf1c183247202a5b970b0550757d0b/temporalio-openai-agents-1.22.0.tgz","_integrity":"sha512-gW4XZJFb1aGi7LVhQCn5azq2nymWp42NNaAEGH6jyfjoI6DT2P1mchbaKnkRM++SyBjK5MjDSiT9GffiFR/q8w==","repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"_npmVersion":"10.9.3","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"22.19.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.22.0","@temporalio/plugin":"1.22.0","@temporalio/worker":"1.22.0","@temporalio/activity":"1.22.0","@temporalio/workflow":"1.22.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1","@temporalio/workflow-streams":"1.22.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.2","@temporalio/proto":"1.22.0","@temporalio/client":"1.22.0","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.22.0","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.22.0","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.22.0_1785940842591_0.43452534486325844","host":"s3://npm-registry-packages-npm-production"}},"1.23.0":{"name":"@temporalio/openai-agents","version":"1.23.0","keywords":["temporal","workflow","ai","openai","agents"],"author":"Temporal Technologies Inc. <sdk@temporal.io>","license":"MIT","_id":"@temporalio/openai-agents@1.23.0","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"d67b7f30bba27be6ef498ec4bccfd68d9ebb278a","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.23.0.tgz","fileCount":155,"integrity":"sha512-ZJZuBUo2+JeaXtPsBqD4XyMAqivNrU4y8fpa6Pq/ZR8U4s9i9vfOAdt6L2TSF2s8BJIcKlrzhoEjebCddI34Fg==","signatures":[{"sig":"MEQCIC04mb0GAV7XgDN+bBqivHjrJQavdk1cB4nCdhVkA2uTAiBnc9V3JLnKO/hwMa3AZqIiM0AFwWL+/m+RFFbGq1+wDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":408889},"main":"lib/index.js","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"tsx ../../scripts/ava-ci.ts","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"26.4.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.23.0","@temporalio/plugin":"1.23.0","@temporalio/worker":"1.23.0","@temporalio/activity":"1.23.0","@temporalio/workflow":"1.23.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1","@temporalio/workflow-streams":"1.23.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.35.0","nexus-rpc":"^0.0.3","@temporalio/proto":"1.23.0","@temporalio/client":"1.23.0","@openai/agents-core":"~0.11.6","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.23.0","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.23.0","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.35.0","@openai/agents-core":"~0.11.6","@openai/agents-openai":"~0.11.6","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.23.0_1787714917109_0.12139153265822333","host":"s3://npm-registry-packages-npm-production"}},"1.24.0":{"name":"@temporalio/openai-agents","version":"1.24.0","keywords":["temporal","workflow","ai","openai","agents"],"author":"Temporal Technologies Inc. <sdk@temporal.io>","license":"MIT","_id":"@temporalio/openai-agents@1.24.0","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/sdk-typescript/tree/main/contrib/openai-agents","bugs":{"url":"https://github.com/temporalio/sdk-typescript/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"60e8cdf63d36152afcb44bd7db1024f0f07d5eff","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-1.24.0.tgz","fileCount":179,"integrity":"sha512-a+iZZFnsixMiP5nXlQgGSP2abj+HWYXyru/iR2GllE0K6H/DeEjZngdIuHJHk/38EfeY8VYrDgys5kO0a1xOuw==","signatures":[{"sig":"MEUCIECxFo1CCNCxnZeg1eqZAEZktxeaRbgqXSc5OHZQaG6QAiEAyjdOSWwFwBUYDrb15bwpZGZpTX5gtUuPHIPm51g7fuU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFC48btCk91Hn4SgUxIdOwnJ/BPWKluyw5uc2FUKrcxmAiA6FpCcK+e+dbZfeL6C5YhB5f34X3nR37wZLVXC9LVKjw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":607789},"main":"lib/index.js","types":"./lib/index.d.ts","engines":{"node":">= 20.3.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"test":"tsx ../../scripts/ava-ci.ts","build":"tsc --build","test:watch":"ava --watch","build:watch":"tsc --build --watch"},"_npmUser":{"name":"temporal-sdk-team","email":"sdk@temporal.io"},"repository":{"url":"git+https://github.com/temporalio/sdk-typescript.git","type":"git","directory":"contrib/openai-agents"},"description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"26.0.0","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"1.24.0","@temporalio/plugin":"1.24.0","@temporalio/worker":"1.24.0","@temporalio/activity":"1.24.0","@temporalio/workflow":"1.24.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1","@temporalio/workflow-streams":"1.24.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","openai":"^6.46.0","nexus-rpc":"^0.0.3","@temporalio/proto":"1.24.0","@temporalio/client":"1.24.0","@openai/agents-core":"~0.14.3","@opentelemetry/core":"^1.25.1","@temporalio/testing":"1.24.0","@openai/agents-openai":"~0.14.3","@opentelemetry/sdk-node":"^0.52.1","@temporalio/test-helpers":"1.24.0","@opentelemetry/sdk-trace-base":"^1.25.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"openai":"^6.46.0","@openai/agents-core":"~0.14.3","@openai/agents-openai":"~0.14.3","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_1.24.0_1789438689748_0.9849402585615756","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.1":{"name":"@temporalio/openai-agents","version":"2.0.0-rc.1","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@2.0.0-rc.1","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/ai-integrations/tree/main/typescript/openai-agents","bugs":{"url":"https://github.com/temporalio/ai-integrations/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"bae053ae7fbc2f4f73f0baf91d3fa111c4aafc90","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-2.0.0-rc.1.tgz","fileCount":183,"integrity":"sha512-4d+sQAK4HDEuDQG1Ok5+p/zWmUevR6mhR+HdJklzU39xrlKX7yeaFwjF8vHj2sHMOdDFgGohFsL6mtJH252aEQ==","signatures":[{"sig":"MEQCIC1y5fe62MFWtlsl79ff6VzwQMUG1kmsM9wPS36h5EJ0AiAVBx+rI12pkuqT5JSRbFp98KLmR7K1Y5OxhLanC975vw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDXx8AqfC7WkjSX85f5JDVEsIf1aRt1bclqsCwqque3nQIhAMZRJYkeiOhAhHCybJ3nEF7ILqhrkl/fZWuhVcF+A9dW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@temporalio%2fopenai-agents@2.0.0-rc.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":887143},"main":"lib/index.js","_from":"file:typescript/openai-agents/dist/temporalio-openai-agents-2.0.0-rc.1.tgz","types":"./lib/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"lint":"pnpm run build && eslint --config ../_shared/eslint.config.mjs src","pack":"pnpm pack --pack-destination dist","test":"ava","build":"tsc --build tests/helpers tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"af8621ec-b1c1-4542-a563-cc76c3abcee6"}},"_resolved":"/home/runner/work/ai-integrations/ai-integrations/typescript/openai-agents/dist/temporalio-openai-agents-2.0.0-rc.1.tgz","_integrity":"sha512-4d+sQAK4HDEuDQG1Ok5+p/zWmUevR6mhR+HdJklzU39xrlKX7yeaFwjF8vHj2sHMOdDFgGohFsL6mtJH252aEQ==","repository":{"url":"git+https://github.com/temporalio/ai-integrations.git","type":"git","directory":"typescript/openai-agents"},"_npmVersion":"11.19.1","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"24.22.3","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"^1.24.0","@temporalio/plugin":"^1.24.0","@temporalio/worker":"^1.24.0","@temporalio/activity":"^1.24.0","@temporalio/workflow":"^1.24.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1","@temporalio/workflow-streams":"^1.24.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^5.3.1","tsx":"^4.20.6","long":"^5.3.2","eslint":"^9.26.0","openai":"^7.45.1","nexus-rpc":"^0.0.3","@eslint/js":"^9.26.0","protobufjs":"^8.7.1","typescript":"^5.9.3","@types/node":"^20.19.39","stack-utils":"^2.0.6","@tsconfig/node20":"^20.1.4","@temporalio/proto":"^1.24.0","typescript-eslint":"^8.10.0","@temporalio/client":"^1.24.0","@types/stack-utils":"^2.0.3","@openai/agents-core":"~0.22.0","@opentelemetry/core":"^1.25.1","@temporalio/testing":"^1.24.0","eslint-plugin-import":"^2.31.0","@openai/agents-openai":"~0.22.0","@temporalio/envconfig":"^1.24.0","eslint-config-prettier":"^9.1.0","@temporalio/test-helpers":"link:tests/helpers","@opentelemetry/sdk-trace-base":"^1.25.1","eslint-import-resolver-typescript":"^3.6.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"long":"^5.3.2","openai":"^7.45.1","protobufjs":"^8.7.1","@openai/agents-core":"~0.22.0","@openai/agents-openai":"~0.22.0","@opentelemetry/sdk-trace-base":"^1.25.1"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_2.0.0-rc.1_1794941933269_0.5861247257829846","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.2":{"name":"@temporalio/openai-agents","version":"2.0.0-rc.2","keywords":["temporal","workflow","ai","openai","agents"],"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","_id":"@temporalio/openai-agents@2.0.0-rc.2","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"homepage":"https://github.com/temporalio/ai-integrations/tree/main/typescript/openai-agents","bugs":{"url":"https://github.com/temporalio/ai-integrations/issues"},"ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"dist":{"shasum":"3c88ad79c216d7ab40da9b19b5217a034bca0724","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-2.0.0-rc.2.tgz","fileCount":183,"integrity":"sha512-27JDRwCcA7Vm4Zm/xPsYKfrzxh5J8rKgLLi9u160ks0klNQsTELAhHMds8NiDx65BEdb4GhkvGUSrxf/uIHdpw==","signatures":[{"sig":"MEUCIFAII+EBGDA+cSw4rcpA0nlkmS16AvAWvu/LuSpJNcKsAiEA3RZgVLWoa8wh9qONnPyLDLfi2RD/apsXY8vsnCgsvzA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIC3ujvO+MhPkcG0vHEjZgDjpBLsAXBonFnQQZcgMdlQxAiAMMSC9h0yzNGHFYnwNwBUSsmdbrXUnKQwtyLzp1dVjDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@temporalio%2fopenai-agents@2.0.0-rc.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":887535},"main":"lib/index.js","_from":"file:typescript/openai-agents/dist/temporalio-openai-agents-2.0.0-rc.2.tgz","types":"./lib/index.d.ts","engines":{"node":">=22.12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"scripts":{"lint":"pnpm run build && eslint --config ../_shared/eslint.config.mjs src","pack":"pnpm pack --pack-destination dist","test":"ava","build":"tsc --build tests/helpers tsconfig.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"af8621ec-b1c1-4542-a563-cc76c3abcee6"}},"_resolved":"/home/runner/work/ai-integrations/ai-integrations/typescript/openai-agents/dist/temporalio-openai-agents-2.0.0-rc.2.tgz","_integrity":"sha512-27JDRwCcA7Vm4Zm/xPsYKfrzxh5J8rKgLLi9u160ks0klNQsTELAhHMds8NiDx65BEdb4GhkvGUSrxf/uIHdpw==","repository":{"url":"git+https://github.com/temporalio/ai-integrations.git","type":"git","directory":"typescript/openai-agents"},"_npmVersion":"11.19.1","description":"Temporal OpenAI Agents SDK integration package","directories":{},"_nodeVersion":"24.22.3","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"^1.24.0","@temporalio/plugin":"^1.24.0","@temporalio/worker":"^1.24.0","@temporalio/activity":"^1.24.0","@temporalio/workflow":"^1.24.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1","@temporalio/workflow-streams":"^1.24.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ava":"^5.3.1","tsx":"^4.20.6","long":"^5.3.2","eslint":"^9.26.0","openai":"^7.45.1","nexus-rpc":"^0.0.3","@eslint/js":"^9.26.0","protobufjs":"^8.7.1","typescript":"^5.9.3","@types/node":"^20.19.39","stack-utils":"^2.0.6","@tsconfig/node20":"^20.1.4","@temporalio/proto":"^1.24.0","typescript-eslint":"^8.10.0","@temporalio/client":"^1.24.0","@types/stack-utils":"^2.0.3","@openai/agents-core":"~0.22.0","@opentelemetry/core":"^2.0.0","@temporalio/testing":"^1.24.0","eslint-plugin-import":"^2.31.0","@openai/agents-openai":"~0.22.0","@temporalio/envconfig":"^1.24.0","eslint-config-prettier":"^9.1.0","@temporalio/test-helpers":"link:tests/helpers","@opentelemetry/sdk-trace-base":"^2.0.0","eslint-import-resolver-typescript":"^3.6.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"long":"^5.3.2","openai":"^7.45.1","protobufjs":"^8.7.1","@openai/agents-core":"~0.22.0","@openai/agents-openai":"~0.22.0","@opentelemetry/sdk-trace-base":"^1.25.1 || ^2.0.0"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/openai-agents_2.0.0-rc.2_1794952133076_0.18919105261980484","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"_id":"@temporalio/openai-agents@2.0.0","ava":{"files":["./lib/__tests__/**/*.test.js","./lib/__tests__/test-*.js"],"timeout":"120s","concurrency":1,"workerThreads":false},"bugs":{"url":"https://github.com/temporalio/ai-integrations/issues"},"dist":{"shasum":"973aa97fe62de7e42333bb3ec2f88eef6cea0de1","tarball":"https://registry.npmjs.org/@temporalio/openai-agents/-/openai-agents-2.0.0.tgz","fileCount":183,"integrity":"sha512-NpE8fv0HM7nBTEEMjGXmQ2OVVrTb0nrx0SRcePlWMEBS12oYs0an2JS6+rdE2Z55itVsts31Jq5PQvtufIN0hg==","signatures":[{"sig":"MEYCIQCzvgZAyo0y9Sej4ZlChubg3AJqcJg8TLrnuwQYohSLMAIhAK+eAaIVbqGWYXLJ9MwbrUvSSIQQVHO2Ml/woJnEHEhH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD7xAtwiFwX+9EJtnDVLdrtXbUVgbyfk+tANRPRYb8qlQIgSaWYWEyp+c9U9U8b3/au69Kh7sSOl2p2J+T87AjYpdM="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@temporalio%2fopenai-agents@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":887530},"main":"lib/index.js","name":"@temporalio/openai-agents","_from":"file:typescript/openai-agents/dist/temporalio-openai-agents-2.0.0.tgz","types":"./lib/index.d.ts","author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"engines":{"node":">=22.12.0"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js","require":"./lib/index.js"},"./otel":{"types":"./lib/otel.d.ts","import":"./lib/otel.js","default":"./lib/otel.js","require":"./lib/otel.js"},"./workflow":{"types":"./lib/workflow.d.ts","import":"./lib/workflow.js","default":"./lib/workflow.js","require":"./lib/workflow.js"},"./workflow-interceptor":{"types":"./lib/workflow/trace-interceptor.d.ts","import":"./lib/workflow/trace-interceptor.js","default":"./lib/workflow/trace-interceptor.js","require":"./lib/workflow/trace-interceptor.js"}},"license":"MIT","scripts":{"lint":"pnpm run build && eslint --config ../_shared/eslint.config.mjs src","pack":"pnpm pack --pack-destination dist","test":"ava","build":"tsc --build tests/helpers tsconfig.json"},"version":"2.0.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"af8621ec-b1c1-4542-a563-cc76c3abcee6"}},"homepage":"https://github.com/temporalio/ai-integrations/tree/main/typescript/openai-agents","keywords":["temporal","workflow","ai","openai","agents"],"_resolved":"/home/runner/work/ai-integrations/ai-integrations/typescript/openai-agents/dist/temporalio-openai-agents-2.0.0.tgz","_integrity":"sha512-NpE8fv0HM7nBTEEMjGXmQ2OVVrTb0nrx0SRcePlWMEBS12oYs0an2JS6+rdE2Z55itVsts31Jq5PQvtufIN0hg==","repository":{"url":"git+https://github.com/temporalio/ai-integrations.git","type":"git","directory":"typescript/openai-agents"},"_npmVersion":"11.19.1","description":"Temporal OpenAI Agents SDK integration package","directories":{},"maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"_nodeVersion":"24.22.3","dependencies":{"headers-polyfill":"^4.0.3","@opentelemetry/api":"^1.9.0","@temporalio/common":"^1.24.0","@temporalio/plugin":"^1.24.0","@temporalio/worker":"^1.24.0","@temporalio/activity":"^1.24.0","@temporalio/workflow":"^1.24.0","web-streams-polyfill":"^4.2.0","@ungap/structured-clone":"^1.3.1","@temporalio/workflow-streams":"^1.24.0"},"publishConfig":{"access":"public"},"typesVersions":{"*":{"otel":["./lib/otel.d.ts"],"workflow":["./lib/workflow.d.ts"],"workflow-interceptor":["./lib/workflow/trace-interceptor.d.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","tsx":"^4.20.6","long":"^5.3.2","eslint":"^9.26.0","openai":"^7.45.1","nexus-rpc":"^0.0.3","@eslint/js":"^9.26.0","protobufjs":"^8.7.1","typescript":"^5.9.3","@types/node":"^20.19.39","stack-utils":"^2.0.6","@tsconfig/node20":"^20.1.4","@temporalio/proto":"^1.24.0","typescript-eslint":"^8.10.0","@temporalio/client":"^1.24.0","@types/stack-utils":"^2.0.3","@openai/agents-core":"~0.22.0","@opentelemetry/core":"^2.0.0","@temporalio/testing":"^1.24.0","eslint-plugin-import":"^2.31.0","@openai/agents-openai":"~0.22.0","@temporalio/envconfig":"^1.24.0","eslint-config-prettier":"^9.1.0","@temporalio/test-helpers":"link:tests/helpers","@opentelemetry/sdk-trace-base":"^2.0.0","eslint-import-resolver-typescript":"^3.6.1","@opentelemetry/semantic-conventions":"^1.25.1"},"peerDependencies":{"long":"^5.3.2","openai":"^7.45.1","protobufjs":"^8.7.1","@openai/agents-core":"~0.22.0","@openai/agents-openai":"~0.22.0","@opentelemetry/sdk-trace-base":"^1.25.1 || ^2.0.0"},"peerDependenciesMeta":{"@opentelemetry/sdk-trace-base":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openai-agents_2.0.0_1794953910763_0.7290235331851527"}}},"time":{"created":"2026-06-08T16:47:08.120Z","modified":"2026-11-17T22:18:31.291Z","1.17.3":"2026-06-08T16:47:08.449Z","1.18.0":"2026-06-08T17:16:07.461Z","1.18.1":"2026-06-11T22:32:30.491Z","1.19.0":"2026-07-01T14:51:25.068Z","1.20.0":"2026-07-07T15:55:41.287Z","1.19.1":"2026-07-07T23:05:05.013Z","1.18.2":"2026-07-07T23:17:50.566Z","1.20.1":"2026-07-07T23:32:11.552Z","1.20.2":"2026-07-08T16:13:53.619Z","1.20.3":"2026-07-15T19:20:07.622Z","1.21.0":"2026-07-23T16:00:06.708Z","1.21.1":"2026-07-24T14:30:22.146Z","1.22.0":"2026-08-05T14:40:42.747Z","1.23.0":"2026-08-26T03:28:37.280Z","1.24.0":"2026-09-15T02:18:09.853Z","2.0.0-rc.1":"2026-11-17T18:58:53.411Z","2.0.0-rc.2":"2026-11-17T21:48:53.175Z","2.0.0":"2026-11-17T22:18:30.913Z"},"bugs":{"url":"https://github.com/temporalio/ai-integrations/issues"},"author":{"name":"Temporal Technologies Inc.","email":"sdk@temporal.io"},"license":"MIT","homepage":"https://github.com/temporalio/ai-integrations/tree/main/typescript/openai-agents","keywords":["temporal","workflow","ai","openai","agents"],"repository":{"url":"git+https://github.com/temporalio/ai-integrations.git","type":"git","directory":"typescript/openai-agents"},"description":"Temporal OpenAI Agents SDK integration package","maintainers":[{"name":"luminousmoose","email":"alex.scott.thomsen@gmail.com"},{"name":"tempbearpig","email":"roey@temporal.io"},{"name":"temporal-sdk-team","email":"sdk@temporal.io"},{"name":"alex.tideman","email":"alex.tideman@temporal.io"},{"name":"rossedfort","email":"rossedfort@gmail.com"},{"name":"laurakwhit","email":"laura.k.whitaker@gmail.com"}],"readme":"# OpenAI Agents SDK Integration for Temporal\n\nRelease stage: Generally Available.\n\nRun [OpenAI Agents SDK](https://github.com/openai/openai-agents-js) agents as Temporal Workflows. Agent orchestration runs in the Workflow; model calls run as Activities, so they retry durably and are not repeated during Workflow replay.\n\n## Install\n\n```bash\n# Or `pnpm add`/`yarn add`\nnpm install @temporalio/openai-agents @openai/agents-core @openai/agents-openai openai\n```\n\n`@openai/agents-core`, `@openai/agents-openai`, and `openai` are peer dependencies.\n\n## Quick start\n\nCreate a Workflow that uses `TemporalOpenAIRunner` instead of the upstream `Runner`:\n\n```ts\nimport { Agent } from '@openai/agents-core';\nimport { TemporalOpenAIRunner } from '@temporalio/openai-agents/workflow';\n\nexport async function haikuAgentWorkflow(prompt: string): Promise<string> {\n  const agent = new Agent({\n    name: 'Assistant',\n    instructions: 'You only respond in haikus.',\n    model: 'gpt-4o-mini',\n  });\n\n  const runner = new TemporalOpenAIRunner();\n  const result = await runner.run(agent, prompt);\n  return result.finalOutput ?? '';\n}\n```\n\nRegister `OpenAIAgentsPlugin` on the Worker so model Activities, Workflow interceptors, sinks, and polyfills are installed:\n\n```ts\nimport { OpenAIProvider } from '@openai/agents-openai';\nimport { OpenAIAgentsPlugin } from '@temporalio/openai-agents';\nimport { NativeConnection, Worker } from '@temporalio/worker';\n\nasync function main() {\n  const connection = await NativeConnection.connect();\n  const plugin = new OpenAIAgentsPlugin({\n    modelProvider: new OpenAIProvider(),\n    modelParams: { startToCloseTimeout: '30s' },\n  });\n\n  const worker = await Worker.create({\n    connection,\n    taskQueue: 'my-task-queue',\n    workflowsPath: require.resolve('./workflows'),\n    plugins: [plugin],\n  });\n\n  await worker.run();\n}\n\nmain();\n```\n\nRegister the same plugin type on the Client so model parameters and tracing options propagate to new Workflows:\n\n```ts\nimport { OpenAIProvider } from '@openai/agents-openai';\nimport { Client, Connection } from '@temporalio/client';\nimport { OpenAIAgentsPlugin } from '@temporalio/openai-agents';\n\nasync function main() {\n  const connection = await Connection.connect();\n  const plugin = new OpenAIAgentsPlugin({\n    modelProvider: new OpenAIProvider(),\n  });\n\n  const client = new Client({\n    connection,\n    plugins: [plugin],\n  });\n\n  const result = await client.workflow.execute('haikuAgentWorkflow', {\n    args: ['Tell me about recursion in programming.'],\n    taskQueue: 'my-task-queue',\n    workflowId: 'haiku-workflow',\n  });\n\n  console.log(result);\n}\n\nmain();\n```\n\n## Workflow runner\n\n`TemporalOpenAIRunner` mirrors the OpenAI Agents SDK `Runner` for Workflow-safe execution. Use `run(agent, input, options?)` with familiar options such as `maxTurns`, `context`, `session`, and guardrails.\n\nDifferences from the upstream runner:\n\n- `runConfig.model` must be a model name string. The Worker's `modelProvider` resolves it inside the model Activity. As upstream, it applies to agents that set no model of their own. Upstream's docs say it overrides every agent's model, but its code and tests let an agent's own model win, and the plugin follows the code. The Python plugin follows the Python SDK, where the run's model wins.\n- `signal` is not supported. Use Temporal cancellation APIs, such as `CancellationScope`, to cancel Workflow work.\n- If the cancellation scope `run()` started in is cancelled, `run()` throws the `CancelledFailure`, and a streamed run fails with it, even if the run ended on a tool's output or failed another way. As upstream, an `agent.asTool()` tool returns a nested run's failure, including a cancelled model Activity, as its output, and with `toolUseBehavior: 'stop_on_first_tool'` the run ends on that output.\n\n### Upgrading open runs\n\nThe runner now runs your agents as written. Runs started on an earlier version pick up these changes as they continue, most with no replay error:\n\n- `runConfig.model` applies only to agents that set no model of their own. Agents that set one switch to it from their next model call.\n- A GPT-5 or newer agent that sets no `modelSettings` gets upstream's default settings for its model, such as `reasoning.effort` and `text.verbosity`, and explicit GPT-5 `providerData.reasoning` reaches the model. Set `modelSettings: {}` on the agent to send none. An agent that names no model, in a run without `runConfig.model`, gets the defaults for the Worker's default model (`OPENAI_DEFAULT_MODEL`), as upstream does in one process. If the Worker's model provider picks a model that isn't GPT-5 or newer for such an agent, for example on an OpenAI-compatible endpoint, set `OPENAI_DEFAULT_MODEL` on the Worker to that model, or give the agent `modelSettings: {}`.\n- An agent with a `prompt` template and no model or tools gets the template's model and tools. Before, the Worker's default model and an empty tool list replaced them.\n- A `SandboxAgent` that names no model, in a run without `runConfig.model`, also gets the defaults for the Worker's default model, but the run's `reasoning` and `text` settings win over them, where upstream lets the defaults win. Its compaction threshold follows `gpt-5.6-luna`, the Workflow's default model, unless the agent or `runConfig.model` names a model.\n- `Agent` subclass overrides, such as `getSystemPrompt`, run, and a `SandboxAgent`'s compaction threshold follows the model it or `runConfig.model` names.\n- Agent hooks (`agent.on(...)`) fire, and a custom `Handoff` hands off to the agent its callback returns.\n- Nested `agent.asTool()` runs share the parent's run context, so their context writes and usage add up in the parent's result. Their model calls use the runner's Activity options, including `useLocalActivity` and `cancellationType`.\n- As upstream, one `SandboxAgent` object serves one run at a time. A second concurrent run, or a second parallel call of its `asTool()` tool, fails with `SandboxAgent '...' cannot be reused concurrently across runs`. Create one `SandboxAgent` per concurrent run, or set `modelSettings: { parallelToolCalls: false }` on an agent that calls a sandbox agent's tool.\n- A run cancelled during a nested model call ends cancelled, where it failed before. So does a run with `stop_on_first_tool` whose tool caught its own Activity's cancellation, which completed before.\n- An upstream `Runner` can't run agents in a Workflow, even with your own Workflow-safe model provider; use `TemporalOpenAIRunner`.\n- A `RunState` passed to `run()` is resumed as it is, as upstream: its tools see your context objects, including a context given to `RunState.fromStringWithContext`, not a copy rebuilt from JSON; the state's own agents run, not the ones you pass to `run()`; and the resume doesn't list the agent's tools before the approved tools run. A failed resume run again from the same state continues where it failed, as upstream, and doesn't run the approved tools again; before, it ran them again.\n\nLet runs that use `agentAsTool` or `agent.asTool()`, `runConfig.model`, `useLocalActivity` or `cancellationType`, agent hooks, custom `Handoff` callbacks, a shared `SandboxAgent` or a `RunState` resume finish on the old Worker, or pin them to it with Worker Versioning. Upgrade the Workers that run model Activities before the Workers that run Workflows: an older Activity Worker drops the marker that lets a model leave out an implicit reasoning effort.\n\nA passing replay test of old histories doesn't show these runs are safe. Every model call is the same Activity type, and replay doesn't compare Activity inputs, so a run that now makes a different model call can replay without an error and continue with the wrong answer. Model calls are also scheduled a little later in a turn, so work started at the same time, such as another tool's Activity or a parallel branch, can swap places with them. Replay then fails with `[TMPRL1100]`, or, when both are model calls, each gets the other's recorded answer. Histories of runs cancelled during a nested model call, recorded before the upgrade, fail replay, because those runs now end cancelled. So do histories of runs that resumed a `RunState` and listed tools again, through an MCP server with `cacheToolsList: false` or a tool filter that awaits an Activity or timer; that used the context rebuilt from JSON; or that ran a failed resume again from the same state.\n\n`agentAsTool(agent, { toolName, toolDescription, customOutputExtractor })` is deprecated and will be removed in a later release. It returns `agent.asTool({ toolName, toolDescription, customOutputExtractor })`; call that instead. The alias also accepts an agent from another copy of `@openai/agents-core`, unless its class overrides `asTool()`. The runner rejects the `asTool()` tools of such agents, so moving them to `agent.asTool()` needs a single copy of the package. As upstream, a nested approval now pauses the parent run, where `agentAsTool` failed the run with `NestedAgentInterruption`: after `run()`, check `result.interruptions` when a nested agent has tools that need approval.\n\n### Run state and approvals\n\n`TemporalOpenAIRunner.run` accepts a `RunState` as the second argument, matching the upstream runner. This supports human approval flows that pause, wait for a Signal or Update, then continue as new.\n\n```ts\nimport { Agent, RunState, tool } from '@openai/agents-core';\nimport { TemporalOpenAIRunner } from '@temporalio/openai-agents/workflow';\nimport { condition, continueAsNew, defineSignal, setHandler } from '@temporalio/workflow';\n\nconst approveSignal = defineSignal('approve');\n\ninterface ApprovalInput {\n  resumeFromRunState?: string;\n}\n\nexport async function approvalWorkflow(input: ApprovalInput = {}): Promise<string> {\n  const action = tool({\n    name: 'dangerousAction',\n    description: 'Perform an action that needs approval',\n    parameters: {\n      type: 'object' as const,\n      properties: { reason: { type: 'string' } },\n      required: ['reason'] as const,\n      additionalProperties: false as const,\n    },\n    needsApproval: true,\n    execute: async (args) => `did: ${(args as { reason: string }).reason}`,\n  });\n\n  const agent = new Agent({\n    name: 'Approver',\n    instructions: 'Use dangerousAction when asked.',\n    model: 'gpt-4o-mini',\n    tools: [action],\n  });\n  const runner = new TemporalOpenAIRunner();\n\n  if (input.resumeFromRunState !== undefined) {\n    const state = await RunState.fromString(agent, input.resumeFromRunState);\n    for (const interruption of state.getInterruptions()) {\n      state.approve(interruption);\n    }\n    const resumed = await runner.run(agent, state);\n    return resumed.finalOutput ?? '';\n  }\n\n  let approved = false;\n  setHandler(approveSignal, () => {\n    approved = true;\n  });\n\n  const result = await runner.run(agent, 'please act');\n  if (result.interruptions.length === 0) return result.finalOutput ?? '';\n\n  await condition(() => approved);\n  await continueAsNew<typeof approvalWorkflow>({ resumeFromRunState: result.state.toString() });\n  throw new Error('unreachable');\n}\n```\n\nThe agent passed to `RunState.fromString` must define the same tool names, handoff graph, and MCP servers as the run that produced the serialized state.\n\n### Streaming\n\n> **Experimental** — streaming support is subject to change prior to General Availability.\n\nPass `{ stream: true }` to `run()` to stream incremental events as the model responds. The call returns the upstream `StreamedRunResult`, an async-iterable of agent-SDK stream events. Inside a Workflow, each model call executes as a streaming Activity (`invokeModelStreamActivity`) that consumes `Model.getStreamedResponse` and returns the collected list of native model events. The Workflow yields those events deterministically from the Activity's return value — it never polls the live stream, so replay stays deterministic.\n\nExternal consumers (UIs, tracing pipelines) observe events as they arrive by hosting a [`WorkflowStream`](../workflow-streams/README.md) in the Workflow and subscribing with `WorkflowStreamClient`. The streaming Activity publishes each event to the topic configured on `modelParams.streamingTopic`. The topic is required for streaming runs; calling `run(agent, input, { stream: true })` without a configured topic throws before any Activity is scheduled.\n\nStreaming requires a `streamingTopic`. Set it on the `modelParams` of the plugin registered on the **Client** — the Client interceptor injects the config header into every Workflow-starting call:\n\n```ts\nconst plugin = new OpenAIAgentsPlugin({\n  modelProvider: new OpenAIProvider(),\n  modelParams: { streamingTopic: 'events', streamingBatchInterval: '100ms' },\n});\n\nconst client = new Client({ connection, plugins: [plugin] });\n```\n\nWorkflows started without that Client — by a Schedule or the Temporal UI/CLI — receive no config header. Supply Workflow-authored defaults through the runner's `defaultModelParams`; unlike the header, these can carry a function-form `summary`. Host a `WorkflowStream` in the Workflow to receive the publishes:\n\n```ts\nimport { Agent } from '@openai/agents-core';\nimport { TemporalOpenAIRunner } from '@temporalio/openai-agents/workflow';\nimport { WorkflowStream } from '@temporalio/workflow-streams/workflow';\n\nexport async function streamingWorkflow(prompt: string): Promise<string> {\n  new WorkflowStream();\n  const agent = new Agent({ name: 'Assistant', instructions: '...' });\n  const runner = new TemporalOpenAIRunner({ defaultModelParams: { streamingTopic: 'events' } });\n  const result = await runner.run(agent, prompt, { stream: true });\n  for await (const event of result) {\n    if (event.type === 'raw_model_stream_event' && event.data.type === 'output_text_delta') {\n      // event.data.delta — incremental text\n    }\n  }\n  return result.finalOutput ?? '';\n}\n```\n\nThe two layers combine per field: the Client's `modelParams` overrides the runner's `defaultModelParams`.\n\nExternal subscribers receive the unwrapped native model events directly:\n\n```ts\nimport { WorkflowStreamClient } from '@temporalio/workflow-streams/client';\n\nfor await (const item of WorkflowStreamClient.create(client, workflowId).topic('events').subscribe()) {\n  // item.data — native model stream event\n}\n```\n\nThe hosted `WorkflowStream` retains every published event on the Workflow heap and in history until `truncate(upToOffset)` is called. A streaming agent publishes many events per run, so a long-running or high-volume Workflow that never truncates will eventually hit Temporal's Workflow history size limits. Call `truncate(upToOffset)` periodically to keep the heap and history bounded; see [`@temporalio/workflow-streams`](../workflow-streams/README.md) for the offset model and batching.\n\nStreaming is incompatible with `useLocalActivity`, which supports neither Activity heartbeats nor the Workflow Stream signal channel. See [`@temporalio/workflow-streams`](../workflow-streams/README.md) for the publisher/subscriber API and delivery semantics.\n\n### Sessions\n\nUse `WorkflowSafeMemorySession` for conversation history stored on the Workflow heap and rebuilt by replay. This replaces the upstream `MemorySession`, which is not replay safe because it depends on host process state.\n\n```ts\nimport { Agent } from '@openai/agents-core';\nimport { TemporalOpenAIRunner, WorkflowSafeMemorySession } from '@temporalio/openai-agents/workflow';\n\nexport async function chatWorkflow(prompts: string[]): Promise<string[]> {\n  const agent = new Agent({\n    name: 'ChatAgent',\n    instructions: 'Use the conversation history to answer.',\n    model: 'gpt-4o-mini',\n  });\n  const runner = new TemporalOpenAIRunner();\n  const session = new WorkflowSafeMemorySession();\n\n  const replies: string[] = [];\n  for (const prompt of prompts) {\n    const result = await runner.run(agent, prompt, { session });\n    replies.push(result.finalOutput ?? '');\n  }\n  return replies;\n}\n```\n\n`WorkflowSafeMemorySession` history lives on the Workflow heap and is rebuilt by replay within a single run. It does **not** automatically survive `continueAsNew` — a continued run starts with an empty session. To carry history across a continue-as-new boundary, capture the items and re-seed the new run's session via the constructor's `initialItems`:\n\n```ts\n// 1. Before continuing, capture the current history:\nconst items = await session.getItems();\nawait continueAsNew(/* ...your Workflow args..., */ items);\n\n// 2. The continued run declares a Workflow parameter to receive those items,\n//    and re-seeds the session from them:\nconst session = new WorkflowSafeMemorySession({ initialItems: items });\n```\n\n## Worker and Client plugin setup\n\nThe Worker plugin does five things:\n\n- Registers the model Activity used by Workflow-side model calls.\n- Registers Activities for configured MCP server providers.\n- Registers Activities for configured sandbox client providers, and runs a Worker for each `OnHostSandboxClientProvider`.\n- Adds Workflow, Activity, and Nexus interceptors for trace propagation.\n- Installs Workflow bundle polyfills required by the OpenAI Agents SDK.\n\nThe model Activities are named `invokeModelActivity` and `invokeModelStreamActivity`. Provider Activity names start with the provider's name, such as `<name>-stateless-call-tool`. A different Activity with one of these names now fails with `Duplicate registration of Activity '<name>'`; earlier versions kept the last one without a warning. If it is registered before `OpenAIAgentsPlugin` (in the Worker's `activities` or by an earlier plugin), `Worker.create` fails. If a plugin applied after `OpenAIAgentsPlugin` replaces one, `worker.run()` fails before the Worker polls. `Worker.create` applies the Worker's `plugins` in order, then the `NativeConnection`'s. A plugin applied after `OpenAIAgentsPlugin` that wraps these Activities counts as replacing them; wrap Activity execution with an Activity interceptor (`interceptors.activity`) instead.\n\nAnother `OpenAIAgentsPlugin`'s Activity counts as the same only when it was built from the same objects: the same `modelProvider` and `hostedToolCredentials` for the model Activities, and the same provider for a provider's Activities. So one instance on both the `NativeConnection` and the Worker, or two instances built from one options object, still start, while two instances with equal but separate providers fail.\n\nThe Client plugin injects the OpenAI Agents config header into Workflow-starting calls. Attach one `OpenAIAgentsPlugin` instance per Client or Connection configuration. If multiple instances are chained, the last config header wins.\n\n`modelParams` controls scheduling for the model Activity:\n\n```ts\nconst plugin = new OpenAIAgentsPlugin({\n  modelProvider: new OpenAIProvider(),\n  modelParams: {\n    startToCloseTimeout: '30s',\n    retry: { maximumAttempts: 5, initialInterval: '1s' },\n    useLocalActivity: false,\n  },\n});\n```\n\nSee `ModelActivityOptions` for the public field list. `summary` can be a string in plugin config; `ModelSummaryProvider` functions are intentionally not serialized into Workflow headers.\n\nThe model Activities get a 10-second `heartbeatTimeout` by default. They heartbeat every half timeout, starting half the timeout into the call, so a call that ends sooner sends no heartbeat. Set `heartbeatTimeout` in `modelParams` or the runner's `defaultModelParams` to change it, or set it to `0` to turn heartbeats off. Local Activities don't heartbeat.\n\nThe heartbeat timeout counts from the start of the attempt, and the Worker encodes each heartbeat with your payload codecs before sending it. So the first heartbeat arrives after the Worker's startup work for the attempt (interceptors and payload decoding), plus half the timeout, plus the encoding time. Startup and encoding together must comfortably fit in the other half: under 5 seconds with the default. If they can take longer, such as with a codec that calls a remote key service, raise `heartbeatTimeout` to more than twice that time, or set it to `0`. Otherwise a healthy model call longer than half the timeout fails with a heartbeat timeout on every attempt.\n\n## Tools\n\nInline function tools, hosted tools, Activity-backed tools, Nexus operation tools, nested agent tools, and MCP tools can all be used from a Temporal-backed agent. Any tool that does I/O must run outside the Workflow sandbox, usually through an Activity or Nexus Operation.\n\n### Activity-backed tools\n\nUse `activityAsTool` for HTTP calls, database access, file system work, or other I/O. The tool name must match a registered Activity.\n\n```ts\nimport { Agent } from '@openai/agents-core';\nimport { activityAsTool } from '@temporalio/openai-agents/workflow';\nimport type * as activities from './activities';\n\nconst weatherTool = activityAsTool<typeof activities.getWeather>(\n  {\n    name: 'getWeather',\n    description: 'Get the weather for a city',\n    parameters: {\n      type: 'object',\n      properties: { location: { type: 'string' } },\n      required: ['location'],\n      additionalProperties: false,\n    },\n  },\n  {\n    startToCloseTimeout: '10s',\n    retryPolicy: { maximumAttempts: 3 },\n  }\n);\n\nconst agent = new Agent({\n  name: 'WeatherAgent',\n  instructions: 'Use the getWeather tool when asked about weather.',\n  model: 'gpt-4o-mini',\n  tools: [weatherTool],\n});\n```\n\nThe generic type is compile-time only. At runtime the Activity is invoked by name through `proxyActivities`.\n\n### Inline and hosted tools\n\nFor deterministic computation, use `tool()` from `@openai/agents-core` directly. Inline tools run in the Workflow sandbox and must not perform I/O, consume nondeterministic randomness, or read wall-clock time beyond Temporal's deterministic replacements.\n\nHosted tools from `@openai/agents-openai`, such as `webSearchTool()`, run server-side through the model provider during the model Activity.\n\n```ts\nimport { Agent, tool } from '@openai/agents-core';\nimport { webSearchTool } from '@openai/agents-openai';\n\nconst addNumbers = tool({\n  name: 'addNumbers',\n  description: 'Add two numbers',\n  parameters: {\n    type: 'object' as const,\n    properties: { a: { type: 'number' }, b: { type: 'number' } },\n    required: ['a', 'b'] as const,\n    additionalProperties: false as const,\n  },\n  execute: async (args) => String((args as { a: number; b: number }).a + (args as { a: number; b: number }).b),\n});\n\nconst agent = new Agent({\n  name: 'SearchAgent',\n  instructions: 'You have web search and arithmetic.',\n  model: 'gpt-4o-mini',\n  tools: [addNumbers, webSearchTool()],\n});\n```\n\n### Nexus operation tools\n\nUse `nexusOperationAsTool` to expose a [Nexus](https://docs.temporal.io/nexus) Operation as an agent tool. The Workflow starts the Operation through a Nexus client and feeds the stringified result back to the agent.\n\n```ts\nimport { Agent } from '@openai/agents-core';\nimport { nexusOperationAsTool } from '@temporalio/openai-agents/workflow';\nimport * as nexus from 'nexus-rpc';\n\nconst weatherService = nexus.service('weather', {\n  getWeather: nexus.operation<{ location: string }, { tempC: number }>(),\n});\n\nconst weatherTool = nexusOperationAsTool(\n  weatherService.operations.getWeather,\n  {\n    name: 'getWeather',\n    description: 'Get the weather for a city',\n    parameters: {\n      type: 'object',\n      properties: { location: { type: 'string' } },\n      required: ['location'],\n      additionalProperties: false,\n    },\n  },\n  { service: weatherService, endpoint: 'weather-endpoint' }\n);\n\nconst agent = new Agent({\n  name: 'WeatherAgent',\n  instructions: 'Use the weather tool.',\n  model: 'gpt-4o-mini',\n  tools: [weatherTool],\n});\n```\n\n### Nested agent tools\n\nUse the framework's `agent.asTool()` to expose another `Agent` as a tool. The nested run happens in the Workflow, and its model calls are model Activities, like the parent's:\n\n```ts\nimport { Agent } from '@openai/agents-core';\n\nconst specialist = new Agent({\n  name: 'Specialist',\n  instructions: 'Answer precisely.',\n  model: 'gpt-4o-mini',\n});\n\nconst triage = new Agent({\n  name: 'Triage',\n  instructions: 'Delegate specialist questions.',\n  model: 'gpt-4o-mini',\n  tools: [\n    specialist.asTool({\n      toolName: 'ask_specialist',\n      toolDescription: 'Ask the specialist agent',\n    }),\n  ],\n});\n```\n\nAs in the framework, the nested run takes the run's `model` (for agents that set none) and `modelSettings`, without `toolChoice` and `parallelToolCalls`, and shares the parent's run context, so its context writes and usage add up in the parent. It doesn't take `traceIncludeSensitiveData`, guardrails or `handoffInputFilter`; in particular, its traces include tool inputs and outputs unless you set `runConfig: { traceIncludeSensitiveData: false }` in `asTool()`'s options. Its model Activities use the same options as the runner's. A nested approval pauses the parent run: approve it on the parent's `result.state` and resume, as in [Run state and approvals](#run-state-and-approvals).\n\n`asTool({ onStream })`, or a handler added with the tool's `on(...)`, makes the nested run stream. That needs the runner's `streamingTopic` and a hosted `WorkflowStream`, as in [Streaming](#streaming); otherwise the nested run fails, and the tool's output is the generic error below. Its events go to the parent's topic, without the nested agent's name.\n\nAs upstream, the tool returns a nested run's failure to the parent model as its output, the fixed text `An error occurred while running the tool.`, without the error or its cause. This includes model Activity failures that are not retried, such as an authentication error, model Activity timeouts, the plugin's checks in the nested run below, and a nested `SandboxAgent` in a run without `runConfig.sandbox`. The parent model may call the tool again until the run reaches `maxTurns`. A `ModelSummaryProvider` gets the agent of each model call, nested ones included.\n\nThe framework doesn't expose the agent behind an `asTool()` tool, so the plugin records it: in the Workflow, before your Workflow module loads, it wraps `Agent.prototype.asTool`. The runner uses that record to check the nested agent before the run. Create these tools in Workflow code with `agent.asTool()`. Copies, such as the ones `toolNamespace()` makes, keep the record, and a nested approval behind one resumes when you pass `result.state` back to `run()`. But the framework's `RunState.fromString` finds a nested agent only through the tool `asTool()` returned, so after it, as after `continueAsNew`, a nested approval behind a copy stays pending. The runner rejects an `asTool()` tool it can't trace back to its agent: one made by an agent from another copy of `@openai/agents-core`, or one created outside a Worker with the plugin before `@temporalio/openai-agents/workflow` was imported.\n\nThe runner rejects nested setups that would run model calls or sandbox operations in the Workflow:\n\n- a nested agent, or an agent it hands off to, with a `Model` object instead of a model name;\n- `asTool({ runConfig: { modelProvider } })`, even `modelProvider: undefined`, which removes the runner's provider; or a `Model` object as `runConfig.model`;\n- a `runConfig.sandbox` or `runOptions.sandbox` whose client isn't from `temporalSandboxClient(name)`, or whose live `session` isn't from such a client;\n- a `MemorySession` as `runOptions.session`.\n\nThe runner also checks each agent just before it calls its model. This covers agents the check before the run can't see: one that a custom `Handoff`'s callback returns, or one that an `agent.on(...)` listener changes. Its model must be a name, and its `asTool()` tools must pass the checks above. In the outer run, the run fails. In a nested run, the tool fails with upstream's generic output, and the model isn't called. The check wraps `Agent.prototype.getSystemPrompt`, which the framework calls once per model call, so an `Agent` subclass that overrides it must call `super.getSystemPrompt()`. An agent from another copy of `@openai/agents-core`, such as one a dependency brings, is checked the same way: the runner wraps that copy's `Agent.prototype.getSystemPrompt` before the agent's first model call. Its `asTool()` tools are rejected, because the plugin records only its own copy's tools.\n\nThe framework reads an `asTool()` tool's `runConfig` and `runOptions` only when the nested run starts, after the tool's `parameters` schema, its `inputBuilder` and any `agent_tool_start` listener ran. So the plugin also checks each run as it starts, by wrapping `Runner.prototype.run` in the Workflow: the run's model provider must be the runner's, its `runConfig.model` a name, its session not a `MemorySession`, and its sandbox config must pass the checks above. A nested run that fails this check doesn't start, and the tool fails with upstream's generic output. The run then uses a frozen copy of its sandbox config, so a later change to your object, for example in an `agent_start` listener, doesn't reach it. Because of this check, an upstream `Runner` can't run agents in a Workflow; use `TemporalOpenAIRunner`.\n\n## MCP servers\n\nThe integration supports stateless and stateful [Model Context Protocol](https://modelcontextprotocol.io/) servers.\n\nBoth providers require a factory function, and refuse anything else with a `TypeError` when you create them, so the Worker doesn't start. They also require factories to return a server with callable `connect`, `close`, `listTools` and `callTool` methods. An invalid result fails the Activity with a non-retryable `ApplicationFailure` of type `MCPServerFactoryTypeError` before the server is connected or registered. Plain objects implementing these methods are accepted. A partial server that previously worked for one operation must now provide all four methods. Other invalid results previously failed with ordinary runtime errors that could be retried. Fix these factories before upgrading: deploying a corrected Worker will not automatically resume an Activity that has already failed.\n\n### Stateless MCP servers\n\nUse stateless servers when each tool call is independent. Register a provider on the Worker:\n\n```ts\nimport { MCPServerStreamableHttp } from '@openai/agents-core';\nimport { OpenAIProvider } from '@openai/agents-openai';\nimport { OpenAIAgentsPlugin, StatelessMCPServerProvider } from '@temporalio/openai-agents';\n\nconst unitConversionMcp = new StatelessMCPServerProvider(\n  'unitConversion',\n  (factoryArgument?) =>\n    new MCPServerStreamableHttp({ name: 'unitConversion', url: 'https://mcp.example.com/unit-conversion' })\n);\n\nconst plugin = new OpenAIAgentsPlugin({\n  modelProvider: new OpenAIProvider(),\n  mcpServerProviders: [unitConversionMcp],\n});\n```\n\nReference the same provider name from Workflow code:\n\n```ts\nimport { Agent } from '@openai/agents-core';\nimport { statelessMcpServer, TemporalOpenAIRunner } from '@temporalio/openai-agents/workflow';\n\nexport async function mcpWorkflow(query: string): Promise<string> {\n  const agent = new Agent({\n    name: 'UnitConverter',\n    instructions: 'Use unit conversion tools to answer questions.',\n    model: 'gpt-4o-mini',\n    mcpServers: [statelessMcpServer('unitConversion')],\n  });\n\n  const result = await new TemporalOpenAIRunner().run(agent, query);\n  return result.finalOutput ?? '';\n}\n```\n\n### Stateful MCP servers\n\nUse stateful servers when a persistent connection or session is required. The plugin starts a dedicated in-process Worker pinned to a per-run Task Queue and routes MCP operations to it.\n\n```ts\nimport { MCPServerStreamableHttp } from '@openai/agents-core';\nimport { OpenAIProvider } from '@openai/agents-openai';\nimport { OpenAIAgentsPlugin, StatefulMCPServerProvider } from '@temporalio/openai-agents';\nimport { NativeConnection } from '@temporalio/worker';\n\nconst connection = await NativeConnection.connect();\nconst dbMcp = new StatefulMCPServerProvider(\n  'database',\n  (factoryArgument?) => new MCPServerStreamableHttp({ name: 'database', url: 'https://mcp.example.com/database' }),\n  connection\n);\n\nconst plugin = new OpenAIAgentsPlugin({\n  modelProvider: new OpenAIProvider(),\n  mcpServerProviders: [dbMcp],\n});\n```\n\nIn the Workflow, call `connect()` before use and `cleanup()` in a `finally` block:\n\n```ts\nimport { Agent } from '@openai/agents-core';\nimport { statefulMcpServer, TemporalOpenAIRunner } from '@temporalio/openai-agents/workflow';\n\nexport async function statefulMcpWorkflow(prompt: string): Promise<string> {\n  const server = statefulMcpServer('database');\n  await server.connect();\n  try {\n    const agent = new Agent({\n      name: 'DbAgent',\n      instructions: 'You have database access.',\n      model: 'gpt-4o-mini',\n      mcpServers: [server],\n    });\n    const result = await new TemporalOpenAIRunner().run(agent, prompt);\n    return result.finalOutput ?? '';\n  } finally {\n    await server.cleanup();\n  }\n}\n```\n\nDedicated Worker startup and heartbeat failures surface as `ApplicationFailure` type (exported as `DEDICATED_WORKER_FAILURE_TYPE`).\n\nTemporal cannot recreate a stateful server's session on another Worker. If its session Activity is retried after the server connected, for example after a lost host with `serverSessionConfig.heartbeatTimeout` or after the session Activity's start-to-close timeout, the retry fails with a non-retryable `ApplicationFailure` of that type instead of connecting a new server with an empty session, and `cleanup()` then throws an `ApplicationFailure` of that type whose cause is the session Activity's `ActivityFailure`, unless the scope that called `cleanup()` or `connect()`, or a scope around `cleanup()` but not around `connect()`, is cancelled, as when the Workflow is cancelled. After a Workflow catches a cancellation, its root scope stays cancelled, so for the rest of the run `cleanup()` throws no refusal for a server connected outside `CancellationScope.nonCancellable()`, even from a non-cancellable scope; and with the agent SDK's default tool error handling, an MCP tool call that fails with `DedicatedWorkerFailure` becomes tool output for the model, so such a refusal can go unseen. To recover, catch it and connect a new server, which starts a new, empty session (but see the note on servers with the same name below). A retry after a failed factory call, a failed first `connect()`, or a Worker shutdown before the server connected connects again. A retry after a lost host or a timed-out attempt fails even when the server never connected: the Worker sends heartbeats later, and the plugin cannot wait for one, so every heartbeat says a session may be open until the attempt ends without one. Before it connects, the session Activity reads its Workflow's description (`DescribeWorkflowExecution`) until the Temporal Server shows its first heartbeat, so the Worker's client needs permission to describe the Workflow; without it, the session Activity fails with a non-retryable `DedicatedWorkerFailure` that says so. Other describe errors are retried, and the session Activity's last failure carries them. A graceful shutdown of the session's Worker, as in a deploy, ends the session Activity rather than retrying it, so `cleanup()` doesn't throw, and the server's later operations fail with `DedicatedWorkerFailure`.\n\nSome consequences:\n\n- The session Activity's `serverSessionConfig.startToCloseTimeout`, one hour by default, is the longest a server can stay connected, since the attempt then times out and its retry is refused. Raise it for long runs, such as ones that wait for a person, and set a `heartbeatTimeout` to notice a lost Worker sooner.\n- An Activity reset or unpause with `resetHeartbeat` clears the session's heartbeat details, so the next attempt connects a new, empty server. A Workflow reset to a point where the server is connected also gives the new run a new, empty server, with no error.\n- Sessions started on an earlier version left no such heartbeat details, so the deploy of this version can still give an open session a new, empty server one last time.\n- Code that caught `ActivityFailure` from `cleanup()`, which earlier versions threw when the session failed, must also catch the `ApplicationFailure` of type `DedicatedWorkerFailure` that it now throws after a refusal. A session that fails for another reason still makes `cleanup()` throw the `ActivityFailure`.\n- The session Activity's heartbeats go through your payload codecs, so its `heartbeatTimeout` must comfortably exceed a heartbeat's encoding time. Encoding time also delays each server's first operation, so keep it well under the 30 seconds the session Activity waits for its first heartbeat, and under the operations' `scheduleToStartTimeout`. The Worker sends a failed Activity's result only after its last heartbeat, so an `encode` that never returns keeps the session Activity's attempt from ending and a Worker shutdown from finishing; the plugin can't bound this.\n- Servers with the same name in one run use the same Task Queue. After `cleanup()`, the session Activity stops only once a heartbeat response tells it about the cancellation: about one heartbeat interval with a `heartbeatTimeout`, and without one possibly not before the run ends. Until then it serves the operations of a new server with the same name, with the earlier server, and the new server's own session Activity fails because one is already running. The other way round, an earlier server's call that is still queued when `cleanup()` runs can later run with a new server of the same name, unless its `scheduleToStartTimeout` is 0. Give each server in a run a distinct name.\n\nOnly the session Activity's Worker serves the server's operations. With a schedule-to-start timeout (the default `config.scheduleToStartTimeout` is 30 seconds), an operation fails with `DedicatedWorkerFailure` when it expires. With `scheduleToStartTimeout: 0`, an operation fails with `DedicatedWorkerFailure` as soon as the session Activity has ended, for example after a graceful shutdown of its Worker, and an operation still waiting then is cancelled. A caller's own cancellation still cancels the operation, and wins over the session's end.\n\nRuns recorded on 1.x schedule such operations without watching the session, and some of them fail replay on this version, such as a run whose caller cancelled operations on two servers while one of them had `scheduleToStartTimeout: 0`. A run whose session failed with `DedicatedWorkerFailure` (a refused retry or a refused describe) and that then went on can fail replay on an earlier version, so do not roll back while such runs are open. Drain the earlier version's Workers before starting this one: while Workers of both versions run, a run whose session gets a refusal can fail replay when it moves from one to the other.\n\n### MCP tool filters\n\nA static `toolFilter` on the server your factory returns, such as `createMCPToolStaticFilter({ blocked: ['delete_file'] })`, applies in the list-tools Activity, so the model is not offered a blocked tool. The filter applies only to the tool list: a run that listed tools before the Worker was upgraded keeps that list while it is cached.\n\nA callable filter gets the agent and the run context, which exist only in the Workflow, so the Worker refuses one on the factory's server: every list-tools and call-tool Activity for that server fails with a non-retryable `ApplicationFailure` of type `MCPToolFilterUnsupported` (exported as `TOOL_FILTER_UNSUPPORTED_TYPE`). A new run fails at its first list-tools Activity. A `statelessMcpServer()` run that listed tools on an older Worker instead gets a tool error, which the model reads, for each call to that server, and the run keeps going. So remove the callable filter from the factory's server before you upgrade Workers. Pass it as the `toolFilter` option of `statelessMcpServer()` or `statefulMcpServer()` instead:\n\n```ts\nconst server = statelessMcpServer('files', {\n  toolFilter: async ({ agent }, tool) => tool.name !== 'delete_file' || agent.name === 'FileAdmin',\n});\n```\n\nThe agent applies this option in the Workflow each time it lists tools; the handle caches the server's full tool list, not the filtered one. A callable filter runs for each tool on every listing, gets the name the server was registered with as `serverName`, and must be deterministic. An Activity or timer it awaits adds commands that older plugin versions never schedule, so let Workflows that use the option finish before you roll the plugin back. A filter assigned to a stateful handle later (`server.toolFilter = ...`) gets the handle's internal name, `<name>-stateful`. A callable filter also runs when a run resumes from a `RunState`, for example after a tool approval. A state from `RunState.fromString`, as after `continueAsNew`, has the context rebuilt from JSON: plain objects, without class methods. A filter that throws while `RunState.fromString` lists tools makes that call throw its error; during a resume in `run()`, the run fails with an `AgentsWorkflowError`.\n\nBecause the handle caches the full list, the agent SDK's `invalidateServerToolsCache(name)` does not refresh a handle that has a filter. Call the handle's `invalidateToolsCache()` as well, which also works on older plugin versions. On older versions, `invalidateServerToolsCache(name)` alone refreshed a stateful handle with a `toolFilter` property assigned. Such a run schedules one list-tools Activity fewer on this version and fails replay, so let it finish before you upgrade.\n\nOlder versions also let the agent SDK cache the filtered list of a handle with a `toolFilter` property assigned, per server and agent name, so a later run with another context got the first run's tools. This version filters every listing for its own run. A run that started on an older version, whose filter depends on the run context, and that called a tool the filter now removes fails replay on this version. Let such runs finish before you upgrade.\n\n### MCP request metadata\n\nA `toolMetaResolver` builds each tool call's MCP `_meta` from the run context, which exists only in the Workflow. Pass it as the `toolMetaResolver` option of `statelessMcpServer()` or `statefulMcpServer()`; it runs in Workflow code and must be deterministic. The call-tool Activity passes its result to the server's `callTool`. The Worker can't run a `toolMetaResolver` on the factory's server, so it refuses one: every list-tools and call-tool Activity for that server fails with a non-retryable `ApplicationFailure` of type `MCPToolMetaResolverUnsupported` (exported as `TOOL_META_RESOLVER_UNSUPPORTED_TYPE`).\n\n```ts\nconst server = statelessMcpServer('tickets', {\n  toolMetaResolver: ({ runContext }) => ({ tenant: (runContext.context as { tenant: string }).tenant }),\n});\n```\n\nA resolver also runs for tool calls after a run resumes from a `RunState`, for example after a tool approval. A state from `RunState.fromString`, as after `continueAsNew`, has the context rebuilt from JSON: plain objects, without class methods. If it throws there, the model gets a tool error and the server isn't called.\n\nA new run with a `toolMetaResolver` on the factory's server fails at its first list-tools Activity. A `statelessMcpServer()` run that listed tools on an older Worker instead gets a tool error, which the model reads, for each call to that server, and the run keeps going. So remove the `toolMetaResolver` from the factory's server before you upgrade Workers.\n\nThe `_meta` values are recorded in the call-tool Activity input in Workflow History, so don't put secrets in them.\n\nA call-tool Activity that runs on a Worker with an older plugin version drops the `_meta`, and nothing fails. Upgrade every Worker that runs the call-tool Activities, including Workers on a `taskQueue` you pass to `statelessMcpServer()`, before Workflows rely on `_meta`, or use Worker Versioning.\n\nPlugin versions before this option ignore it and don't run its resolver. An older version can replay a History only if it produces the same Workflow commands in the same order, and a resolver passed as this option can change them even when it is synchronous and never fails: the agent awaits it, which can reorder the Activities of parallel tool calls, and its changes to the run context can change later commands. An older version fails such a History with a nondeterminism error (`TMPRL1100`). Before you roll Workers back to an older plugin version, let the Workflows that use this option finish. Workflows with no resolver, or with a resolver set on the handle itself (`server.toolMetaResolver = ...`), run the same resolver code on older versions, so this option doesn't change their commands. On a `statefulMcpServer()` handle, a resolver set this way gets the handle's internal name, `<name>-stateful`, as `serverName`; the option gets `<name>`.\n\nAdding a resolver to a Workflow that has open runs, including moving one off the factory's server, can fail their replay for the same reasons, so guard the change with `patched()` or let those runs finish first.\n\n## Sandbox agents\n\n> **Experimental** — sandbox support is subject to change prior to General Availability.\n\nAn OpenAI Agents SDK `SandboxAgent` runs commands, edits files, and keeps a workspace inside a sandbox. This plugin dispatches each of those operations as an Activity.\n\nRegister a hosted backend, such as E2B or Daytona from `@openai/agents-extensions`, with `SandboxClientProvider`. Any Worker can serve its sandboxes. The Docker and Unix-local backends run the sandbox on the Worker's own machine, where other Workers can't reach it, so register them with `OnHostSandboxClientProvider` instead, with one Worker or several. `SandboxClientProvider` refuses them.\n\nA process started by `exec` outlives the Worker holding a hosted session only if the backend can reconnect it after `resume`.\n\nChanging a sandbox agent's configuration (environment, folder grants, mounts) while runs that use it are paused for approval isn't supported, with either provider.\n\nIn-container mounts that need `withInContainerMountCredentialExposureAcknowledged()` or `withInContainerMountBroadCredentialExposureAcknowledged()` on the manifest aren't supported, because that acknowledgement never reaches the Worker. A sandbox with any other in-container mount, or a mount upstream can't verify after persistence, needs the Worker that created it, even on a hosted backend, because upstream refuses to resume such a session.\n\nRegister your sandbox backend client under a name on the Worker plugin. This example uses Docker:\n\n```ts\nimport { DockerSandboxClient } from '@openai/agents-core/sandbox/local';\nimport { OpenAIProvider } from '@openai/agents-openai';\nimport { OnHostSandboxClientProvider, OpenAIAgentsPlugin } from '@temporalio/openai-agents';\n\nconst plugin = new OpenAIAgentsPlugin({\n  modelProvider: new OpenAIProvider(),\n  sandboxClientProviders: [\n    new OnHostSandboxClientProvider('docker', new DockerSandboxClient(), { workerName: 'build-box-1' }),\n  ],\n});\n```\n\nReference the same provider name from Workflow code:\n\n```ts\nimport { SandboxAgent, shell } from '@openai/agents-core/sandbox';\nimport { TemporalOpenAIRunner, temporalSandboxClient } from '@temporalio/openai-agents/workflow';\n\nexport async function sandboxWorkflow(prompt: string): Promise<string> {\n  const agent = new SandboxAgent({\n    name: 'Coder',\n    model: 'gpt-4o-mini',\n    capabilities: [shell()],\n  });\n\n  const result = await new TemporalOpenAIRunner().run(agent, prompt, {\n    runConfig: { sandbox: { client: temporalSandboxClient('docker') } },\n  });\n  return result.finalOutput ?? '';\n}\n```\n\n### Docker and Unix-local sandboxes\n\n`OnHostSandboxClientProvider` pins each sandbox to the Worker process that created it. Any Worker can create a sandbox, and every later operation on it goes to the Task Queue `<Task Queue>/<provider name>@<workerName>`, where `<Task Queue>` is the queue of the Worker that created it. The plugin polls that queue with an extra Worker beside each of your Workers, started and stopped with it, and the extra Worker takes your Worker's Activity concurrency, rate limits and shutdown grace and force times. `workerName` defaults to the machine's hostname.\n\nWorkers in one process can share a `workerName`, but processes on one machine that serve the same Task Queue each need their own, and the old process must exit before its restart starts the new one. No other plugin runs on the extra Worker, so with an `OnHostSandboxClientProvider`, register your other plugins on the Worker (`Worker.create` `plugins`), not the `NativeConnection`; `Worker.create` refuses them there. A restarted Worker polls the same queue but no longer holds its sandboxes, so the next operation on one, even in a run paused for approval, fails with the non-retryable `ApplicationFailure` type `SandboxLost`. The plugin never starts a fresh sandbox in its place and doesn't clean up the containers and workspaces left behind. If a Worker never comes back, its runs' operations wait on its queue; set `scheduleToStartTimeout` in the options you pass to `temporalSandboxClient()` to bound that wait.\n\nBefore any Worker switches a provider to `OnHostSandboxClientProvider`, every Worker running these Workflows must run a plugin release that has it, so that each Workflow Task sends operations to the sandbox's queue. Switching a provider loses its open runs' sandboxes, like a restart.\n\n## Credentials\n\nA credential written into an Activity argument stays in Workflow history. Leave it out of Workflow code and supply it on the Worker instead.\n\nDeclare the tool in Workflow code:\n\n```ts\nimport { Agent, hostedMcpTool } from '@openai/agents-core';\n\nconst docsTool = hostedMcpTool({ serverLabel: 'docs', serverUrl: 'https://mcp.example.com' });\nconst agent = new Agent({ name: 'DocsAgent', model: 'gpt-4o-mini', tools: [docsTool] });\n```\n\nSupply the credential on the Worker:\n\n```ts\nimport { OpenAIProvider } from '@openai/agents-openai';\nimport { OpenAIAgentsPlugin } from '@temporalio/openai-agents';\n\nconst plugin = new OpenAIAgentsPlugin({\n  modelProvider: new OpenAIProvider(),\n  hostedToolCredentials: (identity) => {\n    if (identity.tool !== 'hostedMcp' || identity.serverLabel !== 'docs') return undefined;\n    const authorization = process.env.DOCS_MCP_TOKEN;\n    if (!authorization) throw new Error('DOCS_MCP_TOKEN is not set on this Worker');\n    return { authorization };\n  },\n});\n```\n\nFor sandbox Manifest environment values, `workerEnvValue(name)` names an allowlisted Worker environment variable that only the Worker resolves.\n\n```ts\nimport { workerEnvValue } from '@temporalio/openai-agents/workflow';\nimport { Manifest } from '@openai/agents-core/sandbox';\n\nconst manifest = new Manifest({ environment: { DB_PASSWORD: workerEnvValue('WORKER_DB_PASSWORD') } });\n```\n\nAllow the variable on the Worker plugin with `resolvableWorkerEnvVars: ['WORKER_DB_PASSWORD']`.\n\n## Tracing\n\nOpenAI Agents SDK tracing works across Client, Workflow, Activity, Nexus, and MCP boundaries. Workflow replay does not duplicate spans.\n\n### OpenAI hosted traces\n\nEnable the upstream hosted exporter before constructing the plugin:\n\n```ts\nimport { OpenAITracingExporter } from '@openai/agents-openai';\nimport { addTraceProcessor, BatchTraceProcessor } from '@openai/agents-core';\n\naddTraceProcessor(new BatchTraceProcessor(new OpenAITracingExporter()));\n```\n\n**Register this processor in the Worker process, not inside Workflow code.**\n\n**Warning**: Using `setDefaultOpenAITracingExporter()` after constructing the plugin will break plugin internals. Either call it before constructing the plugin, or use `addTraceProcessor` as described above.\n\n### Tracing keys per run\n\nThe exporter sends each span with its trace's key, or with its default key (`OPENAI_API_KEY` or `setTracingExportApiKey()`) when the trace has none. A trace's own tracing key, set with `tracing: { apiKey }` on a run or `tracingApiKey` on a trace, is not supported. The plugin passes traces to Workflows, Activities and Nexus handlers in headers, which are stored in Event History, so it cannot pass the key, and their spans would be exported with another key. In Workflow code, `TemporalOpenAIRunner.run` with `tracing: { apiKey }` or inside such a trace, `agent.asTool()` with `tracing: { apiKey }` in its `runConfig` or `runOptions`, and `withTrace(name, fn, { tracingApiKey })`, throw. A key set on those options later fails the nested run, and the tool fails with upstream's generic output. Starting, signaling, querying or updating a Workflow, or scheduling an Activity, child Workflow or Nexus operation, under such a trace throws too. Set the tracing key on every Client and Worker process instead. An Activity or Nexus handler called under a trace runs in the trace the plugin restored there: an agent run joins it and ignores `tracing: { apiKey }`, and the Worker's `tracingApiKey` option gives its spans a key. When the caller had no trace, the run starts its own trace and keeps `tracing: { apiKey }`, and the resolver is not called. A trace that the Activity or handler starts itself, with `withTrace(name, fn, { tracingApiKey })`, keeps its key in both cases; it is separate from the Workflow's trace, and Temporal calls under it throw. A run that used such a key in Workflow code before you deploy this version gets the error when it replays: let those runs finish first, or use Worker Versioning.\n\nTo use a different key per run, resolve it on the Worker with `tracingApiKey`. The plugin calls it for Workflow spans, and for spans made in Activities (including stateful MCP operations) and Nexus handlers under the trace the plugin restored there. It gets the trace ID, and when known the trace name and the Workflow ID and type, and returns a key or `undefined` for the default:\n\n```ts\nconst plugin = new OpenAIAgentsPlugin({\n  modelProvider: new OpenAIProvider(),\n  tracingApiKey: ({ workflowId }) => (workflowId?.startsWith('tenant-a-') ? tenantATracingKey : undefined),\n});\n```\n\nThe resolver runs only on Workers. A trace that a Client starts, and the spans the Client makes in it, keep the Client's default key. To keep a run under one key, start the Workflow outside a Client trace, so that the run starts its own trace, or have the resolver return the Client's key for that trace.\n\n### OpenTelemetry\n\nInstall `@opentelemetry/sdk-trace-base` before importing the OTel subpath:\n\n```bash\n# Or `pnpm add`/`yarn add`\nnpm install @opentelemetry/sdk-trace-base\n```\n\n```ts\nimport { trace } from '@opentelemetry/api';\nimport { OpenAIProvider } from '@openai/agents-openai';\nimport { OpenAIAgentsPlugin } from '@temporalio/openai-agents';\nimport { createTracerProvider } from '@temporalio/openai-agents/otel';\n\ntrace.setGlobalTracerProvider(createTracerProvider());\n\nconst plugin = new OpenAIAgentsPlugin({\n  modelProvider: new OpenAIProvider(),\n  interceptorOptions: { useOtelInstrumentation: true },\n});\n```\n\nUse `createTracerProvider` from this package for replay-safe OTel ID generation. If you need a different provider class, configure it with `TemporalIdGenerator` and mark it before registering it:\n\n```ts\nimport { trace } from '@opentelemetry/api';\nimport { NodeTracerProvider } from '@opentelemetry/sdk-trace-node';\nimport { markReplaySafeTracerProvider, TemporalIdGenerator } from '@temporalio/openai-agents/otel';\n\nconst provider = markReplaySafeTracerProvider(\n  new NodeTracerProvider({\n    idGenerator: new TemporalIdGenerator(),\n  })\n);\n\ntrace.setGlobalTracerProvider(provider);\n```\n\nOnly mark providers that use `TemporalIdGenerator`; the marker opts into the plugin's replay-safety checks.\n\n### Temporal orchestration spans\n\nSet `addTemporalSpans: true` to emit `temporal:*` agent-SDK spans for orchestration operations such as Workflow starts, Signals, Queries, Updates, Activities, child Workflows, Nexus Operations, and continue-as-new:\n\n```ts\nconst plugin = new OpenAIAgentsPlugin({\n  modelProvider: new OpenAIProvider(),\n  interceptorOptions: { addTemporalSpans: true },\n});\n```\n\nThese spans are agent-SDK spans, so they reach the hosted OpenAI dashboard, custom `TracingProcessor`s, and OTel when enabled.\n\n## Pre-built workflow bundles\n\nWhen using `bundleWorkflowCode`, pass the plugin to the bundler as well as to the Worker. The bundler hook installs Workflow-side Web API polyfills and registers the Workflow trace interceptor.\n\n```ts\nimport { OpenAIProvider } from '@openai/agents-openai';\nimport { OpenAIAgentsPlugin } from '@temporalio/openai-agents';\nimport { bundleWorkflowCode } from '@temporalio/worker';\n\nconst plugin = new OpenAIAgentsPlugin({ modelProvider: new OpenAIProvider() });\nconst bundle = await bundleWorkflowCode({\n  workflowsPath: require.resolve('./workflows'),\n  plugins: [plugin],\n});\n```\n\n## Import paths\n\nMost applications use two import paths: `@temporalio/openai-agents` in Worker and Client code, and `@temporalio/openai-agents/workflow` in Workflow code. The other subpaths are for tracing setup or manual Worker wiring.\n\n| Import path                                      | Import from      | Use for                                                     |\n| :----------------------------------------------- | :--------------- | :---------------------------------------------------------- |\n| `@temporalio/openai-agents`                      | Worker or Client | Plugin setup, MCP providers, model option types             |\n| `@temporalio/openai-agents/workflow`             | Workflow         | Runner, Workflow-safe tools, sessions, MCP handles          |\n| `@temporalio/openai-agents/otel`                 | Worker or Client | Replay-safe OpenTelemetry setup                             |\n| `@temporalio/openai-agents/workflow-interceptor` | Worker bundling  | Manual `workflowInterceptorModules` wiring without a plugin |\n\n`@temporalio/openai-agents` exports `OpenAIAgentsPlugin`, MCP provider classes, `SandboxClientProvider`, `OnHostSandboxClientProvider`, model option types, hosted tool credential types, `DEDICATED_WORKER_FAILURE_TYPE`, `TOOL_FILTER_UNSUPPORTED_TYPE` and `TOOL_META_RESOLVER_UNSUPPORTED_TYPE`. `OpenAIAgentsTraceClientInterceptor` is also public for Clients that need manual interceptor wiring instead of plugin registration.\n\n`@temporalio/openai-agents/workflow` exports Workflow-safe APIs: `TemporalOpenAIRunner`, `WorkflowSafeMemorySession`, `activityAsTool`, `nexusOperationAsTool`, `agentAsTool` (deprecated), `statelessMcpServer`, `statefulMcpServer`, `temporalSandboxClient`, `workerEnvValue`, related option/definition types, `DEDICATED_WORKER_FAILURE_TYPE`, `TOOL_FILTER_UNSUPPORTED_TYPE` and `TOOL_META_RESOLVER_UNSUPPORTED_TYPE`.\n\n`@temporalio/openai-agents/otel` exports `createTracerProvider`, `TemporalIdGenerator`, `markReplaySafeTracerProvider`, `isReplaySafeTracerProvider`, and `TemporalOpenAIAgentsTracerProviderOptions`. Install optional peer dependency `@opentelemetry/sdk-trace-base` only when you use this OTel integration.\n\n`@temporalio/openai-agents/workflow-interceptor` exports the Workflow trace interceptor module. The plugin registers it automatically; import this path only when assembling Worker interceptor modules yourself.\n\nThere is no public TypeScript testing subpath.\n\n## Feature support\n\nAny OpenAI Agents SDK `ModelProvider` can be passed as `modelProvider`. The provider runs in the model Activity, never inside the Workflow sandbox.\n\n| Feature                 | Status                   | Notes                                                                                          |\n| :---------------------- | :----------------------- | :--------------------------------------------------------------------------------------------- |\n| Multi-turn agents       | Supported                | Agent loop runs durably in the Workflow                                                        |\n| Handoffs                | Supported                | `Agent` and `handoff()` forms                                                                  |\n| Inline function tools   | Supported                | Must be deterministic                                                                          |\n| Activity-backed tools   | Supported                | Via `activityAsTool()`                                                                         |\n| Nexus operation tools   | Supported                | Via `nexusOperationAsTool()`                                                                   |\n| Nested agent tools      | Supported                | Via `agent.asTool()`                                                                           |\n| Hosted tools            | Supported                | Executed server-side by the model provider                                                     |\n| Stateless MCP servers   | Supported                | Via `StatelessMCPServerProvider` and `statelessMcpServer()`                                    |\n| Stateful MCP servers    | Supported                | Via `StatefulMCPServerProvider` and `statefulMcpServer()`                                      |\n| Sandbox agents          | Supported (experimental) | Via `SandboxClientProvider` or `OnHostSandboxClientProvider`, and `temporalSandboxClient()`    |\n| Sessions                | Supported                | Via `WorkflowSafeMemorySession`; upstream `MemorySession` is rejected                          |\n| Run state and approvals | Supported                | Serialize with `result.state.toString()` and rehydrate with `RunState.fromString`              |\n| Guardrails              | Supported                | Guardrail callbacks must be deterministic                                                      |\n| Agent lifecycle hooks   | Supported                | `agent.on(...)` listeners run in the Workflow and must be deterministic; see below the table   |\n| Tracing                 | Supported                | OpenAI hosted traces, custom `TracingProcessor`s, OTel, and optional `temporal:*` spans        |\n| Agent context           | Supported                | Activity tools receive a copy                                                                  |\n| `continueAsNew`         | Supported                | Plugin config propagates to the continuation                                                   |\n| Child Workflows         | Supported                | Plugin config propagates to children                                                           |\n| Local Activities        | Supported                | Set `useLocalActivity: true` in `modelParams`                                                  |\n| Run model               | Supported                | `runConfig.model` names the model for agents that set none                                     |\n| Streaming               | Supported (experimental) | `run(agent, input, { stream: true })`; requires `streamingTopic` and a hosted `WorkflowStream` |\n| Voice agents            | Not supported            |                                                                                                |\n\nAs in Node, an `agent.on(...)` listener that throws fails the run. In a nested `agent.asTool()` run, the tool fails with upstream's generic output, and the parent run goes on. In a streamed run, its error rejects `result.completed` as it is, so unless the Workflow catches it, it fails the Workflow Task, which retries, and the run stays open. The framework doesn't await a listener's Promise, so an `async` listener that rejects fails the Workflow Task, which retries.\n","readmeFilename":"README.md"}