Skip to content
Merged
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
12 changes: 6 additions & 6 deletions agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY --from=mise /usr/local/bin/mise /usr/local/bin/mise
COPY --from=gh-builder /out/gh /usr/local/bin/gh

# Install system dependencies in multiple layers:
# - Node.js 20 (required by Claude Code CLI)
# - Node.js 24 LTS (required by Claude Code CLI)
# - git (repo operations)
# - build-essential (native compilation for some repos)
# - curl (downloads)
Expand All @@ -32,8 +32,8 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*

# Node.js 20
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
# Node.js 24 LTS (https://nodejs.org/en/about/previous-releases)
RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - && \
apt-get update && \
apt-get install -y --no-install-recommends nodejs && \
apt-get clean && \
Expand All @@ -42,12 +42,12 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
# Install Claude Code CLI (the Python SDK requires this binary)
# Then update known vulnerable transitive packages where fixed versions exist.
RUN npm install -g npm@latest && \
npm install -g @anthropic-ai/claude-code@2.1.139 && \
npm install -g @anthropic-ai/claude-code@2.1.142 && \
Comment thread
scottschreckengaust marked this conversation as resolved.
CLAUDE_NPM_ROOT="$(npm root -g)/@anthropic-ai/claude-code" && \
npm --prefix "${CLAUDE_NPM_ROOT}" update tar minimatch glob cross-spawn picomatch

# Install uv (fast Python package manager)
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
# Install uv (fast Python package manager) — pinned for reproducibility
COPY --from=ghcr.io/astral-sh/uv:0.11.14 /uv /usr/local/bin/uv

# Install Python dependencies via uv
COPY pyproject.toml uv.lock /app/
Expand Down
12 changes: 6 additions & 6 deletions agent/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ 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.6", #https://pypi.org/project/boto3/
"claude-agent-sdk==0.1.81", #https://github.com/anthropics/claude-agent-sdk-python
"requests==2.34.0", #https://pypi.org/project/requests/
"boto3==1.43.9", #https://pypi.org/project/boto3/
"claude-agent-sdk==0.2.82", #https://github.com/anthropics/claude-agent-sdk-python/releases/tag/v0.2.82
"requests==2.34.2", #https://pypi.org/project/requests/
"fastapi==0.136.1", #https://pypi.org/project/fastapi/
"uvicorn==0.46.0", #https://pypi.org/project/uvicorn/
"aws-opentelemetry-distro~=0.17.0", #https://pypi.org/project/aws-opentelemetry-distro/
"uvicorn==0.47.0", #https://pypi.org/project/uvicorn/
"aws-opentelemetry-distro==0.17.0", #https://pypi.org/project/aws-opentelemetry-distro/
"mcp==1.27.1", #https://pypi.org/project/mcp/
"cedarpy>=4.8.1", #https://github.com/k9securityio/cedar-py
"cedarpy==4.8.3", #https://github.com/k9securityio/cedar-py
]

[tool.bandit]
Expand Down
Loading