Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
"huggingface_hub>=1.0", # agent-env run hf:// resolves and downloads a Hub bundle; checked on 1.0, 1.33 and 2.4
"idna>=3.0", # a browser tab step matches a URL's host as Chromium spells it, by UTS 46
"jsonschema>=4.20", # checks an app's settings against its Settings' schema before a deploy
"litellm>=1.104.0,<1.107", # 1.104.0 is past every range GHSA-7hp6-4w63-5g45 lists (a proxy-server advisory; only the client is used); checked on 1.104.0 and 1.106.6
"litellm>=1.104.0,<1.110", # 1.104.0 is past every range GHSA-7hp6-4w63-5g45 lists (a proxy-server advisory; only the client is used); checked on 1.104.0 and 1.106.6
"mcp>=1.25,<2", # same floor as env/gateway/requirements.txt and agentenv-protocol; 2.0.0 removed mcp.server.fastmcp, imported at module scope by env/gateway
"packaging>=22", # parses a bundle.toml's requires; evaluates a plugin's requirement markers with no extra
"a2a-sdk==0.3.26",
Expand All @@ -48,7 +48,7 @@ dependencies = [
"starlette>=0.40", # the local grant server
"uvicorn>=0.47", # 0.47 adds ssl_context_factory, how the local grant server gets its TLS context
"modal>=1.6.3",
"e2b~=2.46.4", # AsyncSandbox/AsyncTemplate APIs validated against the 2.46 line
"e2b>=2.46.4,<2.64.0", # AsyncSandbox/AsyncTemplate APIs validated against the 2.46 line
"fastapi>=0.110", # the explorer, agent-env up
"tzdata>=2024.1", # sync_env_clock reads a task's timezone on a worker image with no system zone files
]
Expand Down Expand Up @@ -119,12 +119,12 @@ gcp = [
]
# The sail_vm sandbox provider (Sail Research Sailboxes), selected with --sandbox sail_vm.
sail = [
"sail~=0.12.8", # Sailbox exec/fs/listener/egress APIs validated against the 0.12 line
"sail>=0.12.8,<0.19.0", # Sailbox exec/fs/listener/egress APIs validated against the 0.12 line

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Wider SDK ranges lack checks

The wider ranges have no matching tests against the real SDK methods. For example, sail now admits 0.18.1, but its adapter tests use SimpleNamespace and MagicMock. Those tests still pass if the real methods reject the adapter's arguments, leaving users to discover the mismatch during a sandbox run.

Non-blocking: add offline tests that check the adapter's calls against the installed SDK signatures, or keep the narrower ranges until those checks exist. Cover the widened e2b, boxd, daytona, and vercel-sandbox ranges too.

Prompt To Fix With AI
This is a comment left during a code review.
Path: pyproject.toml
Line: 122

Comment:
**Wider SDK ranges lack checks**

The wider ranges have no matching tests against the real SDK methods. For example, `sail` now admits `0.18.1`, but its adapter tests use `SimpleNamespace` and `MagicMock`. Those tests still pass if the real methods reject the adapter's arguments, leaving users to discover the mismatch during a sandbox run.

Non-blocking: add offline tests that check the adapter's calls against the installed SDK signatures, or keep the narrower ranges until those checks exist. Cover the widened `e2b`, `boxd`, `daytona`, and `vercel-sandbox` ranges too.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Cursor Fix in Claude Code Fix in Codex

]
vercel = [
"anyio>=4,<5",
"httpx2>=2.13.1,<3",
"vercel-sandbox>=0.7.0,<0.8", # provides the vercel.sandbox namespace without the full vercel bundle
"vercel-sandbox>=0.7.0,<0.12", # provides the vercel.sandbox namespace without the full vercel bundle
]
# The Tensorlake sandbox provider, selected as the built-in `tensorlake` backend.
tensorlake = [
Expand All @@ -136,11 +136,11 @@ tenki = [
]
# The boxd machine provider, selected as the built-in `boxd` backend.
boxd = [
"boxd~=0.2.17", # AsyncBoxd machines, exec, proxies, egress allowlist and delete-after validated against 0.2.17
"boxd>=0.2.17,<0.4.0", # AsyncBoxd machines, exec, proxies, egress allowlist and delete-after validated against 0.2.17
]
# The Daytona sandbox provider, selected as the built-in `daytona` backend.
daytona = [
"daytona~=0.224.0", # AsyncDaytona sandboxes, sessions, file API, preview links and egress lists validated against 0.224
"daytona>=0.224,<0.232", # AsyncDaytona sandboxes, sessions, file API, preview links and egress lists validated against 0.224
]
# The boat.dev sandbox provider, selected as the built-in `boat` backend.
boat = [
Expand All @@ -158,7 +158,7 @@ dev = [
"av>=17", # the protocol's computer extra, whose tests the unit tier runs and which the recording tests decode with
"brotli>=1.2", # the protocol's app extra, which decodes a website browser's network log; its tests import it
"zstandard>=0.23",
"griffelib==2.3.0", # the plugin API check; exact, since what it reports as a break changes between releases
"griffelib==2.4.1", # the plugin API check; exact, since what it reports as a break changes between releases
"tomli-w==1.2.0", # the Codex agent's config writer, which only its image installs; its tests import it
"hypothesis>=6.100", # the property tests of the judge score parse
"moto>=5.0.0",
Expand All @@ -171,7 +171,7 @@ dev = [
"pytest-socket>=0.7.0",
"pytest-timeout>=2.3.0",
"pytest-xdist>=3.0.0",
"ruff==0.16.10", # the lint gate; exact, since what it reports changes between releases
"ruff==0.17.5", # the lint gate; exact, since what it reports changes between releases
]
smol = [
"smolmachines>=1.27.0",
Expand Down
Loading
Loading