feat: add desktop control tools #63

Merged
hongming merged 1 commits from feat/desktop-control-tools into main 2026-05-25 09:20:48 +00:00
Owner

Adds native desktop-control MCP tools for display-enabled workspaces.\n\nChanges:\n- Adds desktop_status, desktop_screenshot, desktop_click, desktop_type, desktop_key, desktop_open_url.\n- Includes display tools in the runtime capabilities/system prompt helpers.\n- Bumps runtime to 0.3.0 for the additive desktop-control API.\n\nVerification:\n- PYTHONPATH=$PWD pytest -q -> 355 passed\n- Live path check: /workspace is shared into the host chroot, so screenshots written by host display tools are visible to the runtime container.

Adds native desktop-control MCP tools for display-enabled workspaces.\n\nChanges:\n- Adds desktop_status, desktop_screenshot, desktop_click, desktop_type, desktop_key, desktop_open_url.\n- Includes display tools in the runtime capabilities/system prompt helpers.\n- Bumps runtime to 0.3.0 for the additive desktop-control API.\n\nVerification:\n- PYTHONPATH=$PWD pytest -q -> 355 passed\n- Live path check: /workspace is shared into the host chroot, so screenshots written by host display tools are visible to the runtime container.
hongming added 1 commit 2026-05-25 09:06:15 +00:00
feat: add desktop control tools
ci / lint (pull_request) Successful in 45s
ci / unit-tests (pull_request) Successful in 1m25s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 26s
ci / build (pull_request) Successful in 1m28s
ci / smoke-install (pull_request) Successful in 1m28s
8a1e51d087
app-fe force-pushed feat/desktop-control-tools from 8a1e51d087 to 14221793bc 2026-05-25 09:15:55 +00:00 Compare
infra-runtime-be approved these changes 2026-05-25 09:18:27 +00:00
infra-runtime-be left a comment
Member

Reviewed latest desktop-control runtime patch. Security blockers were addressed: no shell URL launch, desktop tools are gated by display.control, screenshots no longer write directly to workspace from host root, and browser launch drops to ubuntu. Local full suite: 364 passed.

Reviewed latest desktop-control runtime patch. Security blockers were addressed: no shell URL launch, desktop tools are gated by display.control, screenshots no longer write directly to workspace from host root, and browser launch drops to ubuntu. Local full suite: 364 passed.
infra-runtime-be approved these changes 2026-05-25 09:18:28 +00:00
infra-runtime-be left a comment
Member

Reviewed latest desktop-control runtime patch. Security blockers were addressed: no shell URL launch, desktop tools are gated by display.control, screenshots no longer write directly to workspace from host root, and browser launch drops to ubuntu. Local full suite: 364 passed.

Reviewed latest desktop-control runtime patch. Security blockers were addressed: no shell URL launch, desktop tools are gated by display.control, screenshots no longer write directly to workspace from host root, and browser launch drops to ubuntu. Local full suite: 364 passed.
dev-lead approved these changes 2026-05-25 09:19:24 +00:00
dev-lead left a comment
Member

Runtime API review approved. The patch is additive, tests cover registration/RBAC/security regressions, and local full suite passes.

Runtime API review approved. The patch is additive, tests cover registration/RBAC/security regressions, and local full suite passes.
dev-lead approved these changes 2026-05-25 09:19:24 +00:00
dev-lead left a comment
Member

Runtime API review approved. The patch is additive, tests cover registration/RBAC/security regressions, and local full suite passes.

Runtime API review approved. The patch is additive, tests cover registration/RBAC/security regressions, and local full suite passes.
hongming merged commit 71287efb6d into main 2026-05-25 09:20:48 +00:00
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-ai-workspace-runtime#63