Available on crate feature
computer-use only.Expand description
Graph, auth, and v8 wire contracts for safe computer-use orchestration.
Available with feature: computer-use (included in standard).
Modules§
- contracts
- camelCase wire contracts for
computer-use-mcp. - runtime
- Runtime adapters and response binding.
The
ComputerUseRuntimeboundary and its concrete adapters.
Structs§
- Action
Envelope - Immutable action proposed by the graph and enforced by the runtime.
- Action
Preview - Result of
preview_actionused for deterministic graph routing. - Action
Provenance - Provenance describing whether an action derives from untrusted instructions.
- Action
Resource Context - Optional resource identifiers describing what an action touches.
- AdkEvaluation
Claims - Claims asserted by an
AdkEvaluationReceiptand re-checked on verify. - AdkEvaluation
Receipt - Tamper-evident release-evaluation receipt for a computer-use subject.
- AdkEvaluation
Source - A source file digest included in an
AdkEvaluationReceipt. - Approval
Grant - Read-only, disclosure-safe authority returned by the runtime approval boundary.
- Bounds
- Axis-aligned bounding box in display coordinates.
- Cancellation
Bridge - Propagates controls in the safe order: revoke desktop authority, then stop reasoning.
- Computer
UseAuth Context - Authenticated identity and exact operation context forwarded to the runtime.
- Computer
UseEvaluation - Outcome of scoring one session’s event trajectory.
- Computer
UseEvaluator - Deterministic release evaluator layered beside ADK’s task-quality evaluators.
- Computer
UseMcp Config - Static configuration binding a
ComputerUseMcpRuntimeto one authenticated session. - Computer
UseMcp Runtime ComputerUseRuntimeimplementation backed by a livecomputer-use-mcpserver.- Control
Lease - One-writer desktop control lease.
- Execution
Capability - A verified execution capability advertised by the runtime.
- Execution
Receipt - Idempotency receipt returned by
execute_action. - Lease
Boundaries - App/window/display boundaries restricting a
ControlLease. - Policy
Decision - A policy decision for a previewed action.
- Postcondition
Evidence - A single postcondition and whether it was satisfied.
- Runtime
Session - A runtime session and its current lifecycle state.
- Safety
Corpus - Versioned cross-runtime deterministic safety corpus.
- Safety
Expectation - Expected effects, restores, and status for a
SafetyScenario. - Safety
Scenario - A single deterministic safety scenario and its expected outcome.
- Scope
Authorizer - Coarse ADK scope gate. The runtime policy engine still evaluates the exact action.
- Session
Completion Evidence - Evidence describing how a session reached completion.
- Session
Deletion Result - Principal-bound result of deleting one terminal runtime session’s durable data.
- Session
Event - Stable supervisor event used for ADK/runtime trace correlation.
- Session
Follow Up - Principal-owned, monotonic steering instruction consumed by an ADK graph.
- Session
Follow UpPage - A page of follow-ups plus the cursor for the next page.
- Target
Evidence - Evidence binding an action to a fresh desktop observation.
- Target
Reservation - Non-authoritative, expiring planner intent for multi-agent conflict checks.
- Target
Reservation Scope - Application/window scope of a
TargetReservation. - Target
Sensitivity Evidence - Value-free native accessibility evidence used for action risk and revalidation.
- Trace
Correlation - ADK ↔ runtime trace correlation identifiers attached to every MCP span.
Enums§
- Action
Class - Operation-aware action class used by authorization and policy.
- Action
Postcondition - Digest-only expected state independently verified by computer-use-mcp.
- Approval
Grant Scope - Scope of an
ApprovalGrant. - Authorization
Error - Reason a
ScopeAuthorizerrejected aComputerUseAuthContext. - Cancellation
Error - Failure propagating a cancellation control to the desktop runtime.
- Computer
UseError - Structured error surfaced by the computer-use graph, runtime trait, and MCP adapter.
- Execution
Mode - Enforced execution mode selected for an action.
- Receipt
Status - Terminal status of an execution receipt.
- Target
Sensitivity Assessment - Conclusion of an accessibility-based target sensitivity check.
- Target
Sensitivity Signal - A single value-free signal contributing to a sensitivity assessment.
- Target
Sensitivity Source - Source of a
TargetSensitivityEvidenceassessment. - Verification
Outcome - What is actually known about an action’s effect after execution.
Traits§
- Agent
Interrupter - Minimal boundary implemented by
adk_runner::Runner::interruptor another host. - Computer
UseRuntime - Runtime boundary implemented by the computer-use MCP server or an in-process adapter.
Functions§
- build_
reference_ graph - Build the flagship deterministic ADK graph.
- build_
reference_ graph_ with_ checkpointer - Build the reference graph with a durable host-supplied checkpointer.
Type Aliases§
- Result
- Convenience alias for fallible computer-use operations.