Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

feat(agent): add isolated cloud computer use - #3569

Closed
richardsolomou wants to merge 3 commits into
posthog-code/feat/computer-usefrom
posthog-code/feat/cloud-computer-use
Closed

feat(agent): add isolated cloud computer use#3569
richardsolomou wants to merge 3 commits into
posthog-code/feat/computer-usefrom
posthog-code/feat/cloud-computer-use

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Jul 19, 2026

Copy link
Copy Markdown
Member

Problem

Cloud task agents need a computer they can control without reaching back into the user's Mac. Local computer control and cloud-owned computer control have different trust and lifecycle boundaries.

Changes

  • Send an opt-in computer-use capability when creating cloud runs and bypass pre-warmed runs that lack it.
  • Expose the shared computer tools to cloud Linux sessions while keeping local control limited to macOS sessions.
  • Implement Linux screenshot, application, mouse, and keyboard actions against the task sandbox display.
  • Remove the computer-specific desktop relay behavior while preserving the generic cloud MCP relay.

Companion sandbox and backend changes: PostHog/posthog#72186

How did you test this?

  • Focused Vitest suites: 24 agent tests, 68 API client tests, and 32 core task-creation tests passed.
  • pnpm build:deps, including the packaged local-tools MCP smoke check.
  • pnpm typecheck across the full workspace.
  • Biome checks on changed files. A broader package lint reports existing warnings outside this diff.
  • I could not exercise the real virtual desktop from this environment because the companion sandbox image requires Docker.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

Generated-By: PostHog Code
Task-Id: c424306e-3221-4201-bbce-83723deb6a13
@github-actions

github-actions Bot commented Jul 19, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 98441cb.

Generated-By: PostHog Code
Task-Id: c6d78416-85c8-4304-bd69-e309562468c4
Generated-By: PostHog Code
Task-Id: c6d78416-85c8-4304-bd69-e309562468c4
@richardsolomou richardsolomou self-assigned this Jul 19, 2026
@richardsolomou richardsolomou changed the title feat(agent): relay computer use to cloud tasks feat(agent): add isolated cloud computer use Jul 19, 2026
@github-actions

Copy link
Copy Markdown

This PR has had no activity for 7 days and has been marked stale. We are moving to the monorepo and tightening PR staleness in preparation, so it will be closed in 7 days if no further activity occurs.

@github-actions github-actions Bot added the stale No recent changes to PR label Jul 27, 2026
@charlesvien

Copy link
Copy Markdown
Member

Closing stale PRs ahead of Friday's monorepo migration. If this is a mistake, rebase and reopen for review.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

stale No recent changes to PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants