feat: Docker-isolated Claude CLI hello world

- evals/main.ts: run claude -p Hello in container, capture output
- evals/Dockerfile: node:24-slim + @anthropic-ai/claude-code@2.1.63
- evals:build: build image (run after Dockerfile changes)
- evals:run: run evals (requires image built first)
- ANTHROPIC_API_KEY from .env via --env-file-if-exists
This commit is contained in:
Matt Rossman
2026-03-03 11:14:44 -05:00
parent 760460c221
commit dce4600c08
7 changed files with 214 additions and 104 deletions

View File

@@ -1,3 +1,8 @@
[[tools.claude]]
version = "2.1.63"
backend = "aqua:anthropics/claude-code"
"platforms.macos-arm64" = { checksum = "blake3:8719d16f09e5368fbbde5352fe1882fa3e70d6e984d77d513bf2230f22e2ddbe", url = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.63/darwin-arm64/claude"}
[[tools.node]]
version = "24.13.0"
backend = "core:node"