🙌 OpenHands: AI-Driven Development
Release 0.28.0 (#7127)
mamoodi71f6b0b4a901
diff --git a/Development.md b/Development.mdindex a3a572f19b..a4ea277011 100644--- a/Development.md+++ b/Development.md@@ -100,7 +100,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 Docker container image bysetting 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.27-nikolaik`+Example: `export SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.28-nikolaik`## Develop inside Docker containerdiff --git a/README.md b/README.mdindex d5d45f3b6a..1e858bc247 100644--- a/README.md+++ b/README.md@@ -43,17 +43,17 @@ See the [Running OpenHands](https://docs.all-hands.dev/modules/usage/installatiosystem requirements and more information.```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-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.27+ docker.all-hands.dev/all-hands-ai/openhands:0.28```You'll find OpenHands running at [http://localhost:3000](http://localhost:3000)!diff --git a/containers/dev/compose.yml b/containers/dev/compose.ymlindex 97e8a9eecd..929424407b 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.27-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-ghcr.io/all-hands-ai/runtime:0.28-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 a82d0b99b8..c9c6e8d69b 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.27-nikolaik}+ - SANDBOX_RUNTIME_CONTAINER_IMAGE=${SANDBOX_RUNTIME_CONTAINER_IMAGE:-docker.all-hands.dev/all-hands-ai/runtime:0.28-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/i18n/fr/docusaurus-plugin-content-docs/current/usage/how-to/cli-mode.md b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/how-to/cli-mode.mdindex a75017dfcf..14ef248a16 100644--- a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/how-to/cli-mode.md+++ b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/how-to/cli-mode.md@@ -52,7 +52,7 @@ LLM_API_KEY="sk_test_12345"```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \-e LLM_API_KEY=$LLM_API_KEY \@@ -61,7 +61,7 @@ docker run -it \-v /var/run/docker.sock:/var/run/docker.sock \--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.27 \+ docker.all-hands.dev/all-hands-ai/openhands:0.28 \python -m openhands.core.cli```diff --git a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/how-to/headless-mode.md b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/how-to/headless-mode.mdindex 257b0b85c6..3bbb946f20 100644--- a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/how-to/headless-mode.md+++ b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/how-to/headless-mode.md@@ -46,7 +46,7 @@ LLM_API_KEY="sk_test_12345"```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \-e LLM_API_KEY=$LLM_API_KEY \@@ -56,6 +56,6 @@ docker run -it \-v /var/run/docker.sock:/var/run/docker.sock \--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.27 \+ docker.all-hands.dev/all-hands-ai/openhands:0.28 \python -m openhands.core.main -t "write a bash script that prints hi" --no-auto-continue```diff --git a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/installation.mdx b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/installation.mdxindex d79dd71388..1dfe92714a 100644--- a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/installation.mdx+++ b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/installation.mdx@@ -13,16 +13,16 @@La façon la plus simple d'exécuter OpenHands est avec Docker.```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.27+ docker.all-hands.dev/all-hands-ai/openhands:0.28```Vous pouvez également exécuter OpenHands en mode [headless scriptable](https://docs.all-hands.dev/modules/usage/how-to/headless-mode), en tant que [CLI interactive](https://docs.all-hands.dev/modules/usage/how-to/cli-mode), ou en utilisant l'[Action GitHub OpenHands](https://docs.all-hands.dev/modules/usage/how-to/github-action).diff --git a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/runtimes.md b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/runtimes.mdindex f348ee0fbd..bb85c9cda5 100644--- a/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/runtimes.md+++ b/docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/runtimes.md@@ -13,7 +13,7 @@ C'est le Runtime par défaut qui est utilisé lorsque vous démarrez OpenHands.```docker run # ...- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-v /var/run/docker.sock:/var/run/docker.sock \# ...```diff --git a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/how-to/cli-mode.md b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/how-to/cli-mode.mdindex 500d6d2583..779df02636 100644--- a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/how-to/cli-mode.md+++ b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/how-to/cli-mode.md@@ -50,7 +50,7 @@ LLM_API_KEY="sk_test_12345"```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \-e LLM_API_KEY=$LLM_API_KEY \@@ -59,7 +59,7 @@ docker run -it \-v /var/run/docker.sock:/var/run/docker.sock \--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.27 \+ docker.all-hands.dev/all-hands-ai/openhands:0.28 \python -m openhands.core.cli```diff --git a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/how-to/headless-mode.md b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/how-to/headless-mode.mdindex 6107fae97a..aef90a6fd7 100644--- a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/how-to/headless-mode.md+++ b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/how-to/headless-mode.md@@ -47,7 +47,7 @@ LLM_API_KEY="sk_test_12345"```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \-e LLM_API_KEY=$LLM_API_KEY \@@ -57,6 +57,6 @@ docker run -it \-v /var/run/docker.sock:/var/run/docker.sock \--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.27 \+ docker.all-hands.dev/all-hands-ai/openhands:0.28 \python -m openhands.core.main -t "write a bash script that prints hi" --no-auto-continue```diff --git a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/installation.mdx b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/installation.mdxindex 83bf4a626c..c9ad52e6c8 100644--- a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/installation.mdx+++ b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/installation.mdx@@ -11,16 +11,16 @@在 Docker 中运行 OpenHands 是最简单的方式。```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-e LOG_ALL_EVENTS=true \-v /var/run/docker.sock:/var/run/docker.sock \-p 3000:3000 \--add-host host.docker.internal:host-gateway \--name openhands-app \- docker.all-hands.dev/all-hands-ai/openhands:0.27+ docker.all-hands.dev/all-hands-ai/openhands:0.28```你也可以在可脚本化的[无头模式](https://docs.all-hands.dev/modules/usage/how-to/headless-mode)下运行 OpenHands,作为[交互式 CLI](https://docs.all-hands.dev/modules/usage/how-to/cli-mode),或使用 [OpenHands GitHub Action](https://docs.all-hands.dev/modules/usage/how-to/github-action)。diff --git a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/runtimes.md b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/runtimes.mdindex 03d7cc7cb3..c1c98fe3ad 100644--- a/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/runtimes.md+++ b/docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/runtimes.md@@ -11,7 +11,7 @@```docker run # ...- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-v /var/run/docker.sock:/var/run/docker.sock \# ...```diff --git a/docs/modules/usage/how-to/cli-mode.md b/docs/modules/usage/how-to/cli-mode.mdindex 24079e7927..cca1ad3ee8 100644--- a/docs/modules/usage/how-to/cli-mode.md+++ b/docs/modules/usage/how-to/cli-mode.md@@ -35,7 +35,7 @@ To run OpenHands in CLI mode with Docker:```bashdocker run -it \--pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \-e LLM_API_KEY=$LLM_API_KEY \@@ -45,7 +45,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.27 \+ docker.all-hands.dev/all-hands-ai/openhands:0.28 \python -m openhands.core.cli```diff --git a/docs/modules/usage/how-to/headless-mode.md b/docs/modules/usage/how-to/headless-mode.mdindex cc320dee2e..d08d3d8c91 100644--- a/docs/modules/usage/how-to/headless-mode.md+++ b/docs/modules/usage/how-to/headless-mode.md@@ -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.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-e SANDBOX_USER_ID=$(id -u) \-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \-e LLM_API_KEY=$LLM_API_KEY \@@ -43,7 +43,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.27 \+ docker.all-hands.dev/all-hands-ai/openhands:0.28 \python -m openhands.core.main -t "write a bash script that prints hi"```diff --git a/docs/modules/usage/installation.mdx b/docs/modules/usage/installation.mdxindex fb15ee1087..47bed7a7df 100644--- a/docs/modules/usage/installation.mdx+++ b/docs/modules/usage/installation.mdx@@ -58,17 +58,17 @@ A system with a modern processor and a minimum of **4GB RAM** is recommended toThe easiest way to run OpenHands is in Docker.```bash-docker pull docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik+docker pull docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaikdocker run -it --rm --pull=always \- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-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.27+ docker.all-hands.dev/all-hands-ai/openhands:0.28```You'll find OpenHands running at http://localhost:3000!diff --git a/docs/modules/usage/runtimes.md b/docs/modules/usage/runtimes.mdindex 1ebb925ec4..933e23294d 100644--- a/docs/modules/usage/runtimes.md+++ b/docs/modules/usage/runtimes.md@@ -16,7 +16,7 @@ some flags being passed to `docker run` that make this possible:```docker run # ...- -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.27-nikolaik \+ -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.28-nikolaik \-v /var/run/docker.sock:/var/run/docker.sock \# ...```diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex bcc6404db5..8475fcf790 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -1,12 +1,12 @@{"name": "openhands-frontend",- "version": "0.27.0",+ "version": "0.28.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "openhands-frontend",- "version": "0.27.0",+ "version": "0.28.0","dependencies": {"@heroui/react": "2.7.4","@monaco-editor/react": "^4.7.0-rc.0",diff --git a/frontend/package.json b/frontend/package.jsonindex 83c0a9d359..32b4e3fb3e 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -1,6 +1,6 @@{"name": "openhands-frontend",- "version": "0.27.0",+ "version": "0.28.0","private": true,"type": "module","engines": {diff --git a/pyproject.toml b/pyproject.tomlindex c2d5108a6f..7596a53519 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "openhands-ai"-version = "0.27.0"+version = "0.28.0"description = "OpenHands: Code Less, Make More"authors = ["OpenHands"]license = "MIT"@@ -110,7 +110,6 @@ reportlab = "*"[tool.coverage.run]concurrency = ["gevent"]-[tool.poetry.group.runtime.dependencies]jupyterlab = "*"notebook = "*"@@ -139,7 +138,6 @@ ignore = ["D1"][tool.ruff.lint.pydocstyle]convention = "google"-[tool.poetry.group.evaluation.dependencies]streamlit = "*"whatthepatch = "*"