Skip to content

Conversation

@enyst
Copy link
Collaborator

@enyst enyst commented Nov 10, 2025

Summary

  • Re-export ConversationExecutionStatus at public module boundaries
    • openhands.sdk.conversation: add ConversationExecutionStatus import and all entry
    • openhands.sdk (top-level): re-export ConversationExecutionStatus and include in all

Why

  • OpenHands CLI (and other consumers) currently import ConversationExecutionStatus from an internal path (openhands.sdk.conversation.state). This is brittle and contributed to breakages when internals moved.
  • By exposing this Enum via the public API surface, we establish a stable import path (from openhands.sdk import ConversationExecutionStatus) and can scope API compatibility checks to these exported symbols.

Notes

Co-authored-by: openhands [email protected]

@enyst can click here to continue refining the PR


Agent Server images for this PR

GHCR package: https://github.com/OpenHands/agent-sdk/pkgs/container/agent-server

Variants & Base Images

Variant Architectures Base Image Docs / Tags
java amd64, arm64 eclipse-temurin:17-jdk Link
python amd64, arm64 nikolaik/python-nodejs:python3.12-nodejs22 Link
golang amd64, arm64 golang:1.21-bookworm Link

Pull (multi-arch manifest)

# Each variant is a multi-arch manifest supporting both amd64 and arm64
docker pull ghcr.io/openhands/agent-server:249c226-python

Run

docker run -it --rm \
  -p 8000:8000 \
  --name agent-server-249c226-python \
  ghcr.io/openhands/agent-server:249c226-python

All tags pushed for this build

ghcr.io/openhands/agent-server:249c226-golang-amd64
ghcr.io/openhands/agent-server:249c226-golang_tag_1.21-bookworm-amd64
ghcr.io/openhands/agent-server:249c226-golang-arm64
ghcr.io/openhands/agent-server:249c226-golang_tag_1.21-bookworm-arm64
ghcr.io/openhands/agent-server:249c226-java-amd64
ghcr.io/openhands/agent-server:249c226-eclipse-temurin_tag_17-jdk-amd64
ghcr.io/openhands/agent-server:249c226-java-arm64
ghcr.io/openhands/agent-server:249c226-eclipse-temurin_tag_17-jdk-arm64
ghcr.io/openhands/agent-server:249c226-python-amd64
ghcr.io/openhands/agent-server:249c226-nikolaik_s_python-nodejs_tag_python3.12-nodejs22-amd64
ghcr.io/openhands/agent-server:249c226-python-arm64
ghcr.io/openhands/agent-server:249c226-nikolaik_s_python-nodejs_tag_python3.12-nodejs22-arm64
ghcr.io/openhands/agent-server:249c226-golang
ghcr.io/openhands/agent-server:249c226-java
ghcr.io/openhands/agent-server:249c226-python

About Multi-Architecture Support

  • Each variant tag (e.g., 249c226-python) is a multi-arch manifest supporting both amd64 and arm64
  • Docker automatically pulls the correct architecture for your platform
  • Individual architecture tags (e.g., 249c226-python-amd64) are also available if needed

…l__)\n\n- Re-export ConversationExecutionStatus from openhands.sdk.conversation and openhands.sdk top-level\n- Add to __all__ to define it as part of the public API\n\nCo-authored-by: openhands <[email protected]>
@openhands-ai
Copy link

openhands-ai bot commented Nov 10, 2025

Looks like there are a few issues preventing this PR from being merged!

  • GitHub Actions are failing:
    • Pre-commit checks

If you'd like me to help, just leave a comment, like

@OpenHands please fix the failing actions on PR #1126 at branch `chore/export-public-api`

Feel free to include any additional details that might help me get this PR into a better state.

You can manage your notification settings

@enyst enyst marked this pull request as ready for review November 10, 2025 20:37
@enyst enyst merged commit f452e14 into main Nov 10, 2025
20 checks passed
@enyst enyst deleted the chore/export-public-api branch November 10, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants