Types

How the SDK types map to each language, and every object, record, enum and function in one list.

Tables on these pages use one neutral notation for types (the Rust spelling). This page maps it to each language and lists the items of the SDK.

Type notation#

NotationPythonTypeScriptSwiftKotlinRust
StringstrstringStringStringString
boolboolbooleanBoolBooleanbool
u32intnumberUInt32UIntu32
i64intbigintInt64Longi64
u64intbigintUInt64ULongu64
f64floatnumberDoubleDoublef64
Vec<u8>bytesArrayBufferDataByteArrayVec<u8>
Vec<T>List[T]Array<T>[T]List<T>Vec<T>
Option<T>Optional[T]T | undefinedT?T?Option<T>
HashMap<K, V>dict[K, V]Map<K, V>[K: V]Map<K, V>HashMap<K, V>
SystemTimedatetime.datetimeDateDatejava.time.InstantSystemTime
Durationdatetime.timedeltanumberTimeIntervaljava.time.DurationDuration
Sandbox (an object)SandboxSandboxLikeSandboxSandboxArc<Sandbox>

Option<T> may be absent: None, undefined, nil, null. A default of None means the argument or field can be left out.

Names in each language#

PythonTypeScriptSwiftKotlinRust
Importimport cuaimport { ... } from '@trycua/cua'import Cuaimport ai.cua.sdk.*use cua_sdk::*;
Methods, arguments, fieldssnake_casecamelCasecamelCasecamelCasesnake_case
Enum variantsUPPER_SNAKEPascalCaselowerCamelUPPER_SNAKE (plain), PascalCase (with fields)PascalCase
Async methodsasync def, awaitedreturn a Promise, optional { signal }asyncsuspendasync fn
ErrorsCuaError.<Variant>CuaError.<Variant>CuaError.<Variant>(message:)CuaException.<Variant>CuaError::<Variant>(String)
Object handlesthe classthe class; arguments and results use the <Name>Like interfacethe classthe classArc<T>
Optional argumentspositional (sb.spacesd(None))undefinednilnullNone

Renamed members: in Kotlin, objects implement AutoCloseable, whose close() frees the handle, so the async close is renamed (McpClient.closeClient, MediaSession.closeSession, PortForward.closeForward, SpaceStreamSession.closeStream). In TypeScript, reserved words get a trailing underscore (Sandbox.delete_()). The signature tabs show the renamed form.

All items#

344 items. Methods are listed on their object.

The 10 items of Batched forks are listed on its page.

The 8 items of Build an image are listed on its page.

The 11 items of Processor, memory and disk are listed on its page.

