🙌 OpenHands: AI-Driven Development
Release 0.46.0 (#9328)
mamoodib0b820f8b2f1
diff --git a/Development.md b/Development.mdindex 674dcd946f..cc3d2e97a0 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.45-nikolaik`+Example: `export SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.46-nikolaik`## Develop inside Docker containerdiff --git a/README.md b/README.mdindex 36d035cb6b..aaf26a87c4 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.45-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.46-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.45-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.46-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.45+ docker.all-hands.dev/all-hands-ai/openhands:0.46```> **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 2f767bd701..9cd861bd24 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.45-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.46-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.45-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.46-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.45+ docker.all-hands.dev/all-hands-ai/openhands:0.46```> **注意**: 如果您在0.44版本之前使用过OpenHands,您可能需要运行 `mv ~/.openhands-state ~/.openhands` 来将对话历史迁移到新位置。diff --git a/README_JA.md b/README_JA.mdindex 1090ad2e7f..28005dd3d1 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.45-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.46-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.45-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.46-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.45+ docker.all-hands.dev/all-hands-ai/openhands:0.46```**注**: バージョン0.44以前のOpenHandsを使用していた場合は、会話履歴を移行するために `mv ~/.openhands-state ~/.openhands` を実行してください。diff --git a/containers/dev/compose.yml b/containers/dev/compose.ymlindex 36b2511bc7..156f71ad1d 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.45-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.46-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 af672fd8da..71da502da7 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.45-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.46-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 1ca1a25933..87b4afe1bc 100644--- a/docs/usage/how-to/cli-mode.mdx+++ b/docs/usage/how-to/cli-mode.mdx@@ -55,7 +55,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.45-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.46-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e SANDBOX_VOLUMES=$SANDBOX_VOLUMES \-e LLM_API_KEY=$LLM_API_KEY \@@ -64,7 +64,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.45 \+ docker.all-hands.dev/all-hands-ai/openhands:0.46 \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 293756b2b3..ffadd134e1 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.45-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.46-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:/.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.45 \+ docker.all-hands.dev/all-hands-ai/openhands:0.46 \python -m openhands.core.main -t "write a bash script that prints hi"```> **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/docs/usage/llms/local-llms.mdx b/docs/usage/llms/local-llms.mdxindex a235a5f642..613dc3ce8f 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.45-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.46-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.45-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.46-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.45+ docker.all-hands.dev/all-hands-ai/openhands:0.46```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.45+Status: Image is up to date for docker.all-hands.dev/all-hands-ai/openhands:0.46Starting 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 7e6abe8150..819d46bb45 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.45-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.46-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.45-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.46-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.45+ docker.all-hands.dev/all-hands-ai/openhands:0.46```> **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 b9d68a933c..ebf2227b8f 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -1,12 +1,12 @@{"name": "openhands-frontend",- "version": "0.45.0",+ "version": "0.46.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openhands-frontend",- "version": "0.45.0",+ "version": "0.46.0","dependencies": {"@heroui/react": "^2.8.0-beta.9","@microlink/react-json-view": "^1.26.2",diff --git a/frontend/package.json b/frontend/package.jsonindex 9229b3afe9..e2907037f7 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,6 +1,6 @@{"name": "openhands-frontend",- "version": "0.45.0",+ "version": "0.46.0","private": true,"type": "module","engines": {diff --git a/openhands/runtime/impl/kubernetes/README.md b/openhands/runtime/impl/kubernetes/README.mdindex 797b895f20..d478390f37 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.45-nikolaik"+ runtime_container_image = "docker.all-hands.dev/all-hands-ai/runtime:0.46-nikolaik"```#### Additional Kubernetes Optionsdiff --git a/pyproject.toml b/pyproject.tomlindex 07ce68e95d..19ebf11359 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -6,7 +6,7 @@ requires = [[tool.poetry]name = "openhands-ai"-version = "0.45.0"+version = "0.46.0"description = "OpenHands: Code Less, Make More"authors = [ "OpenHands" ]license = "MIT"