Skip to main content

Crate silicon_browser_shared

Crate silicon_browser_shared 

Source
Expand description

Stable domain and wire contracts shared by every Silicon Browser component.

Identifiers deliberately remain strings: IAM, the browser provider, and Briefcase own their formats. Validation here checks only guarantees Silicon Browser itself can safely enforce.

Structs§

AccessList
Normalized union of explicit principals (@id) and IAM tags (tag).
ApiError
Stable error payload. code intentionally remains open for future services.
ApiErrorEnvelope
Failed API response envelope.
AuthExchangeRequest
Exchanges an IAM short-lived token (SLT) for browser OAuth-style tokens.
AuthRefreshRequest
AuthSession
Tokens returned by IAM. Callers must persist these owner-only and atomically.
CommandReport
Cooperative client telemetry, not proof that these were all browser actions. Retrying this report must never execute the command again. Browser output remains on the client and has no field in this telemetry protocol.
CommandReportReceipt
DeliveryAuthorization
DeliveryAuthorizationRequest
Envelope
Successful API response envelope.
FetchItem
FetchRequest
FetchResponse
FieldError
Machine-readable field error embedded in an API error.
Identity
LiveLink
LiveRedeemRequest
Redeem the opaque grant carried in a Silicon Browser live-link fragment.
Money
Org
Profile
ProfileCreate
ProfileEnd
ProfileUpdate
ProxyLocation
Recording
RecordingFilter
RunRequest
RunResult
SearchRequest
SearchResponse
SearchResult
Session
SessionConnection
A sensitive, direct provider connection. The client controls the browser; this is not a backend proxy and grants are bounded by the browser’s lifetime.
SessionCreate
SessionEnd
SessionFilter
SessionLog
SessionLogs
TextPattern
Case-insensitive CLI text pattern. ^text anchors a prefix and * is a zero-or-more wildcard; an unadorned pattern is an exact match.
Usage
UsageCost
UsageFilter
UsageLimits
Current shared browser-account capacity. This is not an organization’s allocation, remaining capacity, or a count of anyone’s active sessions.
UsageTotal

Enums§

DeliveryAuthorizationState
FetchFormat
FetchStatus
FilterError
IdentityKind
ProfileStatus
RecordingFacet
RecordingPredicate
RecordingStatus
RunEvent
SearchType
SessionFacet
SessionPredicate
SessionStatus
SessionTtl
The only session TTLs accepted by Silicon Browser.
UsagePredicate
ValidationError
Input validation failure suitable for conversion into an API field error.

Constants§

AGENT_BROWSER_VERSION
The native local controller version installed by setup and used by the client.

Traits§

Validate

Type Aliases§

AuthRefreshResponse
IdentityId
OrgId
ProfileId
RecordingId
RequestId
SessionId