feat(agent): add bounded local computer use#3565
Open
richardsolomou wants to merge 4 commits into
Open
Conversation
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Generated-By: PostHog Code Task-Id: 18a0ed17-2c63-4288-98b3-65563803ac72
Generated-By: PostHog Code Task-Id: 18a0ed17-2c63-4288-98b3-65563803ac72
Build and verify the standalone Codex local-tools MCP entrypoint before packaging the desktop app. Generated-By: PostHog Code Task-Id: 64d16b4c-2c25-4e05-ba9d-824311186124
Resize desktop captures and enforce a 1 MB result cap so repeated computer use cannot exhaust gateway request bytes. Generated-By: PostHog Code Task-Id: 64d16b4c-2c25-4e05-ba9d-824311186124
richardsolomou
force-pushed
the
posthog-code/feat/computer-use
branch
from
July 19, 2026 11:06
e49386a to
42c0c0c
Compare
richardsolomou
marked this pull request as ready for review
July 19, 2026 12:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Local sessions cannot operate desktop apps through one portable adapter-neutral contract. Full-resolution captures can also make long conversations exceed the gateway request limit.
Changes
I added opt-in macOS screenshot, application, mouse, and keyboard tools shared by Claude and Codex. Captures are resized and capped at 1 MB, and the packaged app verifies the standalone local-tools MCP before release.
How did you test this?
@posthog/agentand packaged the Electron app.Automatic notifications
Created with PostHog Code