cayu.browser_profiles
Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.
AESGCMBrowserProfileKeyAuthority
Section titled “AESGCMBrowserProfileKeyAuthority”from cayu import AESGCMBrowserProfileKeyAuthorityLocal AES-256-GCM key authority for application-managed key bytes.
Bases: BrowserProfileKeyAuthority.
authority_id (property)
Section titled “authority_id (property)”AESGCMBrowserProfileKeyAuthority.authority_id() -> strencrypt (method)
Section titled “encrypt (method)”async AESGCMBrowserProfileKeyAuthority.encrypt(*, nonce: bytes, plaintext: bytes, aad: bytes) -> bytesdecrypt (method)
Section titled “decrypt (method)”async AESGCMBrowserProfileKeyAuthority.decrypt(*, nonce: bytes, ciphertext: bytes, aad: bytes) -> bytesinit (method)
Section titled “init (method)”AESGCMBrowserProfileKeyAuthority.__init__(*, authority_id: str, key: bytes) -> NoneRelease source · Runtime guarantees · Capability guides
BROWSER_PROFILE_ENCRYPTION_ALGORITHM
Section titled “BROWSER_PROFILE_ENCRYPTION_ALGORITHM”from cayu import BROWSER_PROFILE_ENCRYPTION_ALGORITHMBROWSER_PROFILE_ENCRYPTION_ALGORITHM = 'AES-256-GCM'Release source · Runtime guarantees · Capability guides
BROWSER_PROFILE_SCHEMA_VERSION
Section titled “BROWSER_PROFILE_SCHEMA_VERSION”from cayu import BROWSER_PROFILE_SCHEMA_VERSIONBROWSER_PROFILE_SCHEMA_VERSION = 1Release source · Runtime guarantees · Capability guides
BROWSER_PROFILE_STATE_SCHEMA_VERSION
Section titled “BROWSER_PROFILE_STATE_SCHEMA_VERSION”from cayu import BROWSER_PROFILE_STATE_SCHEMA_VERSIONBROWSER_PROFILE_STATE_SCHEMA_VERSION = 1Release source · Runtime guarantees · Capability guides
BrowserProfileAccess
Section titled “BrowserProfileAccess”from cayu import BrowserProfileAccessBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
profile_id |
StrictStr |
required |
authority_fingerprint |
StrictStr |
required |
owner_fingerprint |
StrictStr |
required |
sharing_fingerprint |
StrictStr |
required |
store_id |
StrictStr |
required |
validate_identifier (method)
Section titled “validate_identifier (method)”BrowserProfileAccess.validate_identifier(value: str, info) -> strvalidate_digest (method)
Section titled “validate_digest (method)”BrowserProfileAccess.validate_digest(value: str, info) -> strfrom_authority (method)
Section titled “from_authority (method)”BrowserProfileAccess.from_authority(authority: BrowserProfileAuthority) -> BrowserProfileAccessRelease source · Runtime guarantees · Capability guides
BrowserProfileAuthority
Section titled “BrowserProfileAuthority”from cayu import BrowserProfileAuthorityBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
schema_version |
Literal[1] |
1 |
profile_id |
StrictStr |
required |
scope |
BrowserProfileScope |
required |
destination_policy |
BrowserProfileDestinationPolicy |
required |
browser_protocol |
StrictStr |
required |
browser_worker_version |
StrictStr |
required |
state_schema_version |
Literal[1] |
1 |
key_authority_id |
StrictStr |
required |
store_id |
StrictStr |
required |
created_at |
datetime |
required |
expires_at |
datetime | None |
None |
fingerprint |
StrictStr |
required |
validate_profile_id (method)
Section titled “validate_profile_id (method)”BrowserProfileAuthority.validate_profile_id(value: str) -> strvalidate_identity (method)
Section titled “validate_identity (method)”BrowserProfileAuthority.validate_identity(value: str, info) -> strvalidate_time (method)
Section titled “validate_time (method)”BrowserProfileAuthority.validate_time(value: datetime | None, info) -> datetime | Nonevalidate_fingerprint (method)
Section titled “validate_fingerprint (method)”BrowserProfileAuthority.validate_fingerprint(value: str) -> stridentity_material (method)
Section titled “identity_material (method)”BrowserProfileAuthority.identity_material() -> dict[str, object]validate_authority (method)
Section titled “validate_authority (method)”BrowserProfileAuthority.validate_authority() -> Selfbuild (method)
Section titled “build (method)”BrowserProfileAuthority.build(*, scope: BrowserProfileScope, destination_policy: BrowserProfileDestinationPolicy, browser_protocol: str, browser_worker_version: str, key_authority_id: str, store_id: str, profile_id: str | None=None, created_at: datetime | None=None, expires_at: datetime | None=None) -> BrowserProfileAuthorityRelease source · Runtime guarantees · Capability guides
BrowserProfileBinding
Section titled “BrowserProfileBinding”from cayu import BrowserProfileBindingApplication-selected profile authority bound to one interactive browser tool.
init (method)
Section titled “init (method)”BrowserProfileBinding.__init__(*, authority: BrowserProfileAuthority, store: BrowserProfileStore, key_authority: BrowserProfileKeyAuthority, current_policy: BrowserProfileDestinationPolicy | None=None, limits: BrowserProfileLimits | None=None, checkpoint_policy: BrowserProfileCheckpointPolicy=BrowserProfileCheckpointPolicy.ON_CLOSE, expected_ref: BrowserProfileRef | None=None, lease_seconds: int=1200) -> Noneauthority (property)
Section titled “authority (property)”BrowserProfileBinding.authority() -> BrowserProfileAuthorityaccess (property)
Section titled “access (property)”BrowserProfileBinding.access() -> BrowserProfileAccesscurrent_policy (property)
Section titled “current_policy (property)”BrowserProfileBinding.current_policy() -> BrowserProfileDestinationPolicylimits (property)
Section titled “limits (property)”BrowserProfileBinding.limits() -> BrowserProfileLimitscheckpoint_policy (property)
Section titled “checkpoint_policy (property)”BrowserProfileBinding.checkpoint_policy() -> BrowserProfileCheckpointPolicyexpected_ref (property)
Section titled “expected_ref (property)”BrowserProfileBinding.expected_ref() -> BrowserProfileRef | Nonelease_seconds (property)
Section titled “lease_seconds (property)”BrowserProfileBinding.lease_seconds() -> intbuild (method)
Section titled “build (method)”BrowserProfileBinding.build(*, scope: BrowserProfileScope, destination_policy: BrowserProfileDestinationPolicy, browser_protocol: str, browser_worker_version: str, store: BrowserProfileStore, key_authority: BrowserProfileKeyAuthority, profile_id: str | None=None, created_at: datetime | None=None, expires_at: datetime | None=None, **options: Any) -> BrowserProfileBindinginitialize (method)
Section titled “initialize (method)”async BrowserProfileBinding.initialize() -> BrowserProfileRefexecution_profile_material (method)
Section titled “execution_profile_material (method)”BrowserProfileBinding.execution_profile_material() -> dict[str, object]prepare_restore (method)
Section titled “prepare_restore (method)”async BrowserProfileBinding.prepare_restore(*, operation_id: str, execution_profile_fingerprint: str, allocation_fingerprint: str, browser_session_id: str) -> BrowserProfileRestoreMaterialcomplete_restore (method)
Section titled “complete_restore (method)”async BrowserProfileBinding.complete_restore(material: BrowserProfileRestoreMaterial, *, outcome: BrowserProfileTerminalOutcome, error_code: str | None=None) -> BrowserProfileRestoreReceiptresume_writer (method)
Section titled “resume_writer (method)”async BrowserProfileBinding.resume_writer(*, execution_profile_fingerprint: str, allocation_fingerprint: str, browser_session_id: str) -> BrowserProfileRestoreMaterialrenew_writer (method)
Section titled “renew_writer (method)”async BrowserProfileBinding.renew_writer(material: BrowserProfileRestoreMaterial) -> BrowserProfileWriterClaimreserve_checkpoint (method)
Section titled “reserve_checkpoint (method)”async BrowserProfileBinding.reserve_checkpoint(*, material: BrowserProfileRestoreMaterial, operation_id: str, source_revision: str, source_operation_receipt_id: str, source_operation_fingerprint: str, ambiguous_lineage: bool) -> BrowserProfileCheckpointPlanfail_checkpoint (method)
Section titled “fail_checkpoint (method)”async BrowserProfileBinding.fail_checkpoint(plan: BrowserProfileCheckpointPlan, *, outcome: BrowserProfileTerminalOutcome, error_code: str) -> BrowserProfileCheckpointReceiptreconcile_checkpoint (method)
Section titled “reconcile_checkpoint (method)”async BrowserProfileBinding.reconcile_checkpoint(operation_id: str, *, material: BrowserProfileRestoreMaterial | None=None) -> BrowserProfileCheckpointReceipt | NoneReconcile publication and optionally settle the live material’s adoption.
When supplied, material adopts the matching writer, encrypted envelope, and decrypted state before caller cancellation is propagated.
publish_checkpoint (method)
Section titled “publish_checkpoint (method)”async BrowserProfileBinding.publish_checkpoint(plan: BrowserProfileCheckpointPlan, state: BrowserProfileStateV1) -> BrowserProfileCheckpointReceiptrelease_writer (method)
Section titled “release_writer (method)”async BrowserProfileBinding.release_writer(material: BrowserProfileRestoreMaterial) -> Nonerevoke (method)
Section titled “revoke (method)”async BrowserProfileBinding.revoke(*, revoked_at: datetime | None=None) -> BrowserProfileInspectionRevoke future profile use without claiming to erase loaded cookies.
Release source · Runtime guarantees · Capability guides
BrowserProfileCheckpointPolicy
Section titled “BrowserProfileCheckpointPolicy”from cayu import BrowserProfileCheckpointPolicyBases: StrEnum.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
DISABLED |
class attribute |
'disabled' |
AFTER_TERMINAL_OPERATION |
class attribute |
'after_terminal_operation' |
ON_CLOSE |
class attribute |
'on_close' |
Release source · Runtime guarantees · Capability guides
BrowserProfileCheckpointReceipt
Section titled “BrowserProfileCheckpointReceipt”from cayu import BrowserProfileCheckpointReceiptBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
receipt_id |
StrictStr |
required |
operation_id |
StrictStr |
required |
request_fingerprint |
StrictStr |
required |
previous_ref |
BrowserProfileRef |
required |
published_ref |
BrowserProfileRef |
required |
current_policy_fingerprint |
StrictStr |
required |
execution_profile_fingerprint |
StrictStr |
required |
allocation_fingerprint |
StrictStr |
required |
browser_session_id |
StrictStr |
required |
writer_fence |
StrictInt |
Field(ge=1, le=MAX_DURABLE_JSON_INTEGER) |
source_revision |
StrictStr |
required |
source_operation_receipt_id |
StrictStr |
required |
source_operation_fingerprint |
StrictStr |
required |
ambiguous_lineage |
StrictBool |
required |
origin_count |
StrictInt |
Field(ge=0, le=BROWSER_PROFILE_MAX_ORIGINS) |
cookie_count |
StrictInt |
Field(ge=0, le=BROWSER_PROFILE_MAX_COOKIES) |
storage_entry_count |
StrictInt |
Field(ge=0, le=BROWSER_PROFILE_MAX_STORAGE_ENTRIES) |
outcome |
BrowserProfileTerminalOutcome |
required |
error_code |
StrictStr | None |
None |
settled_at |
datetime |
required |
validate_identifier (method)
Section titled “validate_identifier (method)”BrowserProfileCheckpointReceipt.validate_identifier(value: str, info) -> strvalidate_digest (method)
Section titled “validate_digest (method)”BrowserProfileCheckpointReceipt.validate_digest(value: str, info) -> strvalidate_error_code (method)
Section titled “validate_error_code (method)”BrowserProfileCheckpointReceipt.validate_error_code(value: str | None) -> str | Nonevalidate_settled_at (method)
Section titled “validate_settled_at (method)”BrowserProfileCheckpointReceipt.validate_settled_at(value: datetime) -> datetimevalidate_transition (method)
Section titled “validate_transition (method)”BrowserProfileCheckpointReceipt.validate_transition() -> SelfRelease source · Runtime guarantees · Capability guides
BrowserProfileCheckpointRequest
Section titled “BrowserProfileCheckpointRequest”from cayu import BrowserProfileCheckpointRequestBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
operation_id |
StrictStr |
required |
access |
BrowserProfileAccess |
required |
writer_claim |
BrowserProfileWriterClaim |
required |
source_revision |
StrictStr |
required |
source_operation_receipt_id |
StrictStr |
required |
source_operation_fingerprint |
StrictStr |
required |
current_policy_fingerprint |
StrictStr |
required |
ambiguous_lineage |
StrictBool |
False |
validate_identifier (method)
Section titled “validate_identifier (method)”BrowserProfileCheckpointRequest.validate_identifier(value: str, info) -> strvalidate_fingerprint (method)
Section titled “validate_fingerprint (method)”BrowserProfileCheckpointRequest.validate_fingerprint(value: str, info) -> strfingerprint (method)
Section titled “fingerprint (method)”BrowserProfileCheckpointRequest.fingerprint() -> strvalidate_authority (method)
Section titled “validate_authority (method)”BrowserProfileCheckpointRequest.validate_authority() -> SelfRelease source · Runtime guarantees · Capability guides
BrowserProfileCheckpointReservation
Section titled “BrowserProfileCheckpointReservation”from cayu import BrowserProfileCheckpointReservationBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
reservation_id |
StrictStr |
required |
request |
BrowserProfileCheckpointRequest |
required |
request_fingerprint |
StrictStr |
required |
reserved_ciphertext_bytes |
StrictInt |
Field(ge=17, le=BROWSER_PROFILE_MAX_CIPHERTEXT_BYTES) |
previous_origin_count |
StrictInt |
Field(ge=0, le=BROWSER_PROFILE_MAX_ORIGINS) |
previous_cookie_count |
StrictInt |
Field(ge=0, le=BROWSER_PROFILE_MAX_COOKIES) |
previous_storage_entry_count |
StrictInt |
Field(ge=0, le=BROWSER_PROFILE_MAX_STORAGE_ENTRIES) |
reserved_at |
datetime |
required |
validate_reservation_id (method)
Section titled “validate_reservation_id (method)”BrowserProfileCheckpointReservation.validate_reservation_id(value: str) -> strvalidate_fingerprint (method)
Section titled “validate_fingerprint (method)”BrowserProfileCheckpointReservation.validate_fingerprint(value: str) -> strvalidate_reserved_at (method)
Section titled “validate_reserved_at (method)”BrowserProfileCheckpointReservation.validate_reserved_at(value: datetime) -> datetimevalidate_request (method)
Section titled “validate_request (method)”BrowserProfileCheckpointReservation.validate_request() -> SelfRelease source · Runtime guarantees · Capability guides
BrowserProfileCookie
Section titled “BrowserProfileCookie”from cayu import BrowserProfileCookieBases: _PrivateProfileStateModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
name |
StrictStr |
required |
value |
StrictStr |
required |
domain |
StrictStr |
required |
path |
StrictStr |
'/' |
expires |
StrictFloat |
-1.0 |
http_only |
StrictBool |
False |
secure |
StrictBool |
True |
same_site |
Literal['Strict', 'Lax', 'None'] |
'Lax' |
validate_name (method)
Section titled “validate_name (method)”BrowserProfileCookie.validate_name(value: str) -> strvalidate_value (method)
Section titled “validate_value (method)”BrowserProfileCookie.validate_value(value: str) -> strvalidate_domain (method)
Section titled “validate_domain (method)”BrowserProfileCookie.validate_domain(value: str) -> strvalidate_path (method)
Section titled “validate_path (method)”BrowserProfileCookie.validate_path(value: str) -> strvalidate_expires (method)
Section titled “validate_expires (method)”BrowserProfileCookie.validate_expires(value: float) -> floatvalidate_security (method)
Section titled “validate_security (method)”BrowserProfileCookie.validate_security() -> SelfRelease source · Runtime guarantees · Capability guides
BrowserProfileDestinationPolicy
Section titled “BrowserProfileDestinationPolicy”from cayu import BrowserProfileDestinationPolicyBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
schema_version |
Literal[1] |
1 |
origins |
tuple[StrictStr, ...] |
required |
fingerprint |
StrictStr |
required |
normalize_origins (method)
Section titled “normalize_origins (method)”BrowserProfileDestinationPolicy.normalize_origins(value: object) -> tuple[str, ...]validate_fingerprint (method)
Section titled “validate_fingerprint (method)”BrowserProfileDestinationPolicy.validate_fingerprint(value: str) -> strvalidate_content (method)
Section titled “validate_content (method)”BrowserProfileDestinationPolicy.validate_content() -> Selfbuild (method)
Section titled “build (method)”BrowserProfileDestinationPolicy.build(origins: Iterable[str]) -> BrowserProfileDestinationPolicyis_narrower_than (method)
Section titled “is_narrower_than (method)”BrowserProfileDestinationPolicy.is_narrower_than(recorded: BrowserProfileDestinationPolicy) -> booladmits_url (method)
Section titled “admits_url (method)”BrowserProfileDestinationPolicy.admits_url(value: str) -> boolReturn whether one HTTPS URL is within this exact origin policy.
Release source · Runtime guarantees · Capability guides
BrowserProfileEncryptedEnvelope
Section titled “BrowserProfileEncryptedEnvelope”from cayu import BrowserProfileEncryptedEnvelopeBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
schema_version |
Literal[1] |
1 |
authority_fingerprint |
StrictStr |
required |
generation |
StrictInt |
Field(ge=1, le=MAX_DURABLE_JSON_INTEGER) |
encryption_algorithm |
Literal['AES-256-GCM'] |
BROWSER_PROFILE_ENCRYPTION_ALGORITHM |
key_authority_id |
StrictStr |
required |
store_id |
StrictStr |
required |
plaintext_bytes |
StrictInt |
Field(ge=1, le=BROWSER_PROFILE_MAX_PLAINTEXT_BYTES) |
ciphertext_bytes |
StrictInt |
Field(ge=17, le=BROWSER_PROFILE_MAX_CIPHERTEXT_BYTES) |
content_fingerprint |
StrictStr |
required |
nonce_base64 |
StrictStr |
Field(repr=False) |
ciphertext_base64 |
StrictStr |
Field(repr=False) |
validate_digest (method)
Section titled “validate_digest (method)”BrowserProfileEncryptedEnvelope.validate_digest(value: str, info) -> strvalidate_identifier (method)
Section titled “validate_identifier (method)”BrowserProfileEncryptedEnvelope.validate_identifier(value: str, info) -> strvalidate_encoded_payload (method)
Section titled “validate_encoded_payload (method)”BrowserProfileEncryptedEnvelope.validate_encoded_payload() -> Selfnonce (method)
Section titled “nonce (method)”BrowserProfileEncryptedEnvelope.nonce() -> bytesciphertext (method)
Section titled “ciphertext (method)”BrowserProfileEncryptedEnvelope.ciphertext() -> bytesaad_material (method)
Section titled “aad_material (method)”BrowserProfileEncryptedEnvelope.aad_material(authority: BrowserProfileAuthority) -> dict[str, object]Release source · Runtime guarantees · Capability guides
BrowserProfileInspection
Section titled “BrowserProfileInspection”from cayu import BrowserProfileInspectionBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
profile_id |
StrictStr |
required |
authority_fingerprint |
StrictStr |
required |
owner_fingerprint |
StrictStr |
required |
sharing_fingerprint |
StrictStr |
required |
destination_policy_fingerprint |
StrictStr |
required |
state_schema_version |
StrictInt |
required |
browser_protocol |
StrictStr |
required |
browser_worker_version |
StrictStr |
required |
key_authority_id |
StrictStr |
required |
store_id |
StrictStr |
required |
generation |
StrictInt |
required |
content_fingerprint |
StrictStr |
required |
origin_count |
StrictInt |
required |
cookie_count |
StrictInt |
required |
storage_entry_count |
StrictInt |
required |
plaintext_bytes |
StrictInt |
required |
ciphertext_bytes |
StrictInt |
required |
created_at |
datetime |
required |
checkpointed_at |
datetime | None |
required |
expires_at |
datetime | None |
required |
revoked_at |
datetime | None |
required |
active_writer |
StrictBool |
required |
active_allocation_fingerprint |
StrictStr | None |
required |
active_writer_expires_at |
datetime | None |
required |
status |
BrowserProfileStatus |
required |
last_restore_receipt_id |
StrictStr | None |
required |
last_checkpoint_receipt_id |
StrictStr | None |
required |
safe_error_code |
StrictStr | None |
required |
validate_safe_error_code (method)
Section titled “validate_safe_error_code (method)”BrowserProfileInspection.validate_safe_error_code(value: str | None) -> str | NoneRelease source · Runtime guarantees · Capability guides
BrowserProfileKeyAuthority
Section titled “BrowserProfileKeyAuthority”from cayu import BrowserProfileKeyAuthorityApplication-owned encryption boundary; stores never receive key material.
Bases: ABC.
authority_id (property)
Section titled “authority_id (property)”BrowserProfileKeyAuthority.authority_id() -> strencrypt (method)
Section titled “encrypt (method)”async BrowserProfileKeyAuthority.encrypt(*, nonce: bytes, plaintext: bytes, aad: bytes) -> bytesdecrypt (method)
Section titled “decrypt (method)”async BrowserProfileKeyAuthority.decrypt(*, nonce: bytes, ciphertext: bytes, aad: bytes) -> bytesRelease source · Runtime guarantees · Capability guides
BrowserProfileLimits
Section titled “BrowserProfileLimits”from cayu import BrowserProfileLimitsBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
max_origins |
StrictInt |
Field(default=32, ge=1, le=BROWSER_PROFILE_MAX_ORIGINS) |
max_cookies |
StrictInt |
Field(default=1024, ge=1, le=BROWSER_PROFILE_MAX_COOKIES) |
max_storage_entries |
StrictInt |
Field(default=2048, ge=1, le=BROWSER_PROFILE_MAX_STORAGE_ENTRIES) |
max_name_bytes |
StrictInt |
Field(default=1024, ge=1, le=BROWSER_PROFILE_MAX_NAME_BYTES) |
max_value_bytes |
StrictInt |
Field(default=64 * 1024, ge=1, le=BROWSER_PROFILE_MAX_VALUE_BYTES) |
max_plaintext_bytes |
StrictInt |
Field(default=2 * 1024 * 1024, ge=1, le=BROWSER_PROFILE_MAX_PLAINTEXT_BYTES) |
max_ciphertext_bytes |
StrictInt |
Field(default=2 * 1024 * 1024 + 16, ge=17, le=BROWSER_PROFILE_MAX_CIPHERTEXT_BYTES) |
import_timeout_seconds |
StrictFloat |
Field(default=10.0, gt=0, le=BROWSER_PROFILE_MAX_IMPORT_EXPORT_SECONDS) |
export_timeout_seconds |
StrictFloat |
Field(default=10.0, gt=0, le=BROWSER_PROFILE_MAX_IMPORT_EXPORT_SECONDS) |
validate_ciphertext_capacity (method)
Section titled “validate_ciphertext_capacity (method)”BrowserProfileLimits.validate_ciphertext_capacity() -> SelfRelease source · Runtime guarantees · Capability guides
BrowserProfileOriginStorage
Section titled “BrowserProfileOriginStorage”from cayu import BrowserProfileOriginStorageBases: _PrivateProfileStateModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
origin |
StrictStr |
required |
local_storage |
tuple[BrowserProfileStorageEntry, ...] |
required |
validate_origin (method)
Section titled “validate_origin (method)”BrowserProfileOriginStorage.validate_origin(value: str) -> strcopy_entries (method)
Section titled “copy_entries (method)”BrowserProfileOriginStorage.copy_entries(value: object) -> objectvalidate_entry_order (method)
Section titled “validate_entry_order (method)”BrowserProfileOriginStorage.validate_entry_order() -> SelfRelease source · Runtime guarantees · Capability guides
BrowserProfileRef
Section titled “BrowserProfileRef”from cayu import BrowserProfileRefBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
profile_id |
StrictStr |
required |
authority_fingerprint |
StrictStr |
required |
generation |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
content_fingerprint |
StrictStr |
required |
validate_profile_id (method)
Section titled “validate_profile_id (method)”BrowserProfileRef.validate_profile_id(value: str) -> strvalidate_digest (method)
Section titled “validate_digest (method)”BrowserProfileRef.validate_digest(value: str, info) -> strRelease source · Runtime guarantees · Capability guides
BrowserProfileRestorePreparation
Section titled “BrowserProfileRestorePreparation”from cayu import BrowserProfileRestorePreparationBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
request |
BrowserProfileRestoreRequest |
required |
request_fingerprint |
StrictStr |
required |
profile_ref |
BrowserProfileRef |
required |
writer_claim |
BrowserProfileWriterClaim |
required |
envelope |
BrowserProfileEncryptedEnvelope | None |
Field(default=None, repr=False) |
existing_receipt |
BrowserProfileRestoreReceipt | None |
None |
validate_fingerprint (method)
Section titled “validate_fingerprint (method)”BrowserProfileRestorePreparation.validate_fingerprint(value: str) -> strvalidate_preparation (method)
Section titled “validate_preparation (method)”BrowserProfileRestorePreparation.validate_preparation() -> SelfRelease source · Runtime guarantees · Capability guides
BrowserProfileRestoreReceipt
Section titled “BrowserProfileRestoreReceipt”from cayu import BrowserProfileRestoreReceiptBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
receipt_id |
StrictStr |
required |
operation_id |
StrictStr |
required |
request_fingerprint |
StrictStr |
required |
profile_ref |
BrowserProfileRef |
required |
current_policy_fingerprint |
StrictStr |
required |
execution_profile_fingerprint |
StrictStr |
required |
allocation_fingerprint |
StrictStr |
required |
browser_session_id |
StrictStr |
required |
writer_fence |
StrictInt |
Field(ge=1, le=MAX_DURABLE_JSON_INTEGER) |
outcome |
BrowserProfileTerminalOutcome |
required |
error_code |
StrictStr | None |
None |
settled_at |
datetime |
required |
validate_identifier (method)
Section titled “validate_identifier (method)”BrowserProfileRestoreReceipt.validate_identifier(value: str, info) -> strvalidate_digest (method)
Section titled “validate_digest (method)”BrowserProfileRestoreReceipt.validate_digest(value: str, info) -> strvalidate_error_code (method)
Section titled “validate_error_code (method)”BrowserProfileRestoreReceipt.validate_error_code(value: str | None) -> str | Nonevalidate_settled_at (method)
Section titled “validate_settled_at (method)”BrowserProfileRestoreReceipt.validate_settled_at(value: datetime) -> datetimevalidate_outcome (method)
Section titled “validate_outcome (method)”BrowserProfileRestoreReceipt.validate_outcome() -> SelfRelease source · Runtime guarantees · Capability guides
BrowserProfileRestoreRequest
Section titled “BrowserProfileRestoreRequest”from cayu import BrowserProfileRestoreRequestBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
operation_id |
StrictStr |
required |
access |
BrowserProfileAccess |
required |
expected_ref |
BrowserProfileRef | None |
None |
current_policy_fingerprint |
StrictStr |
required |
execution_profile_fingerprint |
StrictStr |
required |
allocation_fingerprint |
StrictStr |
required |
browser_session_id |
StrictStr |
required |
writer_id |
StrictStr |
required |
validate_identifier (method)
Section titled “validate_identifier (method)”BrowserProfileRestoreRequest.validate_identifier(value: str, info) -> strvalidate_digest (method)
Section titled “validate_digest (method)”BrowserProfileRestoreRequest.validate_digest(value: str, info) -> strfingerprint (method)
Section titled “fingerprint (method)”BrowserProfileRestoreRequest.fingerprint() -> strvalidate_authority (method)
Section titled “validate_authority (method)”BrowserProfileRestoreRequest.validate_authority() -> SelfRelease source · Runtime guarantees · Capability guides
BrowserProfileScope
Section titled “BrowserProfileScope”from cayu import BrowserProfileScopeBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
owner_fingerprint |
StrictStr |
required |
sharing_fingerprint |
StrictStr |
required |
validate_fingerprint (method)
Section titled “validate_fingerprint (method)”BrowserProfileScope.validate_fingerprint(value: str, info) -> strbuild (method)
Section titled “build (method)”BrowserProfileScope.build(*, application_id: str, tenant_id: str, sharing_scope: str) -> BrowserProfileScopeRelease source · Runtime guarantees · Capability guides
BrowserProfileStateV1
Section titled “BrowserProfileStateV1”from cayu import BrowserProfileStateV1Bases: _PrivateProfileStateModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
schema_version |
Literal[1] |
1 |
included_categories |
tuple[StrictStr, ...] |
_INCLUDED_CATEGORIES |
omitted_categories |
tuple[StrictStr, ...] |
_OMITTED_CATEGORIES |
cookies |
tuple[BrowserProfileCookie, ...] |
() |
origins |
tuple[BrowserProfileOriginStorage, ...] |
() |
validate_included (method)
Section titled “validate_included (method)”BrowserProfileStateV1.validate_included(value: object) -> tuple[str, ...]validate_omitted (method)
Section titled “validate_omitted (method)”BrowserProfileStateV1.validate_omitted(value: object) -> tuple[str, ...]copy_cookies (method)
Section titled “copy_cookies (method)”BrowserProfileStateV1.copy_cookies(value: object) -> objectcopy_origins (method)
Section titled “copy_origins (method)”BrowserProfileStateV1.copy_origins(value: object) -> objectvalidate_order (method)
Section titled “validate_order (method)”BrowserProfileStateV1.validate_order() -> Selfcanonical_bytes (method)
Section titled “canonical_bytes (method)”BrowserProfileStateV1.canonical_bytes() -> bytesRelease source · Runtime guarantees · Capability guides
BrowserProfileStatus
Section titled “BrowserProfileStatus”from cayu import BrowserProfileStatusBases: StrEnum.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
AVAILABLE |
class attribute |
'available' |
EMPTY |
class attribute |
'empty' |
ACTIVE |
class attribute |
'active' |
EXPIRED |
class attribute |
'expired' |
REVOKED |
class attribute |
'revoked' |
INCOMPATIBLE |
class attribute |
'incompatible' |
CORRUPT |
class attribute |
'corrupt' |
OUTCOME_UNKNOWN |
class attribute |
'outcome_unknown' |
Release source · Runtime guarantees · Capability guides
BrowserProfileStorageEntry
Section titled “BrowserProfileStorageEntry”from cayu import BrowserProfileStorageEntryBases: _PrivateProfileStateModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
name |
StrictStr |
required |
value |
StrictStr |
required |
validate_name (method)
Section titled “validate_name (method)”BrowserProfileStorageEntry.validate_name(value: str) -> strvalidate_value (method)
Section titled “validate_value (method)”BrowserProfileStorageEntry.validate_value(value: str) -> strRelease source · Runtime guarantees · Capability guides
BrowserProfileStore
Section titled “BrowserProfileStore”from cayu import BrowserProfileStoreDedicated encrypted profile store with atomic store-timed mutation.
Bases: ABC.
init (method)
Section titled “init (method)”BrowserProfileStore.__init__(*, store_id: str, clock: Callable[[], datetime]=_now, max_ciphertext_bytes: int=BROWSER_PROFILE_MAX_CIPHERTEXT_BYTES) -> Noneid (property)
Section titled “id (property)”BrowserProfileStore.id() -> strcreate_profile (method)
Section titled “create_profile (method)”async BrowserProfileStore.create_profile(authority: BrowserProfileAuthority) -> BrowserProfileRefcurrent_ref (method)
Section titled “current_ref (method)”async BrowserProfileStore.current_ref(access: BrowserProfileAccess) -> BrowserProfileRefresume_writer (method)
Section titled “resume_writer (method)”async BrowserProfileStore.resume_writer(access: BrowserProfileAccess, *, browser_session_id: str, execution_profile_fingerprint: str, allocation_fingerprint: str, lease_seconds: int) -> BrowserProfileRestorePreparationAtomically renew and reconstruct one exact live writer.
prepare_restore (method)
Section titled “prepare_restore (method)”async BrowserProfileStore.prepare_restore(request: BrowserProfileRestoreRequest, *, lease_seconds: int) -> BrowserProfileRestorePreparationcomplete_restore (method)
Section titled “complete_restore (method)”async BrowserProfileStore.complete_restore(request: BrowserProfileRestoreRequest, *, outcome: BrowserProfileTerminalOutcome, error_code: str | None=None) -> BrowserProfileRestoreReceiptload_restore_receipt (method)
Section titled “load_restore_receipt (method)”async BrowserProfileStore.load_restore_receipt(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileRestoreReceipt | Nonerenew_writer (method)
Section titled “renew_writer (method)”async BrowserProfileStore.renew_writer(access: BrowserProfileAccess, claim: BrowserProfileWriterClaim, *, lease_seconds: int) -> BrowserProfileWriterClaimreserve_checkpoint (method)
Section titled “reserve_checkpoint (method)”async BrowserProfileStore.reserve_checkpoint(request: BrowserProfileCheckpointRequest, *, reserved_ciphertext_bytes: int) -> BrowserProfileCheckpointReservationstage_checkpoint (method)
Section titled “stage_checkpoint (method)”async BrowserProfileStore.stage_checkpoint(reservation: BrowserProfileCheckpointReservation, envelope: BrowserProfileEncryptedEnvelope, *, origin_count: int, cookie_count: int, storage_entry_count: int) -> BrowserProfileCheckpointReceiptfail_checkpoint (method)
Section titled “fail_checkpoint (method)”async BrowserProfileStore.fail_checkpoint(reservation: BrowserProfileCheckpointReservation, *, outcome: BrowserProfileTerminalOutcome, error_code: str) -> BrowserProfileCheckpointReceiptpublish_checkpoint (method)
Section titled “publish_checkpoint (method)”async BrowserProfileStore.publish_checkpoint(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileCheckpointReceiptload_checkpoint_receipt (method)
Section titled “load_checkpoint_receipt (method)”async BrowserProfileStore.load_checkpoint_receipt(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileCheckpointReceipt | Nonereconcile_checkpoint (method)
Section titled “reconcile_checkpoint (method)”async BrowserProfileStore.reconcile_checkpoint(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileCheckpointReceipt | NoneAdopt an already staged generation without recapturing plaintext.
release_writer (method)
Section titled “release_writer (method)”async BrowserProfileStore.release_writer(access: BrowserProfileAccess, claim: BrowserProfileWriterClaim) -> Nonerevoke_profile (method)
Section titled “revoke_profile (method)”async BrowserProfileStore.revoke_profile(access: BrowserProfileAccess, *, revoked_at: datetime | None=None) -> BrowserProfileInspectioninspect_profile (method)
Section titled “inspect_profile (method)”async BrowserProfileStore.inspect_profile(access: BrowserProfileAccess) -> BrowserProfileInspectionlist_profiles (method)
Section titled “list_profiles (method)”async BrowserProfileStore.list_profiles(*, owner_fingerprint: str, sharing_fingerprint: str) -> tuple[BrowserProfileInspection, ...]Release source · Runtime guarantees · Capability guides
BrowserProfileStoreConflict
Section titled “BrowserProfileStoreConflict”from cayu import BrowserProfileStoreConflictThe requested profile mutation conflicts with durable authority.
Bases: RuntimeError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
BrowserProfileTerminalOutcome
Section titled “BrowserProfileTerminalOutcome”from cayu import BrowserProfileTerminalOutcomeBases: StrEnum.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
SUCCEEDED |
class attribute |
'succeeded' |
FAILED |
class attribute |
'failed' |
OUTCOME_UNKNOWN |
class attribute |
'outcome_unknown' |
Release source · Runtime guarantees · Capability guides
BrowserProfileUnavailable
Section titled “BrowserProfileUnavailable”from cayu import BrowserProfileUnavailableThe profile cannot be safely restored or checkpointed.
Bases: RuntimeError.
This type’s implementation and inherited behavior are available in the linked release source.
Release source · Runtime guarantees · Capability guides
BrowserProfileWriterClaim
Section titled “BrowserProfileWriterClaim”from cayu import BrowserProfileWriterClaimBases: _ProfileModel.
Fields and attributes
Section titled “Fields and attributes”Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.
| Name | Type | Default |
|---|---|---|
profile_id |
StrictStr |
required |
authority_fingerprint |
StrictStr |
required |
generation |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
content_fingerprint |
StrictStr |
required |
writer_id |
StrictStr |
required |
fence |
StrictInt |
Field(ge=1, le=MAX_DURABLE_JSON_INTEGER) |
allocation_fingerprint |
StrictStr |
required |
execution_profile_fingerprint |
StrictStr |
required |
browser_session_id |
StrictStr |
required |
acquired_at |
datetime |
required |
expires_at |
datetime |
required |
validate_identifier (method)
Section titled “validate_identifier (method)”BrowserProfileWriterClaim.validate_identifier(value: str, info) -> strvalidate_digest (method)
Section titled “validate_digest (method)”BrowserProfileWriterClaim.validate_digest(value: str, info) -> strvalidate_time (method)
Section titled “validate_time (method)”BrowserProfileWriterClaim.validate_time(value: datetime, info) -> datetimevalidate_expiry (method)
Section titled “validate_expiry (method)”BrowserProfileWriterClaim.validate_expiry() -> SelfRelease source · Runtime guarantees · Capability guides
InMemoryBrowserProfileStore
Section titled “InMemoryBrowserProfileStore”from cayu import InMemoryBrowserProfileStoreProcess-local store used for deterministic composition and conformance.
Bases: BrowserProfileStore.
init (method)
Section titled “init (method)”InMemoryBrowserProfileStore.__init__(*, store_id: str='browser-profiles-memory', clock: Callable[[], datetime]=_now, max_ciphertext_bytes: int=BROWSER_PROFILE_MAX_CIPHERTEXT_BYTES) -> Noneid (property)
Section titled “id (property)”InMemoryBrowserProfileStore.id() -> strcreate_profile (method)
Section titled “create_profile (method)”async InMemoryBrowserProfileStore.create_profile(authority: BrowserProfileAuthority) -> BrowserProfileRefcurrent_ref (method)
Section titled “current_ref (method)”async InMemoryBrowserProfileStore.current_ref(access: BrowserProfileAccess) -> BrowserProfileRefresume_writer (method)
Section titled “resume_writer (method)”async InMemoryBrowserProfileStore.resume_writer(access: BrowserProfileAccess, *, browser_session_id: str, execution_profile_fingerprint: str, allocation_fingerprint: str, lease_seconds: int) -> BrowserProfileRestorePreparationAtomically renew and reconstruct one exact live writer.
prepare_restore (method)
Section titled “prepare_restore (method)”async InMemoryBrowserProfileStore.prepare_restore(request: BrowserProfileRestoreRequest, *, lease_seconds: int) -> BrowserProfileRestorePreparationcomplete_restore (method)
Section titled “complete_restore (method)”async InMemoryBrowserProfileStore.complete_restore(request: BrowserProfileRestoreRequest, *, outcome: BrowserProfileTerminalOutcome, error_code: str | None=None) -> BrowserProfileRestoreReceiptload_restore_receipt (method)
Section titled “load_restore_receipt (method)”async InMemoryBrowserProfileStore.load_restore_receipt(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileRestoreReceipt | Nonerenew_writer (method)
Section titled “renew_writer (method)”async InMemoryBrowserProfileStore.renew_writer(access: BrowserProfileAccess, claim: BrowserProfileWriterClaim, *, lease_seconds: int) -> BrowserProfileWriterClaimreserve_checkpoint (method)
Section titled “reserve_checkpoint (method)”async InMemoryBrowserProfileStore.reserve_checkpoint(request: BrowserProfileCheckpointRequest, *, reserved_ciphertext_bytes: int) -> BrowserProfileCheckpointReservationstage_checkpoint (method)
Section titled “stage_checkpoint (method)”async InMemoryBrowserProfileStore.stage_checkpoint(reservation: BrowserProfileCheckpointReservation, envelope: BrowserProfileEncryptedEnvelope, *, origin_count: int, cookie_count: int, storage_entry_count: int) -> BrowserProfileCheckpointReceiptfail_checkpoint (method)
Section titled “fail_checkpoint (method)”async InMemoryBrowserProfileStore.fail_checkpoint(reservation: BrowserProfileCheckpointReservation, *, outcome: BrowserProfileTerminalOutcome, error_code: str) -> BrowserProfileCheckpointReceiptpublish_checkpoint (method)
Section titled “publish_checkpoint (method)”async InMemoryBrowserProfileStore.publish_checkpoint(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileCheckpointReceiptload_checkpoint_receipt (method)
Section titled “load_checkpoint_receipt (method)”async InMemoryBrowserProfileStore.load_checkpoint_receipt(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileCheckpointReceipt | Nonereconcile_checkpoint (method)
Section titled “reconcile_checkpoint (method)”async InMemoryBrowserProfileStore.reconcile_checkpoint(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileCheckpointReceipt | NoneAdopt an already staged generation without recapturing plaintext.
release_writer (method)
Section titled “release_writer (method)”async InMemoryBrowserProfileStore.release_writer(access: BrowserProfileAccess, claim: BrowserProfileWriterClaim) -> Nonerevoke_profile (method)
Section titled “revoke_profile (method)”async InMemoryBrowserProfileStore.revoke_profile(access: BrowserProfileAccess, *, revoked_at: datetime | None=None) -> BrowserProfileInspectioninspect_profile (method)
Section titled “inspect_profile (method)”async InMemoryBrowserProfileStore.inspect_profile(access: BrowserProfileAccess) -> BrowserProfileInspectionlist_profiles (method)
Section titled “list_profiles (method)”async InMemoryBrowserProfileStore.list_profiles(*, owner_fingerprint: str, sharing_fingerprint: str) -> tuple[BrowserProfileInspection, ...]Release source · Runtime guarantees · Capability guides
SQLiteBrowserProfileStore
Section titled “SQLiteBrowserProfileStore”from cayu import SQLiteBrowserProfileStoreSQLite-backed encrypted profile store with transactional row CAS.
Bases: BrowserProfileStore.
init (method)
Section titled “init (method)”SQLiteBrowserProfileStore.__init__(path: str | Path, *, store_id: str='browser-profiles-sqlite', clock: Callable[[], datetime]=_now, max_ciphertext_bytes: int=BROWSER_PROFILE_MAX_CIPHERTEXT_BYTES) -> Noneid (property)
Section titled “id (property)”SQLiteBrowserProfileStore.id() -> strcreate_profile (method)
Section titled “create_profile (method)”async SQLiteBrowserProfileStore.create_profile(authority: BrowserProfileAuthority) -> BrowserProfileRefcurrent_ref (method)
Section titled “current_ref (method)”async SQLiteBrowserProfileStore.current_ref(access: BrowserProfileAccess) -> BrowserProfileRefresume_writer (method)
Section titled “resume_writer (method)”async SQLiteBrowserProfileStore.resume_writer(access: BrowserProfileAccess, *, browser_session_id: str, execution_profile_fingerprint: str, allocation_fingerprint: str, lease_seconds: int) -> BrowserProfileRestorePreparationAtomically renew and reconstruct one exact live writer.
prepare_restore (method)
Section titled “prepare_restore (method)”async SQLiteBrowserProfileStore.prepare_restore(request: BrowserProfileRestoreRequest, *, lease_seconds: int) -> BrowserProfileRestorePreparationcomplete_restore (method)
Section titled “complete_restore (method)”async SQLiteBrowserProfileStore.complete_restore(request: BrowserProfileRestoreRequest, *, outcome: BrowserProfileTerminalOutcome, error_code: str | None=None) -> BrowserProfileRestoreReceiptload_restore_receipt (method)
Section titled “load_restore_receipt (method)”async SQLiteBrowserProfileStore.load_restore_receipt(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileRestoreReceipt | Nonerenew_writer (method)
Section titled “renew_writer (method)”async SQLiteBrowserProfileStore.renew_writer(access: BrowserProfileAccess, claim: BrowserProfileWriterClaim, *, lease_seconds: int) -> BrowserProfileWriterClaimreserve_checkpoint (method)
Section titled “reserve_checkpoint (method)”async SQLiteBrowserProfileStore.reserve_checkpoint(request: BrowserProfileCheckpointRequest, *, reserved_ciphertext_bytes: int) -> BrowserProfileCheckpointReservationstage_checkpoint (method)
Section titled “stage_checkpoint (method)”async SQLiteBrowserProfileStore.stage_checkpoint(reservation: BrowserProfileCheckpointReservation, envelope: BrowserProfileEncryptedEnvelope, *, origin_count: int, cookie_count: int, storage_entry_count: int) -> BrowserProfileCheckpointReceiptfail_checkpoint (method)
Section titled “fail_checkpoint (method)”async SQLiteBrowserProfileStore.fail_checkpoint(reservation: BrowserProfileCheckpointReservation, *, outcome: BrowserProfileTerminalOutcome, error_code: str) -> BrowserProfileCheckpointReceiptpublish_checkpoint (method)
Section titled “publish_checkpoint (method)”async SQLiteBrowserProfileStore.publish_checkpoint(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileCheckpointReceiptload_checkpoint_receipt (method)
Section titled “load_checkpoint_receipt (method)”async SQLiteBrowserProfileStore.load_checkpoint_receipt(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileCheckpointReceipt | Nonereconcile_checkpoint (method)
Section titled “reconcile_checkpoint (method)”async SQLiteBrowserProfileStore.reconcile_checkpoint(access: BrowserProfileAccess, operation_id: str) -> BrowserProfileCheckpointReceipt | NoneAdopt an already staged generation without recapturing plaintext.
release_writer (method)
Section titled “release_writer (method)”async SQLiteBrowserProfileStore.release_writer(access: BrowserProfileAccess, claim: BrowserProfileWriterClaim) -> Nonerevoke_profile (method)
Section titled “revoke_profile (method)”async SQLiteBrowserProfileStore.revoke_profile(access: BrowserProfileAccess, *, revoked_at: datetime | None=None) -> BrowserProfileInspectioninspect_profile (method)
Section titled “inspect_profile (method)”async SQLiteBrowserProfileStore.inspect_profile(access: BrowserProfileAccess) -> BrowserProfileInspectionlist_profiles (method)
Section titled “list_profiles (method)”async SQLiteBrowserProfileStore.list_profiles(*, owner_fingerprint: str, sharing_fingerprint: str) -> tuple[BrowserProfileInspection, ...]close (method)
Section titled “close (method)”async SQLiteBrowserProfileStore.close() -> None