🙌 OpenHands: AI-Driven Development
Release 0.51.0 (#9993)
mamoodi43555fa13b45
diff --git a/Development.md b/Development.mdindex 283a4c30e6..dab38f33d3 100644--- a/Development.md+++ b/Development.md@@ -159,7 +159,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.50-nikolaik`+Example: `export SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.51-nikolaik`## Develop inside Docker containerdiff --git a/README.md b/README.mdindex 46dfef4460..e9882a4d99 100644--- a/README.md+++ b/README.md@@ -62,17 +62,17 @@ system requirements and more information.```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands:/.openhands \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.50+ docker.all-hands.dev/all-hands-ai/openhands:0.51```> **Note**: If you used OpenHands before version 0.44, you may want to run `mv ~/.openhands-state ~/.openhands` to migrate your conversation history to the new location.diff --git a/README_CN.md b/README_CN.mdindex 7cf56a6dee..2fcc56ddec 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.50-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands:/.openhands \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.50+ docker.all-hands.dev/all-hands-ai/openhands:0.51```> **注意**: 如果您在0.44版本之前使用过OpenHands,您可能需要运行 `mv ~/.openhands-state ~/.openhands` 来将对话历史迁移到新位置。diff --git a/README_JA.md b/README_JA.mdindex 28fd169d6a..76ecb4a09d 100644--- a/README_JA.md+++ b/README_JA.md@@ -42,17 +42,17 @@ OpenHandsはDockerを利用してローカル環境でも実行できます。> 公共ネットワークで実行していますか?[Hardened Docker Installation Guide](https://docs.all-hands.dev/usage/runtimes/docker#hardened-docker-installation)を参照して、ネットワークバインディングの制限や追加のセキュリティ対策を実施してください。```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands:/.openhands \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.50+ docker.all-hands.dev/all-hands-ai/openhands:0.51```**注**: バージョン0.44以前のOpenHandsを使用していた場合は、会話履歴を移行するために `mv ~/.openhands-state ~/.openhands` を実行してください。diff --git a/containers/dev/compose.yml b/containers/dev/compose.ymlindex 195170e5c9..fb75a7b83d 100644--- a/containers/dev/compose.yml+++ b/containers/dev/compose.yml@@ -12,7 +12,7 @@ services:- SANDBOX_API_HOSTNAME=host.docker.internal- DOCKER_HOST_ADDR=host.docker.internal#- - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.50-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.51-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 40393f389d..f6985db7f9 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.50-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.51-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 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 64cfe178c2..fcba586a57 100644--- a/docs/usage/how-to/cli-mode.mdx+++ b/docs/usage/how-to/cli-mode.mdx@@ -103,7 +103,7 @@ The conversation history will be saved in `~/.openhands/sessions`.```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e SANDBOX_VOLUMES=$SANDBOX_VOLUMES \-e LLM_API_KEY=$LLM_API_KEY \@@ -112,7 +112,7 @@ docker run -it \-v ~/.openhands:/.openhands \--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.50 \+ docker.all-hands.dev/all-hands-ai/openhands:0.51 \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 72cc13b65b..55015a256a 100644--- a/docs/usage/how-to/headless-mode.mdx+++ b/docs/usage/how-to/headless-mode.mdx@@ -61,7 +61,7 @@ export GITHUB_TOKEN="your-token" # Required for repository operations# Run OpenHandsdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e SANDBOX_VOLUMES=$SANDBOX_VOLUMES \-e LLM_API_KEY=$LLM_API_KEY \@@ -73,7 +73,7 @@ docker run -it \-v ~/.openhands:/.openhands \--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.50 \+ docker.all-hands.dev/all-hands-ai/openhands:0.51 \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 67ebf468fc..30d806805f 100644--- a/docs/usage/llms/local-llms.mdx+++ b/docs/usage/llms/local-llms.mdx@@ -68,23 +68,23 @@ Download and install the LM Studio desktop app from [lmstudio.ai](https://lmstud1. Check [the installation guide](/usage/local-setup) and ensure all prerequisites are met before running OpenHands, then run:```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands:/.openhands \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.50+ docker.all-hands.dev/all-hands-ai/openhands:0.51```2. Wait until the server is running (see log below):```Digest: sha256:e72f9baecb458aedb9afc2cd5bc935118d1868719e55d50da73190d3a85c674f-Status: Image is up to date for docker.all-hands.dev/all-hands-ai/openhands:0.50+Status: Image is up to date for docker.all-hands.dev/all-hands-ai/openhands:0.51Starting 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 71fedd585e..90a01148b8 100644--- a/docs/usage/local-setup.mdx+++ b/docs/usage/local-setup.mdx@@ -67,17 +67,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.50-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-v ~/.openhands:/.openhands \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.50+ docker.all-hands.dev/all-hands-ai/openhands:0.51```> **Note**: If you used OpenHands before version 0.44, you may want to run `mv ~/.openhands-state ~/.openhands` to migrate your conversation history to the new location.diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 9302ccf585..a3644f716a 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -1,12 +1,12 @@{"name": "openhands-frontend",- "version": "0.50.0",+ "version": "0.51.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openhands-frontend",- "version": "0.50.0",+ "version": "0.51.0","dependencies": {"@heroui/react": "^2.8.2","@microlink/react-json-view": "^1.26.2",diff --git a/frontend/package.json b/frontend/package.jsonindex 5bdbddc63d..afaceef86a 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,6 +1,6 @@{"name": "openhands-frontend",- "version": "0.50.0",+ "version": "0.51.0","private": true,"type": "module","engines": {diff --git a/openhands/runtime/impl/kubernetes/README.md b/openhands/runtime/impl/kubernetes/README.mdindex 50ba0d9862..c28e814e9f 100644--- a/openhands/runtime/impl/kubernetes/README.md+++ b/openhands/runtime/impl/kubernetes/README.md@@ -40,7 +40,7 @@ Two configuration options are required to use the Kubernetes runtime:2. **Runtime Container Image**: Specify the container image to use for the runtime environment```toml[sandbox]- runtime_container_image = "docker.all-hands.dev/all-hands-ai/runtime:0.50-nikolaik"+ runtime_container_image = "docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik"```#### Additional Kubernetes Optionsdiff --git a/pyproject.toml b/pyproject.tomlindex bf74387a8e..230aac35ce 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -6,7 +6,7 @@ requires = [[tool.poetry]name = "openhands-ai"-version = "0.50.0"+version = "0.51.0"description = "OpenHands: Code Less, Make More"authors = [ "OpenHands" ]license = "MIT"