Skip to content

Update Agent Canvas to SDK 1.49.4 and Automation 1.14.0 #17627

Closed

Description

@hieptl

Desired Behavior

Agent Canvas should default to the coordinated published releases:

  • Agent Server / SDK / TypeScript client 1.49.4
  • Automation 1.14.0

openhands-automation==1.14.0 is published on PyPI and depends on openhands-sdk==1.49.4 and openhands-workspace==1.49.4, so both pins need to move together.

SDK 1.49.4 also changes its agent-client-protocol requirement from >=0.10.1,<0.11.0 to >=0.12.1,<0.13.0 (OpenHands/software-agent-sdk#5122). Agent Canvas still carries the temporary constraints.agentClientProtocol = "agent-client-protocol<0.11" workaround in config/defaults.json, which scripts/dev-safe.mjs passes to uvx --with and .github/workflows/mock-llm-e2e.yml passes to uv pip install. With SDK 1.49.4 that pin makes the agent-server install unsatisfiable:

× No solution found when resolving tool dependencies:
╰─▶ Because openhands-sdk==1.49.4 depends on agent-client-protocol>=0.12.1,<0.13.0
    and you require agent-client-protocol<0.11, we can conclude that your
    requirements are unsatisfiable.

The workaround's own comment says to drop it "until a fixed openhands-sdk ships". SDK 1.49.4 is that release: it now bounds agent-client-protocol itself, so the Canvas-side pin is obsolete and must be removed as part of this bump.

Acceptance Criteria

  • config/defaults.json sets versions.agentServer to 1.49.4 and versions.automation to 1.14.0.
  • package.json pins @openhands/typescript-client to 1.49.4 and package-lock.json resolves it to 1.49.4.
  • The obsolete constraints.agentClientProtocol pin is removed from config/defaults.json, scripts/dev-safe.mjs, and .github/workflows/mock-llm-e2e.yml; npm run dev / bin/agent-canvas.mjs can install and start agent-server 1.49.4 via uvx.
  • Mirrored examples and assertions (AGENTS.md, scripts/check-sdk-version-sync.mjs, scripts/dev-safe.mjs, __tests__/scripts/dev-safe.test.ts) read 1.49.4.
  • node scripts/check-sdk-version-sync.mjs exits 0 and confirms openhands-automation==1.14.0 depends on SDK/workspace 1.49.4.
  • versions.agentCanvas, compatibility.minimumAgentServer, and all other defaults are unchanged.
  • Focused Vitest suites, the full unit suite, and npm run typecheck pass.

OpenHands AI triage

The following comments and acceptance criteria were added by the OpenHands AI agent.

Triage

This is a coordinated dependency bump for the pinned local stack: agent-server/SDK/TypeScript client 1.49.4 and automation 1.14.0. The two pins must move together because the released openhands-automation==1.14.0 depends on openhands-sdk==1.49.4 and openhands-workspace==1.49.4, and the repo enforces that coupling via scripts/check-sdk-version-sync.mjs (which compares the released automation package's SDK dependencies against versions.agentServer). The same bump also removes the now-obsolete constraints.agentClientProtocol = "agent-client-protocol<0.11" workaround: openhands-sdk==1.49.4 bounds agent-client-protocol itself (>=0.12.1,<0.13.0), so the Canvas-side --with agent-client-protocol<0.11 pin makes the uvx agent-server install unsatisfiable. config/defaults.json remains the single source of truth for these versions; scripts/dev-safe.mjs and .github/workflows/mock-llm-e2e.yml are the only two consumers of the removed constraint.

Bounded scope: update the version pins in config/defaults.json and package.json/package-lock.json, remove the obsolete ACP constraint and its consumers, and update the mirrored prose, comments, and test assertions that quote the old version.

Explicit non-goals: no change to versions.agentCanvas or compatibility.minimumAgentServer; no frontend/UI or ACP-behavior changes; no new upper-bound constraint added in place of the removed one; no unrelated dependency refreshes.

Acceptance Criteria

  • config/defaults.json has versions.agentServer exactly "1.49.4" and versions.automation exactly "1.14.0".
  • package.json pins @openhands/typescript-client to exactly "1.49.4", and package-lock.json resolves that dependency (root packages[""].dependencies and the node_modules/@openhands/typescript-client entry) to 1.49.4.
  • constraints.agentClientProtocol is gone from config/defaults.json, and agent-client-protocol<0.11 appears nowhere under config/defaults.json, scripts/dev-safe.mjs, or .github/workflows/mock-llm-e2e.yml.
  • buildAgentServerCommand in scripts/dev-safe.mjs emits no --with agent-client-protocol<0.11 for either the default PyPI branch or the OH_AGENT_SERVER_VERSION branch; the remaining args still pin openhands-agent-server, openhands-sdk, openhands-tools, and openhands-workspace to the same version plus posthog>=6,<7.
  • The mock LLM e2e workflow no longer reads or passes an ACP constraint: uv pip install into .mock-llm-venv installs only openhands-sdk==<versions.agentServer>.
  • The mock ACP server (tests/e2e/mock-llm/scripts/mock-acp-server.py) still imports and starts against the agent-client-protocol version pulled in transitively by openhands-sdk==1.49.4, with no source changes required.
  • Version references mirrored from the pin read 1.49.4: AGENTS.md, the EXPECTED_SDK_VERSION/usage examples in scripts/check-sdk-version-sync.mjs, and scripts/dev-safe.mjs comments.
  • __tests__/scripts/dev-safe.test.ts expectations match the new default: openhands-*-==1.49.4, source PyPI (1.49.4, default), and no agent-client-protocol<0.11 argument.
  • node scripts/check-sdk-version-sync.mjs exits 0, reporting openhands-automation==1.14.0 with openhands-sdk, openhands-tools, openhands-workspace, and openhands-agent-server all at 1.49.4.
  • versions.agentCanvas and compatibility.minimumAgentServer in config/defaults.json are byte-for-byte unchanged from the pre-change values.
  • npm test passes (including __tests__/scripts/dev-safe.test.ts), and npm run typecheck passes.
  • A live install check succeeds: npm run dev (or bin/agent-canvas.mjs) resolves and starts agent-server 1.49.4 via uvx without a "no solution found when resolving tool dependencies" resolution error.

Activity

  1. added
    enhancement
    on Sep 22, 2026
  2. added
    ready-for-dev
    on Sep 22, 2026
  3. github-actions commented on Sep 22, 2026

    @github-actions
    Contributor

    ✅ ready-for-dev label applied

    This issue meets the readiness criteria and is ready for contribution.
    A contributor can now open a PR that links this issue (Fixes #<number>).

    This is an automated check — no AI was used to generate this comment.

  4. self-assigned this
    on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementpriority:normalready-for-dev

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions