diff --git a/automation/presets/plugin/setup.sh b/automation/presets/plugin/setup.sh index 26f497f..36c4f67 100644 --- a/automation/presets/plugin/setup.sh +++ b/automation/presets/plugin/setup.sh @@ -1,17 +1,26 @@ #!/bin/bash -# Install the OpenHands SDK from PyPI. +# Install the OpenHands SDK from PR branch for testing. +# +# TESTING: SDK PR #3054 - MCP config fix +# https://github.com/OpenHands/software-agent-sdk/pull/3054 +# +# This installs from the fix/mcp-config-format-passthrough branch +# to test the MCP config changes before PyPI release. # # Note: Repository cloning is handled by the SDK's # OpenHandsCloudWorkspace.clone_repos() method inside main.py. set -e -SDK_VERSION="1.19.1" +SDK_BRANCH="fix/mcp-config-format-passthrough" +SDK_REPO="https://github.com/OpenHands/software-agent-sdk.git" + +echo "[setup] Installing OpenHands SDK from PR branch: $SDK_BRANCH" +echo "[setup] This is a TEST build for SDK PR #3054" -echo "[setup] Installing OpenHands SDK (version: $SDK_VERSION)" -# Package order doesn't matter - pip resolves all dependencies together +# Install all three packages from the PR branch pip install -q --no-cache-dir \ - "openhands-sdk==${SDK_VERSION}" \ - "openhands-tools==${SDK_VERSION}" \ - "openhands-workspace==${SDK_VERSION}" + "openhands-sdk @ git+${SDK_REPO}@${SDK_BRANCH}#subdirectory=openhands-sdk" \ + "openhands-tools @ git+${SDK_REPO}@${SDK_BRANCH}#subdirectory=openhands-tools" \ + "openhands-workspace @ git+${SDK_REPO}@${SDK_BRANCH}#subdirectory=openhands-workspace" -echo "[setup] Done" +echo "[setup] Done - SDK installed from branch: $SDK_BRANCH" diff --git a/automation/presets/prompt/setup.sh b/automation/presets/prompt/setup.sh index 26f497f..36c4f67 100644 --- a/automation/presets/prompt/setup.sh +++ b/automation/presets/prompt/setup.sh @@ -1,17 +1,26 @@ #!/bin/bash -# Install the OpenHands SDK from PyPI. +# Install the OpenHands SDK from PR branch for testing. +# +# TESTING: SDK PR #3054 - MCP config fix +# https://github.com/OpenHands/software-agent-sdk/pull/3054 +# +# This installs from the fix/mcp-config-format-passthrough branch +# to test the MCP config changes before PyPI release. # # Note: Repository cloning is handled by the SDK's # OpenHandsCloudWorkspace.clone_repos() method inside main.py. set -e -SDK_VERSION="1.19.1" +SDK_BRANCH="fix/mcp-config-format-passthrough" +SDK_REPO="https://github.com/OpenHands/software-agent-sdk.git" + +echo "[setup] Installing OpenHands SDK from PR branch: $SDK_BRANCH" +echo "[setup] This is a TEST build for SDK PR #3054" -echo "[setup] Installing OpenHands SDK (version: $SDK_VERSION)" -# Package order doesn't matter - pip resolves all dependencies together +# Install all three packages from the PR branch pip install -q --no-cache-dir \ - "openhands-sdk==${SDK_VERSION}" \ - "openhands-tools==${SDK_VERSION}" \ - "openhands-workspace==${SDK_VERSION}" + "openhands-sdk @ git+${SDK_REPO}@${SDK_BRANCH}#subdirectory=openhands-sdk" \ + "openhands-tools @ git+${SDK_REPO}@${SDK_BRANCH}#subdirectory=openhands-tools" \ + "openhands-workspace @ git+${SDK_REPO}@${SDK_BRANCH}#subdirectory=openhands-workspace" -echo "[setup] Done" +echo "[setup] Done - SDK installed from branch: $SDK_BRANCH"