🙌 OpenHands: AI-Driven Development
Release 0.42.0 (#9046)
mamoodi5d328183d598
diff --git a/Development.md b/Development.mdindex b19e3c65ab..221d6b03d1 100644--- a/Development.md+++ b/Development.md@@ -136,7 +136,7 @@ poetry run pytest ./tests/unit/test_*.pyTo reduce build time (e.g., if no changes were made to the client-runtime component), you can use an existing Dockercontainer image by setting the SANDBOX_RUNTIME_CONTAINER_IMAGE environment variable to the desired Docker image.-Example: `export SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.41-nikolaik`+Example: `export SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.42-nikolaik`## Develop inside Docker containerdiff --git a/README.md b/README.mdindex 4a8177c9bb..2ac9ef01fa 100644--- a/README.md+++ b/README.md@@ -51,17 +51,17 @@ system requirements and more information.```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands-state:/.openhands-state \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.41+ docker.all-hands.dev/all-hands-ai/openhands:0.42```You'll find OpenHands running at [http://localhost:3000](http://localhost:3000)!diff --git a/README_CN.md b/README_CN.mdindex d23e506020..534f869c93 100644--- a/README_CN.md+++ b/README_CN.md@@ -51,17 +51,17 @@ OpenHands也可以使用Docker在本地系统上运行。```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands-state:/.openhands-state \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.41+ docker.all-hands.dev/all-hands-ai/openhands:0.42```您将在[http://localhost:3000](http://localhost:3000)找到运行中的OpenHands!diff --git a/containers/dev/compose.yml b/containers/dev/compose.ymlindex a60bf0c91f..0dc7c90af9 100644--- a/containers/dev/compose.yml+++ b/containers/dev/compose.yml@@ -11,7 +11,7 @@ services:- BACKEND_HOST=${BACKEND_HOST:-"0.0.0.0"}- SANDBOX_API_HOSTNAME=host.docker.internal#- - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.41-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.42-nikolaik}- SANDBOX_USER_ID=${SANDBOX_USER_ID:-1234}- WORKSPACE_MOUNT_PATH=${WORKSPACE_BASE:-$PWD/workspace}ports:diff --git a/docker-compose.yml b/docker-compose.ymlindex e8f3585735..079ec681e6 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -7,7 +7,7 @@ services:image: openhands:latestcontainer_name: openhands-app-${DATE:-}environment:- - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaik}#- SANDBOX_USER_ID=${SANDBOX_USER_ID:-1234} # enable this only if you want a specific non-root sandbox user but you will have to manually adjust permissions of openhands-state for this user- WORKSPACE_MOUNT_PATH=${WORKSPACE_BASE:-$PWD/workspace}ports:diff --git a/docs/usage/how-to/cli-mode.mdx b/docs/usage/how-to/cli-mode.mdxindex 04d6925ba5..6466661c43 100644--- a/docs/usage/how-to/cli-mode.mdx+++ b/docs/usage/how-to/cli-mode.mdx@@ -46,7 +46,7 @@ poetry run python -m openhands.cli.main```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e SANDBOX_VOLUMES=$SANDBOX_VOLUMES \-e LLM_API_KEY=$LLM_API_KEY \@@ -55,7 +55,7 @@ docker run -it \-v ~/.openhands-state:/.openhands-state \--add-host host.docker.internal:host-gateway \--name openhands-app-$(date +%Y%m%d%H%M%S) \- docker.all-hands.dev/all-hands-ai/openhands:0.41 \+ docker.all-hands.dev/all-hands-ai/openhands:0.42 \python -m openhands.cli.main --override-cli-mode true```diff --git a/docs/usage/how-to/headless-mode.mdx b/docs/usage/how-to/headless-mode.mdxindex 47822353bd..eca5d01bfd 100644--- a/docs/usage/how-to/headless-mode.mdx+++ b/docs/usage/how-to/headless-mode.mdx@@ -32,7 +32,7 @@ To run OpenHands in Headless mode with Docker:```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e SANDBOX_VOLUMES=$SANDBOX_VOLUMES \-e LLM_API_KEY=$LLM_API_KEY \@@ -42,7 +42,7 @@ docker run -it \-v ~/.openhands-state:/.openhands-state \--add-host host.docker.internal:host-gateway \--name openhands-app-$(date +%Y%m%d%H%M%S) \- docker.all-hands.dev/all-hands-ai/openhands:0.41 \+ docker.all-hands.dev/all-hands-ai/openhands:0.42 \python -m openhands.core.main -t "write a bash script that prints hi"```diff --git a/docs/usage/llms/local-llms.mdx b/docs/usage/llms/local-llms.mdxindex 3996fadb98..79ece0e96a 100644--- a/docs/usage/llms/local-llms.mdx+++ b/docs/usage/llms/local-llms.mdx@@ -54,25 +54,25 @@ Check [the installation guide](/usage/local-setup) to make sure you have all theexport LMSTUDIO_MODEL_NAME="imported-models/uncategorized/devstralq4_k_m.gguf" # <- Replace this with the model name you copied from LMStudioexport LMSTUDIO_URL="http://host.docker.internal:1234" # <- Replace this with the port from LMStudio-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaikmkdir -p ~/.openhands-state && echo '{"language":"en","agent":"CodeActAgent","max_iterations":null,"security_analyzer":null,"confirmation_mode":false,"llm_model":"lm_studio/'$LMSTUDIO_MODEL_NAME'","llm_api_key":"dummy","llm_base_url":"'$LMSTUDIO_URL/v1'","remote_runtime_resource_factor":null,"github_token":null,"enable_default_condenser":true,"user_consents_to_analytics":true}' > ~/.openhands-state/settings.jsondocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands-state:/.openhands-state \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.41+ docker.all-hands.dev/all-hands-ai/openhands:0.42```Once your server is running -- you can visit `http://localhost:3000` in your browser to use OpenHands with local Devstral model:```Digest: sha256:e72f9baecb458aedb9afc2cd5bc935118d1868719e55d50da73190d3a85c674f-Status: Image is up to date for docker.all-hands.dev/all-hands-ai/openhands:0.41+Status: Image is up to date for docker.all-hands.dev/all-hands-ai/openhands:0.42Starting OpenHands...Running OpenHands as root14:22:13 - openhands:INFO: server_config.py:50 - Using config class Nonediff --git a/docs/usage/local-setup.mdx b/docs/usage/local-setup.mdxindex 3c83aa6098..91b842e03b 100644--- a/docs/usage/local-setup.mdx+++ b/docs/usage/local-setup.mdx@@ -62,17 +62,17 @@ A system with a modern processor and a minimum of **4GB RAM** is recommended to### Start the App```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.41-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.42-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands-state:/.openhands-state \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.41+ docker.all-hands.dev/all-hands-ai/openhands:0.42```You'll find OpenHands running at http://localhost:3000!diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 2cfab362f5..66fc2c3452 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -1,12 +1,12 @@{"name": "openhands-frontend",- "version": "0.41.0",+ "version": "0.42.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openhands-frontend",- "version": "0.41.0",+ "version": "0.42.0","dependencies": {"@heroui/react": "^2.8.0-beta.7","@microlink/react-json-view": "^1.26.2",diff --git a/frontend/package.json b/frontend/package.jsonindex 487aca4452..b76e419088 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,6 +1,6 @@{"name": "openhands-frontend",- "version": "0.41.0",+ "version": "0.42.0","private": true,"type": "module","engines": {diff --git a/pyproject.toml b/pyproject.tomlindex 1f00b53db4..c17cee202b 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -6,7 +6,7 @@ requires = [[tool.poetry]name = "openhands-ai"-version = "0.41.0"+version = "0.42.0"description = "OpenHands: Code Less, Make More"authors = [ "OpenHands" ]license = "MIT"