chore: bump agent-server 1.39.1, automation 1.5.0, typescript-client 1.36.1 (#16197)

This commit is contained in:
Hiep Le
2026-07-30 19:05:17 +07:00
committed by GitHub
parent bab763e4d4
commit ca982d66bb
8 changed files with 30 additions and 24 deletions
+6 -6
View File
@@ -19,7 +19,7 @@
*
* Usage:
* node scripts/check-sdk-version-sync.mjs
* EXPECTED_SDK_VERSION=1.38.0 node scripts/check-sdk-version-sync.mjs
* EXPECTED_SDK_VERSION=1.39.1 node scripts/check-sdk-version-sync.mjs
* node scripts/check-sdk-version-sync.mjs --check-pypi
*
* Environment variables:
@@ -78,7 +78,7 @@ Triggering from other repos:
-H "Authorization: token \$GITHUB_TOKEN" \\
-H "Accept: application/vnd.github.v3+json" \\
https://api.github.com/repos/OpenHands/OpenHands/dispatches \\
-d '{"event_type": "sdk-version-check", "client_payload": {"version": "1.38.0"}}'
-d '{"event_type": "sdk-version-check", "client_payload": {"version": "1.39.1"}}'
`);
process.exit(0);
}
@@ -260,9 +260,9 @@ async function fetchPyPIDependencies(packageName, version) {
* Parse PyPI requires_dist array and extract SDK package versions
*
* PyPI returns dependencies in PEP 508 format like:
* "openhands-sdk>=1.38.0,<2.0.0"
* "openhands-tools==1.38.0"
* "openhands-workspace (>=1.38.0)"
* "openhands-sdk>=1.39.1,<2.0.0"
* "openhands-tools==1.39.1"
* "openhands-workspace (>=1.39.1)"
*/
function parseSdkVersionsFromRequiresDist(requiresDist) {
const versions = {};
@@ -276,7 +276,7 @@ function parseSdkVersionsFromRequiresDist(requiresDist) {
}
// Extract the version number - look for patterns like:
// ">=1.38.0", "==1.38.0", "(>=1.38.0)", "~=1.38.0"
// ">=1.39.1", "==1.39.1", "(>=1.39.1)", "~=1.39.1"
// After the package name and before any comma or closing paren
const versionPattern = /[><=~!]+\s*([0-9]+(?:\.[0-9]+)*)/;
const match = dep.match(versionPattern);
+2 -2
View File
@@ -48,7 +48,7 @@ const LOCAL_AGENT_SERVER_SUBDIRS = [
"openhands-workspace",
];
const DEFAULT_AGENT_SERVER_VERSION = SHARED_DEFAULTS.versions.agentServer;
// Temporary transitive-dep pin: openhands-sdk 1.38.0 leaves agent-client-protocol
// Temporary transitive-dep pin: openhands-sdk 1.39.1 leaves agent-client-protocol
// unbounded (>=0.10.1), but acp 0.11.0 reordered the ACP prompt() args and breaks
// the SDK's ACP client. Hold acp <0.11 until a fixed SDK ships. See config/defaults.json.
const AGENT_CLIENT_PROTOCOL_CONSTRAINT =
@@ -399,7 +399,7 @@ export function validateFrontendDependencies(
* edits are picked up without a manual reinstall. The agent-server itself
* is rebuilt from local source on each invocation (--reinstall).
* - OH_AGENT_SERVER_GIT_REF: Git commit SHA or branch name
* - OH_AGENT_SERVER_VERSION: Specific PyPI version (e.g., "1.38.0")
* - OH_AGENT_SERVER_VERSION: Specific PyPI version (e.g., "1.39.1")
*
* If none are set, defaults to the released version specified by
* DEFAULT_AGENT_SERVER_VERSION. Set OH_AGENT_SERVER_GIT_REF to use a