Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Hotfix(CLI VI): unable to launch via default entrypoint (#11354)

Rohit Malhotrafe82cfd27735
diff --git a/openhands-cli/pyproject.toml b/openhands-cli/pyproject.toml
index 36ec6ce706..421903007a 100644
--- a/openhands-cli/pyproject.toml
+++ b/openhands-cli/pyproject.toml
@@ -15,9 +15,11 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
+# Using Git URLs for dependencies so installs from PyPI pull from GitHub
+# TODO: pin package versions once agent-sdk has published PyPI packages
dependencies = [
- "openhands-sdk",
- "openhands-tools",
+ "openhands-sdk @ git+https://github.com/All-Hands-AI/agent-sdk.git@50b094a92817e448ec4352d2950df4f19edd5a9f#subdirectory=openhands/sdk",
+ "openhands-tools @ git+https://github.com/All-Hands-AI/agent-sdk.git@50b094a92817e448ec4352d2950df4f19edd5a9f#subdirectory=openhands/tools",
"prompt-toolkit>=3",
"typer>=0.17.4",
]
@@ -41,6 +43,9 @@ dev = [
"ruff>=0.11.8",
]
+[tool.hatch.metadata]
+allow-direct-references = true
+
[tool.hatch.build.targets.wheel]
packages = [ "openhands_cli" ]