Skip to content

πŸ™Œ OpenHands: AI-Driven Development

chore: bump agent-server to 1.55.0 (#18485)

OpenHands Bot38fe0c0e2d74
diff --git a/.agents/skills/local-stack-runtime/references/guide.md b/.agents/skills/local-stack-runtime/references/guide.md
index b880b2c9f4..8bf4997703 100644
--- a/.agents/skills/local-stack-runtime/references/guide.md
+++ b/.agents/skills/local-stack-runtime/references/guide.md
@@ -92,10 +92,10 @@ you are running inside of β€” NOT the automation backend.
- `scripts/dev-safe.mjs` uses `uvx` for temporary agent-server installation β€” no permanent `uv tool install` needed. Environment variables (highest precedence first):
- `OH_AGENT_SERVER_LOCAL_PATH` β€” absolute path to a local `software-agent-sdk` checkout. Runs the local checkout via `uvx` with `--with-editable` for `openhands-sdk`/`openhands-tools`/`openhands-workspace` and `--reinstall` for `openhands-agent-server`, so SDK edits are picked up on restart. Highest precedence.
- `OH_AGENT_SERVER_GIT_REF` β€” git commit SHA or branch name (takes precedence over version)
- - `OH_AGENT_SERVER_VERSION` β€” specific PyPI version (e.g., "1.54.0")
+ - `OH_AGENT_SERVER_VERSION` β€” specific PyPI version (e.g., "1.55.0")
- `OH_SECRET_KEY` β€” secret key for settings encryption; auto-generated and persisted to `~/.openhands/agent-canvas/secret-key.txt` on first run (same file Docker uses), ensuring dev mode and Docker share the same key when both mount the same `~/.openhands` directory. Override with the env var to pin a specific key.
- `SESSION_API_KEY` / `OH_SESSION_API_KEYS_0` / `VITE_SESSION_API_KEY` β€” session API key for agent-server authentication; auto-generated using `crypto.randomBytes(32)` if not set, passed to both agent-server (`OH_SESSION_API_KEYS_0`) and frontend (`VITE_SESSION_API_KEY`)
- - Default: released PyPI version `1.54.0` for agent-server SDK libraries
+ - Default: released PyPI version `1.55.0` for agent-server SDK libraries
- Security: launchers generate and persist a 64-character session API key at `~/.openhands/agent-canvas/session-api-key.txt` unless overridden. The agent-server and automation backend share that session key. `OH_SECRET_KEY` protects settings encryption and is persisted separately at `~/.openhands/agent-canvas/secret-key.txt`.
- `scripts/dev-safe.mjs` should fail fast if `uvx` cannot be spawned (for example missing PATH entries).
diff --git a/__tests__/api/mock-settings-catalog.test.ts b/__tests__/api/mock-settings-catalog.test.ts
index da02c151a1..5cf97f6b0c 100644
--- a/__tests__/api/mock-settings-catalog.test.ts
+++ b/__tests__/api/mock-settings-catalog.test.ts
@@ -37,7 +37,7 @@ describe("mock agent-server discovery", () => {
security_analyzers: string[];
}>("/server_info");
expect(serverInfo).toMatchObject({
- version: "1.54.0",
+ version: "1.55.0",
usable_tools: [
"terminal",
"file_editor",
diff --git a/__tests__/scripts/dev-safe.test.ts b/__tests__/scripts/dev-safe.test.ts
index 3d07008ea6..5fca5afe7a 100644
--- a/__tests__/scripts/dev-safe.test.ts
+++ b/__tests__/scripts/dev-safe.test.ts
@@ -514,20 +514,20 @@ describe("buildAgentServerCommand", () => {
// Defaults to the released PyPI version with all SDK packages pinned to same version
expect(cmd.args).toEqual([
"--from",
- "openhands-agent-server==1.54.0",
+ "openhands-agent-server==1.55.0",
"--with",
- "openhands-sdk==1.54.0",
+ "openhands-sdk==1.55.0",
"--with",
- "openhands-tools==1.54.0",
+ "openhands-tools==1.55.0",
"--with",
- "openhands-workspace==1.54.0",
+ "openhands-workspace==1.55.0",
"--with",
"posthog>=6,<7",
"agent-server",
"--import-modules",
"canvas_ui_tool",
]);
- expect(cmd.source).toBe("PyPI (1.54.0, default)");
+ expect(cmd.source).toBe("PyPI (1.55.0, default)");
});
it("uses specific PyPI version when OH_AGENT_SERVER_VERSION is set with all packages pinned", () => {
diff --git a/config/defaults.json b/config/defaults.json
index c6a20570b7..437a8a53ef 100644
--- a/config/defaults.json
+++ b/config/defaults.json
@@ -1,9 +1,9 @@
{
"_comment": "Single source of truth for version pins, ports, paths, and defaults shared across the npm and Docker install paths. Read by scripts/dev-safe.mjs, scripts/dev-with-automation.mjs, docker/entrypoint.sh (via generated defaults.env), and .github/workflows/docker.yml.",
"versions": {
- "agentServer": "1.54.0",
+ "agentServer": "1.55.0",
"agentCanvas": "1.27.1",
- "automation": "1.19.3"
+ "automation": "1.20.0"
},
"compatibility": {
"minimumAgentServer": "1.51.0"
diff --git a/package-lock.json b/package-lock.json
index e84241c152..ab8e1ea1d4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,7 +14,7 @@
"@microlink/react-json-view": "1.31.25",
"@monaco-editor/react": "4.7.0",
"@openhands/extensions": "0.30.0",
- "@openhands/typescript-client": "1.54.0",
+ "@openhands/typescript-client": "1.55.0",
"@react-router/node": "7.18.2",
"@react-router/serve": "7.18.2",
"@tailwindcss/vite": "4.3.3",
@@ -4151,9 +4151,9 @@
}
},
"node_modules/@openhands/typescript-client": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/@openhands/typescript-client/-/typescript-client-1.54.0.tgz",
- "integrity": "sha512-g9zwiKtAujjnFLdiS+3LjBJ0XZ8rYwbrIBzH6qqHZqslLaN/eammWZmW7u7uhL2NwQRhBxbNUBOIpT1oBPzhlg==",
+ "version": "1.55.0",
+ "resolved": "https://registry.npmjs.org/@openhands/typescript-client/-/typescript-client-1.55.0.tgz",
+ "integrity": "sha512-mPldtkGXjpHv9dGoz4GGiL0ugriKXAt1EEFnxOfkQfnes0U+3cP88e9uOgYBRAUUanLNB9v+SHSZB0rG1ccFBQ==",
"license": "MIT",
"dependencies": {
"@openrouter/sdk": "^1.2.11",
diff --git a/package.json b/package.json
index 2a635c2a10..e1df39d5b7 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,7 @@
"@microlink/react-json-view": "1.31.25",
"@monaco-editor/react": "4.7.0",
"@openhands/extensions": "0.30.0",
- "@openhands/typescript-client": "1.54.0",
+ "@openhands/typescript-client": "1.55.0",
"@react-router/node": "7.18.2",
"@react-router/serve": "7.18.2",
"@tailwindcss/vite": "4.3.3",
diff --git a/scripts/check-sdk-version-sync.mjs b/scripts/check-sdk-version-sync.mjs
index 8ea2efc12c..434332a498 100644
--- a/scripts/check-sdk-version-sync.mjs
+++ b/scripts/check-sdk-version-sync.mjs
@@ -26,7 +26,7 @@
*
* Usage:
* node scripts/check-sdk-version-sync.mjs
- * EXPECTED_SDK_VERSION=1.54.0 node scripts/check-sdk-version-sync.mjs
+ * EXPECTED_SDK_VERSION=1.55.0 node scripts/check-sdk-version-sync.mjs
* node scripts/check-sdk-version-sync.mjs --check-pypi
*
* Environment variables:
@@ -85,7 +85,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.54.0"}}'
+ -d '{"event_type": "sdk-version-check", "client_payload": {"version": "1.55.0"}}'
`);
process.exit(0);
}
@@ -300,9 +300,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.54.0,<2.0.0"
- * "openhands-tools==1.54.0"
- * "openhands-workspace (>=1.54.0)"
+ * "openhands-sdk>=1.55.0,<2.0.0"
+ * "openhands-tools==1.55.0"
+ * "openhands-workspace (>=1.55.0)"
*/
function parseSdkVersionsFromRequiresDist(requiresDist) {
const versions = {};
@@ -316,7 +316,7 @@ function parseSdkVersionsFromRequiresDist(requiresDist) {
}
// Extract the version number - look for patterns like:
- // ">=1.54.0", "==1.54.0", "(>=1.54.0)", "~=1.54.0"
+ // ">=1.55.0", "==1.55.0", "(>=1.55.0)", "~=1.55.0"
// After the package name and before any comma or closing paren
const versionPattern = /[><=~!]+\s*([0-9]+(?:\.[0-9]+)*)/;
const match = dep.match(versionPattern);
diff --git a/scripts/dev-safe.mjs b/scripts/dev-safe.mjs
index 4cee96cfc6..bc124bcad6 100644
--- a/scripts/dev-safe.mjs
+++ b/scripts/dev-safe.mjs
@@ -417,7 +417,7 @@ export const AGENT_SERVER_IMPORT_MODULES = "canvas_ui_tool";
* 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.54.0")
+ * - OH_AGENT_SERVER_VERSION: Specific PyPI version (e.g., "1.55.0")
*
* If none are set, defaults to the released version specified by
* DEFAULT_AGENT_SERVER_VERSION. Set OH_AGENT_SERVER_GIT_REF to use a
diff --git a/src/mocks/settings-handlers.ts b/src/mocks/settings-handlers.ts
index 4a31c6a16e..89825715ce 100644
--- a/src/mocks/settings-handlers.ts
+++ b/src/mocks/settings-handlers.ts
@@ -624,7 +624,7 @@ const MOCK_VERIFIED_MODELS_BY_PROVIDER = MOCK_MODELS.reduce<
// Matches the pinned `@openhands/typescript-client`, so mock mode models a
// server that actually ships this schema.
-const MOCK_AGENT_SERVER_VERSION = "1.54.0";
+const MOCK_AGENT_SERVER_VERSION = "1.55.0";
// --- Handlers for options/config/settings ---
// Uses wildcard "*" prefix to match both relative paths and absolute URLs