Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions automation/presets/plugin/setup.sh
Original file line number Diff line number Diff line change
@@ -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"
25 changes: 17 additions & 8 deletions automation/presets/prompt/setup.sh
Original file line number Diff line number Diff line change
@@ -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"
Loading