Skip to content
YosoiDocs

Surface

yosoi::surface

pub mod surface

Source: crates/yosoi/src/surface/session.rs:1

Name Kind Summary
archive namespace Surface recording uses existing immutable Documents and AutomationRecords.
browser namespace Live browser observation and authority; platform process details stay local.
model namespace Shared evidence protocol for web documents and video timelines.
video namespace Immutable local-video observations, lazy frame reads, and time-addressed references.
Name Kind Summary
ActionLease struct Exclusive action lifetime; dropping it preserves uncertainty rather than claiming success.
ActionReceipt struct Receipt preserving dispatch separately from a claimed postcondition.
ActionStatus enum External adapter’s reported action outcome.
ArchivedSource struct Exact retained source bytes and their document interpretation.
ArchiveLimits struct Resource limits for a self-contained Surface outcome before encoding.
ArchivePolicy enum Whether a Surface retains the evidence required to become an Archive value.
Continuation struct A continuation bound to capture, operation, scope, and search expression.
Coordinate struct Representation-native evidence address, not an executable browser selector.
Coverage struct Source coverage, kept separate from omission due to response budgets.
Cursor struct Logical exploration cursor; cloning refers to the same position and reader identity.
CursorId struct Session-local opaque cursor identity.
CursorState struct Inspectable cursor state for debugging, demos, and external harnesses.
Entry struct A compact routing entry whose original evidence remains inspectable.
Event struct Bounded session event, optionally addressed to a reader and region watch.
EventBatch struct One reader’s independently consumed event window.
EventKind enum Event classes; none imply that arbitrary application memory was observed.
Freshness enum Freshness of a saved position relative to the session’s current evidence.
ImageCrop struct Actual PNG pixel evidence for an indexed image region; not OCR or a semantic prediction.
Inspection struct Bounded source-backed detail; text chunks need not be valid whole documents.
Outcome struct A self-contained Surface execution suitable for normal Archive persistence. Captures and selectors are data; no live session, cursor or action lease is stored.
OutcomeRef struct Typed reference selecting a Surface outcome through the existing Archive API.
Page struct A bounded overview, member page, or literal-search page.
Position struct Independent exploration position for one logical cursor.
Reference struct Address of one node within one exact immutable interpretation.
SourceInterpretation enum Interpreter needed to reconstruct retained evidence, without live authority.
SourceReference struct Origin of a reference projected into a named combined observation view.
WatchId struct Session-local opaque subscription identity.
WatchState struct Observable state of one logical region subscription.