ItemKindSummary
agent_event_categoryfunctionThe category of an event kind: message, user, activity or hidden (the rule AgentEvent.category and AgentTranscript use).
agent_harnessesfunctionThe harnesses, their readiness, installs, key variables and limits, as JSON.
AgentActionReportrecordResult of Space.agent_message / Space.agent_stop.
AgentArtifactrecordA file the run created or changed.
AgentDeliveryrecordWhat Spaces.persistent_agent_send did.
AgentEventrecordOne normalized event.
AgentEventPagerecordA page of events.
AgentFilerecordA file for the first prompt or a follow-up.
AgentInforecordOne AI coding agent and what cua configured for it.
AgentMcpServerrecordThe MCP server to register.
AgentPauseReportrecordWhat Spaces.agent_pause did.
AgentResumeReportrecordWhat Spaces.agent_resume did.
AgentRunobjectOne run.
AgentRunInforecordA run's state.
AgentRunMcpServerrecordAn MCP server a run's agent gets: url (streamable HTTP, as reachable from inside the sandbox) or command (stdio, run in the sandbox).
AgentRunOptionsrecordOptions for Agents.run.
AgentRunResultrecordWhat the last turn produced.
AgentRunStatusrecordOne agent run's status.
AgentsobjectAgent runs in one sandbox.
AgentSetupobjectAgent onboarding for this machine's user.
AgentSetupChangeenumWhat happened to one target.
AgentSetupOutcomerecordOne target's outcome.
AgentSetupTargetenumWhat an operation touched.
AgentStartReportrecordResult of Space.agent_start.
AgentTranscriptobjectA run's events folded into conversation items, the same rule in every language: the agent's message chunks join into message items, the prompt is a…
AgentTranscriptItemrecordOne item of an AgentTranscript.
ambiguous_sandbox_candidatesfunctionThe qualified candidates an AmbiguousSandbox message lists (empty for any other message).
AudioPacketrecordOne audio packet (MEDIA.md §12.2).
AudioSinkobjectReceives audio packets.
AuthobjectSign-in and the shared session.
AuthIdentityrecordWho is signed in (from token claims; display only).
AuthStatusrecordThe stored session, read without network access.
BakeForkCheckrecordThe fork BakeOptions.verify_fork made and checked.
BakeOptionsrecordOptions for Sandboxes.bake.
BakeSummaryrecordWhat Sandboxes.bake did and how long each step took (seconds).
BuildFilerecordA local file copied into a built image.
BulkResultrecordThe outcome for one Space of Spaces.delete_many or Spaces.leave_many.
BundledSkillrecordA skill bundled with the SDK.
canonical_imagefunctionThe canonical image for os (linux, windows, macos) and version (None = default:…
canonical_image_tierfunctionThe canonical image for os, version and tier: slim (the minimum that passes cua-spacesd doctor --strict; CI and benchmarks use it),…
check_placementfunctionChecks a location, kind and runtime against each other without creating anything: InvalidPlacement (listing the valid values) when the combination…
CheckpointSummaryrecordA named checkpoint of a sandbox, and the machine that holds it.
CloudAuditEntryrecordOne line of the cloud audit log (cloud_audit).
CloudCheckrecordOne check cloud_test ran.
CloudConnectedrecordcloud_connect: the cloud (its status is the outcome), the checks it ran, the next step and the command that verifies it.
CloudConnectOptionsrecordHow cloud_connect links a cloud, beyond where.
CloudCostReportrecordcloud_cost: an estimate from list price times runtime.
CloudCostRowrecordOne row of cloud_cost.
CloudCredentialsrecordWhere a cloud's credentials were found on this machine (never a secret).
CloudDisconnectedrecordcloud_disconnect.
CloudKindrecordWhat a cloud can run for one image family, and the estimated cost.
CloudNextrecordThe next step of a cloud_connect: a command for the agent, or a page for a person (and what to paste there), and why.
CloudProviderrecordOne cloud as cloud_status lists it.
CloudResourcerecordOne thing Cua created in a cloud.
CloudStatusrecordcloud_status.
CloudSweepItemrecordOne row of cloud_sweep.
CloudSweepReportrecordcloud_sweep.
CloudTargetrecordWhere in a cloud account Spaces go.
CloudTestReportrecordcloud_test.
ComputerGrantrecordA persistent agent's grant on one of the user's computers.
config_getfunctionOne setting's effective value and source.
config_listfunctionEvery setting with its effective value and source.
config_pathfunctionThe config file's path ($CUA_HOME/config.toml).
config_setfunctionWrites a setting to the config file (checked and normalised: default.on takes local or a provider).
config_unsetfunctionRemoves a setting from the config file.
ConfigEntryrecordOne setting's effective value.
ContainerrecordAn extra container next to a sandbox (a compose-style sidecar), addressed by name on every runtime: the sandbox reaches it at its name (on its…
contrib_providers_builtfunctionThe contrib providers this build includes (empty unless built with the contrib feature).
CuaobjectThe entry point of the SDK: create one with Cua::embedded or Cua::connect, then reach sandboxes, Spaces and the rest through its accessors.
cua_sdk_versionfunctionVersion of the SDK library.
CuaConfigrecordConfiguration of an embedded SDK runtime.
CuaErrorerrorEvery error the SDK raises.
CuaInforecordIdentity of the SDK (and daemon, when connected).
CuaModeenumWhere the SDK runtime lives.
CursorArtrecordOne cursor shape's shared art: an SVG path on a square canvas, filled with the participant's color over an outline.
DefaultSpacerecordWhere the default Space resolves now.
DefaultSpaceSteprecordOne entry of the order Devices.resolve_default_space tried.
DeviceEnrollmentrecordDevices.enroll's result.
DevicesobjectThis device as a client of the signed-in account on a relay: its enrollment, the account's other devices and its audit log.
DevicesSnapshotrecordEverything the Devices page reads, in one call.
DoctorReportrecordDoctor output.
DriveAccessRequestrecordAn agent's request for more access, waiting for the user.
DriveAuditrecordThe newest audit events and whether the hash chain verified.
DriveAuditEventrecordOne audit event.
DriveCacheStatsrecordThe block cache in front of a remote store.
DriveConflictrecordA write that lost to a later one, kept in history and as a copy.
DriveDevicerecordA device sharing the drive's bucket.
DriveEntryrecordOne row of a drive listing.
DriveFilerecordA file's content and version.
DriveFileSyncrecordOne file's sync state.
DriveGrantrecordA widening of an agent's or a Space's access.
DriveListingrecordA folder's listing.
DriveMountStatusrecordThe drive as a volume.
DriveObjectrecordA written version.
DrivePendingUploadrecordA file waiting to upload.
DriveS3SettingsrecordWhere an S3-compatible bucket is (no keys).
DriveSpaceVolumerecordThe volume mounted in a Space's guest.
DriveStoragerecordWhere the drive keeps its bytes (Settings > Storage).
DriveStorageCheckrecordWhat a storage test found.
DriveStorageUpdaterecordA storage change, or with dry_run a connection test.
DriveSyncEventrecordOne sync event.
DriveSyncEventsrecordEvents after a sequence number, and the sequence to ask after next.
DriveSyncStatusrecordSync across devices.
DriveVersionrecordOne version in a file's history.
DriveViewrecordWhose view of the drive a call takes: the user (the default, the whole drive) or a persistent agent in a Space.
EgressEnforcementenumWhere a Space's egress policy is enforced (SpaceInfo.egress_enforced).
EgressPolicyrecordWhich destinations a Space may open connections to.
ElasticAssignmentrecordSome Spaces of one group on one machine.
ElasticBudgetrecordThe budget, and what the clouds cost now.
ElasticBudgetUpdaterecordThe elastic pool's caps and switches (cloud_budget): set those given.
ElasticDecisionrecordOne scale-in decision.
ElasticHostrecordA host the elastic pool added in one of your clouds.
ElasticNewHostrecordA machine the plan adds.
ElasticPlanrecordThe elastic pool's decision (cloud_plan).
ElasticPlanRequestrecordWhat to plan for (cloud_plan).
ElasticRemovedrecordWhat cloud_remove_host did.
ElasticUnplacedrecordSpaces with no place, and why.
error_doc_urlfunctionA link to the errors-reference entry of a CuaError variant, by name (InvalidArgument, case-insensitive).
ExitInforecordHow a process ended.
FileEntryrecordA file or directory in the guest.
FrameSinkobjectReceives video frames and control events.
GpuOptionrecordOne GPU option of a runtime (see Spaces.gpu_support).
GpuSupportrecordThe GPU options of one runtime: empty, with the reason, when it has none.
GuestDisplayobjectThe guest display of a sandbox without cua-spacesd (Sandbox.guest_display).
HomeTransferrecordWhat moved between the drive and a Space.
HostobjectThis machine as an unattended-access host.
HostAccessRecordrecordOne access to this machine.
HostPermissionrecordA macOS privacy pane the user must grant.
HostProvidedSpacerecordA Space this machine provides to one of your devices.
HostServiceMigrationrecordWhat Host.migrate_service did.
HostSettingsChangerecordA change to this machine's Spaces settings (None keeps a value).
HostSetupOptionsrecordcua host setup options.
HostSpacesAuditRecordrecordOne line of this machine's Spaces audit (remote creates, deletes, refusals and settings changes).
HostStatusrecordHost status.
HttpHeaderrecordAn HTTP header.
HttpResponserecordAn HTTP response from a sandbox service.
image_aliasfunctionThe canonical image a CLI alias (linux, windows, macos[:version], bare ubuntu) names, or None for a plain reference (ubuntu:24.04 is…
ImageBuildrecordImage layers built on top of a sandbox's image.
ImageFormatenumScreenshot encoding.
ImageInforecordThe image a sandbox runs, as resolved and pinned at create time.
ImageLayerenumOne image build step (as in images.cua.ai/v1alpha1 recipes).
LocalobjectLocal runtimes and images.
LocalImagerecordA local image.
LocalStoragerecordWhat local Spaces have room for (see Local.storage).
LocationInforecordThe locations on accepts: local, then registered providers.
locationsfunctionEvery location with the kinds and runtimes it offers (for pickers and help text).
LoginAttemptobjectA started sign-in.
LoginMethodenumHow a sign-in proceeds.
MachineHealthrecordA machine's health as its own cua daemon checks it.
MachineHealthCheckrecordOne check of a machine's health (Spaces.machine_health).
may_have_sessionfunctionWhether a cua auth login session may be stored, decided without reading the OS credential vault (the non-secret session marker, or the file store's…
mcp_connectfunctionConnects an MCP client to config (from Sandbox.mcp_config).
mcp_connect_urlfunctionConnects an MCP client to an endpoint URL (http://host:8765/mcp; a bare origin means /mcp) with headers on every request.
McpClientobjectAn MCP client (rmcp, streamable HTTP; protocol 2026-07-28 when the server supports it, else the server's revision).
McpConfigrecordWhere an MCP endpoint is and what every request needs.
MediaBridgerecordA media bridge for webviews (daemon mode).
MediaEventrecordA control message (hello, session_opened, lifecycle, audio_config, stats, error, ...) or the close of the socket (`kind =…
MediaOpenOptionsrecordMedia session options.
MediaSessionobjectA live media session.
MediaStatsrecordDelivery counters.
NamedVolumerecordA named volume of Cua Volume (Spaces.volumes).
NetworkEventrecordOne kind of connection a Space tried and its network refused (Spaces.network_log).
NetworkSettingsrecordA Space's network settings: a preset and the user's own lists.
normalize_imagefunctionNormalises a reference like the docker CLI (python is docker.io/library/python:latest).
NotificationInforecordOne entry of the notifications feed.
omarchy_imagefunctionThe Omarchy image, ghcr.io/trycua/omarchy:<channel> (default edge; also rc, stable): Omarchy (Arch Linux, Hyprland) with cua-spacesd, as an…
OverlayrecordA binary to inject into a sandbox.
OverlayResultrecordWhat an overlay did.
PairingCoderecordA one-time code that adds a machine to the account ("Add a machine" by link or QR code).
parse_sandbox_reffunctionParses a sandbox ref: local:<name>, cloud:<name>, direct:<host:port>, relay:<machine-id>, a legacy spelling…
PersistentAgentInforecordA persistent agent: a named harness whose memory (its home in the Cua Drive) outlives its runs and its Space.
PersistentAgentOptionsrecordHow to create a persistent agent.
PointrecordA point.
PoolCreateOptionsrecordWhat a pool's sandboxes are and how many it keeps ready (Sandboxes.create_pool).
PortForwardobjectAn active port forward.
presence_colorfunctionThe stable presence color of an agent or other principal (#rrggbb): a cursor palette color picked by a hash of id.
presence_conformance_jsonfunctionThe presence conformance vectors (JSON), for binding test suites.
presence_cursor_artfunctionThe shared art for shape (unknown names give the arrow).
presence_cursor_art_allfunctionThe shared art for every shape.
presence_cursor_art_svgfunctionA standalone SVG of shape in color, size pixels square.
presence_now_msfunctionThe local clock PresenceView expects: Unix time in milliseconds.
presence_text_colorfunctionBlack or white text (#000000 / #ffffff), whichever reads better on background (#rrggbb).
PresenceCursorrecordA normalized cursor.
PresenceDrawablerecordOne cursor to draw now (see PresenceView.drawables).
PresenceEventrecordA presence event.
PresenceIdentityrecordWho joins presence.
PresenceMemberrecordA roster entry.
PresenceParticipantrecordA presence participant.
PresencePointrecordA normalized point.
PresenceViewobjectThe shared presence netcode model: who is present and what to draw.
PrewarmrecordSpaces of one shape the elastic pool keeps ready: the next creates of that shape claim them in a fraction of a second.
PrewarmOptionsrecordWhat to keep ready (Spaces::prewarm).
PrewarmPlacementrecordWhere a prewarm keeps Spaces ready.
ProcessEventrecordOne output chunk or the exit.
ProcessEventKindenumKind of a process event.
ProcessOutputrecordCollected output of a finished process.
PtySizerecordA PTY size.
PublicUrlrecordA shareable URL of a sandbox service that expires.
qualify_sandbox_reffunctionQualifies name for a lookup: local = true narrows a bare name to local:<name>, false to cloud:<name>, None keeps it (a bare name is then…
ReadinessProberecordA user-declared readiness probe.
RegistrySecretenumCredentials for a private registry image, used for the pull.
RelayobjectThe signed-in account's view of a cua-relay.
RelayAuditEventrecordOne event of the account's audit log.
RelayClientInforecordSomebody connected to a machine through the relay.
RelayDevicerecordA client device of the account, as the relay lists it.
RelayMachinerecordA machine of the account's relay directory (relay:<id>).
ReplayModeenumScrollback replay when attaching.
repo_cache_clearfunctionDeletes every repository the repo cache holds (they are copied again the next time a Space clones them).
repo_cache_statusfunctionThe repo cache now: on or off, how much it holds of its cap, and what the last week saved.
RepoCacheStatusrecordWhat the repo cache holds and what it saved, in plain words for Settings (cache.repos and cache.repos_size_gb are its settings, changed with…
resolve_imagefunctionResolves reference for backend (auto, local, provider, container/docker/gvisor, vm/qemu/kubevirt, lume) on…
resolve_image_with_secretfunctionresolve_image for a private image: secret joins the head of the registry auth chain (it is read in this process and never cached or logged).
ResolvedImagerecordA reference resolved for a backend.
RoutineInforecordA routine: a recurring turn of a persistent agent, fired by the daemon.
RuntimeCheckrecordOne doctor check (one backend).
RuntimeCheckStatusenumStatus of one local runtime component.
RuntimeDetectedrecordA runtime installed on this machine for one kind of Space.
RuntimeKindStaterecordOne kind of Space's runtime, as Settings shows it.
RuntimePathProberecordWhat a binary is, for one kind of Space (runtime_check_path).
SandboxobjectA sandbox handle.
sandbox_locationsfunctionEvery location word on= accepts, in display order: local, cloud, then the contrib providers (e2b, daytona, modal, ...) and your own…
SandboxCreateOptionsrecordOptions for Sandboxes.create.
SandboxesobjectCreates, finds and manages sandboxes.
SandboxInforecordA sandbox as listed.
SandboxListingrecordA sandbox listing and what it left out.
SandboxPhaseenumPortable lifecycle phase, the same words on every provider.
SandboxPoolrecordA pool (Sandboxes.create_pool).
SandboxRefPartsrecordA parsed sandbox ref.
SandboxStatusenumCoarse lifecycle status.
ScreenshotrecordA captured screenshot.
ScreenshotOptionsrecordScreenshot options.
ServiceobjectA named service of a sandbox.
ServiceEndpointrecordWhere a sandbox service is reachable from this process.
SetNetworkResultrecordWhat Spaces.set_network did.
SetupSteprecordOne setup step.
SharerecordOne share.
ShareAccessenumWho may open a share.
ShareCheckrecordWhat opening a link once returned.
SharedBaserecordA base image several Spaces share copy-on-write (a container image's layers, the image a VM disk was cloned from).
ShareLandingenumWhere public TCP shares land.
ShareSettingsrecordThe share settings.
SiteLoginOptionsrecordOptions for Space.request_site_login.
SiteLoginReportrecordWhat Space.request_site_login did.
SpaceobjectA connected Space.
SpaceAgentOptionsrecordOptions for Space.agent_start beyond the harness and prompt.
SpaceAppIconrecordAn app icon from Space.app_icons: the icon the guest desktop uses, normalized by the SDK's icon cache.
SpaceAppIconRequestrecordOne window's app, for Space.app_icons.
SpaceBashResultrecordOutput of Space.bash.
SpaceCancelOutcomerecordWhat Spaces.cancel_create did.
SpaceCreateListenerobjectReceives SpaceCreateProgress while Spaces.create_with_progress runs, in order, ending with ready.
SpaceCreateOptionsrecordOptions for Spaces.create: the same location / kind / runtime model as sandboxes.
SpaceCreateProgressrecordWhat a Space create is doing (see Spaces.create_with_progress).
SpaceCreateResultrecordResult of Spaces.create.
SpaceCreatingElsewhererecordA Space another of your computers is creating (SpaceList.creating).
SpaceDisplayrecordOne of a Space's displays (Space.displays).
SpaceHotspotStatusrecordHotspot state.
SpaceInforecordA registered Space.
SpaceListrecordThe Spaces known now (Spaces.list_known) and how far the read got.
SpaceNetworkInforecordA Space's network as cua network show says it (Spaces.network).
SpaceOrphanrecordA child Space whose parent is gone or out of reach (Spaces.orphans).
SpacePowerReportrecordWhat Spaces.stop or Spaces.start did.
SpacePresenceobjectA joined presence session.
SpaceRelayRegistrationrecordA Space published on the relay (Spaces.relay_register).
SpaceResizeReportrecordWhat Spaces.resize did: the shape the Space has now.
SpacesobjectThe Spaces registry: add a machine by URL, provision a local one, and get Space handles.
spaces_tool_methodsfunctionWhich SDK method covers each Spaces contract tool.
SpacesdCapabilitiesrecordSystemService.GetCapabilities, summarized.
SpacesdClientobjectClient for one cua-spacesd.
SpacesdCommandrecordA command to run in the guest.
SpacesdDownloadobjectA download in progress (SpacesdClient.open_download).
SpacesdFeaturerecordOne capability flag.
SpacesdForwardobjectA loopback (or bind) TCP port that reaches a guest port through cua-spacesd's tunnel (SpacesdClient.forward_tcp).
SpacesdHttpHeaderrecordOne HTTP header (duplicates are kept in order).
SpacesdHttpRequestrecordA plain-HTTP request to the spacesd port (for example MCP at /mcp).
SpacesdHttpResponserecordThe spacesd's HTTP answer.
SpacesdProcessobjectA guest process, from spawn or attach.
SpaceSendFileOptionsrecordOptions for Space.send_file.
SpaceSendFileReportrecordResult of Space.send_file.
SpaceSentFilerecordOne file placed by Space.send_file.
SpaceServiceDefrecordA command a Space keeps running (Space.put_service).
SpaceServiceInforecordA service and how it is doing (Space.services).
SpaceServiceProberecordA health check: exactly one of http, tcp, command.
SpaceShareEntryrecordOne account a Space is shared with.
SpaceSharesrecordWho a Space is shared with.
SpaceSharingrecordWho a Space belongs to and who else has it, as this account sees it (SpaceInfo.sharing).
SpacesHostrecordOne of your machines that provides Spaces (Spaces.hosts).
SpacesHostLimitrecordOne limit of a host that provides Spaces and how much of it is used.
SpacesHostLoadrecordHow busy one of your machines is (its job runner's view).
SpacesListListenerobjectHears that the Space list changed (Spaces.watch_list).
SpacesListWatchobjectA running Spaces.watch_list.
SpacesSettingsrecordThe account's default Space and the order to try when it is offline.
SpacesToolMethodrecordOne row of SPACES_TOOL_METHODS.
SpaceStreamOptionsrecordWhat to stream and how.
SpaceStreamSessionobjectA live Space media session (see Space.stream_session).
SpaceStreamStatsrecordDelivery counters of a SpaceStreamSession.
SpaceStreamTicketrecordA minted media session.
SpaceTeamSharerecordA team a Space is shared with (SpaceSharing.teams).
SpaceThumbnailrecordA Space's latest thumbnail, from the cache every client on this machine shares (crate.native.spaces.Space.thumbnail).
SpaceToolInforecordA tool of a Space's MCP service.
SpaceToolResultrecordThe result of a tool call (MCP content as JSON).
SpaceTransferReportrecordResult of Space.upload / Space.download.
SpaceTransportrecordWhat carries a connected Space's calls (Space.transport), for a badge: whether the relay can read them.
SpaceUsagerecordProcessor, memory and storage use (Space.usage).
SpaceWindowrecordA streamable window.
SpaceWindowOriginrecordThe Space a window row's picture comes from (SpaceWindow.origin).
SpaceWriteReportrecordResult of Space.write.
StorageVolumerecordSpace on the volume a local engine writes to.
StreamStatsReportrecordOne stream session's aggregate stats (sampled).
telemetry_acknowledge_link_noticefunctionThe person closed the linking notice (either button).
telemetry_acknowledge_noticefunctionRecords that the first-run notice was shown in the app's UI (nothing is sent from a machine before that).
telemetry_flushfunctionSends queued events now, waiting at most timeout_ms; anything left is kept on disk for a later process.
telemetry_link_noticefunctionThe one-time linking notice's words.
telemetry_link_notice_duefunctionWhether the app should show the one-time linking notice now: usage data is on, the account offered linking, and this machine has not shown it.
telemetry_link_statefunctionWhere linking stands: off, not_offered, notice_due or linked.
telemetry_notice_textfunctionThe first-run notice text (an app shows it in its own UI, then calls telemetry_acknowledge_notice).
telemetry_record_bench_runfunctionRecords a finished cua-bench run: the taskset (catalog name, else custom), the aggregate success rate (0 to 1, bucketed), the task count (bucketed)…
telemetry_record_featurefunctionRecords use of a Spaces app feature (fixed names: space_create_local, teleport_drop, ... see the docs).
telemetry_record_onboarding_stepfunctionRecords an install or onboarding funnel step (fixed names: onboarding_shown, signed_in, first_space_created, ...; first_* steps count once…
telemetry_record_stream_statsfunctionRecords one stream session's aggregate stats (bucketed and sampled).
telemetry_reset_idfunctionDeletes the anonymous install id and its salt.
telemetry_schema_jsonfunctionEvery event and property that may be sent, as JSON.
telemetry_set_enabledfunctionTurns usage telemetry on or off for this machine ($CUA_HOME/config.toml, the same switch as cua telemetry off and the Spaces app setting).
telemetry_set_surfacefunctionNames the SDK surface events are attributed to.
telemetry_show_lastfunctionThe last limit events queued or sent from this machine, exactly as sent, as JSON ([{status, payload}]).
telemetry_statusfunctionTelemetry state, and exactly what every event carries.
telemetry_sync_accountfunctionAsks the Spaces API for the signed-in account's opaque id and hands it to telemetry (none unlinks).
telemetry_use_app_noticefunctionThe host app shows the first-run notice itself (no stderr notice).
TelemetryLinkNoticerecordThe one-time notice for machines that saw the older "anonymous" wording, shown before anything is linked to the account.
TelemetryStatusrecordTelemetry state.
TeleportApproverobjectThe consent gate of Space.teleport: shown the manifest, returns the human's decision, or None to cancel.
TeleportDecisionrecordA human's answer to a teleport manifest.
TeleportItemrecordOne item a teleport would move.
TeleportManifestrecordExactly what would leave this machine.
TeleportReceiptrecordWhat a teleport moved, or how to retry a pending Keyvault approval.
thread_view_offunctionThe view of one thread entry or task, given as JSON (an element of thread_read's entries or tasks, or thread_inbox's tasks): none when it…
ThreadViewrecordWhat a person was looking at in a Space as they posted to its thread: the Space's desktop, or one of its windows.
TransferResultrecordResult of an upload or download.
TreeBudgetrecordA tree's budget and what its children use (Spaces.tree_budget).
TreeBudgetLimitsrecordWhat a tree's children may hold and cost (Spaces.set_tree_budget).
UploadOptionsrecordUpload options.
VideoFramerecordOne encoded video access unit.
ViewerLinkrecordA link to the sandbox desktop in the cua-spacesd HTML5 viewer.
ViewerOptionsrecordOptions for Sandbox.viewer_url.
VolumeMountrecordA named volume of Cua Volume mounted in a Space: the folder volumes/<name>/ (or subpath inside it) appears at path.