🙌 OpenHands: AI-Driven Development
Release 0.52.0 (#10144)
mamoodie3411f743d83
diff --git a/Development.md b/Development.mdindex bf8283d2a7..1f298c2c37 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.51-nikolaik`+Example: `export SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.52-nikolaik`## Develop inside Docker containerdiff --git a/README.md b/README.mdindex e9882a4d99..36712e309d 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.51-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.52-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.52-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.51+ docker.all-hands.dev/all-hands-ai/openhands:0.52```> **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 2fcc56ddec..ed509d1f7a 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.51-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.52-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.52-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.51+ docker.all-hands.dev/all-hands-ai/openhands:0.52```> **注意**: 如果您在0.44版本之前使用过OpenHands,您可能需要运行 `mv ~/.openhands-state ~/.openhands` 来将对话历史迁移到新位置。diff --git a/README_JA.md b/README_JA.mdindex 76ecb4a09d..68537efd0c 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.51-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.52-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.52-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.51+ docker.all-hands.dev/all-hands-ai/openhands:0.52```**注**: バージョン0.44以前のOpenHandsを使用していた場合は、会話履歴を移行するために `mv ~/.openhands-state ~/.openhands` を実行してください。diff --git a/containers/dev/compose.yml b/containers/dev/compose.ymlindex fb75a7b83d..f426548ad6 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.51-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.52-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 f6985db7f9..0c1cc45e67 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.51-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.52-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 c4fcca6b4c..7293d79a84 100644--- a/docs/usage/how-to/cli-mode.mdx+++ b/docs/usage/how-to/cli-mode.mdx@@ -80,7 +80,7 @@ openhands<Note>If you have cloned the repository, you can also run the CLI directly using Poetry:- poetry run python -m openhands.cli.main+ poetry run openhands</Note>3. Set your model, API key, and other preferences using the UI (or alternatively environment variables, below).@@ -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.51-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.52-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.51 \+ docker.all-hands.dev/all-hands-ai/openhands:0.52 \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 55015a256a..9d626aa7dc 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.51-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.52-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.51 \+ docker.all-hands.dev/all-hands-ai/openhands:0.52 \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 30d806805f..377c7fbe9c 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.51-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.52-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.52-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.51+ docker.all-hands.dev/all-hands-ai/openhands:0.52```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.51+Status: Image is up to date for docker.all-hands.dev/all-hands-ai/openhands:0.52Starting 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 67bf7900f0..7e0ef6a1fc 100644--- a/docs/usage/local-setup.mdx+++ b/docs/usage/local-setup.mdx@@ -91,17 +91,17 @@ This will automatically handle Docker requirements checking, image pulling, and#### Option 2: Using Docker Directly```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.52-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.51-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.52-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.51+ docker.all-hands.dev/all-hands-ai/openhands:0.52```> **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 3e42bd6007..da0ff74691 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -1,12 +1,12 @@{"name": "openhands-frontend",- "version": "0.51.1",+ "version": "0.52.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openhands-frontend",- "version": "0.51.1",+ "version": "0.52.0","dependencies": {"@heroui/react": "^2.8.2","@heroui/use-infinite-scroll": "^2.2.10",diff --git a/frontend/package.json b/frontend/package.jsonindex 922975e228..c06c3338d2 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,6 +1,6 @@{"name": "openhands-frontend",- "version": "0.51.1",+ "version": "0.52.0","private": true,"type": "module","engines": {diff --git a/openhands/runtime/impl/kubernetes/README.md b/openhands/runtime/impl/kubernetes/README.mdindex c28e814e9f..79bfa9fe1e 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.51-nikolaik"+ runtime_container_image = "docker.all-hands.dev/all-hands-ai/runtime:0.52-nikolaik"```#### Additional Kubernetes Optionsdiff --git a/pyproject.toml b/pyproject.tomlindex 5815091bfe..5fb6bb0f5b 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -6,7 +6,7 @@ requires = [[tool.poetry]name = "openhands-ai"-version = "0.51.1"+version = "0.52.0"description = "OpenHands: Code Less, Make More"authors = [ "OpenHands" ]license = "MIT"