Add browse tool support.

I reviewed some MCPs (using OpenAI's deep research to help), and it
helped me choose chromedp as the relevant library and helped me come up
with an interface. This commit adds chrome to the Docker image which is
kind of big. (I've noticed that it's smaller on Ubuntu, where it doesn't
pull in X11.) go-playwright was a library contender as well.

Implement browser automation tooling using chromedp

This implementation adds browser automation capabilities to the system via the chromedp library,
enabling Claude to interact with web content effectively.

Key features include:

1. Core browser automation functionality:
   - Created new browsertools package in claudetool/browser
   - Implemented tools for navigating, clicking, typing, waiting for elements,
     getting text, evaluating JavaScript, taking screenshots, and scrolling
   - Added lazy browser initialization that defers until first use
   - Integrated with the agent to expose these tools to Claude

2. Screenshot handling and display:
   - Implemented screenshot storage with UUID-based IDs in /tmp/sketch-screenshots
   - Added endpoint to serve screenshots via /screenshot/{id}
   - Created dedicated UI component for displaying screenshots
   - Ensured proper responsive design with loading states and error handling
   - Fixed URL paths for proper rehomed URL support
   - Modified tool calls component to auto-expand screenshot results

3. Error handling and reliability:
   - Added graceful error handling for browser initialization failures
   - Implemented proper cleanup of browser resources

The browser automation tools provide a powerful way for Claude to interact with web content,
making it possible to scrape data, test web applications, and automate web-based tasks.

Co-Authored-By: sketch <hello@sketch.dev>
diff --git a/dockerimg/testdata/testcreatedockerfile_empty_repo.dockerfile b/dockerimg/testdata/testcreatedockerfile_empty_repo.dockerfile
index 55e9245..52d6fc3 100644
--- a/dockerimg/testdata/testcreatedockerfile_empty_repo.dockerfile
+++ b/dockerimg/testdata/testcreatedockerfile_empty_repo.dockerfile
@@ -1,4 +1,4 @@
-FROM ghcr.io/boldsoftware/sketch:f5b4ebd9ca15d3dbd2cd08e6e7ab9548
+FROM ghcr.io/boldsoftware/sketch:99a2e4afe316b3c6cf138830dbfb7796
 
 ARG GIT_USER_EMAIL
 ARG GIT_USER_NAME
@@ -7,7 +7,7 @@
     git config --global user.name "$GIT_USER_NAME" && \
     git config --global http.postBuffer 524288000
 
-LABEL sketch_context="852a43dfbf76c6272f41ade86ac1b4567acb77141edfec6c1df20b07a4758d1a"
+LABEL sketch_context="731625e8ccb108e34ec80ec82ad2eff3d65cd962c13cc9a33e3456d828b48b65"
 COPY . /app
 RUN rm -f /app/tmp-sketch-dockerfile
 
@@ -17,19 +17,14 @@
 # Switch to lenient shell so we are more likely to get past failing extra_cmds.
 SHELL ["/bin/bash", "-uo", "pipefail", "-c"]
 
-# Install any Go tools that might be useful for development
-go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest || true
-go install github.com/rakyll/gotest@latest || true
+# Install any Go tools specific to development
+RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest || true
 
-# Install Python dependencies if needed (with error handling)
-if [ -f requirements.txt ]; then
-    pip3 install -r requirements.txt || true
-fi
+# Install any Python dependencies if needed (allow failures)
+RUN if [ -f requirements.txt ]; then pip3 install -r requirements.txt || true; fi
 
-# If Makefile exists, run make prepare or similar setup target
-if [ -f Makefile ]; then
-    grep -q "prepare:" Makefile && make prepare || true
-fi
+# Pre-compile the project if possible
+RUN if [ -f go.mod ]; then go build -v ./... || true; fi
 
 # Switch back to strict shell after extra_cmds.
 SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]