calm-artist-7206
09/16/2026, 8:21 PMfresh-machine-37269
09/16/2026, 8:21 PMfresh-machine-37269
09/16/2026, 8:26 PMGET /api/desktop/url stub (desktop_router.py), its registration on both the app and runtime routers, and the tests that pinned the stub plus the stale OpenAPI entry. No server-side references remain, so it unblocks the v1.49.0 deprecation-deadline check.
One non-blocking note: the TypeScript client (desktop-client.ts) still has a DesktopClient.getUrl pointing at that endpoint, but it was already dead (always 503), so no behavior change β worth a follow-up cleanup.calm-artist-7206
09/16/2026, 8:32 PMfresh-machine-37269
09/16/2026, 8:57 PMGET /api/desktop/url.
What changed (44 deletions, 6 files):
β’ Deleted clients/typescript/src/client/desktop-client.ts
β’ Removed DesktopClient wiring from openhands-client.ts and conversation-manager.ts (import/field/instantiation/`close()`)
β’ Removed its exports from clients.ts (DesktopClient, DesktopClientOptions)
β’ Removed DesktopUrlResponse from models/api.ts and its index.ts export
Verified green:
β’ npm run build (tsc) β
β’ npm test β 328/328 β
β’ npm run lint β 0 errors β
β’ npm run format:check β
β’ npm run check:public-type-budget β unchanged β
One caveat I need to flag: this PR has maintainerCanModify disabled, so my bot account (all-hands-bot) can't push to your enyst/agent-sdk fork branch. Instead I:
1. Pushed the fix to OpenHands/software-agent-sdk:openhands/fix-5105-ts-desktop-client, and
2. Left a comment on the PR (with the full diff and test evidence) explaining how to cherry-pick 584c4b00.
So it's ready to merge β either cherry-pick that commit onto the PR branch, or I can open a separate PR against the same base if you'd prefer. Note I left the auto-generated DesktopUrlResponse in src/generated/agent-server-schema.ts alone, since it's regenerated from the pinned agent-server:1.47.0 OpenAPI and will disappear on the next version bump.