Skip to content

Commit 2e1d626

Browse files
authored
feat: add sandbox agents (#1199) (#1210)
1 parent 6148ed2 commit 2e1d626

235 files changed

Lines changed: 74989 additions & 428 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-extensions': minor
3+
---
4+
5+
feat: add Blaxel sandbox provider
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-extensions': minor
3+
---
4+
5+
feat: add Cloudflare sandbox provider
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-extensions': minor
3+
---
4+
5+
feat: add Daytona sandbox provider

.changeset/sandbox-agents-e2b.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-extensions': minor
3+
---
4+
5+
feat: add E2B sandbox provider

.changeset/sandbox-agents-modal.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-extensions': minor
3+
---
4+
5+
feat: add Modal sandbox provider
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-extensions': minor
3+
---
4+
5+
feat: add Runloop sandbox provider
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@openai/agents-core': minor
3+
'@openai/agents': minor
4+
'@openai/agents-extensions': patch
5+
---
6+
7+
feat: add sandbox agents core runtime and extension provider package groundwork
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openai/agents-extensions': minor
3+
---
4+
5+
feat: add Vercel sandbox provider

.github/workflows/test.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,47 @@ jobs:
138138
if: ${{ needs.changes.outputs.run_ci == 'true' }}
139139
run: pnpm test
140140

141+
windows-sandbox-paths:
142+
needs: changes
143+
runs-on: windows-latest
144+
env:
145+
CI: "1"
146+
NODE_ENV: test
147+
steps:
148+
- name: Skip CI for docs/meta-only changes
149+
if: ${{ needs.changes.outputs.run_ci != 'true' }}
150+
run: echo "Only docs/meta files changed. Marking Windows sandbox path checks as successful without running CI."
151+
- name: Checkout repository
152+
if: ${{ needs.changes.outputs.run_ci == 'true' }}
153+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
154+
with:
155+
persist-credentials: false
156+
- name: Install pnpm
157+
if: ${{ needs.changes.outputs.run_ci == 'true' }}
158+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320
159+
with:
160+
run_install: false
161+
- name: Setup Node.js
162+
if: ${{ needs.changes.outputs.run_ci == 'true' }}
163+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
164+
with:
165+
node-version: 22
166+
cache: 'pnpm'
167+
- name: Install dependencies
168+
if: ${{ needs.changes.outputs.run_ci == 'true' }}
169+
run: pnpm install
170+
- name: Build packages
171+
if: ${{ needs.changes.outputs.run_ci == 'true' }}
172+
run: pnpm build
173+
- name: Run Windows sandbox path tests
174+
if: ${{ needs.changes.outputs.run_ci == 'true' }}
175+
shell: bash
176+
run: pnpm exec vitest --run --project "@openai/agents-core" packages/agents-core/test/sandboxWorkspacePaths.test.ts packages/agents-core/test/sandboxManifest.test.ts
177+
- name: Run Windows remote path tests
178+
if: ${{ needs.changes.outputs.run_ci == 'true' }}
179+
shell: bash
180+
run: pnpm exec vitest --run --project "@openai/agents-extensions" packages/agents-extensions/test/sandbox/remotePaths.test.ts
181+
141182
coverage:
142183
needs: changes
143184
runs-on: ubuntu-latest

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,4 @@ bundled/
156156
.dev.vars
157157

158158
.pnpm-store/
159+
.vercel/

0 commit comments

Comments
 (0)