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 agent/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
description = "Background coding agent — runs tasks in isolated cloud environments and produces pull requests"
requires-python = ">=3.13"
dependencies = [
"boto3==1.43.78", #https://pypi.org/project/boto3/
"boto3==1.43.89", #https://pypi.org/project/boto3/
# Vestigial from the parked AgentCore Identity flow (Phase 2.0a).
# Phase 2.0b reads per-workspace Linear OAuth tokens directly from
# Secrets Manager because AgentCore Identity's USER_FEDERATION
Expand All @@ -15,13 +15,13 @@ dependencies = [
# try/except (ImportError, AttributeError), so removing this dep
# would degrade gracefully — but for now we keep the dep to
# preserve the clean code path.
"bedrock-agentcore==1.18.1", #https://pypi.org/project/bedrock-agentcore/
"claude-agent-sdk==0.2.110", #https://github.com/anthropics/claude-agent-sdk-python/releases/tag/v0.2.110 (bundles claude CLI 2.1.191; kept in lockstep with the npm CLI pin in the Dockerfile, #215)
"bedrock-agentcore==1.22.0", #https://pypi.org/project/bedrock-agentcore/
"claude-agent-sdk==0.2.152", #https://github.com/anthropics/claude-agent-sdk-python/releases/tag/v0.2.110 (bundles claude CLI 2.1.191; kept in lockstep with the npm CLI pin in the Dockerfile, #215)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Blocking: claude-agent-sdk 0.2.110 → 0.2.152 breaks the documented #215 lockstep. This comment still asserts v0.2.110 and bundles claude CLI 2.1.191; kept in lockstep with the npm CLI pin in the Dockerfile — but the Dockerfile pin (@anthropic-ai/claude-code@2.1.191, Dockerfile:90) is untouched here, so the SDK-bundled CLI and the on-PATH CLI now diverge, and the comment is false in this same commit.

Fix: either move the Dockerfile CLI pin + this comment (URL tag and CLI version) in the same PR, or add a reciprocal ignore for claude-agent-sdk in .github/dependabot.yml mirroring the Cedar-engine guard at lines 48/71, so it is bumped deliberately with the Dockerfile.

"requests==2.34.2", #https://pypi.org/project/requests/
"fastapi==0.139.0", #https://pypi.org/project/fastapi/
"uvicorn==0.50.0", #https://pypi.org/project/uvicorn/
"aws-opentelemetry-distro==0.18.0", #https://pypi.org/project/aws-opentelemetry-distro/
"mcp==1.28.1", #https://pypi.org/project/mcp/
"fastapi==0.141.1", #https://pypi.org/project/fastapi/
"uvicorn==0.52.4", #https://pypi.org/project/uvicorn/
"aws-opentelemetry-distro==0.19.0", #https://pypi.org/project/aws-opentelemetry-distro/
"mcp==2.1.1", #https://pypi.org/project/mcp/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Blocking: mcp 1.28.1 → 2.1.1 is a major bump that breaks agent/src/gateway_tools.py. Reproduced locally at this head with uv sync --frozen && uv run ty check src/gateway_tools.py — 6 diagnostics:

  • unresolved-import: Cannot resolve module "httpx" — mcp 2.x drops httpx for httpx2, so the lock no longer contains httpx; the unconditional import httpx in _sigv4_auth (gateway_tools.py:85) now raises ModuleNotFoundError at call time whenever enableToolGateway=true.
  • Module "mcp.shared.exceptions" has no member "McpError" (gateway_tools.py:212).
  • ClientSession.call_tool(read_timeout_seconds=...) now wants float | None, not timedelta (gateway_tools.py:178).

This needs a real migration of the MCP client call sites, or pin mcp < 2.0 via a .github/dependabot.yml ignore. As-is, build (agentcore) is failing.

# CEDAR ENGINE PARITY — DO NOT BUMP IN ISOLATION.
# cedarpy (Python, agent runtime) and @cedar-policy/cedar-wasm (TypeScript,
# CDK Lambdas) are two language bindings over the same Cedar Rust core.
Expand Down Expand Up @@ -87,7 +87,7 @@ dev = [
"ruff",
"ty",
"pytest",
"pygments==2.20.0",
"pygments==2.21.0",
"pytest-cov==7.1.0",
"pytest-timeout==2.4.0", # per-test wall-clock cap: a single hung test (network/subprocess/Bedrock without its own timeout) must fail LOUDLY with a traceback, not silently burn the whole build-verify budget (ABCA-684/686: one hang stalled the baseline build past its 3600s ceiling)
"vulture==2.16", # dead-code detection (#282): unused functions/classes ruff F can't see
Expand Down
Loading
Loading