Repository navigation
Expose the HTTP proxy to external agents and delegate access to exe.dev VMs - #411
Merged
Merged
Conversation
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.
An external agent can discover its Factorize HTTP proxy through MCP, create a VM through the native exe.dev API, and call
grant_vmto give that guest access to selected integrations. The guest authenticates with an exclusive exe.dev WIF attachment and a local enrollment proof. Revocation blocks further proxy requests and schedules identity cleanup while leaving the VM running.Client migration. This removes the
request_apiandread_api_responseMCP tools. Clients send the same JSON arguments to the HTTP endpoints advertised byget_api_reflection. The device-login launcher gives Codex and its shell one authorization. HTTP proxy use requiresproxy:use, and delegation additionally requiresvm:grant. Apply migration0060_external_vm_grants.sqlbefore deploying the Worker.Validation. The complete
npm testsuite passed in the pinned validation runner. Integration coverage includes device login, enrollment retries, reduced access, expiry, and parent revocation. The exe.dev API was simulated for these tests. Live exe.dev enrollment remains unverified.