Skip to main content

Crate vtcode_computer_use

Crate vtcode_computer_use 

Source
Expand description

Turn-local computer input and observation. Payloads are deliberately not serializable.

Modules§

browser
Bounded private protocol for the isolated Chromium runner.
gate
Computer-use route admission and live-probe records.

Structs§

Point
A position in the target screenshot’s pixel coordinates.
Screenshot
An in-memory screenshot bounded by the controller’s payload limit.
TurnControl
A unique driver lease for an approved target in one turn. The caller supplies that turn’s cancellation token after approval and keeps the lease off durable history.

Enums§

Action
A provider-neutral request to observe or interact with the target.
MouseButton
A mouse button identified independently of the driver.
Observation
The result of a single driver action.
ScrollDirection
Direction of a wheel scroll.

Constants§

MAX_BATCH_ACTIONS
Maximum number of actions admitted per batch.
MAX_SCREENSHOT_BYTES
Maximum screenshot bytes accepted per action batch.

Traits§

Driver
An instance is bound to one target. The driver owns delivery checks and cleanup even when an action future is dropped while input is in flight.